Skip to content

Commit

Permalink
mt76: request tx status for powersave released EOSP packet
Browse files Browse the repository at this point in the history
Allows mac80211 to keep track of the service period

Signed-off-by: Felix Fietkau <nbd@nbd.name>
  • Loading branch information
nbd168 committed Nov 13, 2018
1 parent 0848d2d commit 83a80ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tx.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 83a80ca

Please sign in to comment.