mac80211: Send control port frames over nl80211
authorDenis Kenzior <denkenz@gmail.com>
Mon, 26 Mar 2018 17:52:51 +0000 (12:52 -0500)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 29 Mar 2018 12:08:30 +0000 (14:08 +0200)
commit018f6fbf540d7bd7223b7d0b29651c1dd5e1c606
tree5cdf391c14bed2a3636e6717f633bcf35ec319d8
parent911806491425d79107cadddbde11b42bbdfe38c8
mac80211: Send control port frames over nl80211

If userspace requested control port frames to go over 80211, then do so.
The control packets are intercepted just prior to delivery of the packet
to the underlying network device.

Pre-authentication type frames (protocol: 0x88c7) are also forwarded
over nl80211.

Signed-off-by: Denis Kenzior <denkenz@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/ibss.c
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/main.c
net/mac80211/mlme.c
net/mac80211/rx.c