diff options
author | 2025-04-09 10:26:35 +0800 | |
---|---|---|
committer | 2025-04-15 07:35:51 -0700 | |
commit | 6b85b83e46516ce38ce82dd2f1c4e40d183aa311 (patch) | |
tree | 363b618080f21bb190a2f69cac3482a91e077fe9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | wifi: ath12k: introduce ath12k_fw_feature_supported() (diff) | |
download | wireguard-linux-6b85b83e46516ce38ce82dd2f1c4e40d183aa311.tar.xz wireguard-linux-6b85b83e46516ce38ce82dd2f1c4e40d183aa311.zip |
wifi: ath12k: use fw_features only when it is valid
Currently fw_features is used to check if a specific feature is supported
or not: if the feature bit is set the feature is believed to be supported,
otherwise not supported. Since fw_features is populated only when using
firmware API-2, and by default it is zero, in case of API-1 such as
WCN7850 firmware it is possible that a feature is not enabled by host
while actually firmware supports it.
To avoid this, add a new flag indicating whether fw_features has been ever
populated or not, and only when that flag is true we choose to believe
fw_features. This benefits firmware MLO capability validation in an
upcoming patch.
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c5-00284-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00209-QCAHKSWPL_SILICONZ-1
Signed-off-by: Baochen Qiang <quic_bqiang@quicinc.com>
Link: https://patch.msgid.link/20250409-ath12k-wcn7850-mlo-support-v2-2-3801132ca2c3@quicinc.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions