<%# LuCI - Lua Configuration Interface Copyright 2011 Jo-Philipp Wich Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ -%> <%- 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%>