mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
QCC2072 requires another firmware image named aux_ucode.bin, add support to download it. Add a new hardware parameter download_aux_ucode to make sure other chips are not affected. Tested-on: QCC2072 hw1.0 PCI WLAN.COL.1.0-01560-QCACOLSWPL_V1_TO_SILICONZ-1 Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c5-00302-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.115823.3 Signed-off-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com> Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com> Link: https://patch.msgid.link/20260112-ath12k-support-qcc2072-v2-10-fc8ce1e43969@oss.qualcomm.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
39 lines
959 B
C
39 lines
959 B
C
/* SPDX-License-Identifier: BSD-3-Clause-Clear */
|
|
/*
|
|
* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
*/
|
|
|
|
#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,
|
|
ATH12K_FW_IE_AUX_UC_IMAGE = 5,
|
|
};
|
|
|
|
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,
|
|
|
|
/* The firmware supports MLO capability */
|
|
ATH12K_FW_FEATURE_MLO,
|
|
|
|
/* keep last */
|
|
ATH12K_FW_FEATURE_COUNT,
|
|
};
|
|
|
|
void ath12k_fw_map(struct ath12k_base *ab);
|
|
void ath12k_fw_unmap(struct ath12k_base *ab);
|
|
bool ath12k_fw_feature_supported(struct ath12k_base *ab, enum ath12k_fw_features feat);
|
|
|
|
#endif /* ATH12K_FW_H */
|