802.11r enabled on both bands per AP doesnt work

Deviance devianca at gmail.com
Wed Jul 26 09:34:02 PDT 2017


Hey,

For the clients I'm using Galaxy S7 and S8 (both latest software) and
walking from one AP to the other (they are ~25m apart). I did not find
any commands to force roaming, thats why I'm using phones. Whats the
proper way of testing this (commands), as it will greatly quicken the
process?

So all this is done with this config:

{
AP1 {
2,4GHz {
ssid=80211r
wpa=2
wpa_passphrase=123456789
wpa_pairwise=CCMP
wpa_key_mgmt=WPA-PSK FT-PSK
mobility_domain=e612
nas_identifier=AP124ghz
ft_psk_generate_local=1
}
}
AP2 {
2,4GHz {
ssid=80211r
wpa=2
wpa_passphrase=123456789
wpa_pairwise=CCMP
wpa_key_mgmt=WPA-PSK FT-PSK
mobility_domain=e612
nas_identifier=AP224ghz
ft_psk_generate_local=1
wpa_key_mgmt=WPA-PSK FT-PSK
}
}
this works, client roams when it reaches around -85dBm from previous AP
}

{
AP1 {
2,4GHz {
ssid=80211r
wpa=2
wpa_passphrase=123456789
wpa_pairwise=CCMP
wpa_key_mgmt=WPA-PSK FT-PSK
mobility_domain=e612
nas_identifier=AP124ghz
ft_psk_generate_local=1
wpa_key_mgmt=WPA-PSK FT-PSK
}
}
AP2 {
5GHz {
ssid=80211r
wpa=2
wpa_passphrase=123456789
wpa_pairwise=CCMP
wpa_key_mgmt=WPA-PSK FT-PSK
mobility_domain=e612
nas_identifier=AP25ghz
ft_psk_generate_local=1
wpa_key_mgmt=WPA-PSK FT-PSK
}
}
this works, client roams when it reaches around -85dBm from previous AP
}


{
AP1 {
2,4GHz {
ssid=80211r
wpa=2
wpa_passphrase=123456789
wpa_pairwise=CCMP
wpa_key_mgmt=WPA-PSK FT-PSK
mobility_domain=e612
nas_identifier=AP124ghz
ft_psk_generate_local=1
wpa_key_mgmt=WPA-PSK FT-PSK
}
5GHz {
ssid=80211r
wpa=2
wpa_passphrase=123456789
wpa_pairwise=CCMP
wpa_key_mgmt=WPA-PSK FT-PSK
mobility_domain=e612
nas_identifier=AP15ghz
ft_psk_generate_local=1
wpa_key_mgmt=WPA-PSK FT-PSK
}
}
AP2 {
2,4GHz {
ssid=80211r
wpa=2
wpa_passphrase=123456789
wpa_pairwise=CCMP
wpa_key_mgmt=WPA-PSK FT-PSK
mobility_domain=e612
nas_identifier=AP124ghz
ft_psk_generate_local=1
wpa_key_mgmt=WPA-PSK FT-PSK
}
5GHz {
ssid=80211r
wpa=2
wpa_passphrase=123456789
wpa_pairwise=CCMP
wpa_key_mgmt=WPA-PSK FT-PSK
mobility_domain=e612
nas_identifier=AP25ghz
ft_psk_generate_local=1
wpa_key_mgmt=WPA-PSK FT-PSK
}
}
this does NOT work, client WONT roam, it will reach ~90dBm and
DISCONNECT from previous AP, then connect (4way handshake) to the new
AP (iow. *stuck*)
}

Am I missing something here?

Also, you mentioned extra steps for local RRB communication. What
steps? LEDE (and OpenWRT) is spawning a seperate hostapd process for
each band.

Thanks for replying.
Best Regards,
Luka

2017-07-26 17:48 GMT+02:00 michael-dev <michael-dev at fami-braun.de>:
> Hi,
>
> 802.11r is for roaming between BSS within an ESS (IEEE 802.11-2016 section
> 13.1 second sentence).
>
> When an AP sends on multiple frequencies, it usually spans multiple BSS. So
> for roaming to be possible, these BSS need to part of the same ESS and thus
> share the same SSID. For FT, they also need to share the same mobility
> domain identifier.
>
> 802.11r cannot be used for band steering, that is the AP forcing a client on
> a different band, as the client alone decides whether it roams or not.
>
> Further possible issues:
>  - a client might not choose to roam depending on its policy (which might
> depend on signal strengh or limit the band)
>  - using different hostapd procceses on the same AP for each band needs
> extra steps for local RRB communication
>    (and depending on your hostapd version also when both bands are managed
> from the same hostapd process)
>
> How did you test 802.11r roaming? What do you observe when the client is
> "stuck"?
>
> Regards,
> M. Braun
>
> 12.7.1.7.3 -> PMK-R0 derived from SSID
>
>
> Am 24.07.2017 00:52, schrieb Deviance:
>>
>> 802.11r on one band (2,4GHz or 5GHz) per AP works with:
>> mobility_domain=e612
>> nas_identifier=<unique per BSS>
>> ft_psk_generate_local=1
>> wpa_key_mgmt=WPA-PSK FT-PSK
>>
>> While using those parameters for both bands per AP, client wont roam
>> to higher/lower frequency on the same AP, neither to the other AP. It
>> looks like the client is stuck.
>>
>> Am I misunderstanding the whole concept here: FT can only be used for
>> clients to roam between APs and not bands on the same AP or are the
>> parameters incorrect for this setup (both bands per AP)?
>>
>> hostapd v2.7-devel
>> latest LEDE trunk
>> Archer C7 v2 (all APs)
>>
>> _______________________________________________
>> Hostap mailing list
>> Hostap at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/hostap



More information about the Hostap mailing list