|
@@ -551,6 +551,21 @@ enum iwl_trans_state {
|
|
IWL_TRANS_FW_ALIVE = 1,
|
|
IWL_TRANS_FW_ALIVE = 1,
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+/**
|
|
|
|
+ * enum iwl_d0i3_mode - d0i3 mode
|
|
|
|
+ *
|
|
|
|
+ * @IWL_D0I3_MODE_OFF - d0i3 is disabled
|
|
|
|
+ * @IWL_D0I3_MODE_ON_IDLE - enter d0i3 when device is idle
|
|
|
|
+ * (e.g. no active references)
|
|
|
|
+ * @IWL_D0I3_MODE_ON_SUSPEND - enter d0i3 only on suspend
|
|
|
|
+ * (in case of 'any' trigger)
|
|
|
|
+ */
|
|
|
|
+enum iwl_d0i3_mode {
|
|
|
|
+ IWL_D0I3_MODE_OFF = 0,
|
|
|
|
+ IWL_D0I3_MODE_ON_IDLE,
|
|
|
|
+ IWL_D0I3_MODE_ON_SUSPEND,
|
|
|
|
+};
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* struct iwl_trans - transport common data
|
|
* struct iwl_trans - transport common data
|
|
*
|
|
*
|
|
@@ -612,6 +627,8 @@ struct iwl_trans {
|
|
const struct iwl_fw_dbg_conf_tlv *dbg_conf_tlv[FW_DBG_MAX];
|
|
const struct iwl_fw_dbg_conf_tlv *dbg_conf_tlv[FW_DBG_MAX];
|
|
u8 dbg_dest_reg_num;
|
|
u8 dbg_dest_reg_num;
|
|
|
|
|
|
|
|
+ enum iwl_d0i3_mode d0i3_mode;
|
|
|
|
+
|
|
/* pointer to trans specific struct */
|
|
/* pointer to trans specific struct */
|
|
/*Ensure that this pointer will always be aligned to sizeof pointer */
|
|
/*Ensure that this pointer will always be aligned to sizeof pointer */
|
|
char trans_specific[0] __aligned(sizeof(void *));
|
|
char trans_specific[0] __aligned(sizeof(void *));
|