%+functionlist%> <% local cbi = require "luci.cbi" local tpl = require "luci.template" local ntm = require "luci.model.network" local uci = require "luci.model.uci".cursor() ntm.init(uci) local netId = luci.http.formvalue("netId") or netid local countryId = luci.http.formvalue("countryId") or "" local networkName = (ntm:get_wifinet(netId)):name() local opmode = luci.http.formvalue("tmpOpmode") or "" local from_wifi_join = from_wifi_join or "" -- SUPPORT_COMBINED_SSID_SETTING local radio = luci.util.trim(string.sub(netId,5,5)) local wifi0_opmode = luci.http.formvalue("wifi0_select_opmode") or "" local wifi1_opmode = luci.http.formvalue("wifi1_select_opmode") or "" local wifi2_opmode = luci.http.formvalue("wifi2_select_opmode") or "" local displayMode = luci.http.formvalue("displayMode") or "ori" -- ap, wds_ap, sta_ap, ori local checkbox2G = luci.http.formvalue("checkbox2G") or "" local checkbox5G = luci.http.formvalue("checkbox5G") or "" local checkbox52G = luci.http.formvalue("checkbox52G") or "" local guestEn = luci.http.formvalue("guestEn") or "" local device = luci.http.formvalue("device") or "" local MAX_WLAN_MAC_FILTER_NUMBER = uci:get('functionlist','vendorlist','MAX_WLAN_MAC_FILTER_NUMBER') or 32 local support_l2_whitelist = "" wifinet = ntm:get_wifinet(netId) sectionName = wifinet.sid if ( sectionName:match("_ssid_") or "" ) == "_ssid_" then support_l2_whitelist = "1" end local l2_isolation_config=io.open("/etc/config/l2_isolation","r") if l2_isolation_config ~= nil then io.close(l2_isolation_config) else support_l2_whitelist = "0" end local sntcd_unit = uci:get('sntcd','sntcd','rate_unit') or "Mbps" %>
<% if uci:get('functionlist','functionlist','SUPPORT_AP_RP_SETUP_WIZARD') == "1" and uci:get("system","firmware","first_login") == "1" then %> <%+header%> <%else%> <% end %><%=translate("It can facilitate effective spectrum usage, enabling 5GHz-capable clients to associate with AP's 5GHz radio and offloading air utilization in 2.4GHz-band.")%>
<%:Block the communication between the associated clients under the same WLAN.%>
<%:When this option is checked with specified VLAN ID in a SSID profile, the traffics from this SSID will be tagged with this VLAN ID upon entering LAN bridge.%>
<%:SSID%> |
|
<%:Band Steering%>![]() |
<% if uci:get('functionlist','functionlist','SUPPORT_BANDSTEER_SELECT_LIST') == '1' then %>
<%:NOTE%>: <% if WLAN5G_2 == '1' then --[[ #### WLAN5G_2 START ### --]] %> <%:In order for Band Steering function to work properly, 2.4GHz and 5GHz-1 and 5GHz-2 SSID and Security Settings must be the same.%> <% else --[[ #### WLAN5G_2 ELSE ### --]] %> <%:In order for Band Steering function to work properly, both 2.4GHz and 5GHz SSID and Security Settings must be the same.%> <% end --[[ #### WLAN5G_2 END ### --]] %> |
<% else %>
<%:Enable%>
<%:Disable%>
<% end %>
<% if uci:get('functionlist','functionlist','SUPPORT_BANDSTEER_FORCE_5G') == '1' then --[[ #### SUPPORT_BANDSTEER_FORCE_5G START ### --]] %>
<% end --[[ #### SUPPORT_BANDSTEER_FORCE_5G END ### --]] %>
<%:5GHz Load Balance%>![]() |
<%:NOTE%>: <%:The SSID on both the low-band and high-band should be set to the same name and encryption.%> |
<%:Can be enabled to facilitate client roaming, across AP under the same ESS WLAN. This option is available, upon choosing:%> <%=SUPPORT_ENCR%>