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)
commitb084a35663c3f1f7de1c45c4ae3006864c940fe7
tree82a1c2dc16fa5ff399e030196e87c4286113ce1d
parenteed6e971973667d067d510e9540773ff0f9fe8fd
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