Commit b55e57f5 authored by Emmanuel Grumbach's avatar Emmanuel Grumbach Committed by Johannes Berg

iwlwifi: add comments for the PCIe transport statuses

Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 9f904b38
...@@ -287,10 +287,16 @@ struct iwl_trans_pcie { ...@@ -287,10 +287,16 @@ struct iwl_trans_pcie {
unsigned long wd_timeout; unsigned long wd_timeout;
}; };
/***************************************************** /**
* DRIVER STATUS FUNCTIONS * enum iwl_pcie_status: status of the PCIe transport
******************************************************/ * @STATUS_HCMD_ACTIVE: a SYNC command is being processed
enum { * @STATUS_DEVICE_ENABLED: APM is enabled
* @STATUS_TPOWER_PMI: the device might be asleep (need to wake it up)
* @STATUS_INT_ENABLED: interrupts are enabled
* @STATUS_RFKILL: the HW RFkill switch is in KILL position
* @STATUS_FW_ERROR: the fw is in error state
*/
enum iwl_pcie_status {
STATUS_HCMD_ACTIVE, STATUS_HCMD_ACTIVE,
STATUS_DEVICE_ENABLED, STATUS_DEVICE_ENABLED,
STATUS_TPOWER_PMI, STATUS_TPOWER_PMI,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment