802.11r not working

Hello
My phone is 100% support this protocol.
I put same domain mobility on the main router and AP.
Even when im standing near the AP I still get -80dbi from the Main Router and vise versa, no roaming...
What could be the problem?

The situation is different

Care to elaborate further?

please post config of both APs

I dont know how to post config
But
Its wpad-wolfssl
"Access Point"
802.11r -is enabled
Same Mobility Domain on both 2f55

It would be helpful to know why you believe that your situation is different than the from @darksky (and btw, if you haven't read the linked thread, please do). 802.11k/v/r/w don't always work well, even when devices are supposed to support the standards, and it is not uncommon to have problems when these features are enabled. You should start by ensuring your APs are configured and tuned as well as possible for proper roaming even without any of these features enabled. In that other thread, I posted a link to a video that explains how to tune your APs for best roaming performance.

As far as the configuration is concerned... let's start with these from both of your existing devices:

Please copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

cat /etc/config/network
cat /etc/config/wireless

Network Main Router

  config interface 'loopback'
  option device 'lo'
  option proto 'static'
  option ipaddr '127.0.0.1'
  option netmask '255.0.0.0'

config globals 'globals'
  option ula_prefix 'frfid:0613:3d7c::/48'
  option packet_steering '1'

config device
  option name 'br-lan'
  option type 'bridge'
  list ports 'lan1'
  list ports 'lan2'
  list ports 'lan3'

config interface 'lan'
  option device 'br-lan'
  option proto 'static'
  option netmask '255.255.255.0'
  option ip6assign '60'
  option ipaddr '192.168.12.1'

config interface 'wan'
  option device 'wan'
  option proto 'pppoe'
  option username 'user'
  option password 'pass'
  option ipv6 '0'
  option peerdns '0'
  list dns '1.1.1.1'
  list dns '1.0.0.1'

config interface 'wan6'
  option device 'wan'
  option proto 'dhcpv6'

root@OpenWrt_1:~# 

Wireless Main Router

root@OpenWrt_1:~# cat /etc/config/wireless

config wifi-device 'radio0'
  option type 'mac80211'
  option path 'platform/soc/c000000.wifi'
  option channel '36'
  option band '5g'
  option htmode 'HE80'
  option cell_density '0'

config wifi-iface 'default_radio0'
  option device 'radio0'
  option network 'lan'
  option mode 'ap'
  option ssid 'mywifi_5.0'
  option encryption 'sae-mixed'
  option key '11661166'
  option ieee80211r '1'
  option mobility_domain '4d11'
  option ft_over_ds '0'
  option ft_psk_generate_local '1'
  option hidden '0'

config wifi-device 'radio1'
  option type 'mac80211'
  option path 'platform/soc/c000000.wifi+1'
  option band '2g'
  option htmode 'HE40'
  option channel '11'
  option cell_density '0'

config wifi-iface 'default_radio1'
  option device 'radio1'
  option network 'lan'
  option mode 'ap'
  option ssid 'mywifi'
  option encryption 'sae-mixed'
  option key '11661166'
  option ieee80211r '1'
  option mobility_domain '4d22'
  option ft_over_ds '0'
  option ft_psk_generate_local '1'

root@OpenWrt_1:~# 

Wireless AP

root@OpenWrt_2:~# cat /etc/config/wireless

config wifi-device 'radio0'
  option type 'mac80211'
  option path 'platform/soc/c000000.wifi'
  option band '5g'
  option htmode 'HE80'
  option cell_density '0'
  option channel '36'

config wifi-iface 'default_radio0'
  option device 'radio0'
  option network 'lan'
  option mode 'ap'
  option ssid 'mywifi_5.0'
  option encryption 'sae-mixed'
  option key '11661166'
  option ieee80211r '1'
  option ft_over_ds '0'
  option ft_psk_generate_local '1'
  option mobility_domain '4d11'
  option hidden '0'

config wifi-device 'radio1'
  option type 'mac80211'
  option path 'platform/soc/c000000.wifi+1'
  option band '2g'
  option cell_density '0'
  option htmode 'HE40'
  option txpower '30'
  option channel '6'

config wifi-iface 'default_radio1'
  option device 'radio1'
  option network 'lan'
  option mode 'ap'
  option ssid 'mywifi'
  option encryption 'sae-mixed'
  option key '11661166'
  option ieee80211r '1'
  option ft_over_ds '0'
  option ft_psk_generate_local '1'
  option mobility_domain '4d22'

root@OpenWrt_2:~# 

Well, both of your APs are using the same 5G channel, so that's likely to cause some issues. Best to use different channels (see the video I recommended in this post).

You also have not set the country code -- this can help, too.

And you should seriously consider that 802.11r really doesn't always produce great results... sometimes you're much better off with it off -- traditional (unassisted) roaming can actually have excellent performance when things are properly tuned.

I actually tried different channels... No luck... But I will try to change Country Code and post the results here
Thanks :slightly_smiling_face:

Still not working unfortunately :pensive:

Turn off 802.11r and see if the roaming works properly.

Yea its better now. But it switch at about -75dbi...
I tried to turn on 802.11v&k but still on -70dbi its not roaming

Going back to my original statement... tune your traditional roaming first. This generally means

  • perform a scan to allow for an informed selection the least utilized channels
  • set neighboring APs to different channels
  • reduce power levels as much as possible to minimize the amount of coverage overlap (you don't want the coverage of each AP to have a large overlap, or the client devices will tend to 'hang on' as long as they can to the AP they were using even when you'd like them to roam).

Done well, you can have roaming performance that is nearly seamless. However, also keep in mind that this is a client side operation... some client devices may not be well optimized in terms of how well the OS and/or chipsets are tuned to roam. So try different devices, too.

1 Like

Thank you! Appreciate your helpfulness and information you provided!

Mobility Domain must be the same.
Try to change FT protocol, to FT over the AIR.
In my case I put the NAS ID - different to each AP. Then The FR work fine. without NAS ID, I -ve the same situation as you.

And You moust undestand that, not the AP make a decision to change AP, but your client does.

Ok, reverted back to xiaomi stock (to test the roaming). The roaming is working flawlessly... Im not sure what kind of roaming they are using. In the wifi scanner app I have, I see:
[WPA2-PSK-CCMP][RSN-PSK+SAE-CCMP][ESS]

BTW-when roaming, its on the same channel...weird.

Disappointed with the openwrt roaming :pensive:

Closing hte loop because @eR2022 has two threads running...