diff mbox series

ath11k: Fix sounding dimension config in HE cap

Message ID 1613460136-7170-1-git-send-email-lavaks@codeaurora.org
State New
Headers show
Series ath11k: Fix sounding dimension config in HE cap | expand

Commit Message

Lavanya Suresh Feb. 16, 2021, 7:22 a.m. UTC
Number of Sounding dimensions config received from firmware for
bandwidth above 80MHz is cleared, and proper value is not set again.
So not resetting it to accept the config from firmware.

Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.4.0.1-01689-QCAHKSWPL_SILICONZ-1

Signed-off-by: Lavanya Suresh <lavaks@codeaurora.org>
---
 drivers/net/wireless/ath/ath11k/mac.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Kalle Valo Feb. 18, 2021, 6 a.m. UTC | #1
Lavanya Suresh <lavaks@codeaurora.org> wrote:

> Number of Sounding dimensions config received from firmware for

> bandwidth above 80MHz is cleared, and proper value is not set again.

> So not resetting it to accept the config from firmware.

> 

> Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.4.0.1-01689-QCAHKSWPL_SILICONZ-1

> 

> Signed-off-by: Lavanya Suresh <lavaks@codeaurora.org>

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


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

096b625fab8f ath11k: Fix sounding dimension config in HE cap

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/1613460136-7170-1-git-send-email-lavaks@codeaurora.org/

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

Patch

diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c
index 5e5026c..61c166e 100644
--- a/drivers/net/wireless/ath/ath11k/mac.c
+++ b/drivers/net/wireless/ath/ath11k/mac.c
@@ -4604,8 +4604,6 @@  static int ath11k_mac_copy_he_cap(struct ath11k *ar,
 
 		he_cap_elem->phy_cap_info[5] &=
 			~IEEE80211_HE_PHY_CAP5_BEAMFORMEE_NUM_SND_DIM_UNDER_80MHZ_MASK;
-		he_cap_elem->phy_cap_info[5] &=
-			~IEEE80211_HE_PHY_CAP5_BEAMFORMEE_NUM_SND_DIM_ABOVE_80MHZ_MASK;
 		he_cap_elem->phy_cap_info[5] |= ar->num_tx_chains - 1;
 
 		switch (i) {