mirror of
https://github.com/Telecominfraproject/wlan-ucentral-schema.git
synced 2026-01-27 10:23:38 +00:00
mediatek-sdk: Support HaLow Mesh on EAP112
set HaLow MESH interface in ssid.uc ticket: WIFI-14896 Signed-off-by: Ian Chen <ian77_chen@accton.com>
This commit is contained in:
@@ -360,6 +360,22 @@
|
||||
{% let crypto = match_crypto(band); %}
|
||||
{% let ifname = calculate_ifname(basename) %}
|
||||
{% if (!crypto) continue; %}
|
||||
|
||||
{% if (band == "HaLow" && bss_mode == 'mesh'): %}
|
||||
# HaLow mesh specific configuration
|
||||
set wireless.halowmesh=wifi-iface
|
||||
set wireless.halowmesh.device={{ phy.section }}
|
||||
set wireless.halowmesh.ifname='halow_mesh'
|
||||
set wireless.halowmesh.disabled='0'
|
||||
set wireless.halowmesh.beacon_int='1000'
|
||||
set wireless.halowmesh.wds='0'
|
||||
set wireless.halowmesh.network={{ network }}
|
||||
set wireless.halowmesh.mode={{ bss_mode }}
|
||||
set wireless.halowmesh.network_behavior={{ substr(network, 0, 2) == "up" ? "bridge" : "lan" }}
|
||||
set wireless.halowmesh.mesh_id={{ s(ssid.name) }}
|
||||
set wireless.halowmesh.encryption={{ crypto.proto }}
|
||||
set wireless.halowmesh.key={{ s(crypto.key) }}
|
||||
{% else %}
|
||||
set wireless.{{ section }}=wifi-iface
|
||||
set wireless.{{ section }}.ucentral_path={{ s(location) }}
|
||||
set wireless.{{ section }}.uci_section={{ s(section) }}
|
||||
@@ -677,4 +693,5 @@ set wireless.@wifi-station[-1].key={{ ssid.encryption.key }}
|
||||
|
||||
# STA specific settings
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user