xref: /linux/drivers/net/wireless/ath/ath11k/fw.h (revision 73aea586d6c58f55799f6130e19321ff7b574c3d)
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