* [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
* Re: [PATCH] ath11k: Disable peer fixed before setting ht-mcs or vht-mcs
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
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2019-06-20 14:33 UTC (permalink / raw)
To: Maharaja Kennadyrajan; +Cc: ath11k
Maharaja Kennadyrajan <mkenna@codeaurora.org> wrote:
> 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>
> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Patch applied to ath11k-bringup branch of ath.git, thanks.
a9e6c87cff1e ath11k: Disable peer fixed before setting ht-mcs or vht-mcs
--
https://patchwork.kernel.org/patch/11003535/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
_______________________________________________
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k
^ permalink raw reply [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.