fix ath10k-ct support for qam-256 in 2.4GHz

This commit is contained in:
Lucas Asvio
2024-06-02 13:20:42 +02:00
parent 2d354a9ccd
commit 0c46a544d9

View File

@@ -7,16 +7,15 @@ Ath10k supports non-standard QAM-256 in 2.4GHz in 802.11n. Permit for
supported client to benefits from these extra bandwidth by enabling supported client to benefits from these extra bandwidth by enabling
support for it. support for it.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
--- ---
ath10k-6.2/mac.c | 6 ++++-- ath10k-5.15/mac.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-) 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/ath10k-6.2/mac.c b/ath10k-6.2/mac.c diff --git a/ath10k-5.15/mac.c b/ath10k-6.2/mac.c
index 9c4bf2fdbc0f..8d362ba351e6 100644 index 9c4bf2fdbc0f..8d362ba351e6 100644
--- a/ath10k-6.2/mac.c --- a/ath10k-5.15/mac.c
+++ b/ath10k-6.2k/mac.c +++ b/ath10k-5.15k/mac.c
@@ -2749,9 +2749,9 @@ static void ath10k_peer_assoc_h_phymode(struct ath10k *ar, @@ -3335,9 +3335,9 @@ static void ath10k_peer_assoc_h_phymode(struct ath10k *ar,
if (sta->deflink.vht_cap.vht_supported && if (sta->deflink.vht_cap.vht_supported &&
!ath10k_peer_assoc_h_vht_masked(vht_mcs_mask)) { !ath10k_peer_assoc_h_vht_masked(vht_mcs_mask)) {
if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_40) if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_40)
@@ -28,7 +27,7 @@ index 9c4bf2fdbc0f..8d362ba351e6 100644
} else if (sta->deflink.ht_cap.ht_supported && } else if (sta->deflink.ht_cap.ht_supported &&
!ath10k_peer_assoc_h_ht_masked(ht_mcs_mask)) { !ath10k_peer_assoc_h_ht_masked(ht_mcs_mask)) {
if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_40) if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_40)
@@ -4998,6 +4998,7 @@ static void ath10k_mac_setup_ht_vht_cap(struct ath10k *ar) @@ -5846,6 +5846,7 @@ static void ath10k_mac_setup_ht_vht_cap(struct ath10k *ar)
/* Enable the VHT support at 2.4 GHz */ /* Enable the VHT support at 2.4 GHz */
band->vht_cap = vht_cap; band->vht_cap = vht_cap;