On 1/28/2024 10:57 PM, Raj Kumar Bhagat wrote: > From: Sowmiya Sree Elavalagan <quic_ssreeela@xxxxxxxxxxx> > > Currently while fetching for pdev id from WMI_SERVICE_READY_EXT_EVENTID > we consider 32 bit pdev_id in ath12k_wmi_caps_ext_params structure. But > Firmware sends lower 16 bit for pdev id along with higher 16 bit for > hw_link_id. Due to this wrong pdev id is fetched. This wrong pdev id > when used for WMI commands leads to Firmware crash. > > Hence fetch the correct pdev id considering only the lower 16 bits. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.1.1-00188-QCAHKSWPL_SILICONZ-1 > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-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: Sowmiya Sree Elavalagan <quic_ssreeela@xxxxxxxxxxx> > Co-developed-by: Raj Kumar Bhagat <quic_rajkbhag@xxxxxxxxxxx> > Signed-off-by: Raj Kumar Bhagat <quic_rajkbhag@xxxxxxxxxxx> Acked-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>