From 7f6538004335d2a09180817a88bd61745d59732a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 19 Aug 2009 15:40:58 +0000 Subject: [PATCH] libs/iwinfo: add dummy.txpwrlist() --- libs/iwinfo/src/dummy.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/libs/iwinfo/src/dummy.lua b/libs/iwinfo/src/dummy.lua index 4e47f1834..9c8174881 100644 --- a/libs/iwinfo/src/dummy.lua +++ b/libs/iwinfo/src/dummy.lua @@ -54,6 +54,19 @@ 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 -- 2.25.1