cfg80211: add ability to check DA/SA in A-MSDU decapsulation
authorJohannes Berg <johannes.berg@intel.com>
Wed, 5 Oct 2016 14:17:01 +0000 (16:17 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 12 Oct 2016 07:19:10 +0000 (09:19 +0200)
commit8b935ee2ea17db720d70f6420f77f594c0c93f75
tree75123183c4319ac542567a26747f87705561c441
parent7f6990c830f3e8d703f13d7963acf51936c52ad2
cfg80211: add ability to check DA/SA in A-MSDU decapsulation

We should not accept arbitrary DA/SA inside A-MSDUs, it could be used
to circumvent protections, like allowing a station to send frames and
make them seem to come from somewhere else.

Add the necessary infrastructure in cfg80211 to allow such checks, in
further patches we'll start using them.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c
include/net/cfg80211.h
net/mac80211/rx.c
net/wireless/util.c