]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: support device/driver PN check for CCMP/GCMP
authorJohannes Berg <johannes.berg@intel.com>
Fri, 12 Jun 2015 12:39:02 +0000 (14:39 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 17 Jul 2015 13:38:02 +0000 (15:38 +0200)
commit2e3cef2a044515f136e5d8a0387c4f3dda82e68c
tree9f36c3427c7cfdd02ccee3e5f3db72bf21ec864c
parentdff0f7642cae0e27c83823477b4e89c2518d84da
mac80211: support device/driver PN check for CCMP/GCMP

When there are multiple RX queues, the PN checks in mac80211 cannot be
used since packets might be processed out of order on different CPUs.

Allow the driver to report that the PN has been checked, drivers that
will use multi-queue RX will have to set this flag.

For now, the flag is only valid when the frame has been decrypted, in
theory that restriction doesn't have to be there, but in practice the
hardware will have decrypted the frame already.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/wpa.c