diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-06-28 13:05:17 -0700 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-07-02 11:11:17 -0700 |
commit | c8312facd99b4cd05998fe3440926b667a896c9e (patch) | |
tree | 26414342ff20db9f6501346102e997a7ee1a84e9 /drivers/net/wireless/iwlwifi/iwl-agn.c | |
parent | bf3c7fddf9dffb0e5c76da3a94b8f5817a72f92c (diff) | |
download | linux-c8312facd99b4cd05998fe3440926b667a896c9e.tar.gz |
iwlwifi: adding enhance sensitivity table entries
For newer devices (6000g2a and 6000g2b), the sensitivity table send to
uCode require additional table entries to help sensitivity calibration.
All the additional entries has fix data for now, but do expect the value
will be change in the future when device become more stable.
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index 60af54210f99..66c83b24884f 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c @@ -1961,6 +1961,12 @@ static int iwlagn_load_firmware(struct iwl_priv *priv, pieces->inst_errlog_ptr = le32_to_cpup((__le32 *)tlv_data); break; + case IWL_UCODE_TLV_ENHANCE_SENS_TBL: + if (tlv_len) + ret = -EINVAL; + else + priv->enhance_sensitivity_table = true; + break; default: IWL_WARN(priv, "unknown TLV: %d\n", tlv_type); break; |