This patchset adds power save support to mac80211_hwsim, and fixes some lingering bugs in mac80211 STA PS related to (QoS) nullfunc probing. The hostap hwsim test failures initially observed[0] have been "resolved" by disabling STA PS by default. It turns out STA PS behavior violates some assumption for eg. the bgscan_simple_beacon_loss test where a beacon loss event was expected instead of a disconnect event, which is triggered because hwsim can now do nullfunc probing. For the p2p failures I really have no idea :) [0]: https://lore.kernel.org/linux-wireless/43f4d446d7f8b9a08e091ab811fbf99bf00da2af.camel@xxxxxxxxxxxxxxxx/ Thomas Pedersen (2): mac80211_hwsim: add power save support mac80211: add ieee80211_is_any_nullfunc() drivers/net/wireless/mac80211_hwsim.c | 9 +++++++++ include/linux/ieee80211.h | 9 +++++++++ net/mac80211/mlme.c | 2 +- net/mac80211/rx.c | 8 +++----- net/mac80211/status.c | 5 ++--- net/mac80211/tx.c | 2 +- 6 files changed, 25 insertions(+), 10 deletions(-) -- 2.20.1