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)
commitf631a77ba920f7153a1094d09cd8f2ebbffd0328
treeb5baaab1e31664bf225c04581178efaf6e1f387a
parent20eb7ea93f7ffaaa24b19b8bfc411b1f7605759f
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