]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: rename mlo_capable_flags to single_chip_mlo_supp
authorAditya Kumar Singh <quic_adisi@quicinc.com>
Wed, 4 Dec 2024 16:32:11 +0000 (18:32 +0200)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Thu, 5 Dec 2024 22:33:50 +0000 (14:33 -0800)
commit46d16f7e1d1413ad7ff99c1334d8874623717745
treedf74ea1abd35b292e19092c016fd5865238f7f6c
parenta5686ae820fa7ab03226a3b0ff529720b7bac599
wifi: ath12k: rename mlo_capable_flags to single_chip_mlo_supp

At present, the mlo_capable_flags in ath12k_base is used to indicate whether
the chip supports inter (QCN9274) or intra (WCN7850) chip MLO. However, it’s
possible that the chip supports neither, especially with older firmware
versions. Additionally, if intra chip MLO is not supported, inter chip MLO will
also be non-functional. Therefore, having two separate flags for this is
unnecessary.

Therefore, rename this flag to single_chip_mlo_supp. At the same time convert
it into a bool data type. Also, get rid of the enums defined earlier.

For the QCN9274 family of chipsets, this will be set only when firmware
advertises the support during the QMI exchange.

For the WCN7850 family of chipsets, since the event is not supported,
assumption is made that single chip MLO is supported.

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/20241204163216.433795-3-kvalo@kernel.org
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/core.c
drivers/net/wireless/ath/ath12k/core.h
drivers/net/wireless/ath/ath12k/qmi.c