summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
diff options
context:
space:
mode:
authorLuca Coelho2016-03-30 14:05:56 +0200
committerLuca Coelho2016-05-10 21:14:51 +0200
commit16e4dd8faa9e5de9dd956a18c0f19d911a97ef79 (patch)
treec0669b448196e2d818763d8cc9ac1e53968a8ae3 /drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
parentiwlwifi: mvm: pass station to mac80211 RX where known (diff)
downloadkernel-qcow2-linux-16e4dd8faa9e5de9dd956a18c0f19d911a97ef79.tar.gz
kernel-qcow2-linux-16e4dd8faa9e5de9dd956a18c0f19d911a97ef79.tar.xz
kernel-qcow2-linux-16e4dd8faa9e5de9dd956a18c0f19d911a97ef79.zip
iwlwifi: mvm: add a new mvm reference type for RX data
When a data packet is received, we need to make sure that we stay awake until it can be processed and wait a while before trying to enter runtime_suspend os system_suspend again. To do so, add a new reference type for RX data and take the reference when sending the packet to mac80211. We only do this for data packets, all the other RX packets sent by the firmware (e.g. notifications) are not a reason to prevent suspend. Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/mvm.h')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/mvm/mvm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/mvm.h b/drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
index 23d7539edf17..820f8d661e15 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
@@ -302,6 +302,7 @@ enum iwl_mvm_ref_type {
IWL_MVM_REF_FW_DBG_COLLECT,
IWL_MVM_REF_INIT_UCODE,
IWL_MVM_REF_SENDING_CMD,
+ IWL_MVM_REF_RX,
/* update debugfs.c when changing this */