Commit bed56e31 authored by Vasanthakumar Thiagarajan's avatar Vasanthakumar Thiagarajan Committed by Kalle Valo

ath6kl: Don't advertise HT40 support in 2.4 Ghz

HT40 is not supported in 2.4Ghz.
Signed-off-by: default avatarVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 1e8d13b0
...@@ -71,7 +71,8 @@ static struct ieee80211_rate ath6kl_rates[] = { ...@@ -71,7 +71,8 @@ static struct ieee80211_rate ath6kl_rates[] = {
#define ath6kl_g_rates (ath6kl_rates + 0) #define ath6kl_g_rates (ath6kl_rates + 0)
#define ath6kl_g_rates_size 12 #define ath6kl_g_rates_size 12
#define ath6kl_g_htcap (IEEE80211_HT_CAP_SUP_WIDTH_20_40 | \ #define ath6kl_g_htcap IEEE80211_HT_CAP_SGI_20
#define ath6kl_a_htcap (IEEE80211_HT_CAP_SUP_WIDTH_20_40 | \
IEEE80211_HT_CAP_SGI_20 | \ IEEE80211_HT_CAP_SGI_20 | \
IEEE80211_HT_CAP_SGI_40) IEEE80211_HT_CAP_SGI_40)
...@@ -128,7 +129,7 @@ static struct ieee80211_supported_band ath6kl_band_5ghz = { ...@@ -128,7 +129,7 @@ static struct ieee80211_supported_band ath6kl_band_5ghz = {
.channels = ath6kl_5ghz_a_channels, .channels = ath6kl_5ghz_a_channels,
.n_bitrates = ath6kl_a_rates_size, .n_bitrates = ath6kl_a_rates_size,
.bitrates = ath6kl_a_rates, .bitrates = ath6kl_a_rates,
.ht_cap.cap = ath6kl_g_htcap, .ht_cap.cap = ath6kl_a_htcap,
.ht_cap.ht_supported = true, .ht_cap.ht_supported = true,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment