aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2015-06-10 13:42:59 -0400
committerJohannes Berg <johannes.berg@intel.com>2015-07-17 09:38:11 -0400
commitb98fb44ffceeac717789e8f2fb3497e6b8c5c65b (patch)
treeee998972f041fa9bae44bbd94119a9d356a7b62e /include/net/mac80211.h
parent7584f88f9e30d36c2c1041831121f1cd3a194bf1 (diff)
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>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 4d3d2686f278..8f61a230c482 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -1887,6 +1887,9 @@ struct ieee80211_txq {
1887 * @IEEE80211_HW_SINGLE_SCAN_ON_ALL_BANDS: The HW supports scanning on all bands 1887 * @IEEE80211_HW_SINGLE_SCAN_ON_ALL_BANDS: The HW supports scanning on all bands
1888 * in one command, mac80211 doesn't have to run separate scans per band. 1888 * in one command, mac80211 doesn't have to run separate scans per band.
1889 * 1889 *
1890 * @IEEE80211_HW_TDLS_WIDER_BW: The device/driver supports wider bandwidth
1891 * than then BSS bandwidth for a TDLS link on the base channel.
1892 *
1890 * @NUM_IEEE80211_HW_FLAGS: number of hardware flags, used for sizing arrays 1893 * @NUM_IEEE80211_HW_FLAGS: number of hardware flags, used for sizing arrays
1891 */ 1894 */
1892enum ieee80211_hw_flags { 1895enum ieee80211_hw_flags {
@@ -1919,6 +1922,7 @@ enum ieee80211_hw_flags {
1919 IEEE80211_HW_CHANCTX_STA_CSA, 1922 IEEE80211_HW_CHANCTX_STA_CSA,
1920 IEEE80211_HW_SUPPORTS_CLONED_SKBS, 1923 IEEE80211_HW_SUPPORTS_CLONED_SKBS,
1921 IEEE80211_HW_SINGLE_SCAN_ON_ALL_BANDS, 1924 IEEE80211_HW_SINGLE_SCAN_ON_ALL_BANDS,
1925 IEEE80211_HW_TDLS_WIDER_BW,
1922 1926
1923 /* keep last, obviously */ 1927 /* keep last, obviously */
1924 NUM_IEEE80211_HW_FLAGS 1928 NUM_IEEE80211_HW_FLAGS