<%-
	local ubus = require "ubus"
	local sys = require "luci.sys"
	local utl = require "luci.util"

	function guess_thread_signal(info)
		local scale
		local icon
		local rssi = info.Rssi or 0

		if rssi <= -100 then
			scale = 0
		elseif rssi >= -50 then
			scale = 100
		else
			scale = math.floor(2 * (100 + rssi))
		end

		if info.NetworkName == nil then
			icon = resource .. "/icons/signal-none.png"
		elseif scale < 15 then
			icon = resource .. "/icons/signal-0.png"
		elseif scale < 35 then
			icon = res