Karthikeyan Kathirvel <quic_kathirve@xxxxxxxxxxx> wrote: > Currently, the firmware returns incorrect pdev_id information in > WMI_PDEV_BSS_CHAN_INFO_EVENTID, leading to incorrect filling of > the pdev's survey information. > > To prevent this issue, when requesting BSS channel information > through WMI_PDEV_BSS_CHAN_INFO_REQUEST_CMDID, firmware expects > pdev_id as one of the arguments in this WMI command. > > Add pdev_id to the struct wmi_pdev_bss_chan_info_req_cmd and fill it > during ath12k_wmi_pdev_bss_chan_info_request(). This resolves the > issue of sending the correct pdev_id in WMI_PDEV_BSS_CHAN_INFO_EVENTID. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Fixes: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices") > Signed-off-by: P Praneesh <quic_ppranees@xxxxxxxxxxx> > Signed-off-by: Karthikeyan Kathirvel <quic_kathirve@xxxxxxxxxxx> > Acked-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx> > Signed-off-by: Kalle Valo <quic_kvalo@xxxxxxxxxxx> 2 patches applied to ath-next branch of ath.git, thanks. 59529c982f85 wifi: ath12k: fix BSS chan info request WMI command dd98d54db29f wifi: ath12k: match WMI BSS chan info structure with firmware definition -- https://patchwork.kernel.org/project/linux-wireless/patch/20240331183232.2158756-2-quic_kathirve@xxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches