diff options
author | Nick Kossifidis <mickflemm@gmail.com> | 2008-02-28 14:51:40 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-03-07 16:02:58 -0500 |
commit | 74693a7f3096a52ecbf477d31dc4c595bf27a8d3 (patch) | |
tree | 41bc5e92054a5c24e4acb2822a3aca4d19593e84 /drivers | |
parent | 903b474efabab6a4ce697063c367afd8e2ad83f3 (diff) |
ath5k: Remove RF5413 from rf gain optimization functions
* Since RF2413 it seems that RF_BUFFER settings are different (notice
that the last part -"bank 7" or whatever- is smaller than in 5111/5112).
So until we know what's going on we assume there is no gain optimization
stuff in post-5112 chips.
Changes-licensed-under: ISC
Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ath5k/phy.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath5k/phy.c b/drivers/net/wireless/ath5k/phy.c index 40efd4d3b54c..ee1dc0fc6ea2 100644 --- a/drivers/net/wireless/ath5k/phy.c +++ b/drivers/net/wireless/ath5k/phy.c | |||
@@ -1092,7 +1092,6 @@ static s32 ath5k_hw_rfregs_gain_adjust(struct ath5k_hw *ah) | |||
1092 | go = &rfgain_opt_5111; | 1092 | go = &rfgain_opt_5111; |
1093 | break; | 1093 | break; |
1094 | case AR5K_RF5112: | 1094 | case AR5K_RF5112: |
1095 | case AR5K_RF5413: /* ??? */ | ||
1096 | go = &rfgain_opt_5112; | 1095 | go = &rfgain_opt_5112; |
1097 | break; | 1096 | break; |
1098 | default: | 1097 | default: |
@@ -1557,7 +1556,6 @@ int ath5k_hw_set_rfgain_opt(struct ath5k_hw *ah) | |||
1557 | ah->ah_gain.g_active = 1; | 1556 | ah->ah_gain.g_active = 1; |
1558 | break; | 1557 | break; |
1559 | case AR5K_RF5112: | 1558 | case AR5K_RF5112: |
1560 | case AR5K_RF5413: /* ??? */ | ||
1561 | ah->ah_gain.g_step_idx = rfgain_opt_5112.go_default; | 1559 | ah->ah_gain.g_step_idx = rfgain_opt_5112.go_default; |
1562 | ah->ah_gain.g_step = | 1560 | ah->ah_gain.g_step = |
1563 | &rfgain_opt_5112.go_step[ah->ah_gain.g_step_idx]; | 1561 | &rfgain_opt_5112.go_step[ah->ah_gain.g_step_idx]; |