mac80211_hwsim: add power save support
authorThomas Pedersen <thomas@adapt-ip.com>
Tue, 14 Jan 2020 05:59:39 +0000 (21:59 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 15 Jan 2020 10:20:04 +0000 (11:20 +0100)
commit01afc6fedffb519a98322074c645baa2b0fa041f
treee065b525161a7275a63c1779e392c70c4da27bcf
parent5972fa15b923df6ccd02ae6e7095a6b08b5fca52
mac80211_hwsim: add power save support

Advertise the correct flags to mac80211 to indicate PS
trigger frames and frame buffering should be handled by
mac80211. This means mac80211_hwsim will now also have to
release buffered multicast frames after a (DTIM) beacon.

Leave STA power save disabled by default since it causes
several p2p, scanning, and rrm hostap tests to fail.

Signed-off-by: Thomas Pedersen <thomas@adapt-ip.com>
Link: https://lore.kernel.org/r/20200114055940.18502-2-thomas@adapt-ip.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c