Skip to contentSkip to conversation

ath11k: clear DCM max constellation tx value

PATCH In review Muna Sinada 2 participants 3 messages May 28, 2020 – May 30, 2020 Qualcomm Atheros ATH11K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ath11k: clear DCM max constellation tx value

According to 11ax spec. draft 4.0. DCM Max Constellation Tx data field should be set to "Reserved" for an AP, therefore bit is cleared.

---
 drivers/net/wireless/ath/ath11k/mac.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/net/wireless/ath/ath11k/mac.c +2 -0
index 1a7e5817e5c8..3b360c6a1f32 100644
@@ -3578,6 +3578,8 @@ static int ath11k_mac_copy_he_cap(struct ath11k *ar,
 
 		switch (i) {
 		case NL80211_IFTYPE_AP:
+			he_cap_elem->phy_cap_info[3] &=
+				~IEEE80211_HE_PHY_CAP3_DCM_MAX_CONST_TX_MASK;
 			he_cap_elem->phy_cap_info[9] |=
 				IEEE80211_HE_PHY_CAP9_RX_1024_QAM_LESS_THAN_242_TONE_RU;
 			break;
Signature · 7 lines
2.7.4


_______________________________________________
ath11k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath11k
#1 lore raw
Quoted 6 lines · Muna Sinada

According to 11ax spec. draft 4.0. DCM Max Constellation Tx data field should be set to "Reserved" for an AP, therefore bit is cleared.

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

37b76986ebd7 ath11k: clear DCM max constellation tx value

Signature · 9 lines
https://patchwork.kernel.org/patch/11577233/

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


_______________________________________________
ath11k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath11k
#2 lore raw
In reply to Muna Sinada
Quoted 6 lines · Muna Sinada

According to 11ax spec. draft 4.0. DCM Max Constellation Tx data field should be set to "Reserved" for an AP, therefore bit is cleared.

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

37b76986ebd7 ath11k: clear DCM max constellation tx value

Signature · 3 lines
https://patchwork.kernel.org/patch/11577233/

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