diff options
author | Nick Kossifidis <mickflemm@gmail.com> | 2008-02-28 20:49:05 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-03-07 22:02:58 +0100 |
commit | 0af2256319959aaca95959a493ed2282edaaae3e (patch) | |
tree | 5d8b18ace662565b3fc2fd7a59ddfec528f40383 /drivers/net/wireless/ath5k/reg.h | |
parent | ath5k: Add RF2413 initial settings (diff) | |
download | linux-0af2256319959aaca95959a493ed2282edaaae3e.tar.xz linux-0af2256319959aaca95959a493ed2282edaaae3e.zip |
ath5k: Identify RF2413 and deal with PHY_SPENDING
* Attach RF2413.
* Propertly handle different AR5K_PHY_SPENDING settings for each RF
chip by adding a field in ath5k_hw. This way we won't have to check
inside hw_reset (see next patch).
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/net/wireless/ath5k/reg.h')
-rw-r--r-- | drivers/net/wireless/ath5k/reg.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath5k/reg.h b/drivers/net/wireless/ath5k/reg.h index 2f41c8398602..30629b3e37c2 100644 --- a/drivers/net/wireless/ath5k/reg.h +++ b/drivers/net/wireless/ath5k/reg.h @@ -1923,7 +1923,9 @@ after DFS is enabled */ #define AR5K_PHY_SDELAY_32MHZ 0x000000ff #define AR5K_PHY_SPENDING 0x99f8 #define AR5K_PHY_SPENDING_RF5111 0x00000018 -#define AR5K_PHY_SPENDING_RF5112 0x00000014 +#define AR5K_PHY_SPENDING_RF5112 0x00000014 /* <- i 've only seen this on 2425 dumps ! */ +#define AR5K_PHY_SPENDING_RF5112A 0x0000000e /* but since i only have 5112A-based chips */ +#define AR5K_PHY_SPENDING_RF5424 0x00000012 /* to test it might be also for old 5112. */ /* * Misc PHY/radio registers [5110 - 5111] |