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

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
...@@ -330,7 +330,8 @@ mt76_queue_ps_skb(struct mt76_dev *dev, struct ieee80211_sta *sta, ...@@ -330,7 +330,8 @@ mt76_queue_ps_skb(struct mt76_dev *dev, struct ieee80211_sta *sta,
info->control.flags |= IEEE80211_TX_CTRL_PS_RESPONSE; info->control.flags |= IEEE80211_TX_CTRL_PS_RESPONSE;
if (last) 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); mt76_skb_set_moredata(skb, !last);
dev->queue_ops->tx_queue_skb(dev, hwq, skb, wcid, sta); dev->queue_ops->tx_queue_skb(dev, hwq, skb, wcid, sta);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment