> When LNA diversity shared chain is enabled set force > WLAN LNA diversity on bit and enable fast diversity m2flag > for AR9565. > > Signed-off-by: Bala Shanmugam <bkamatch@xxxxxxxxxxxxxxxx> > --- > drivers/net/wireless/ath/ath9k/ar9003_eeprom.c | 11 +++++++++++ > 1 files changed, 11 insertions(+), 0 deletions(-) > > diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c > index d2e44c3..105390a 100644 > --- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c > +++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c > @@ -3643,9 +3643,20 @@ static void ar9003_hw_ant_ctrl_apply(struct ath_hw *ah, bool is2ghz) > (value & AR_EEP_ANT_DIV_ENABLE)) { > regval |= AR_ANT_DIV_ENABLE; > regval |= (1 << AR_PHY_ANT_SW_RX_PROT_S); > + if (is2ghz) { > + REG_SET_BIT(ah, > + AR_PHY_RESTART, > + AR_PHY_RESTART_ENABLE_DIV_M2FLAG); > + } > + REG_SET_BIT(ah, > + AR_BTCOEX_WL_LNADIV, > + AR_BTCOEX_WL_LNADIV_FORCE_ON); > } else { > regval &= ~AR_ANT_DIV_ENABLE; > regval &= ~(1 << AR_PHY_ANT_SW_RX_PROT_S); > + REG_CLR_BIT(ah, > + AR_BTCOEX_WL_LNADIV, > + AR_BTCOEX_WL_LNADIV_FORCE_ON); NACK. These bits are already taken care in ar9003_hw_antctrl_shared_chain_lnadiv. -Rajkumar -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html