2020-05-28 22:59:11

by Muna Sinada

[permalink] [raw]
Subject: [PATCH] ath11k: reset trigger frame MAC padding duration

The value was 3 and it's reserved value. Corrected to maintain fw
defaults.

Signed-off-by: Muna Sinada <[email protected]>
---
drivers/net/wireless/ath/ath11k/mac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c
index 2a0cba47fc09..38310a217c58 100644
--- a/drivers/net/wireless/ath/ath11k/mac.c
+++ b/drivers/net/wireless/ath/ath11k/mac.c
@@ -3764,7 +3764,7 @@ static int ath11k_mac_copy_he_cap(struct ath11k *ar,
memcpy(he_cap_elem->phy_cap_info, band_cap->he_cap_phy_info,
sizeof(he_cap_elem->phy_cap_info));

- he_cap_elem->mac_cap_info[1] |=
+ he_cap_elem->mac_cap_info[1] &=
IEEE80211_HE_MAC_CAP1_TF_MAC_PAD_DUR_MASK;
he_cap_elem->phy_cap_info[4] &=
~IEEE80211_HE_PHY_CAP4_BEAMFORMEE_MAX_STS_UNDER_80MHZ_MASK;
--
2.7.4


2020-05-30 14:20:46

by Kalle Valo

[permalink] [raw]
Subject: Re: [PATCH] ath11k: reset trigger frame MAC padding duration

Muna Sinada <[email protected]> wrote:

> The value was 3 and it's reserved value. Corrected to maintain fw
> defaults.
>
> Signed-off-by: Muna Sinada <[email protected]>
> Signed-off-by: Kalle Valo <[email protected]>

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

9529cba988b7 ath11k: reset trigger frame MAC padding duration

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

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