wcn36xx: Fix reported 802.11n rx_highest rate wcn3660/wcn3680

Message ID 20200802004824.1307124-1-bryan.odonoghue@linaro.org
State New
Headers show
Series
  • wcn36xx: Fix reported 802.11n rx_highest rate wcn3660/wcn3680
Related show

Commit Message

Bryan O'Donoghue Aug. 2, 2020, 12:48 a.m.
Qualcomm's document "80-WL007-1 Rev. J" states that the highest rx rate for
the WCN3660 and WCN3680 on MCS 7 is 150 Mbps not the 72 Mbps stated here.

This patch fixes the data-rate declared in the 5GHz table.

Fixes: 8e84c2582169 ("wcn36xx: mac80211 driver for Qualcomm WCN3660/WCN3680
hardware")

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>

---
 drivers/net/wireless/ath/wcn36xx/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.27.0

Comments

Kalle Valo Aug. 17, 2020, 10:26 a.m. | #1
Bryan O'Donoghue <bryan.odonoghue@linaro.org> wrote:

> Qualcomm's document "80-WL007-1 Rev. J" states that the highest rx rate for

> the WCN3660 and WCN3680 on MCS 7 is 150 Mbps not the 72 Mbps stated here.

> 

> This patch fixes the data-rate declared in the 5GHz table.

> 

> Fixes: 8e84c2582169 ("wcn36xx: mac80211 driver for Qualcomm WCN3660/WCN3680

> hardware")

> 

> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>

> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>


Patch applied to ath-next branch of ath.git, thanks.

3b9fb6791e71 wcn36xx: Fix reported 802.11n rx_highest rate wcn3660/wcn3680

-- 
https://patchwork.kernel.org/patch/11696251/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


_______________________________________________
wcn36xx mailing list
wcn36xx@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/wcn36xx
Kalle Valo Aug. 17, 2020, 10:26 a.m. | #2
Bryan O'Donoghue <bryan.odonoghue@linaro.org> wrote:

> Qualcomm's document "80-WL007-1 Rev. J" states that the highest rx rate for

> the WCN3660 and WCN3680 on MCS 7 is 150 Mbps not the 72 Mbps stated here.

> 

> This patch fixes the data-rate declared in the 5GHz table.

> 

> Fixes: 8e84c2582169 ("wcn36xx: mac80211 driver for Qualcomm WCN3660/WCN3680

> hardware")

> 

> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>

> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>


Patch applied to ath-next branch of ath.git, thanks.

3b9fb6791e71 wcn36xx: Fix reported 802.11n rx_highest rate wcn3660/wcn3680

-- 
https://patchwork.kernel.org/patch/11696251/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

Patch

diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wcn36xx/main.c
index da2db0420d02..f389cd4676e3 100644
--- a/drivers/net/wireless/ath/wcn36xx/main.c
+++ b/drivers/net/wireless/ath/wcn36xx/main.c
@@ -163,7 +163,7 @@  static struct ieee80211_supported_band wcn_band_5ghz = {
 		.ampdu_density = IEEE80211_HT_MPDU_DENSITY_16,
 		.mcs = {
 			.rx_mask = { 0xff, 0, 0, 0, 0, 0, 0, 0, 0, 0, },
-			.rx_highest = cpu_to_le16(72),
+			.rx_highest = cpu_to_le16(150),
 			.tx_params = IEEE80211_HT_MCS_TX_DEFINED,
 		}
 	}