|
<%=dev.devname%>
<%
local diff = mtkwifi.diff_profile(dev.profile)
if next(diff) ~= nil then
%>
* need reload to apply changes
<%
end
%>
work mode: <% if dev.ApCliEnable == "1" then %> APCli <% else %> AP<% end %>
|
'" />
'" />
|
<% for _,vif in ipairs(dev.vifs) do %>
|
<% if vif.state == "up" then %>
<% else %>
<% end %>
|
Interface: <%=vif.vifname%> | Type: AP | SSID: <%=vif.__ssid%> | Channel: <%=vif.__channel or dev.Channel%>
<% if vif.state == "up" then %>
BSSID::<%=vif.__bssid%> | Mode: <%=dev.WirelessModeList[tonumber(vif.__wirelessmode or dev.WirelessMode)]%>
<% else %>
Wireless is disabled or not associated
<% end %>
|
<% if not vif.state then %>
<% elseif vif.state == "up" then %>
'" />
<% else %>
'" />
<% end %>
'" />
'" />
|
<% end %>
<% if dev.apcli then %>
|
<% if dev.apcli.state == "up" then %>
<% else %>
<% end %>
|
Interface: <%=dev.apcli.devname%> | Type: STA | Status: <%=dev.apcli.status%>
<% if dev.apcli.status == "Connected" then %>
BSSID::<%=dev.apcli.bssid%> |
SSID::<%=dev.apcli.ssid%>
<% else %>
Wireless is disabled or not associated
<% end %>
|
<% if dev.apcli.state == "up" then %>
'" />
<% else %>
'" />
<% end %>
<% if dev.apcli.status == "Connected" then %>
<% else %>
<% end %>
'" />
|
<% end %>