diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2010-04-15 17:39:21 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-16 15:43:43 -0400 |
commit | c14a85dad438ee2c3d0bec6f11295d3a6efd4127 (patch) | |
tree | 6d159a82f8233602b1039677ca25ce722c703bca /drivers/net/wireless/ath/ath9k/ar9003_eeprom.h | |
parent | ec83903e67f9d1e8398568c77dc4fdd333531e96 (diff) |
ath9k_hw: add TX/RX gain register initialization for AR9003
This is done depending on what the EEPROM settings indicates.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9003_eeprom.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9003_eeprom.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.h b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.h index 3ca520c4b6a3..5fe335e22c89 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.h +++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.h | |||
@@ -316,4 +316,8 @@ struct ar9300_eeprom { | |||
316 | u8 ctl_freqbin_5G[AR9300_NUM_CTLS_5G][AR9300_NUM_BAND_EDGES_5G]; | 316 | u8 ctl_freqbin_5G[AR9300_NUM_CTLS_5G][AR9300_NUM_BAND_EDGES_5G]; |
317 | struct cal_ctl_data_5g ctlPowerData_5G[AR9300_NUM_CTLS_5G]; | 317 | struct cal_ctl_data_5g ctlPowerData_5G[AR9300_NUM_CTLS_5G]; |
318 | } __packed; | 318 | } __packed; |
319 | |||
320 | s32 ar9003_hw_get_tx_gain_idx(struct ath_hw *ah); | ||
321 | s32 ar9003_hw_get_rx_gain_idx(struct ath_hw *ah); | ||
322 | |||
319 | #endif | 323 | #endif |