cfg80211: make WMM TSPEC support flag an nl80211 feature flag
authorJohannes Berg <johannes.berg@intel.com>
Wed, 22 Oct 2014 07:25:06 +0000 (09:25 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 22 Oct 2014 08:41:49 +0000 (10:41 +0200)
commit723e73acd16d2ea08cdbd8b449b7bc69389b94d4
tree22a4b30b1fdef69eab194d8c5227d96942c83eb8
parent5c6761adc77c131ef1601016f9ebbad0a9ae6d1a
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.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c