wifi: ath12k: read single_chip_mlo_support parameter from QMI PHY capability
authorRaj Kumar Bhagat <quic_rajkbhag@quicinc.com>
Tue, 23 Apr 2024 09:32:06 +0000 (12:32 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 24 Apr 2024 15:34:10 +0000 (18:34 +0300)
commitae6ec4a38aa4da73f5d80f61138e03500f00f898
treeb9da83ba13635c528f23ad9517dab5b7a7d7488a
parentb0afabc4d7e0bb435f63990eff72dd9f2591bf5a
wifi: ath12k: read single_chip_mlo_support parameter from QMI PHY capability

New parameter 'single_chip_mlo_support' was added in QMI PHY
capability response message. This is an optional parameter added
in QCN9274 firmware. This parameter states if the firmware
supports Single-Link Operation (SLO) and Multi-Link Operation (MLO)
within the same device.

If single_chip_mlo_support = 1, then intra device SLO/MLO is supported
in the firmware.
If single_chip_mlo_support = 0, then intra device SLO/MLO is not
supported in the firmware.

Hence, add support to read 'single_chip_mlo_support' parameter from
the QMI PHY capability response message.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.1.1-00209-QCAHKSWPL_SILICONZ-1

Signed-off-by: Raj Kumar Bhagat <quic_rajkbhag@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20240418125609.3867730-2-quic_rajkbhag@quicinc.com
drivers/net/wireless/ath/ath12k/qmi.c
drivers/net/wireless/ath/ath12k/qmi.h