% 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 %>