]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: iwlwifi: add OMI bandwidth reduction APIs
authorJohannes Berg <johannes.berg@intel.com>
Wed, 12 Feb 2025 05:43:31 +0000 (07:43 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 26 Feb 2025 14:48:55 +0000 (15:48 +0100)
This adds the API definitions needed for OMI bandwidth reduction.
Will be used in a later patches.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250212073923.4d34e8f5a3df.Idd6185cdb8d8a133f92032db9278c1510961cbdc@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/api/datapath.h

index 34a562d6c2085c8335d0a7952049abf0c09b9f2b..c139b965980d562bd6f860b82d1cbba29059fd84 100644 (file)
@@ -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__ */