diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2009-08-21 16:34:23 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-28 14:40:39 -0400 |
commit | ab9fd1bf76ffebf6c3b3d5800092387edf1201b9 (patch) | |
tree | afd95c882ca8d9b9ec671ce4f84d2a0433026ebf /drivers/net/wireless/iwlwifi/iwl-6000.c | |
parent | c4d9b50986b4264f32883d19ac260a11647860e1 (diff) |
iwlwifi: read enhanced tx power info from EEPROM image
For 6000 series and up, additional enhanced regulatory tx power
limitation information is added to EEPROM image.
In order to setup the tx power limitation per channel correctly. Read
the enhanced tx power information from EEPROM image and update
accordingly.
The information is provided per SISO (a,b,c) chain based, it also has
information for both MIMO2 and MIMO3. For tx power regulatory
limitation, take the highest number from all the chains and update.
Also update tx_power_user_lmt to the highest power supported by any
channels and chains
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-6000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-6000.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-6000.c b/drivers/net/wireless/iwlwifi/iwl-6000.c index 33ef736a4857..82b9c93dff54 100644 --- a/drivers/net/wireless/iwlwifi/iwl-6000.c +++ b/drivers/net/wireless/iwlwifi/iwl-6000.c | |||
@@ -126,6 +126,7 @@ static struct iwl_lib_ops iwl6000_lib = { | |||
126 | .release_semaphore = iwlcore_eeprom_release_semaphore, | 126 | .release_semaphore = iwlcore_eeprom_release_semaphore, |
127 | .calib_version = iwl5000_eeprom_calib_version, | 127 | .calib_version = iwl5000_eeprom_calib_version, |
128 | .query_addr = iwl5000_eeprom_query_addr, | 128 | .query_addr = iwl5000_eeprom_query_addr, |
129 | .update_enhanced_txpower = iwlcore_eeprom_enhanced_txpower, | ||
129 | }, | 130 | }, |
130 | .post_associate = iwl_post_associate, | 131 | .post_associate = iwl_post_associate, |
131 | .isr = iwl_isr_ict, | 132 | .isr = iwl_isr_ict, |