<% local supports_deauth = {} local _, v for _, v in ipairs(luci.util.ubus()) do local iface = v:match("^hostapd%.(.+)$") if iface then local funcs = luci.util.ubus(v) if type(funcs) == "table" and funcs.del_client then supports_deauth[iface] = true end end end %>
<%:Network%>
<%:MAC-Address%>
<%:Host%>
<%:Signal%> / <%:Noise%>
<%:RX Rate%> / <%:TX Rate%>
<% if next(supports_deauth) then %>
<%:Disconnect%>
<% end %>
<%:Collecting data...%>