Skip to content

Commit b34389c

Browse files
Karthikeyan Periyasamykvalo
authored andcommitted
wifi: ath12k: fix link capable flags
By default driver supports intra-device SLO/MLO, the link capability flags reflect this. When the QMI PHY capability learning fails driver not enable the MLO parameter in the host capability QMI request message. In this case, reset the device link capability flags to zero (SLO/MLO not support) to accurately represent the capabilities. Found in code review. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.1.1-00188-QCAHKSWPL_SILICONZ-1 Signed-off-by: Karthikeyan Periyasamy <[email protected]> Acked-by: Jeff Johnson <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://msgid.link/[email protected]
1 parent 58e8ecd commit b34389c

File tree

1 file changed

+2
-0
lines changed
  • drivers/net/wireless/ath/ath12k

1 file changed

+2
-0
lines changed

drivers/net/wireless/ath/ath12k/qmi.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2006,6 +2006,8 @@ static void ath12k_host_cap_parse_mlo(struct ath12k_base *ab,
20062006
int i;
20072007

20082008
if (!ab->qmi.num_radios || ab->qmi.num_radios == U8_MAX) {
2009+
ab->mlo_capable_flags = 0;
2010+
20092011
ath12k_dbg(ab, ATH12K_DBG_QMI,
20102012
"skip QMI MLO cap due to invalid num_radio %d\n",
20112013
ab->qmi.num_radios);

0 commit comments

Comments
 (0)