Search Linux Wireless

[PATCH] mac80211: don't downgrade VHT20 to HT20

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The check led to VHT-capable devices being unable
to pair in VHT20 and were instead paired in HT20.

This improves throughput for VHT20 pairing.

Signed-off-by: Michal Kazior <michal.kazior@xxxxxxxxx>
---
The check was originally introduced in:

e1a0c6b3a4b27ed5f21291d0bbee2167ec201ef5
(mac80211: stop toggling IEEE80211_HT_CAP_SUP_WIDTH_20_40)

Was it really necessary to introduce this check?


 net/mac80211/vht.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/net/mac80211/vht.c b/net/mac80211/vht.c
index e9e36a2..21c7e5b 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;
 
-	/* A VHT STA must support 40 MHz */
-	if (!(sta->sta.ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40))
-		return;
-
 	vht_cap->vht_supported = true;
 
 	own_cap = sband->vht_cap;
-- 
1.8.5.3

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux