aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-09-09 15:55:35 -0400
committerJohannes Berg <johannes.berg@intel.com>2014-09-11 06:21:18 -0400
commit960d01acf62747d6518694f92be5b06f67473833 (patch)
tree5b57554171de78264adaa953b125f6c741911e51 /include/linux
parent9d58f25b12f70f52581a5a1fdb1e59d322c4c729 (diff)
cfg80211: add WMM traffic stream API
Add nl80211 and driver API to validate, add and delete traffic streams with appropriate settings. The API calls for userspace doing the action frame handshake with the peer, and then allows only to set up the parameters in the driver. To avoid setting up a session only to tear it down again, the validate API is provided, but the real usage later can still fail so userspace must be prepared for that. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ieee80211.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index 61a09f0644aa..b1be39c76931 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -166,8 +166,12 @@ static inline u16 ieee80211_sn_sub(u16 sn1, u16 sn2)
166 166
167#define IEEE80211_MAX_MESH_ID_LEN 32 167#define IEEE80211_MAX_MESH_ID_LEN 32
168 168
169#define IEEE80211_FIRST_TSPEC_TSID 8
169#define IEEE80211_NUM_TIDS 16 170#define IEEE80211_NUM_TIDS 16
170 171
172/* number of user priorities 802.11 uses */
173#define IEEE80211_NUM_UPS 8
174
171#define IEEE80211_QOS_CTL_LEN 2 175#define IEEE80211_QOS_CTL_LEN 2
172/* 1d tag mask */ 176/* 1d tag mask */
173#define IEEE80211_QOS_CTL_TAG1D_MASK 0x0007 177#define IEEE80211_QOS_CTL_TAG1D_MASK 0x0007