History

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.

Johannes Berg committed 12 years ago

Commit 960d01a1 parent 9d58f256 files · +239 −1Browse files

Showing the changes to include/linux (1 of 6 files). Show all

Unified · Split

include/linux/ieee80211.h+4−0
@@ -166,8 +166,12 @@ static inline u16 ieee80211_sn_sub(u16 sn1, u16 sn2) · 165 unmodified lines
166166
167167 #define IEEE80211_MAX_MESH_ID_LEN 32
168168
169+#define IEEE80211_FIRST_TSPEC_TSID 8
169170 #define IEEE80211_NUM_TIDS 16
170171
172+/* number of user priorities 802.11 uses */
173+#define IEEE80211_NUM_UPS 8
174+
171175 #define IEEE80211_QOS_CTL_LEN 2
172176 /* 1d tag mask */
173177 #define IEEE80211_QOS_CTL_TAG1D_MASK 0x0007