On 1/26/2024 3:52 AM, Kang Yang wrote: > For P2P mode, the WLAN interface may be requested to remain on a > specific channel and then to send some management frames on that > channel. Now chananel frequency of wmi_mgmt_send_cmd is set as 0. As > a result, firmware may choose a default but wrong channel. > > Fix it by assigning chanfreq field with the ROC channel frequency. > > This change only applies to WCN7850, other chips are not affected. > > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Kang Yang <quic_kangyang@xxxxxxxxxxx> Acked-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>