<%+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 networkName = (ntm:get_wifinet(netId)):name() local opmode = luci.http.formvalue("tmpOpmode") 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 %>

<%:Can be enabled to facilitate client roaming, across AP under the same ESS WLAN. This option is available, upon choosing: WPA2-PSK, WPA-PSK Mixed, WPA2-Enterprise, or WPA Mixed-Enterprise.%>

" />
<% if uci:get('functionlist','functionlist','SUPPORT_ALL_ENCRYPTION_HAS_RADIUS_SETTING') == '1' then -----#### SUPPORT_ALL_ENCRYPTION_HAS_RADIUS_SETTING START ### if (wnet:get("mode_display") == "ap") and not string.find(networkName, "guest") then local nasid = luci.util.repSpec(tostring(uci:get('wireless',networkName,'nasid') or "")) %> <% local nasid_enable_status="" local nasport_enable_status="" local nasip_enable_status="" if uci:get('wireless',networkName,'nasid_enable') == '1' then nasid_enable_status = "checked" end if uci:get('wireless',networkName,'nasport_enable') == '1' then nasport_enable_status = "checked" end if uci:get('wireless',networkName,'nasip_enable') == '1' then nasip_enable_status = "checked" end %>
<% if uci:get('functionlist','functionlist','SUPPORT_NAS_IP_ADDR') == '1' then %>
<%:Radius Settings%>
><%:NAS-ID%>
><%:NAS-PORT%> (0 ~ 65535)
><%:NAS-IP%>
<% end end end -----#### SUPPORT_ALL_ENCRYPTION_HAS_RADIUS_SETTING END ### %> <% if uci:get('functionlist','functionlist','SUPPORT_ALL_ENCRYPTION_HAS_RADIUS_SETTING') == '1' then -----#### SUPPORT_ALL_ENCRYPTION_HAS_RADIUS_ACCOUNTING START ### %>
<%:Radius Accounting%>
<% end -----#### SUPPORT_ALL_ENCRYPTION_HAS_RADIUS_ACCOUNTING END ### %> <% if uci:get('functionlist','functionlist','SUPPORT_FAST_ROAMING_SETTING') == '1' then -----#### SUPPORT_FAST_ROAMING_SETTING START ### %>
<%:Fast Roaming%>
<% end -----#### SUPPORT_FAST_ROAMING_SETTING END ### %>
<%:Wireless MAC Filter%>
<% if uci:get('functionlist','functionlist','SUPPORT_WIRELESS_TRAFFIC_SHAPING') == '1' then -----#### SUPPORT_WIRELESS_TRAFFIC_SHAPING START ### %>
<%:Wireless Traffic Shaping%>
<% end -----#### SUPPORT_WIRELESS_TRAFFIC_SHAPING END ### %>
 <%:Save current setting(s)%>