kernel: fix wrong line for the +@DRIVER_WEXT_SUPPORT dependency in kmod-net-zd1201
[openwrt.git] / package / mac80211 / patches / 559-ath9k-set-NF-limits-for-AR9330.patch
1 --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c
2 +++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
3 @@ -1089,7 +1089,10 @@ static void ar9003_hw_set_nf_limits(stru
4 {
5 ah->nf_2g.max = AR_PHY_CCA_MAX_GOOD_VAL_9300_2GHZ;
6 ah->nf_2g.min = AR_PHY_CCA_MIN_GOOD_VAL_9300_2GHZ;
7 - ah->nf_2g.nominal = AR_PHY_CCA_NOM_VAL_9300_2GHZ;
8 + if (AR_SREV_9330(ah))
9 + ah->nf_2g.nominal = AR_PHY_CCA_NOM_VAL_9330_2GHZ;
10 + else
11 + ah->nf_2g.nominal = AR_PHY_CCA_NOM_VAL_9300_2GHZ;
12 ah->nf_5g.max = AR_PHY_CCA_MAX_GOOD_VAL_9300_5GHZ;
13 ah->nf_5g.min = AR_PHY_CCA_MIN_GOOD_VAL_9300_5GHZ;
14 ah->nf_5g.nominal = AR_PHY_CCA_NOM_VAL_9300_5GHZ;
15 --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.h
16 +++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.h
17 @@ -332,6 +332,8 @@
18 #define AR_PHY_CCA_MAX_GOOD_VAL_9300_2GHZ -95
19 #define AR_PHY_CCA_MAX_GOOD_VAL_9300_5GHZ -100
20
21 +#define AR_PHY_CCA_NOM_VAL_9330_2GHZ -118
22 +
23 /*
24 * AGC Field Definitions
25 */
This page took 0.049124 seconds and 5 git commands to generate.