diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-08-19 15:40:58 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-08-19 15:40:58 +0000 |
commit | 7f6538004335d2a09180817a88bd61745d59732a (patch) | |
tree | 587b43cfe8aaa3b38817102a450f32a83e30c4ee /libs | |
parent | 91ceab5b19a7b8c8b748a27e7bd8cb2cd4a44132 (diff) |
libs/iwinfo: add dummy.txpwrlist()
Diffstat (limited to 'libs')
-rw-r--r-- | libs/iwinfo/src/dummy.lua | 13 |
1 files changed, 13 insertions, 0 deletions
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 |