447ef614ae6dd1df6280df62d3c2111826225b0f
[openwrt.git] / package / mac80211 / patches / 566-ath9k-set-diversity-group-for-AR9330.patch
1 --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c
2 +++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
3 @@ -1215,7 +1215,10 @@ static void ar9003_hw_antdiv_comb_conf_g
4 antconf->fast_div_bias = (regval & AR_PHY_9485_ANT_FAST_DIV_BIAS) >>
5 AR_PHY_9485_ANT_FAST_DIV_BIAS_S;
6
7 - if (AR_SREV_9485(ah)) {
8 + if (AR_SREV_9330_11(ah)) {
9 + antconf->lna1_lna2_delta = -9;
10 + antconf->div_group = 1;
11 + } else if (AR_SREV_9485(ah)) {
12 antconf->lna1_lna2_delta = -9;
13 antconf->div_group = 2;
14 } else {
This page took 0.037861 seconds and 3 git commands to generate.