@@ -622,17 +622,29 @@ The ``OpenWrt`` backend NetJSON extensions for wireless interfaces:
622622
623623Some extensions are applicable only when ``mode `` is ``access_point ``:
624624
625- +---------------+---------+-------------+------------------------------------------------------+
626- | key name | type | default | allowed values |
627- +===============+=========+=============+======================================================+
628- | ``wmm `` | boolean | ``True `` | enables WMM (802.11e) support |
629- +---------------+---------+-------------+------------------------------------------------------+
630- | ``isolate `` | boolean | ``False `` | isolate wireless clients from one another |
631- +---------------+---------+-------------+------------------------------------------------------+
632- | ``macfilter `` | string | ``disable `` | ACL policy, accepts: "disable", "allow" and "deny" |
633- +---------------+---------+-------------+------------------------------------------------------+
634- | ``maclist `` | array | ``[] `` | mac addresses filtered according to macfilter policy |
635- +---------------+---------+-------------+------------------------------------------------------+
625+ +----------------------------+---------+-------------+------------------------------------------------------+
626+ | key name | type | default | allowed values |
627+ +============================+=========+=============+======================================================+
628+ | ``wmm `` | boolean | ``True `` | enables WMM (802.11e) support |
629+ +----------------------------+---------+-------------+------------------------------------------------------+
630+ | ``ieee80211r `` | boolean | ``False `` | enables fast BSS transition (802.11r) support |
631+ +----------------------------+---------+-------------+------------------------------------------------------+
632+ | ``reassociation_deadline `` | integer | ``1000 `` | reassociation deadline in time units |
633+ | | | | (TUs / 1.024 ms, 1000-65535) |
634+ +----------------------------+---------+-------------+------------------------------------------------------+
635+ | ``ft_psk_generate_local `` | boolean | ``False `` | whether to generate FT response locally |
636+ | | | | for PSK networks |
637+ +----------------------------+---------+-------------+------------------------------------------------------+
638+ | ``ft_over_ds `` | boolean | ``True `` | whether to enable FT-over-DS |
639+ +----------------------------+---------+-------------+------------------------------------------------------+
640+ | ``rsn_preauth `` | boolean | ``False `` | allow pre-authentication for WPA2-EAP networks |
641+ +----------------------------+---------+-------------+------------------------------------------------------+
642+ | ``isolate `` | boolean | ``False `` | isolate wireless clients from one another |
643+ +----------------------------+---------+-------------+------------------------------------------------------+
644+ | ``macfilter `` | string | ``disable `` | ACL policy, accepts: "disable", "allow" and "deny" |
645+ +----------------------------+---------+-------------+------------------------------------------------------+
646+ | ``maclist `` | array | ``[] `` | mac addresses filtered according to macfilter policy |
647+ +----------------------------+---------+-------------+------------------------------------------------------+
636648
637649These extensions must be used the ``wireless `` object of a wireless interface eg:
638650
@@ -852,6 +864,59 @@ UCI output::
852864 option network 'wlan0'
853865 option ssid 'MyWifiAP'
854866
867+ Wireless access point with roaming (802.11r)
868+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
869+
870+ The ``OpenWrt `` backend supports custom NetJSON extensions to support
871+ (802.11r) in wireless access point interfaces (refer
872+ `"Fast BSS transition options" section in the OpenWRT documentation for Wireless configuration <https://openwrt.org/docs/guide-user/network/wifi/basic#fast_bss_transition_options_80211r >`_).
873+
874+ In the following example we configure roaming options for a wireless access point:
875+
876+ .. code-block :: python
877+
878+ {
879+ " interfaces" : [
880+ {
881+ " name" : " wlan0" ,
882+ " type" : " wireless" ,
883+ " wireless" : {
884+ " radio" : " radio0" ,
885+ " mode" : " access_point" ,
886+ " ssid" : " MyWifiAP" ,
887+ " ieee80211r" : True ,
888+ " ft_over_ds" : False ,
889+ " ft_psk_generate_local" : True ,
890+ " rsn_preauth" : True ,
891+ " reassociation_deadline" : 1000 ,
892+ " network" : [" lan" ]
893+ }
894+ }
895+ ]
896+ }
897+
898+ UCI output::
899+
900+ package network
901+
902+ config interface 'wlan0'
903+ option ifname 'wlan0'
904+ option proto 'none'
905+
906+ package wireless
907+
908+ config wifi-iface 'wifi_wlan0'
909+ option device 'radio0'
910+ option ft_over_ds '0'
911+ option ft_psk_generate_local '1'
912+ option ieee80211r '1'
913+ option ifname 'wlan0'
914+ option mode 'ap'
915+ option network 'lan'
916+ option reassociation_deadline '1000'
917+ option rsn_preauth '1'
918+ option ssid 'MyWifiAP'
919+
855920Wireless mesh (802.11s) example
856921~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
857922
0 commit comments