提交 5b75d0fc 编写于 作者: F Felix Fietkau 提交者: John W. Linville

ath9k_hw: update EEPROM data structure for AR9280

Adds read access for the 5 GHz fast clock flag
Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 e5553724
...@@ -300,7 +300,8 @@ struct base_eep_header { ...@@ -300,7 +300,8 @@ struct base_eep_header {
u32 binBuildNumber; u32 binBuildNumber;
u8 deviceType; u8 deviceType;
u8 pwdclkind; u8 pwdclkind;
u8 futureBase_1[2]; u8 fastClk5g;
u8 divChain;
u8 rxGainType; u8 rxGainType;
u8 dacHiPwrMode_5G; u8 dacHiPwrMode_5G;
u8 openLoopPwrCntl; u8 openLoopPwrCntl;
......
...@@ -274,6 +274,8 @@ static u32 ath9k_hw_def_get_eeprom(struct ath_hw *ah, ...@@ -274,6 +274,8 @@ static u32 ath9k_hw_def_get_eeprom(struct ath_hw *ah,
return pBase->txMask; return pBase->txMask;
case EEP_RX_MASK: case EEP_RX_MASK:
return pBase->rxMask; return pBase->rxMask;
case EEP_FSTCLK_5G:
return pBase->fastClk5g;
case EEP_RXGAIN_TYPE: case EEP_RXGAIN_TYPE:
return pBase->rxGainType; return pBase->rxGainType;
case EEP_TXGAIN_TYPE: case EEP_TXGAIN_TYPE:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册