Jouni pointed out, that it should be possible to handle pre-auth frames as data frames and they should not be send over the nl80211 control port. Because iwd already makes use of this particular feature, this patch series adds an option to disable forwarding pre-auth frames over the control port on demand. Markus Theil (3): nl80211: add no pre-auth attribute and ext. feature flag for ctrl. port mac80211: handle no-preauth flag for control port mac80211: enable control port no-preauth feature include/net/cfg80211.h | 1 + include/uapi/linux/nl80211.h | 13 ++++++++++++- net/mac80211/cfg.c | 4 ++++ net/mac80211/ieee80211_i.h | 1 + net/mac80211/iface.c | 4 ++++ net/mac80211/main.c | 2 ++ net/mac80211/mlme.c | 2 ++ net/mac80211/rx.c | 3 ++- net/wireless/nl80211.c | 4 ++++ 9 files changed, 32 insertions(+), 2 deletions(-) -- 2.25.1