summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAdiel Aloni <adiel.aloni@intel.com>2017-12-01 14:50:53 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-19 11:09:59 +0300
commit0fca555446a19e3921319a649a6d8ecf2bf2d2c6 (patch)
treee2ef7c0ec10d351c83d20dd1655f6bfb7bb5dd6b /scripts
parentd7b6747b2198a6b59a573d6a06f63bb0ed3c62e3 (diff)
downloadlinux-0fca555446a19e3921319a649a6d8ecf2bf2d2c6.tar.xz
mac80211_hwsim: enforce PS_MANUAL_POLL to be set after PS_ENABLED
[ Upstream commit e16ea4bb516bc21ea2202f2107718b29218bea59 ] Enforce using PS_MANUAL_POLL in ps hwsim debugfs to trigger a poll, only if PS_ENABLED was set before. This is required due to commit c9491367b759 ("mac80211: always update the PM state of a peer on MGMT / DATA frames") that enforces the ap to check only mgmt/data frames ps bit, and then update station's power save accordingly. When sending only ps-poll (control frame) the ap will not be aware that the station entered power save. Setting ps enable before triggering ps_poll, will send NDP with PM bit enabled first. Signed-off-by: Adiel Aloni <adiel.aloni@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions