Documentation on 802.11r

So the instructions for 23.05.x should be

  1. Install one of the following full wpad packages
    i) wpad-openssl
    ii) wpad-wolfssl
    iii) wpad-mbedtls
    iv) ^ the mesh versions of the above packages
    v) wpad - similar but doesn't seem to include SAE support

    Question - Are we sure that the basic wpad variants aren't sufficient, because the package description of them often mentions "802.11r and 802.11w support, [0] [1] ?

  2. Under each AP wifi-iface entry add the following

      option ieee80211r '1' # enable FT
      option nasid '704F579E84A4' # give the AP a unique ID - same as its MAC
      option reassociation_deadline '20000' # as per https://github.com/openwrt/openwrt/issues/7907

As https://github.com/openwrt/openwrt/blob/openwrt-23.05/package/network/services/hostapd/files/hostapd.sh fills in

mobility_domain from the ssid - "$(echo "$ssid" | md5sum | head -c 4)"

ft_over_ds to 0 by default - set_default ft_over_ds 0

ft_psk_generate_local is set to 1 for psk, SAE, psk-sae options - set_default ft_psk_generate_local 1

disassoc_low_ack defaults to 1

Confusingly, even without nasid roaming seems to work for me :person_shrugging: , I assume this was because ft was working but 11r wasn't. Perhaps something like set_default nasid "$(echo "$macaddr" | tr -d ':' | tr 'A-F' 'a-f')" should be added - as suggested here).


Users should also consider setting

  1. option rsn_preauth 1 # only works if used on an I/F which is a bridge (Wi-Fi is a bridge to a LAN) but this likely depends upon a RADIUS server being available on the network.

  2. option bss_transition '1'

  3. option ieee80211w '1'

  4. option wnm_sleep_mode '1'

2 Likes