From b21b99187a5428af4f2540b9aed1d6a9f427afdb Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 11 Jul 2019 21:32:00 +0200 Subject: [PATCH] mt76: mt7615: fix PS buffering of action frames Bufferable management frames need to be put in the data queue, otherwise they will not be buffered when the receiver is asleep. Signed-off-by: Felix Fietkau --- mt7615/mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mt7615/mac.c b/mt7615/mac.c index 6c21b2df..fc98dabe 100644 --- a/mt7615/mac.c +++ b/mt7615/mac.c @@ -334,7 +334,7 @@ int mt7615_mac_write_txwi(struct mt7615_dev *dev, __le32 *txwi, fc_type = (le16_to_cpu(fc) & IEEE80211_FCTL_FTYPE) >> 2; fc_stype = (le16_to_cpu(fc) & IEEE80211_FCTL_STYPE) >> 4; - if (ieee80211_is_data(fc)) { + if (ieee80211_is_data(fc) || ieee80211_is_bufferable_mmpdu(fc)) { q_idx = skb_get_queue_mapping(skb); p_fmt = MT_TX_TYPE_CT; } else if (ieee80211_is_beacon(fc)) {