On 1/12/2024 1:28 AM, Kang Yang wrote: > In current code, when STA/P2P Client connect to AP/P2P GO, the WMI > command sequence is: > > peer_create->vdev_start->vdev_up > > And sequence of STA/P2P Client disconnect from AP/P2P GO is: > > peer_delete->vdev_down->vdev_stop > > This sequence of disconnect is not opposite of connect. For STA or P2P > GO, bss peer is not needed by firmware during handling vdev stop > command. So with this sequence, STA and P2P GO can work normally. > > But for P2P Client, firmware needs bss peer in some functions during > handling vdev stop command. The opposite sequence of disconnect should > be: > > vdev_down->vdev_stop->peer_delete > > So change the sequence of disconnect as above opposite sequence for > WCN7850. > > 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>