1 module("luci.statistics.rrdtool.definitions.wireless", package.seeall)
3 function rrdargs( graph, host, plugin, plugin_instance )
5 dtypes = { "signal_power", "signal_noise" }
9 opts.image = graph:mkpngpath( host, plugin, plugin_instance, "wireless" )
10 opts.title = host .. ": WLAN Signal"
11 opts.rrd = { "-v", "dBm" }
13 signal_power = '0000ff',
14 signal_noise = 'ff0000'
17 for i, dtype in ipairs(dtypes) do
20 rrd = graph:mkrrdpath( host, plugin, plugin_instance, dtype )