Commit 26fef6d3 authored by Johannes Berg's avatar Johannes Berg
Browse files

wifi: iwlwifi: add OMI bandwidth reduction APIs



This adds the API definitions needed for OMI bandwidth reduction.
Will be used in a later patches.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarMiri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250212073923.4d34e8f5a3df.Idd6185cdb8d8a133f92032db9278c1510961cbdc@changeid


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 048a3d94
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -90,6 +90,12 @@ enum iwl_data_path_subcmd_ids {
	 */
	SEC_KEY_CMD = 0x18,

	/**
	 * @OMI_SEND_STATUS_NOTIF: notification after OMI was sent
	 *	uses &struct iwl_omi_send_status_notif
	 */
	OMI_SEND_STATUS_NOTIF = 0xF2,

	/**
	 * @ESR_MODE_NOTIF: notification to recommend/force a wanted esr mode,
	 *	uses &struct iwl_esr_mode_notif
@@ -688,4 +694,13 @@ struct iwl_sec_key_cmd {
	} __packed u; /* SEC_KEY_OPERATION_API_U_VER_1 */
} __packed; /* SEC_KEY_CMD_API_S_VER_1 */

/**
 * struct iwl_omi_send_status_notif - OMI status notification
 * @success: indicates that the OMI was sent successfully
 *	(currently always set)
 */
struct iwl_omi_send_status_notif {
	__le32 success;
} __packed; /* OMI_SEND_STATUS_NTFY_API_S_VER_1 */

#endif /* __iwl_fw_api_datapath_h__ */