]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mac80211: End the MPSP even if EOSP frame was not acked
authorMasashi Honma <masashi.honma@gmail.com>
Tue, 2 Aug 2016 08:16:57 +0000 (17:16 +0900)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 5 Aug 2016 12:06:29 +0000 (14:06 +0200)
commit71f2c3470fca51be27f6fc5975675f7e1c3b91e5
tree4ea3ebc05f78a3cfb058daf6580966664cfcbb01
parent6b07d9ca9b5363dda959b9582a3fc9c0b89ef3b5
mac80211: End the MPSP even if EOSP frame was not acked

If QoS frame with EOSP (end of service period) subfield=1 sent by local
peer was not acked by remote peer, local peer did not end the MPSP. This
prevents local peer from going to DOZE state. And if the remote peer
goes away without closing connection, local peer continues AWAKE state
and wastes battery.

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
Acked-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/status.c