File: fw.h

package info (click to toggle)
linux 6.12.41-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie-proposed-updates
  • size: 1,675,724 kB
  • sloc: ansic: 25,918,158; asm: 269,598; sh: 136,399; python: 65,440; makefile: 55,716; perl: 37,750; xml: 19,284; cpp: 5,894; yacc: 4,927; lex: 2,939; awk: 1,594; sed: 28; ruby: 25
file content (33 lines) | stat: -rw-r--r-- 781 bytes parent folder | download | duplicates (6)
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
28
29
30
31
32
33
/* SPDX-License-Identifier: BSD-3-Clause-Clear */
/*
 * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved.
 */

#ifndef ATH12K_FW_H
#define ATH12K_FW_H

#define ATH12K_FW_API2_FILE		"firmware-2.bin"
#define ATH12K_FIRMWARE_MAGIC		"QCOM-ATH12K-FW"

enum ath12k_fw_ie_type {
	ATH12K_FW_IE_TIMESTAMP = 0,
	ATH12K_FW_IE_FEATURES = 1,
	ATH12K_FW_IE_AMSS_IMAGE = 2,
	ATH12K_FW_IE_M3_IMAGE = 3,
	ATH12K_FW_IE_AMSS_DUALMAC_IMAGE = 4,
};

enum ath12k_fw_features {
	/* The firmware supports setting the QRTR id via register
	 * PCIE_LOCAL_REG_QRTR_NODE_ID
	 */
	ATH12K_FW_FEATURE_MULTI_QRTR_ID = 0,

	/* keep last */
	ATH12K_FW_FEATURE_COUNT,
};

void ath12k_fw_map(struct ath12k_base *ab);
void ath12k_fw_unmap(struct ath12k_base *ab);

#endif /* ATH12K_FW_H */