mac80211: allow not sending MIC up from driver for HW crypto
authorSara Sharon <sara.sharon@intel.com>
Wed, 24 Feb 2016 09:49:45 +0000 (11:49 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 5 Apr 2016 08:48:56 +0000 (10:48 +0200)
commitf980ebc058c2fa2a552e495db1de0b330082ab70
treeaa224a4750de5e222ea022eab28b146921ba9679
parent162dd6a7253ab009c6335c21ce6b80cf227ddda4
mac80211: allow not sending MIC up from driver for HW crypto

When HW crypto is used, there's no need for the CCMP/GCMP MIC to
be available to mac80211, and the hardware might have removed it
already after checking. The MIC is also useless to have when the
frame is already decrypted, so allow indicating that it's not
present.

Since we are running out of bits in mac80211_rx_flags, make
the flags field a u64.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/ath/ath10k/htt_rx.c
drivers/net/wireless/ath/wcn36xx/txrx.c
include/net/mac80211.h
net/mac80211/util.c
net/mac80211/wpa.c