OpenWrt Forum Archive

Topic: Wifi Roaming

The content of this topic has been archived on 21 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Does anyone use wifi 802.11r roaming?
With UCI I could not put more r0kh.
It would be helpful for a configuration.
Thank you
Fox1

(Last edited by Fox1 on 9 Dec 2015, 23:56)

1.Without UCI ,I want to just edit /etc/config/wireless according to https://wiki.openwrt.org/doc/uci/wireless?s[]=802&s[]=11r.
There is something about "Fast BSS transition Options" in this URL.
Is this right?
2.Do you edit other file?
3. Can you give a example?

Thank you very mush! tongue

(Last edited by luqiusuoit on 11 Dec 2015, 07:12)

I have these enabled but I've not yet sniffed the LAN side of the AP to confirm if it's working. I'm running full hostapd (instead of wpad-mini).

Currently I can see the AP's announcing a mobility domain -

Mobility Domain Identifier: 0xeeee
FT Capability and Policy: 1
Fast BSS Transition over DS: 1
Resource Request Protocol Capability: 0

However I'm yet to observe a fast roam. Here are the three AP's 802.11r sections:

    # 802.11r Fast Roaming
    option ieee80211r       '1'
    option nasid         '04A151B240B1'
    option r1_key_holder    '04A151B240B1'
    option mobility_domain    'EEEE'
    option r0kh        'C0:4A:00:AB:E7:0E,C04A00ABE70E,0f0e0d0c0b0a09080706050403020100'
    option r0kh        'C0:4A:00:AB:FA:EC,C04A00ABFAEC,0f0e0d0c0b0a09080706050403020101'
    option r1kh        'C0:4A:00:AB:E7:0E,C0:4A:00:AB:E7:0E,000102030405060708090a0b0c0d0e0f'
    option r1kh        'C0:4A:00:AB:FA:EC,C0:4A:00:AB:FA:EC,010102030405060708090a0b0c0d0e0f'
    option pmk_r1_push      '1'
    # 802.11r Fast Roaming
    option ieee80211r    '1'
    option nasid        'C04A00ABE70E'
    option r1_key_holder    'C04A00ABE70E'
    option mobility_domain    'EEEE'
    option r0kh        '04:A1:51:B2:40:B1,04A151B240B1,000102030405060708090a0b0c0d0e0f'
    option r0kh        'C0:4A:00:AB:FA:EC,C04A00ABFAEC,0f0e0d0c0b0a09080706050403020102'
    option r1kh        '04:A1:51:B2:40:B1,04:A1:51:B2:40:B1,0f0e0d0c0b0a09080706050403020100'
    option r1kh        'C0:4A:00:AB:FA:EC,C0:4A:00:AB:FA:EC,020102030405060708090a0b0c0d0e0f'
    option pmk_r1_push    '1'
    # 802.11r Fast Roaming
    option ieee80211r    '1'
    option nasid        'C04A00ABFAEC'
    option r1_key_holder    'C04A00ABFAEC'
    option mobility_domain    'EEEE'
    option r0kh        '04:A1:51:B2:40:B1,04A151B240B1,010102030405060708090a0b0c0d0e0f'
    option r0kh        'C0:4A:00:AB:E7:0E,C04A00ABE70E,020102030405060708090a0b0c0d0e0f'
    option r1kh        '04:A1:51:B2:40:B1,04:A1:51:B2:40:B1,0f0e0d0c0b0a09080706050403020101'
    option r1kh        'C0:4A:00:AB:E7:0E,C0:4A:00:AB:E7:0E,0f0e0d0c0b0a09080706050403020102'
    option pmk_r1_push    '1'

My understanding is that source AP r0kh and target AP r1kh should be paired.

(Last edited by J1mbo on 13 Dec 2015, 10:02)

In short: I don't think 802.11r works currently.

After trying numerous options the 802.11i and 802.11r ethertypes 0x88C7 and 0x890D are conspicuous by their absence on the LAN (the networks are reporting over-the-DS method).

Tested on 15.05 with iPad Air as the 802.11r capable client. It doesn't roam at all with 'r enabled.

In /var/run/hostapd-phy0.conf is

nas_identifier=C04A00ABFAEC
mobility_domain=EEEE
r0_key_lifetime=10000
r1_key_holder=C04A00ABFAEC
reassociation_deadline=1000
pmk_r1_push=1
r0kh=C0:4A:00:AB:E7:0E C04A00ABE70E 020102030405060708090a0b0c0d0e0f
r1kh=C0:4A:00:AB:E7:0E C0:4A:00:AB:E7:0E 0f0e0d0c0b0a09080706050403020102
wpa_key_mgmt=WPA-EAP FT-EAP
okc=0
disable_pmksa_caching=1

but only one line with r0kh

Change those lines to list instead of option.

J1mbo: Is it working when you Change Option to list?
Can you see any entry in logread related to 802.11r?
Witch package is better? wpad or hostapd?
Thanks
chf1

I've been using full hostapd but I can't make it work. Using List for R0KH/R1KH correctly populates /var/run/hostapd.conf however.

The discussion might have continued from here.