diff options
author | Jouni Malinen <jouni@codeaurora.org> | 2019-02-15 03:14:33 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2019-02-22 15:35:09 +0300 |
commit | 4d9ec73d2b78daf70477aadc50eb4d2186c8b62f (patch) | |
tree | d551f1a96cfcfa40b2604980098c8cce0ae8c6e3 /net/wireless/nl80211.h | |
parent | 767637416e218d2d3ba7e1697b8a72a375797866 (diff) | |
download | linux-4d9ec73d2b78daf70477aadc50eb4d2186c8b62f.tar.xz |
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>
Diffstat (limited to 'net/wireless/nl80211.h')
-rw-r--r-- | net/wireless/nl80211.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/wireless/nl80211.h b/net/wireless/nl80211.h index 531c82dcba6b..a41e94a49a89 100644 --- a/net/wireless/nl80211.h +++ b/net/wireless/nl80211.h @@ -67,7 +67,8 @@ void nl80211_send_rx_auth(struct cfg80211_registered_device *rdev, void nl80211_send_rx_assoc(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *buf, size_t len, gfp_t gfp, - int uapsd_queues); + int uapsd_queues, + const u8 *req_ies, size_t req_ies_len); void nl80211_send_deauth(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *buf, size_t len, gfp_t gfp); |