Skip to content

Commit 960ae77

Browse files
Loic PoulainKalle Valo
authored andcommitted
wcn36xx: Fix HT40 capability for 2Ghz band
All wcn36xx controllers are supposed to support HT40 (and SGI40), This doubles the maximum bitrate/throughput with compatible APs. Tested with wcn3620 & wcn3680B. Cc: stable@vger.kernel.org Fixes: 8e84c25 ("wcn36xx: mac80211 driver for Qualcomm WCN3660/WCN3680 hardware") Signed-off-by: Loic Poulain <loic.poulain@linaro.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/1634737133-22336-1-git-send-email-loic.poulain@linaro.org
1 parent 285bb17 commit 960ae77

File tree

1 file changed

+3
-1
lines changed
  • drivers/net/wireless/ath/wcn36xx

1 file changed

+3
-1
lines changed

drivers/net/wireless/ath/wcn36xx/main.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,9 @@ static struct ieee80211_supported_band wcn_band_2ghz = {
135135
.cap = IEEE80211_HT_CAP_GRN_FLD |
136136
IEEE80211_HT_CAP_SGI_20 |
137137
IEEE80211_HT_CAP_DSSSCCK40 |
138-
IEEE80211_HT_CAP_LSIG_TXOP_PROT,
138+
IEEE80211_HT_CAP_LSIG_TXOP_PROT |
139+
IEEE80211_HT_CAP_SGI_40 |
140+
IEEE80211_HT_CAP_SUP_WIDTH_20_40,
139141
.ht_supported = true,
140142
.ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K,
141143
.ampdu_density = IEEE80211_HT_MPDU_DENSITY_16,

0 commit comments

Comments
 (0)