aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2014-09-09 17:09:45 +0300
committerJohannes Berg <johannes.berg@intel.com>2014-09-11 12:24:39 +0200
commitb0b6aa2c8e0d0e34f7658d5cc1e4fbb59f701c42 (patch)
tree4ef51e55ff3a08068b4a7d7ed2c0a65d80a9f77b /include/net/cfg80211.h
parentcfg80211: add WMM traffic stream API (diff)
downloadlinux-dev-b0b6aa2c8e0d0e34f7658d5cc1e4fbb59f701c42.tar.xz
linux-dev-b0b6aa2c8e0d0e34f7658d5cc1e4fbb59f701c42.zip
cfg80211/mac80211: add wmm info to assoc event
Userspace might need to know what queues are configured for uapsd (e.g. for setting proper default values in tspecs). Add this bitmap to the association event (inside wmm nested attribute) Add additional parameter to cfg80211_rx_assoc_resp, and update its callers. Signed-off-by: Eliad Peller <eliadx.peller@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index a13beab123dc..2ed1f80f7eb6 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -3944,6 +3944,7 @@ void cfg80211_auth_timeout(struct net_device *dev, const u8 *addr);
* moves to cfg80211 in this call
* @buf: authentication frame (header + body)
* @len: length of the frame data
+ * @uapsd_queues: bitmap of ACs configured to uapsd. -1 if n/a.
*
* After being asked to associate via cfg80211_ops::assoc() the driver must
* call either this function or cfg80211_auth_timeout().
@@ -3952,7 +3953,8 @@ void cfg80211_auth_timeout(struct net_device *dev, const u8 *addr);
*/
void cfg80211_rx_assoc_resp(struct net_device *dev,
struct cfg80211_bss *bss,
- const u8 *buf, size_t len);
+ const u8 *buf, size_t len,
+ int uapsd_queues);
/**
* cfg80211_assoc_timeout - notification of timed out association