summaryrefslogtreecommitdiffstats
path: root/net/mac80211/vht.c
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2015-03-01 09:10:02 +0200
committerJohannes Berg <johannes.berg@intel.com>2015-03-03 15:56:07 +0100
commitfb28ec0ce4acd54cb1972d224e2caf287b60d9c9 (patch)
tree03c84fbd5f5938f4f9ff19d7b9b22499fca4f14c /net/mac80211/vht.c
parent954a86ef45ffa2db4e361d5344ed61464fb2a204 (diff)
downloadtalos-obmc-linux-fb28ec0ce4acd54cb1972d224e2caf287b60d9c9.tar.gz
talos-obmc-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 'net/mac80211/vht.c')
-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
OpenPOWER on IntegriCloud