diff options
author | Sujith | 2009-02-12 05:36:45 +0100 |
---|---|---|
committer | John W. Linville | 2009-02-27 20:51:43 +0100 |
commit | 06d0f0663e11cab4ec5f2c143a118d71a12fbbe9 (patch) | |
tree | 25f7f2dcee8b2f6acdf577a8122fd5da15e2b2b2 /drivers/net/wireless/ath9k/eeprom.c | |
parent | ath9k: Fix rd_ext EEPROM capability for AR9285 (diff) | |
download | kernel-qcow2-linux-06d0f0663e11cab4ec5f2c143a118d71a12fbbe9.tar.gz kernel-qcow2-linux-06d0f0663e11cab4ec5f2c143a118d71a12fbbe9.tar.xz kernel-qcow2-linux-06d0f0663e11cab4ec5f2c143a118d71a12fbbe9.zip |
ath9k: Enable Fractional N mode
This patch enables Fractional N mode for all channel
if the EEPROM says so, and also fixes the INI only
when the device is not a 2 GHz only capable device.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/eeprom.c')
-rw-r--r-- | drivers/net/wireless/ath9k/eeprom.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/eeprom.c b/drivers/net/wireless/ath9k/eeprom.c index 34e9d818fadd..68de89d7986f 100644 --- a/drivers/net/wireless/ath9k/eeprom.c +++ b/drivers/net/wireless/ath9k/eeprom.c @@ -466,6 +466,8 @@ static u32 ath9k_hw_4k_get_eeprom(struct ath_hw *ah, return pBase->txMask; case EEP_RX_MASK: return pBase->rxMask; + case EEP_FRAC_N_5G: + return 0; default: return 0; } @@ -1599,6 +1601,11 @@ static u32 ath9k_hw_def_get_eeprom(struct ath_hw *ah, return pBase->dacHiPwrMode_5G; else return 0; + case EEP_FRAC_N_5G: + if (AR5416_VER_MASK >= AR5416_EEP_MINOR_VER_22) + return pBase->frac_n_5g; + else + return 0; default: return 0; } |