diff mbox

[v2,2/2] ath9k: use min rate when MCC and nullfunc

Message ID 1451990134-15183-2-git-send-email-janusz.dziedzic@tieto.com (mailing list archive)
State Changes Requested
Delegated to: Kalle Valo
Headers show

Commit Message

Janusz.Dziedzic@tieto.com Jan. 5, 2016, 10:35 a.m. UTC
In case of nullfunc and MCC case use lowest
possible rates.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
---
 drivers/net/wireless/ath/ath9k/channel.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Kalle Valo Jan. 21, 2016, 1:11 p.m. UTC | #1
Janusz Dziedzic <janusz.dziedzic@tieto.com> writes:

> In case of nullfunc and MCC case use lowest
> possible rates.
>
> Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>

So what should I do with this patch? The mac80211 patch from this series
was dropped, should I do the same?

https://patchwork.kernel.org/patch/7953631/

Also please try to keep driver and mac80211 patches separate, that's
easier for me and Johannes.
diff mbox

Patch

diff --git a/drivers/net/wireless/ath/ath9k/channel.c b/drivers/net/wireless/ath/ath9k/channel.c
index b81f65c..988c859 100644
--- a/drivers/net/wireless/ath/ath9k/channel.c
+++ b/drivers/net/wireless/ath/ath9k/channel.c
@@ -1155,6 +1155,7 @@  ath_chanctx_send_vif_ps_frame(struct ath_softc *sc, struct ath_vif *avp,
 
 		skb->priority = 7;
 		skb_set_queue_mapping(skb, IEEE80211_AC_VO);
+		IEEE80211_SKB_CB(skb)->flags |= IEEE80211_TX_CTL_USE_MINRATE;
 		if (!ieee80211_tx_prepare_skb(sc->hw, vif, skb, band, &sta)) {
 			dev_kfree_skb_any(skb);
 			return false;