wifi: ath12k: extend the link capable flag
authorKarthikeyan Periyasamy <quic_periyasa@quicinc.com>
Fri, 5 Apr 2024 12:22:09 +0000 (15:22 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 8 Apr 2024 14:37:52 +0000 (17:37 +0300)
commit58e8ecda692ecf9d29287c477e0db307cef35f44
tree955b466d0e303d425875e0866dcdba6d31d91c12
parent231a4c893c9bb2984a8c6b7450199f59eb816ed9
wifi: ath12k: extend the link capable flag

Link capability categorized as Single Link Operation (SLO) and Multi Link
Operation (MLO).

 - Intra-device SLO/MLO refers to links present within a device
 - Inter-device SLO/MLO refers to links present across multiple devices

Currently, driver uses a boolean variable to represent intra-device SLO/MLO
capability. To accommodate inter-device SLO/MLO capabilities within the
same variable, modify the existing variable name and type. Define a new
enumeration for the link capabilities to accommodate both intra-device
and inter-device scenarios. Populate the enum based on the supported
capabilities.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.1.1-00188-QCAHKSWPL_SILICONZ-1

Signed-off-by: Karthikeyan Periyasamy <quic_periyasa@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20240403042056.1504209-2-quic_periyasa@quicinc.com
drivers/net/wireless/ath/ath12k/core.c
drivers/net/wireless/ath/ath12k/core.h
drivers/net/wireless/ath/ath12k/mhi.c
drivers/net/wireless/ath/ath12k/qmi.c