]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] ieee80211: Drop and count duplicate data frames to remove 'replay detected...
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 3 Oct 2006 23:49:32 +0000 (18:49 -0500)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 05:11:57 +0000 (00:11 -0500)
commit2e83b5c8ae05f1d23090e2ed85002b583b8a44d7
treef1f4aebf44d3f44635fac65efcdd4a56749d376f
parentfc7fd25e89b961ecb21934f47474bb225e825090
[PATCH] ieee80211: Drop and count duplicate data frames to remove 'replay detected' log messages

In the SoftMAC version of the IEEE 802.11 stack, not all duplicate messages are
detected. For the most part, there is no difficulty; however for TKIP and CCMP
encryption, the duplicates result in a "replay detected" log message where the
received and previous values of the TSC are identical. This change adds a new
variable to the ieee80211_device structure that holds the 'seq_ctl' value for
the previous frame. When a new frame repeats the value, the frame is dropped and
the appropriate counter is incremented.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/ieee80211.h
net/ieee80211/ieee80211_rx.c