summaryrefslogtreecommitdiffstats
path: root/net/mac80211/vht.c
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2015-03-01 08:10:02 +0100
committerJohannes Berg <johannes.berg@intel.com>2015-03-03 15:56:07 +0100
commitfb28ec0ce4acd54cb1972d224e2caf287b60d9c9 (patch)
tree03c84fbd5f5938f4f9ff19d7b9b22499fca4f14c /net/mac80211/vht.c
parentcfg80211: add operating classes 128-130 (diff)
downloadlinux-fb28ec0ce4acd54cb1972d224e2caf287b60d9c9.tar.xz
linux-fb28ec0ce4acd54cb1972d224e2caf287b60d9c9.zip
mac80211: TDLS: support VHT between peers
Add the AID and VHT-cap/operation IEs during TDLS setup. Remove the block of TDLS peers when setting HT-caps of the peer station. 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 '')
-rw-r--r--net/mac80211/vht.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/mac80211/vht.c b/net/mac80211/vht.c
index 85f9596da07b..80694d55db74 100644
--- a/net/mac80211/vht.c
+++ b/net/mac80211/vht.c
@@ -129,10 +129,6 @@ ieee80211_vht_cap_ie_to_sta_vht_cap(struct ieee80211_sub_if_data *sdata,
if (!vht_cap_ie || !sband->vht_cap.vht_supported)
return;
- /* don't support VHT for TDLS peers for now */
- if (test_sta_flag(sta, WLAN_STA_TDLS_PEER))
- return;
-
/*
* A VHT STA must support 40 MHz, but if we verify that here
* then we break a few things - some APs (e.g. Netgear R6300v2