xref: /linux/drivers/net/wireless/ath/ath12k/fw.h (revision 12f491cd6d812559e2d986b7836e9062d2efde96)
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 };
18 
19 enum ath12k_fw_features {
20 	/* keep last */
21 	ATH12K_FW_FEATURE_COUNT,
22 };
23 
24 void ath12k_fw_map(struct ath12k_base *ab);
25 void ath12k_fw_unmap(struct ath12k_base *ab);
26 
27 #endif /* ATH12K_FW_H */
28