]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/net/mac80211.h
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)
commit981d94a80174e4f33bd5015fb49051bfc2eb00d2
tree9f36c3427c7cfdd02ccee3e5f3db72bf21ec864c
parent77c96404a4cf16ffa0720a3fbf45839cc16018ac
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