linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] ath11k: clear DCM max constellation tx value
@ 2020-05-28 23:10 Muna Sinada
  2020-05-30 14:20 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Muna Sinada @ 2020-05-28 23:10 UTC (permalink / raw)
  To: ath11k; +Cc: linux-wireless, 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.

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

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;
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] ath11k: clear DCM max constellation tx value
  2020-05-28 23:10 [PATCH v2] ath11k: clear DCM max constellation tx value Muna Sinada
@ 2020-05-30 14:20 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2020-05-30 14:20 UTC (permalink / raw)
  To: Muna Sinada; +Cc: ath11k, linux-wireless, Muna Sinada

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

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

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-30 14:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-28 23:10 [PATCH v2] ath11k: clear DCM max constellation tx value Muna Sinada
2020-05-30 14:20 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).