mac80211: Enable power save after receiving NULL packet ACK
authorBassem Dawood <bassem@morsemicro.com>
Sat, 27 Feb 2021 05:58:15 +0000 (16:58 +1100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Jun 2021 13:06:24 +0000 (15:06 +0200)
commit6e899fa027addf2dd069714184c58a7c8c4b3030
tree7b07ca7207c66f888998d1e30f8ead220179d3e5
parent65be6aa36ded2d2e3bf5058f4d3385b5a2a7ef2e
mac80211: Enable power save after receiving NULL packet ACK

Trigger dynamic_ps_timer to re-evaluate power saving once a null
function packet (with PM = 1) is ACKed, otherwise dynamic PS is
not enabled at that point.

Signed-off-by: Bassem Dawood <bassem@morsemicro.com>
Link: https://lore.kernel.org/r/20210227055815.14838-1-bassem@morsemicro.com
[reformatting]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/status.c