7002 scan parameter

hi support team,

customer is asking about how to using 7002 to scan 2.4g wifi or 5g wifi only, and want to know if 2.4g only will accelerate the scan duration time.

i could not find the parameter to set this for scan_info. and want to know exactly the coding if possible from Nordic 7002 side

Regards,

William.

Parents
  • Hi William

    Sorry, but I don't know what pattern exactly is used for scanning, but I think it's random. 

    By changing the wifi_scan_params you should be able to I.E. lower the dwell time on each channel so the scan will take less time I think, as the default in the sample is 50ms for each channel, or 130ms in Passive scan mode.

    Best regards,

    Simon

  • Thanks Simonr,

    i did the test with wifi scan demo, and looks like there is something wrong.

    i set to scan 5g only and set passive scan time to 260 and 390 and 520, and scan done callback is returned accordingly:

    the time spent for scaning is consistent to "CONFIG_WIFI_MGMT_SCAN_DWELL_TIME_PASSIVE"

    CONFIG_WIFI_MGMT_SCAN_DWELL_TIME_ACTIVE=50
    CONFIG_WIFI_MGMT_SCAN_DWELL_TIME_PASSIVE=520
    CONFIG_WIFI_SCAN_BANDS_LIST="5"
    it looks like we are scaning using passive scan mode, not active scan mode;
    however, i can see that we set this to active scan:
    another question is:
    the default CONFIG_WIFI_SCAN_CHAN_LIST="", not as listed as:
    may i ask how many channels are scaned in 5g band?
    Regards,
    William.
Reply
  • Thanks Simonr,

    i did the test with wifi scan demo, and looks like there is something wrong.

    i set to scan 5g only and set passive scan time to 260 and 390 and 520, and scan done callback is returned accordingly:

    the time spent for scaning is consistent to "CONFIG_WIFI_MGMT_SCAN_DWELL_TIME_PASSIVE"

    CONFIG_WIFI_MGMT_SCAN_DWELL_TIME_ACTIVE=50
    CONFIG_WIFI_MGMT_SCAN_DWELL_TIME_PASSIVE=520
    CONFIG_WIFI_SCAN_BANDS_LIST="5"
    it looks like we are scaning using passive scan mode, not active scan mode;
    however, i can see that we set this to active scan:
    another question is:
    the default CONFIG_WIFI_SCAN_CHAN_LIST="", not as listed as:
    may i ask how many channels are scaned in 5g band?
    Regards,
    William.
Children
No Data
Related