]> git.baikalelectronics.ru Git - kernel.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)
commit0977d93e01efd7ff8ed25b14e5b64f5ab3652fd6
tree4ea3ebc05f78a3cfb058daf6580966664cfcbb01
parentf6daee73ceb2482653bc205a40a4a07d3440d781
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