]> 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)
commit20e96a307bb101a9e67763c6c544049e444afc8d
tree9f36c3427c7cfdd02ccee3e5f3db72bf21ec864c
parent334c1f22ba7c7dee0935788d97994ebc4bb5251b
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