RW612 roaming setting

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RW612 roaming setting

Jump to solution
1,058 Views
johnny_h
Contributor I

Dear community, I have a few questions about the roaming setting. I’m running the wifi-wpa-supplicant example and enable roaming (wlan_set_roaming(1, 70))when connected to a network. I’ve noticed that it triggers a low rssi event when the rssi drops below 70 and initiates a regular scan instead of background scan. However, if I disable wpa_supplicant, it performs a background scan instead of a regular scan. Why is there a difference?

WPA_supplicant supports background scan(CONFIG_BGSCAN), but it (bgscan.c) appears to be removed from the example program. Is there a reason for this?

In my current setup, roaming will only be initiated when the RSSI drops below a specific threshold. How can I set up a scheduled scan to initiate roaming when it discovers a stronger access point?

Many thanks and regards

0 Kudos
Reply
1 Solution
903 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Dear @johnny_h ,

 

See the following explanations for your questions from our internal team, please!

===============================================================

Dear community, I have a few questions about the roaming setting. I’m running the wifi-wpa-supplicant example and enable roaming (wlan_set_roaming(1, 70))when connected to a network. I’ve noticed that it triggers a low rssi event when the rssi drops below 70 and initiates a regular scan instead of background scan. However, if I disable wpa_supplicant, it performs a background scan instead of a regular scan. Why is there a difference?WPA_supplicant supports background scan(CONFIG_BGSCAN), but it (bgscan.c) appears to be removed from the example program. Is there a reason for this?

[NXP]

  • This is not an issue, it is expected behavior in 24.12.00 SDK version.
  • This is an improvement in 24.12.00 SDK.
  • Before 24.12.00, the behavior was, during roam bgscan happened and bgscan scans all 36 channels and during that ~3 sec of time period no data exchange happens.
  • Now, to improve this behavior NXP implemented and instead of bgscan executing normal scan during roaming. Normal roaming do split scan so, we will not get continuous data drop.

 

In my current setup, roaming will only be initiated when the RSSI drops below a specific threshold. How can I set up a scheduled scan to initiate roaming when it discovers a stronger access point?

[NXP] Are you expecting to roam before low rssi event come. Normally low rssi event come when we cross the rssi threshold.

===============================================================

 

Thanks!

Regards,

weidong

 

View solution in original post

2 Replies
904 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Dear @johnny_h ,

 

See the following explanations for your questions from our internal team, please!

===============================================================

Dear community, I have a few questions about the roaming setting. I’m running the wifi-wpa-supplicant example and enable roaming (wlan_set_roaming(1, 70))when connected to a network. I’ve noticed that it triggers a low rssi event when the rssi drops below 70 and initiates a regular scan instead of background scan. However, if I disable wpa_supplicant, it performs a background scan instead of a regular scan. Why is there a difference?WPA_supplicant supports background scan(CONFIG_BGSCAN), but it (bgscan.c) appears to be removed from the example program. Is there a reason for this?

[NXP]

  • This is not an issue, it is expected behavior in 24.12.00 SDK version.
  • This is an improvement in 24.12.00 SDK.
  • Before 24.12.00, the behavior was, during roam bgscan happened and bgscan scans all 36 channels and during that ~3 sec of time period no data exchange happens.
  • Now, to improve this behavior NXP implemented and instead of bgscan executing normal scan during roaming. Normal roaming do split scan so, we will not get continuous data drop.

 

In my current setup, roaming will only be initiated when the RSSI drops below a specific threshold. How can I set up a scheduled scan to initiate roaming when it discovers a stronger access point?

[NXP] Are you expecting to roam before low rssi event come. Normally low rssi event come when we cross the rssi threshold.

===============================================================

 

Thanks!

Regards,

weidong

 

1,055 Views
johnny_h
Contributor I

The SDK version is 24_12_00

0 Kudos
Reply