RW612 roaming setting

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

RW612 roaming setting

跳至解决方案
1,692 次查看
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 项奖励
回复
1 解答
1,537 次查看
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

 

在原帖中查看解决方案

2 回复数
1,538 次查看
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,689 次查看
johnny_h
Contributor I

The SDK version is 24_12_00

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2063238%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERW612%E6%BC%AB%E6%B8%B8%E8%AE%BE%E7%BD%AE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2063238%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%20class%3D%22%22%3E%E4%BA%B2%E7%88%B1%E7%9A%84%E7%A4%BE%E5%8C%BA%EF%BC%8C%E6%88%91%E5%AF%B9%E6%BC%AB%E6%B8%B8%E8%AE%BE%E7%BD%AE%E6%9C%89%E5%87%A0%E4%B8%AA%E7%96%91%E9%97%AE%E3%80%82%E6%88%91%E6%AD%A3%E5%9C%A8%E8%BF%90%E8%A1%8C%20wifi-wpa-supplicant%20%E7%A4%BA%E4%BE%8B%EF%BC%8C%E5%B9%B6%E5%9C%A8%E8%BF%9E%E6%8E%A5%E5%88%B0%E7%BD%91%E7%BB%9C%E6%97%B6%E5%90%AF%E7%94%A8%E6%BC%AB%E6%B8%B8%EF%BC%88wlan_set_roaming(1%2C%2070)%EF%BC%89%E3%80%82%E6%88%91%E6%B3%A8%E6%84%8F%E5%88%B0%EF%BC%8C%E5%BD%93%20rssi%20%E9%99%8D%E8%87%B3%2070%20%E4%BB%A5%E4%B8%8B%E6%97%B6%EF%BC%8C%E5%AE%83%E4%BC%9A%E8%A7%A6%E5%8F%91%E4%BD%8E%20rssi%20%E4%BA%8B%E4%BB%B6%E5%B9%B6%E5%90%AF%E5%8A%A8%E5%B8%B8%E8%A7%84%E6%89%AB%E6%8F%8F%E8%80%8C%E4%B8%8D%E6%98%AF%E5%90%8E%E5%8F%B0%E6%89%AB%E6%8F%8F%E3%80%82%E4%BD%86%E6%98%AF%EF%BC%8C%E5%A6%82%E6%9E%9C%E6%88%91%E7%A6%81%E7%94%A8%20wpa_supplicant%EF%BC%8C%E5%AE%83%E4%BC%9A%E6%89%A7%E8%A1%8C%E5%90%8E%E5%8F%B0%E6%89%AB%E6%8F%8F%E8%80%8C%E4%B8%8D%E6%98%AF%E5%B8%B8%E8%A7%84%E6%89%AB%E6%8F%8F%E3%80%82%E4%B8%BA%E4%BB%80%E4%B9%88%E4%BC%9A%E6%9C%89%E5%8C%BA%E5%88%AB%EF%BC%9F%3C%2FP%3E%3CP%20class%3D%22%22%3EWPA_supplicant%20%E6%94%AF%E6%8C%81%E5%90%8E%E5%8F%B0%E6%89%AB%E6%8F%8F%EF%BC%88CONFIG_BGSCAN%EF%BC%89%EF%BC%8C%E4%BD%86%E5%AE%83%EF%BC%88bgscan.c%EF%BC%89%E4%BC%BC%E4%B9%8E%E5%B7%B2%E4%BB%8E%E7%A4%BA%E4%BE%8B%E7%A8%8B%E5%BA%8F%E4%B8%AD%E5%88%A0%E9%99%A4%E3%80%82%E8%BF%99%E6%9C%89%E4%BB%80%E4%B9%88%E5%8E%9F%E5%9B%A0%E5%90%97%EF%BC%9F%3C%2FP%3E%3CP%20class%3D%22%22%3E%E5%9C%A8%E6%88%91%E5%BD%93%E5%89%8D%E7%9A%84%E8%AE%BE%E7%BD%AE%E4%B8%AD%EF%BC%8C%E4%BB%85%E5%BD%93%20RSSI%20%E9%99%8D%E8%87%B3%E7%89%B9%E5%AE%9A%E9%98%88%E5%80%BC%E4%BB%A5%E4%B8%8B%E6%97%B6%E6%89%8D%E4%BC%9A%E5%90%AF%E5%8A%A8%E6%BC%AB%E6%B8%B8%E3%80%82%E5%A6%82%E4%BD%95%E8%AE%BE%E7%BD%AE%E8%AE%A1%E5%88%92%E6%89%AB%E6%8F%8F%E4%BB%A5%E4%BE%BF%E5%9C%A8%E5%8F%91%E7%8E%B0%E6%9B%B4%E5%BC%BA%E7%9A%84%E6%8E%A5%E5%85%A5%E7%82%B9%E6%97%B6%E5%90%AF%E5%8A%A8%E6%BC%AB%E6%B8%B8%EF%BC%9F%3C%2FP%3E%3CP%20class%3D%22%22%3E%E9%9D%9E%E5%B8%B8%E6%84%9F%E8%B0%A2%E5%B9%B6%E8%87%B4%E4%BB%A5%E9%97%AE%E5%80%99%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2063239%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9ARW612%E6%BC%AB%E6%B8%B8%E8%AE%BE%E7%BD%AE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2063239%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ESDK%E7%89%88%E6%9C%AC%E4%B8%BA24_12_00%3C%2FP%3E%3C%2FLINGO-BODY%3E