Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7267a796 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

mt76: request tx status for powersave released EOSP packet



Allows mac80211 to keep track of the service period

Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent cbbfd737
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -330,7 +330,8 @@ mt76_queue_ps_skb(struct mt76_dev *dev, struct ieee80211_sta *sta,

	info->control.flags |= IEEE80211_TX_CTRL_PS_RESPONSE;
	if (last)
		info->flags |= IEEE80211_TX_STATUS_EOSP;
		info->flags |= IEEE80211_TX_STATUS_EOSP |
			       IEEE80211_TX_CTL_REQ_TX_STATUS;

	mt76_skb_set_moredata(skb, !last);
	dev->queue_ops->tx_queue_skb(dev, hwq, skb, wcid, sta);