All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ath11k: Disable peer fixed before setting ht-mcs or vht-mcs
@ 2019-06-19  6:50 Maharaja Kennadyrajan
  2019-06-20 14:33 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Maharaja Kennadyrajan @ 2019-06-19  6:50 UTC (permalink / raw)
  To: ath11k; +Cc: 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.

Signed-off-by: Maharaja Kennadyrajan <mkenna@codeaurora.org>
---
 drivers/net/wireless/ath/ath11k/mac.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c
index 8c47e09a84e7..3de17bfec689 100644
--- a/drivers/net/wireless/ath/ath11k/mac.c
+++ b/drivers/net/wireless/ath/ath11k/mac.c
@@ -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;
-- 
2.21.0


_______________________________________________
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-20 14:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-19  6:50 [PATCH] ath11k: Disable peer fixed before setting ht-mcs or vht-mcs Maharaja Kennadyrajan
2019-06-20 14:33 ` Kalle Valo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.