aboutsummaryrefslogtreecommitdiffstats
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
commit5e019b31ecc04a5c5b1573bc733d75ddc782a2b2 (patch)
treeeacb158156fab73916cc50dcd60b26c1fc8c1523
parent54c8205055f816b018e30d5da53b2ba9a7d00fb2 (diff)
downloadmaster-187ad058-5e019b31ecc04a5c5b1573bc733d75ddc782a2b2.tar.gz
master-187ad058-5e019b31ecc04a5c5b1573bc733d75ddc782a2b2.tar.bz2
master-187ad058-5e019b31ecc04a5c5b1573bc733d75ddc782a2b2.zip
mac80211: drop retransmitted data frames from the cooked monitor interface - reduces CPU usage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25358 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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;
+ }