1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 2 /* 3 * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. 4 */ 5 6 #ifndef ATH12K_FW_H 7 #define ATH12K_FW_H 8 9 #define ATH12K_FW_API2_FILE "firmware-2.bin" 10 #define ATH12K_FIRMWARE_MAGIC "QCOM-ATH12K-FW" 11 12 enum ath12k_fw_ie_type { 13 ATH12K_FW_IE_TIMESTAMP = 0, 14 ATH12K_FW_IE_FEATURES = 1, 15 ATH12K_FW_IE_AMSS_IMAGE = 2, 16 ATH12K_FW_IE_M3_IMAGE = 3, 17 ATH12K_FW_IE_AMSS_DUALMAC_IMAGE = 4, 18 }; 19 20 enum ath12k_fw_features { 21 /* The firmware supports setting the QRTR id via register 22 * PCIE_LOCAL_REG_QRTR_NODE_ID 23 */ 24 ATH12K_FW_FEATURE_MULTI_QRTR_ID = 0, 25 26 /* keep last */ 27 ATH12K_FW_FEATURE_COUNT, 28 }; 29 30 void ath12k_fw_map(struct ath12k_base *ab); 31 void ath12k_fw_unmap(struct ath12k_base *ab); 32 33 #endif /* ATH12K_FW_H */ 34