kernel: add a recent upstream commit (post-3.3) to the ssb update patch, required...
[openwrt.git] / package / mac80211 / patches / 569-ath9k_fix_cts.patch
1 --- a/drivers/net/wireless/ath/ath9k/hw.c
2 +++ b/drivers/net/wireless/ath/ath9k/hw.c
3 @@ -1061,13 +1061,16 @@ void ath9k_hw_init_global_settings(struc
4
5 /*
6 * Workaround for early ACK timeouts, add an offset to match the
7 - * initval's 64us ack timeout value.
8 + * initval's 64us ack timeout value. Use 48us for the CTS timeout.
9 * This was initially only meant to work around an issue with delayed
10 * BA frames in some implementations, but it has been found to fix ACK
11 * timeout issues in other cases as well.
12 */
13 - if (conf->channel && conf->channel->band == IEEE80211_BAND_2GHZ)
14 + if (conf->channel && conf->channel->band == IEEE80211_BAND_2GHZ) {
15 acktimeout += 64 - sifstime - ah->slottime;
16 + ctstimeout += 48 - sifstime - ah->slottime;
17 + }
18 +
19
20 ath9k_hw_set_sifs_time(ah, sifstime);
21 ath9k_hw_setslottime(ah, slottime);
This page took 0.039943 seconds and 5 git commands to generate.