On 5/9/2024 11:47 PM, Baochen Qiang wrote: > Implement net-detect feature by setting flag > WIPHY_WOWLAN_NET_DETECT if firmware supports this > feature. Driver sets the related PNO configuration > to firmware before entering WoW and firmware then > scans periodically and wakes up host if a specific > SSID is found. > > Note that firmware crashes if we enable it for both > P2P vdev and station vdev simultaneously because > firmware can only support one vdev at a time. Since > there is rare scenario for a P2P vdev to do net-detect, > skip it for P2P vdevs. > > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4 > > Signed-off-by: Baochen Qiang <quic_bqiang@xxxxxxxxxxx> Acked-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>