module "iwinfo" function type() return "dummy" end dummy = {} function dummy.channel() return 1 end function dummy.frequency() return 2412 end function dummy.bitrate() return 36000 end function dummy.signal() return -53 end function dummy.noise() return -96 end function dummy.quality() return 50 end function dummy.quality_max() return 70 end function dummy.mode() return "Master" end function dummy.ssid() return "OpenWrt" end function dummy.bssid() return "00:11:22:33:44:55" end function dummy.enctype() return "WPA2 PSK (CCMP)" end function dummy.assoclist() return {} end function dummy.txpwrlist() return { { dbm = 0, mw = 1 }, { dbm = 6, mw = 3 }, { dbm = 8, mw = 6 }, { dbm = 10, mw = 10 }, { dbm = 12, mw = 15 }, { dbm = 14, mw = 25 }, { dbm = 16, mw = 39 }, { dbm = 18, mw = 63 } } end function dummy.mbssid_support() return 1 end