mac80211: define TDLS wider BW support bits
authorArik Nemtsov <arik@wizery.com>
Wed, 10 Jun 2015 17:42:59 +0000 (20:42 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 17 Jul 2015 13:38:11 +0000 (15:38 +0200)
commitb98fb44ffceeac717789e8f2fb3497e6b8c5c65b
treeee998972f041fa9bae44bbd94119a9d356a7b62e
parent7584f88f9e30d36c2c1041831121f1cd3a194bf1
mac80211: define TDLS wider BW support bits

Allow a device to specify support for the TDLS wider-bandwidth feature.
Indicate this support during TDLS setup in the ext-capab IE and set an
appropriate station flag when our TDLS peer supports it.
This feature gives TDLS peers the ability to use a wider channel than
the base width of the BSS. For instance VHT capable TDLS peers connected
on a 20MHz channel can extend the channel to 80MHz, if regulatory
considerations allow it.

Do not cap the bandwidth of such stations by the current BSS channel width
in mac80211.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/debugfs.c
net/mac80211/sta_info.h
net/mac80211/tdls.c
net/mac80211/vht.c