mbox series

[v3,0/2] more STA PS fixes and mac80211_hwsim PS support

Message ID 20200114055940.18502-1-thomas@adapt-ip.com
Headers show
Series more STA PS fixes and mac80211_hwsim PS support | expand

Message

Thomas Pedersen Jan. 14, 2020, 5:59 a.m. UTC
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@sipsolutions.net/

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(-)