summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath11k/fw.h
blob: d9893ceb2c3dd241b97a19a615d0a2538864c8e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* SPDX-License-Identifier: BSD-3-Clause-Clear */
/*
 * Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved.
 */

#ifndef ATH11K_FW_H
#define ATH11K_FW_H

#define ATH11K_FW_API2_FILE		"firmware-2.bin"
#define ATH11K_FIRMWARE_MAGIC		"QCOM-ATH11K-FW"

enum ath11k_fw_ie_type {
	ATH11K_FW_IE_TIMESTAMP = 0,
	ATH11K_FW_IE_FEATURES = 1,
	ATH11K_FW_IE_AMSS_IMAGE = 2,
	ATH11K_FW_IE_M3_IMAGE = 3,
};

enum ath11k_fw_features {
	/* keep last */
	ATH11K_FW_FEATURE_COUNT,
};

int ath11k_fw_pre_init(struct ath11k_base *ab);
void ath11k_fw_destroy(struct ath11k_base *ab);

#endif /* ATH11K_FW_H */