diff mbox series

[v2] ath11k: clear DCM max constellation tx value

Message ID 1590707417-29672-1-git-send-email-msinada@codeaurora.org (mailing list archive)
State New, archived
Headers show
Series [v2] ath11k: clear DCM max constellation tx value | expand

Commit Message

Muna Sinada May 28, 2020, 11:10 p.m. UTC
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.

Signed-off-by: Muna Sinada <msinada@codeaurora.org>
---
 drivers/net/wireless/ath/ath11k/mac.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Kalle Valo May 30, 2020, 2:20 p.m. UTC | #1
Muna Sinada <msinada@codeaurora.org> wrote:

> 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.
> 
> Signed-off-by: Muna Sinada <msinada@codeaurora.org>
> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>

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

37b76986ebd7 ath11k: clear DCM max constellation tx value
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c
index 1a7e5817e5c8..3b360c6a1f32 100644
--- a/drivers/net/wireless/ath/ath11k/mac.c
+++ b/drivers/net/wireless/ath/ath11k/mac.c
@@ -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;