AP |
Clients |
<%
local mac, data
for mac, data in pairs(macs) do
%>
Hostname |
Interface |
MAC |
Utilization |
Frequency |
Stations |
HT Sup |
VHT Sup |
<%= xml.pcdata(data.hostname) %> |
<%= xml.pcdata(data.iface) %> |
<%= mac %> |
<%= "%.2f" %(data.channel_utilization / 2.55) %> % |
<%= "%.3f" %( data.freq / 1000 ) %> GHz (Channel: <%= "%d" %( status.frequency_to_channel(data.freq) ) %>) |
<%= "%d" % data.num_sta %> |
<%= (data.ht_support == true) and "available" or "not available" %> |
<%= (data.vht_support == true) and "available" or "not available" %> |
|
MAC |
HT |
VHT |
Signal |
<%
local mac2, data2
for clientmac, clientvals in pairs(data) do
if (type(clientvals) == "table") then
%>
<%= clientmac %> |
<%= (clientvals.ht == true) and "available" or "not available" %> |
<%= (clientvals.vht == true) and "available" or "not available" %> |
<%= "%d" % clientvals.signal %> |
<%
end
end
%>
|
<%
end
%>