On 4/18/2024 5:56 AM, Raj Kumar Bhagat wrote: > Currently, mlo_capable_flags is set to zero if dualmac device is > detected based on One Time Programmable (OTP) register value. > This is not generic and in future dualmac devices may support > Single Link Operation (SLO) and Multi Link Operation (MLO). > > Thus, set mlo_capable_flags based on 'single_chip_mlo_support' > parameter from QMI PHY capability response message from the firmware. > Also, add check on mlo_capable_flags to disable MLO parameter in the > host capability QMI request message. > > If the firmware does not respond with this optional parameter > 'single_chip_mlo_support' in QMI PHY capability response, default > ab->mlo_capable_flags is used. > > 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 Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 > > Signed-off-by: Raj Kumar Bhagat <quic_rajkbhag@xxxxxxxxxxx> Acked-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>