diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-11-23 08:11:46 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-11-23 08:11:46 +0000 |
commit | 945f8910c1158195f8655858df1ce393ffa630d7 (patch) | |
tree | ccdf8ce47b43838bfffa4b5a1148b6be1f81a3d0 /libs/iwinfo/src | |
parent | 5a2e23318e8daddeb251c546c47c485b0abcbb9f (diff) |
libs/iwinfo: add freqlist() to dummy backend
Diffstat (limited to 'libs/iwinfo/src')
-rw-r--r-- | libs/iwinfo/src/dummy.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libs/iwinfo/src/dummy.lua b/libs/iwinfo/src/dummy.lua index 290d0773be..b2a3c1aa72 100644 --- a/libs/iwinfo/src/dummy.lua +++ b/libs/iwinfo/src/dummy.lua @@ -70,6 +70,22 @@ function dummy.txpwrlist() } end +function dummy.freqlist() + return { + {channel = 1, mhz = 2412}, + {channel = 2, mhz = 2417}, + {channel = 3, mhz = 2422}, + {channel = 4, mhz = 2427}, + {channel = 5, mhz = 2432}, + {channel = 6, mhz = 2437}, + {channel = 7, mhz = 2442}, + {channel = 8, mhz = 2447}, + {channel = 9, mhz = 2452}, + {channel = 10, mhz = 2457}, + {channel = 11, mhz = 2462} + } +end + function dummy.scanlist() return { { quality = 23, quality_max = 70, signal = -60, |