Skip to contentSkip to conversation

ath11k: Disable peer fixed before setting ht-mcs or vht-mcs

PATCH In review Maharaja Kennadyrajan 2 participants 2 messages Jun 19, 2019 – Jun 20, 2019 Qualcomm Atheros ATH11K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath11k: Disable peer fixed before setting ht-mcs or vht-mcs

Peer fixed rate should be disabled before setting the ht-mcs or vht-mcs as peer fixed rate has higher priority in the rate setting.

---
 drivers/net/wireless/ath/ath11k/mac.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/net/wireless/ath/ath11k/mac.c +4 -0
index 8c47e09a84e7..3de17bfec689 100644
@@ -5040,6 +5040,10 @@ ath11k_mac_op_set_bitrate_mask(struct ieee80211_hw *hw,
 			return -EINVAL;
 		}
 
+		ieee80211_iterate_stations_atomic(ar->hw,
+						  ath11k_mac_disable_peer_fixed_rate,
+						  arvif);
+
 		mutex_lock(&ar->conf_mutex);
 
 		arvif->bitrate_mask = *mask;
Signature · 7 lines
2.21.0


_______________________________________________
ath11k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath11k
#1 lore raw
Quoted 6 lines · Maharaja Kennadyrajan

Peer fixed rate should be disabled before setting the ht-mcs or vht-mcs as peer fixed rate has higher priority in the rate setting.

Patch applied to ath11k-bringup branch of ath.git, thanks.

a9e6c87cff1e ath11k: Disable peer fixed before setting ht-mcs or vht-mcs

Signature · 9 lines
https://patchwork.kernel.org/patch/11003535/

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


_______________________________________________
ath11k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath11k