mac80211: drop retransmitted data frames from the cooked monitor interface - reduces...
authorFelix Fietkau <nbd@openwrt.org>
Fri, 4 Feb 2011 12:16:36 +0000 (12:16 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 4 Feb 2011 12:16:36 +0000 (12:16 +0000)
SVN-Revision: 25358

package/mac80211/patches/560-mac80211_cmntr_drop_retransmissions.patch [new file with mode: 0644]

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 (file)
index 0000000..ad5bede
--- /dev/null
@@ -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;
+       }