]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: add function to update only ps
authorLuciano Coelho <luciano.coelho@intel.com>
Fri, 8 Aug 2014 16:18:35 +0000 (19:18 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 3 Sep 2014 19:48:58 +0000 (22:48 +0300)
commit467bbec7a552682cc25be3df2a9daf53dcd71a65
tree4384595ed1eab46d850b2218f92ef81cc2a18b57
parent0eb538d4f3de87542aeb5e6057bf0e91168304b3
iwlwifi: mvm: add function to update only ps

Add a new iwl_mvm_power_update_ps() function that allows only ps to be
updated according to changes in the vifs.  This allows us to disable
ps only without affecting the pm values of the vifs (and to avoid
sending unnecessary MAC_PM_POWER_TABLE commands to the firmware).

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/power.c