]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/net/wireless/iwlwifi/mvm/mvm.h
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)
commitef9203d23fecf11e02958de0988170a67adf7447
tree4384595ed1eab46d850b2218f92ef81cc2a18b57
parent128aa948d0606e537b743fb8e29ce09fc3473137
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