xref: /linux/drivers/net/wireless/ath/ath11k/fw.h (revision 0678df8271820bcf8fb4f877129f05d68a237de4)
1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
2 /*
3  * Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved.
4  */
5 
6 #ifndef ATH11K_FW_H
7 #define ATH11K_FW_H
8 
9 #define ATH11K_FW_API2_FILE		"firmware-2.bin"
10 #define ATH11K_FIRMWARE_MAGIC		"QCOM-ATH11K-FW"
11 
12 enum ath11k_fw_ie_type {
13 	ATH11K_FW_IE_TIMESTAMP = 0,
14 	ATH11K_FW_IE_FEATURES = 1,
15 	ATH11K_FW_IE_AMSS_IMAGE = 2,
16 	ATH11K_FW_IE_M3_IMAGE = 3,
17 };
18 
19 enum ath11k_fw_features {
20 	/* keep last */
21 	ATH11K_FW_FEATURE_COUNT,
22 };
23 
24 int ath11k_fw_pre_init(struct ath11k_base *ab);
25 void ath11k_fw_destroy(struct ath11k_base *ab);
26 
27 #endif /* ATH11K_FW_H */
28