summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/mvm.h
diff options
context:
space:
mode:
authorEliad Peller2013-11-11 17:56:35 +0100
committerEmmanuel Grumbach2014-02-03 21:23:41 +0100
commit0eb8365305d43bdfde9e064dec4d82c743fa5c38 (patch)
treecc91ca4447692484be394a90b5a30cee42959db9 /drivers/net/wireless/iwlwifi/mvm/mvm.h
parentiwlwifi: mvm: get status on D0i3 exit (diff)
downloadkernel-qcow2-linux-0eb8365305d43bdfde9e064dec4d82c743fa5c38.tar.gz
kernel-qcow2-linux-0eb8365305d43bdfde9e064dec4d82c743fa5c38.tar.xz
kernel-qcow2-linux-0eb8365305d43bdfde9e064dec4d82c743fa5c38.zip
iwlwifi: mvm: add debugfs hook to take an mvm ref
Support taking an mvm ref (and preventing D0i3) by writing '1' into the d0i3_refs debugfs file. The reference can be unref by writing 0 to the same file. Signed-off-by: Eliad Peller <eliadx.peller@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/mvm.h')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/mvm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mvm.h b/drivers/net/wireless/iwlwifi/mvm/mvm.h
index f3966078935c..1f53adeeba8b 100644
--- a/drivers/net/wireless/iwlwifi/mvm/mvm.h
+++ b/drivers/net/wireless/iwlwifi/mvm/mvm.h
@@ -245,6 +245,7 @@ enum iwl_mvm_ref_type {
IWL_MVM_REF_ROC,
IWL_MVM_REF_P2P_CLIENT,
IWL_MVM_REF_AP_IBSS,
+ IWL_MVM_REF_USER,
IWL_MVM_REF_COUNT,
};