ath11k: Fix beamformee STS in HE cap
PATCH 1/1 ath11k: Fix beamformee STS in HE cap
STS Beamformee capability sent from firmware is overwritten as num_tx_chains - 1.
When num_tx_chains is 2, then STS is set to invalid value 1. Since STS is not limited by number of TX chain, not overwriting the capability received from firmware.
Tested on: IPQ6018 WLAN.HK.2.4.0.1-00303-QCAHKSWPL_SILICONZ-1
--- drivers/net/wireless/ath/ath11k/mac.c | 5 ----- 1 file changed, 5 deletions(-)
drivers/net/wireless/ath/ath11k/mac.c +0 -5
@@ -3729,11 +3729,6 @@ static int ath11k_mac_copy_he_cap(struct ath11k *ar, 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 ; - he_cap_elem->phy_cap_info[4 ] &= - ~IEEE80211_HE_PHY_CAP4_BEAMFORMEE_MAX_STS_ABOVE_80MHZ_MASK ; - he_cap_elem->phy_cap_info[4 ] |= (ar->num_tx_chains -1 ) <<2 ; he_cap_elem->phy_cap_info[5 ] &= ~IEEE80211_HE_PHY_CAP5_BEAMFORMEE_NUM_SND_DIM_UNDER_80MHZ_MASK ;
Signature · 1 line
2.7.4
Quoted 10 lines · Ramya Gnanasekar
STS Beamformee capability sent from firmware is overwritten as
num_tx_chains- 1.
Whennum_tx_chainsis 2, then STS is set to invalid value 1. Since STS is not limited by number of TX chain, not overwriting the capability received from firmware.Tested on: IPQ6018 WLAN.HK.2.4.0.1-00303-QCAHKSWPL_SILICONZ-1
Signed-off-by Ramya Gnanasekar <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath-next branch of ath.git, thanks.
1057db1b8b76 ath11k: Fix beamformee STS in HE cap
Signature · 9 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches -- ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
Quoted 10 lines · Ramya Gnanasekar
STS Beamformee capability sent from firmware is overwritten as
num_tx_chains- 1.
Whennum_tx_chainsis 2, then STS is set to invalid value 1. Since STS is not limited by number of TX chain, not overwriting the capability received from firmware.Tested on: IPQ6018 WLAN.HK.2.4.0.1-00303-QCAHKSWPL_SILICONZ-1
Signed-off-by Ramya Gnanasekar <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath-next branch of ath.git, thanks.
1057db1b8b76 ath11k: Fix beamformee STS in HE cap
Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches