aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/570-ath9k_fix_ack_cts_timeout.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-09-15 17:55:16 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-09-15 17:55:16 +0000
commitb65db4089dfd161286634ec82c7aaec11dc84ac4 (patch)
treeaa6b1ef5eb5fa5afdaa907307757781f101bf85f /package/mac80211/patches/570-ath9k_fix_ack_cts_timeout.patch
parent9ac95ba999b6908e5d57d661c9ebe3f638ceaf6e (diff)
downloadupstream-b65db4089dfd161286634ec82c7aaec11dc84ac4.tar.gz
upstream-b65db4089dfd161286634ec82c7aaec11dc84ac4.tar.bz2
upstream-b65db4089dfd161286634ec82c7aaec11dc84ac4.zip
mac80211: update to wireless-testing 2011-09-14
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28245 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/570-ath9k_fix_ack_cts_timeout.patch')
-rw-r--r--package/mac80211/patches/570-ath9k_fix_ack_cts_timeout.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/package/mac80211/patches/570-ath9k_fix_ack_cts_timeout.patch b/package/mac80211/patches/570-ath9k_fix_ack_cts_timeout.patch
deleted file mode 100644
index ed955b4ae1..0000000000
--- a/package/mac80211/patches/570-ath9k_fix_ack_cts_timeout.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- a/drivers/net/wireless/ath/ath9k/hw.c
-+++ b/drivers/net/wireless/ath/ath9k/hw.c
-@@ -969,7 +969,7 @@ void ath9k_hw_init_global_settings(struc
- struct ath_common *common = ath9k_hw_common(ah);
- struct ieee80211_conf *conf = &common->hw->conf;
- const struct ath9k_channel *chan = ah->curchan;
-- int acktimeout;
-+ int acktimeout, ctstimeout;
- int slottime;
- int sifstime;
- int rx_lat = 0, tx_lat = 0, eifs = 0;
-@@ -1029,6 +1029,7 @@ void ath9k_hw_init_global_settings(struc
-
- /* As defined by IEEE 802.11-2007 17.3.8.6 */
- acktimeout = slottime + sifstime + 3 * ah->coverage_class;
-+ ctstimeout = acktimeout;
-
- /*
- * Workaround for early ACK timeouts, add an offset to match the
-@@ -1043,7 +1044,7 @@ void ath9k_hw_init_global_settings(struc
- ath9k_hw_set_sifs_time(ah, sifstime);
- ath9k_hw_setslottime(ah, slottime);
- ath9k_hw_set_ack_timeout(ah, acktimeout);
-- ath9k_hw_set_cts_timeout(ah, acktimeout);
-+ ath9k_hw_set_cts_timeout(ah, ctstimeout);
- if (ah->globaltxtimeout != (u32) -1)
- ath9k_hw_set_global_txtimeout(ah, ah->globaltxtimeout);
-