aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-02-04 12:16:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-02-04 12:16:36 +0000
commit2d5c6da16a1babcc743e1957e285fcd887b2b358 (patch)
tree80befd97f5b3090cc22672f4d9ac1cfa61f155b7 /package/mac80211/patches
parent4678e149a859081e70d1facc1ab6d4f28c07a0bd (diff)
downloadupstream-2d5c6da16a1babcc743e1957e285fcd887b2b358.tar.gz
upstream-2d5c6da16a1babcc743e1957e285fcd887b2b358.tar.bz2
upstream-2d5c6da16a1babcc743e1957e285fcd887b2b358.zip
mac80211: drop retransmitted data frames from the cooked monitor interface - reduces CPU usage
SVN-Revision: 25358
Diffstat (limited to 'package/mac80211/patches')
-rw-r--r--package/mac80211/patches/560-mac80211_cmntr_drop_retransmissions.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/560-mac80211_cmntr_drop_retransmissions.patch b/package/mac80211/patches/560-mac80211_cmntr_drop_retransmissions.patch
new file mode 100644
index 0000000000..ad5bede819
--- /dev/null
+++ b/package/mac80211/patches/560-mac80211_cmntr_drop_retransmissions.patch
@@ -0,0 +1,11 @@
+--- a/net/mac80211/rx.c
++++ b/net/mac80211/rx.c
+@@ -798,7 +798,7 @@ ieee80211_rx_h_check(struct ieee80211_rx
+ rx->local->dot11FrameDuplicateCount++;
+ rx->sta->num_duplicates++;
+ }
+- return RX_DROP_MONITOR;
++ return RX_DROP_UNUSABLE;
+ } else
+ rx->sta->last_seq_ctrl[rx->queue] = hdr->seq_ctrl;
+ }