[package] ppp: extend the r26742 change to ip-down too
[openwrt.git] / package / mac80211 / patches / 462-ath5k_fix_sifs.patch
1 --- a/drivers/net/wireless/ath/ath5k/ath5k.h
2 +++ b/drivers/net/wireless/ath/ath5k/ath5k.h
3 @@ -224,8 +224,7 @@
4
5 /* SIFS */
6 #define AR5K_INIT_SIFS_TURBO 6
7 -/* XXX: 8 from initvals 10 from standard */
8 -#define AR5K_INIT_SIFS_DEFAULT_BG 8
9 +#define AR5K_INIT_SIFS_DEFAULT_BG 10
10 #define AR5K_INIT_SIFS_DEFAULT_A 16
11 #define AR5K_INIT_SIFS_HALF_RATE 32
12 #define AR5K_INIT_SIFS_QUARTER_RATE 64
13 --- a/drivers/net/wireless/ath/ath5k/qcu.c
14 +++ b/drivers/net/wireless/ath/ath5k/qcu.c
15 @@ -519,7 +519,7 @@ int ath5k_hw_set_ifs_intervals(struct at
16 return -EINVAL;
17
18 sifs = ath5k_hw_get_default_sifs(ah);
19 - sifs_clock = ath5k_hw_htoclock(ah, sifs);
20 + sifs_clock = ath5k_hw_htoclock(ah, sifs - 2);
21
22 /* EIFS
23 * Txtime of ack at lowest rate + SIFS + DIFS
This page took 0.044746 seconds and 5 git commands to generate.