Hidden Wi-Fi connection possible only after scanning

Hello,

Using 5340+7002 and Zephyr, I met problem connecting to wifi with hidden SSID.
I use regular commands like "wifi scan' and 'wifi connect' but despite the fact that i pass correct ssid/pass with 'wifi connect' my device is not able to connect.
It goes into scanning, which never ends.

For workaround I can do scanning first and then 'wifi connect'. This way it works, but really I'm not sure why do I have to scan first? Is this expected behaviour?
Also, I can see that connecting to hidden network is waaay slower and less reliable (more often faults) than connecting to public, visible networks. 
I haven't found any info that maybe non-public networks are not supported, nor any special config/steps i should proceed before connecting to such specific network.

Do i miss something here, guys?
Thank you.

Parents
  • Hi.

    Sorry about the delay.

    Got some feedback from our developers on this:

    From the logs, it appears the channel is 36 (5180 MHz). The observations mentioned are consistent with the design.

    By design, the default regulatory domain is world (00). Here,

    • 2.4GHz (Active scan allowed): All channels will work with only a connect command –scan command is not required to be issue before connect.

    • 5GHz (only passive scan allowed) : Will work only if scan command is run prior toconnect

    In general, connect will work directly without scan only if active scanninng is permitted in that particular channel. If not a prior scan command needs to be issued.

    Alternatively, you could change the regulator domain to (say) IN or US (where active scan is allowed on channel 36) to resolve this issue.

    Br,
    Joakim

Reply
  • Hi.

    Sorry about the delay.

    Got some feedback from our developers on this:

    From the logs, it appears the channel is 36 (5180 MHz). The observations mentioned are consistent with the design.

    By design, the default regulatory domain is world (00). Here,

    • 2.4GHz (Active scan allowed): All channels will work with only a connect command –scan command is not required to be issue before connect.

    • 5GHz (only passive scan allowed) : Will work only if scan command is run prior toconnect

    In general, connect will work directly without scan only if active scanninng is permitted in that particular channel. If not a prior scan command needs to be issued.

    Alternatively, you could change the regulator domain to (say) IN or US (where active scan is allowed on channel 36) to resolve this issue.

    Br,
    Joakim

Children
No Data
Related