Synchronous wi-fi scan settings function.
This function sets the time configuration parameters for the scan operation.
Functions | |
NMI_API sint8 | m2m_wifi_set_scan_options (uint8 u8NumOfSlot, uint8 u8SlotTime) |
[in] | u8NumOfSlot; | The minimum number of slots is 2 for every channel, For every slot the soc will send Probe Req on air, and wait/listen for PROBE RESP/BEACONS for the u8slotTime in ms |
[in] | u8SlotTime; | The time in ms that the Soc will wait on every channel listening for the frames on air when that time increases the number of APs will increase in the scan results Minimum time is 10 ms and the maximum is 250 ms |
References hif_send(), M2M_ERR, M2M_ERR_FAIL, M2M_REQ_GRP_WIFI, M2M_SCAN_MIN_NUM_SLOTS, M2M_SCAN_MIN_SLOT_TIME, M2M_SUCCESS, M2M_WIFI_REQ_SET_SCAN_OPTION, NULL, tstrM2MScanOption::u8NumOfSlot, and tstrM2MScanOption::u8SlotTime.
Referenced by os_m2m_wifi_set_scan_options_imp().