]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6bdb673249e81a35f2b31e0d5e16fde4ac4b8e7b
tree22a4b30b1fdef69eab194d8c5227d96942c83eb8
parent6f64750fb5a54001fdeeff70a09f43a0796e2fcb
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