mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-14 13:59:51 +00:00
To maintain backward compatibility with older firmware versions, introduce a new feature bit, ATH12K_FW_FEATURE_MLO, to identify whether the firmware supports MLO. If the firmware-X.bin does not have this bit advertised in the feature, then MLO capability in the host will be disabled. This applies only for QCN9274 chipsets. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1 Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://patch.msgid.link/20241211154358.776279-6-kvalo@kernel.org Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
37 lines
850 B
C
37 lines
850 B
C
/* 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,
|
|
|
|
/* 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);
|
|
|
|
#endif /* ATH12K_FW_H */
|