]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: Report Association Request frame IEs in association events
authorJouni Malinen <jouni@codeaurora.org>
Fri, 15 Feb 2019 00:14:33 +0000 (02:14 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 22 Feb 2019 12:35:09 +0000 (13:35 +0100)
commit76e78b85bca9ed8dcb12c2ce2e467991e4d19ac4
treed551f1a96cfcfa40b2604980098c8cce0ae8c6e3
parentcf07d00e53a7e9750e8f4d2ec1a6d08be255c1ae
cfg80211: Report Association Request frame IEs in association events

This extends the NL80211_CMD_ASSOCIATE event case to report
NL80211_ATTR_REQ_IE similarly to what is already done with the
NL80211_CMD_CONNECT events if the driver provides this information. In
practice, this adds (Re)Association Request frame information element
reporting to mac80211 drivers for the cases where user space SME is
used.

This provides more information for user space to figure out which
capabilities were negotiated for the association. For example, this can
be used to determine whether HT, VHT, or HE is used.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/wireless/mlme.c
net/wireless/nl80211.c
net/wireless/nl80211.h