projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbbfd73
)
mt76: request tx status for powersave released EOSP packet
author
Felix Fietkau
<nbd@nbd.name>
Tue, 13 Nov 2018 19:54:17 +0000
(20:54 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Fri, 11 Jan 2019 14:10:15 +0000
(15:10 +0100)
Allows mac80211 to keep track of the service period
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/tx.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/tx.c
b/drivers/net/wireless/mediatek/mt76/tx.c
index
7b71105
..
f08509c
100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/tx.c
+++ b/
drivers/net/wireless/mediatek/mt76/tx.c
@@
-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);