]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Use a separate CCMP PN receive counter for management frames
authorJouni Malinen <jouni.malinen@atheros.com>
Fri, 11 Jun 2010 17:27:33 +0000 (10:27 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 15 Jun 2010 20:00:49 +0000 (16:00 -0400)
commit9d7b8be479c21d03eb878af33a7437cc8b8da5a8
treef6c7473c919e7a3f0ff7c1b6543da44f8c338d02
parent3b99de1cf5d6ee2b0dde61236314b7de44fc5a59
mac80211: Use a separate CCMP PN receive counter for management frames

When management frame protection (IEEE 802.11w) is used, we must use a
separate counter for tracking received CCMP packet number for the
management frames. The previously used NUM_RX_DATA_QUEUESth queue was
shared with data frames when QoS was not used and that can cause
problems in detecting replays incorrectly for robust management frames.
Add a new counter just for robust management frames to avoid this issue.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/debugfs_key.c
net/mac80211/key.c
net/mac80211/key.h
net/mac80211/rx.c
net/mac80211/wpa.c