]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: allow same PN for AMSDU sub-frames
authorSara Sharon <sara.sharon@intel.com>
Tue, 3 May 2016 12:59:44 +0000 (15:59 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 12 May 2016 09:14:45 +0000 (11:14 +0200)
commit435131debdab6a4b8ceebad1a872640d9de383ca
treeb5baaab1e31664bf225c04581178efaf6e1f387a
parent0470e99583f791aced47ab451aef5a437e47b056
mac80211: allow same PN for AMSDU sub-frames

Some hardware (iwlwifi an example) de-aggregate AMSDUs and copy the IV
as is to the generated MPDUs, so the same PN appears in multiple
packets without being a replay attack.  Allow driver to explicitly
indicate that a frame is allowed to have the same PN as the previous
frame.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/wpa.c