diff options
author | Adiel Aloni <adiel.aloni@intel.com> | 2017-12-01 13:50:53 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-12-11 12:18:15 +0100 |
commit | e16ea4bb516bc21ea2202f2107718b29218bea59 (patch) | |
tree | ce952cf56e0008ae476dce52edb881128ae1515d /drivers/clk/nxp | |
parent | a9d09bc1bcac89996fc961b1ae023d72171af7b6 (diff) |
mac80211_hwsim: enforce PS_MANUAL_POLL to be set after PS_ENABLED
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>
Diffstat (limited to 'drivers/clk/nxp')
0 files changed, 0 insertions, 0 deletions