/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ /* * Copyright (C) 2012-2014, 2018, 2020-2021, 2024 Intel Corporation * Copyright (C) 2013-2015 Intel Mobile Communications GmbH * Copyright (C) 2016-2017 Intel Deutschland GmbH */ #ifndef __iwl_fw_api_alive_h__ #define __iwl_fw_api_alive_h__ /* alive response is_valid values */ #define ALIVE_RESP_UCODE_OK … #define ALIVE_RESP_RFKILL … /* alive response ver_type values */ enum { … }; /* alive response ver_subtype values */ enum { … }; #define IWL_ALIVE_STATUS_ERR … #define IWL_ALIVE_STATUS_OK … #define IWL_ALIVE_FLG_RFKILL … struct iwl_lmac_debug_addrs { … } __packed; /* UCODE_DEBUG_ADDRS_API_S_VER_2 */ struct iwl_lmac_alive { … } __packed; /* UCODE_ALIVE_NTFY_API_S_VER_3 */ struct iwl_umac_debug_addrs { … } __packed; /* UMAC_DEBUG_ADDRS_API_S_VER_1 */ struct iwl_umac_alive { … } __packed; /* UMAC_ALIVE_DATA_API_S_VER_2 */ struct iwl_sku_id { … } __packed; /* SKU_ID_API_S_VER_1 */ struct iwl_alive_ntf_v3 { … } __packed; /* UCODE_ALIVE_NTFY_API_S_VER_3 */ struct iwl_alive_ntf_v4 { … } __packed; /* UCODE_ALIVE_NTFY_API_S_VER_4 */ struct iwl_alive_ntf_v5 { … } __packed; /* UCODE_ALIVE_NTFY_API_S_VER_5 */ struct iwl_imr_alive_info { … } __packed; /* IMR_ALIVE_INFO_API_S_VER_1 */ struct iwl_alive_ntf_v6 { … } __packed; /* UCODE_ALIVE_NTFY_API_S_VER_6 */ /** * enum iwl_extended_cfg_flags - commands driver may send before * finishing init flow * @IWL_INIT_DEBUG_CFG: driver is going to send debug config command * @IWL_INIT_NVM: driver is going to send NVM_ACCESS commands * @IWL_INIT_PHY: driver is going to send PHY_DB commands */ enum iwl_extended_cfg_flags { … }; /** * struct iwl_init_extended_cfg_cmd - mark what commands ucode should wait for * before finishing init flows * @init_flags: values from iwl_extended_cfg_flags */ struct iwl_init_extended_cfg_cmd { … } __packed; /* INIT_EXTENDED_CFG_CMD_API_S_VER_1 */ /** * struct iwl_radio_version_notif - information on the radio version * ( RADIO_VERSION_NOTIFICATION = 0x68 ) * @radio_flavor: radio flavor * @radio_step: radio version step * @radio_dash: radio version dash */ struct iwl_radio_version_notif { … } __packed; /* RADIO_VERSION_NOTOFICATION_S_VER_1 */ enum iwl_card_state_flags { … }; /** * enum iwl_error_recovery_flags - flags for error recovery cmd * @ERROR_RECOVERY_UPDATE_DB: update db from blob sent * @ERROR_RECOVERY_END_OF_RECOVERY: end of recovery */ enum iwl_error_recovery_flags { … }; /** * struct iwl_fw_error_recovery_cmd - recovery cmd sent upon assert * @flags: &enum iwl_error_recovery_flags * @buf_size: db buffer size in bytes */ struct iwl_fw_error_recovery_cmd { … } __packed; /* ERROR_RECOVERY_CMD_HDR_API_S_VER_1 */ #endif /* __iwl_fw_api_alive_h__ */