]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: set different pm_timeout for action frames
authorAvri Altman <avri.altman@intel.com>
Sun, 12 Jul 2015 06:10:05 +0000 (09:10 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 4 Aug 2015 18:30:15 +0000 (21:30 +0300)
commitf2640ebf2e8257c01e1d8af2d52646340a8e0472
tree82a1c2dc16fa5ff399e030196e87c4286113ce1d
parentc6b3fb849f9c03d008cd99fb0ddb826de70ed915
iwlwifi: mvm: set different pm_timeout for action frames

When building a Tx Command for management frames, we are lacking
a check for action frames, for which we should set a different
pm_timeout.  This cause the fw to stay awake for 100TU after each
such frame is transmitted, resulting an excessive power consumption.

Signed-off-by: Avri Altman <avri.altman@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/fw-api-tx.h
drivers/net/wireless/iwlwifi/mvm/tx.c