...
A wireless network interface should be able to scan any time after the network interface has been successfully started. A successful call to NetIF_WiFi_Scan()
return the wireless network available to join which can be joined by the wireless network interface. See section C-10-1 “NetIFNetIF_WiFi_Scan()” for for more information.
You can scan for a wireless network by calling the NetIF_WiFi_Scan()
API function with the necessary parameters. A call to NetIF_WiFi_Scan()
is shown below.
...