<%# Copyright 2011 Jo-Philipp Wich Licensed to the public under the Apache License 2.0. -%> <%- local ntm = require "luci.model.network".init() local dev local devices = { } for _, dev in luci.util.vspairs(luci.sys.net.devices()) do if dev:match("^wlan%d") or dev:match("^ath%d") or dev:match("^wl%d") then devices[#devices+1] = dev end end local curdev = luci.dispatcher.context.requestpath curdev = curdev[#curdev] ~= "wireless" and curdev[#curdev] or devices[1] -%> <%+header%>

<%:Realtime Wireless%>

-

<%:Signal:%> 0 <%:dBm%> <%:Average:%> 0 <%:dBm%> <%:Peak:%> 0 <%:dBm%>
<%:Noise:%> 0 <%:dBm%> <%:Average:%> 0 <%:dBm%> <%:Peak:%> 0 <%:dBm%>

-

<%:Phy Rate:%> 0 MBit/s <%:Average:%> 0 MBit/s <%:Peak:%> 0 MBit/s
<%+footer%>