summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuna Sinada <msinada@codeaurora.org>2020-05-28 16:10:17 -0700
committerKalle Valo <kvalo@codeaurora.org>2020-05-30 17:20:25 +0300
commit37b76986ebd72aae2c613b94b805e67eaea558b6 (patch)
tree50b76d50019ac464b8a32cb3036432a2feb1551d
parent9529cba988b74091b3a67916b1c119f5b189b8b6 (diff)
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. Signed-off-by: Muna Sinada <msinada@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/1590707417-29672-1-git-send-email-msinada@codeaurora.org
-rw-r--r--drivers/net/wireless/ath/ath11k/mac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c
index 00e5aac3deea..2836a0f197ab 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;