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.

  • Hi Simonr,

    could you please try ncs2.5.0 wifi demo :\v2.5.0\nrf\samples\wifi\scan

    and default parameter is:

    CONFIG_WIFI_MGMT_SCAN_DWELL_TIME_ACTIVE=50
    CONFIG_WIFI_MGMT_SCAN_DWELL_TIME_PASSIVE=130

    and make change to them, and see which parameter is working.

    so far as i tested. we are using passive mode, not active mode, however, in our code it is active;

    however, i can see that we set this to active scan:

    Regards,

    William.

  • Hi William

    I wanted to let you know that we have indeed reproduced this now, but it seems to use both dwell times, because if I set DWELL_TIME_ACTIVE to 1000 and DWELL_TIME_PASSIVE to 10, the scan will still take noticeably longer time than if both are set to 10. I think what you're seeing is that the device does both an active and a passive scan. And that it is marked as active in your variables because the application switches from active to passive while running. 

    You can try yourself by setting both dwell times to 10 to see that it is much quicker than if either of them is I.E. 130 or higher. You can also use the configs in ...\nrf\samples\wifi\scan\kconfig and set WIFI_SCAN_PROFILE_ACTIVE to only do an active scan if you'd like for example.

    Best regards,

    Simon

Related