]> 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)
commita23ec3f483ec7ac81df45220c9dda3d669aea37d
tree4384595ed1eab46d850b2218f92ef81cc2a18b57
parent751bd4698dbb121964d8debb62d5ae178cf4bfcf
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