iwlwifi: mvm: add use_ps-poll debugfs power option
authorEliad Peller <eliad@wizery.com>
Wed, 30 Jul 2014 12:42:19 +0000 (15:42 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 3 Sep 2014 19:33:12 +0000 (22:33 +0300)
commit84fd7608a0d7b9e7ce350aab278780a3e341628f
treed4dca1f5148b17af7dec24f4459c3017cd5b344b
parent697162a13dea92cb4fbe72207e05ecf9a1552abd
iwlwifi: mvm: add use_ps-poll debugfs power option

By default, when uapsd is not used, the ucode uses
null data packet to exit power-save and get then
pending frames.

However, some tests require the explicit usage of ps-poll.
Allow setting use_ps_poll power option (through debugfs)
to configure the ucode to use ps-poll instead.

The ucode configuration is done by setting the advanced-pm
flag while setting all the ACs to non-upasd mode.

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/debugfs-vif.c
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/power.c