Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
38 lines
938 B
C
38 lines
938 B
C
/* SPDX-License-Identifier: BSD-3-Clause-Clear */
|
|
/*
|
|
* Copyright (c) 2022-2025 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);
|
|
bool ath12k_fw_feature_supported(struct ath12k_base *ab, enum ath12k_fw_features feat);
|
|
|
|
#endif /* ATH12K_FW_H */
|