History

cfg80211: make WMM TSPEC support flag an nl80211 feature flag

During the review of the corresponding wpa_supplicant patches we noticed that the only way for it to detect that this functionality is supported currently is to check for the command support. This can be misleading though, as the command was also designed to, in the future, support pure 802.11 TSPECs. Expose the WMM-TSPEC feature flag to nl80211 so later we can also expose an 802.11-TSPEC feature flag (if needed) to differentiate the two cases. Note: this change isn't needed in 3.18 as there's no driver there yet that supports the functionality at all.

Johannes Berg committed 12 years ago

Commit 723e73a1 parent 5c6761a3 files · +12 −13Browse files

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

Unified · Split

include/uapi/linux/nl80211.h+5−0
@@ -4052,6 +4052,10 @@ enum nl80211_ap_sme_features { · 4051 unmodified lines
40524052 * multiplexing powersave, ie. can turn off all but one chain
40534053 * and then wake the rest up as required after, for example,
40544054 * rts/cts handshake.
4055+ * @NL80211_FEATURE_SUPPORTS_WMM_ADMISSION: the device supports setting up WMM
4056+ * TSPEC sessions (TID aka TSID 0-7) with the %NL80211_CMD_ADD_TX_TS
4057+ * command. Standard IEEE 802.11 TSPEC setup is not yet supported, it
4058+ * needs to be able to handle Block-Ack agreements and other things.
40554059 */
40564060 enum nl80211_feature_flags {
40574061 NL80211_FEATURE_SK_TX_STATUS = 1 << 0,
@@ -4080,6 +4084,7 @@ enum nl80211_feature_flags { · 22 unmodified lines
40804084 NL80211_FEATURE_ACKTO_ESTIMATION = 1 << 23,
40814085 NL80211_FEATURE_STATIC_SMPS = 1 << 24,
40824086 NL80211_FEATURE_DYNAMIC_SMPS = 1 << 25,
4087+ NL80211_FEATURE_SUPPORTS_WMM_ADMISSION = 1 << 26,
40834088 };
40844089
40854090 /**