projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd130ea
)
modules/admin-core: expose txpower offset in wifi json status
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 5 Dec 2011 18:35:00 +0000
(18:35 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 5 Dec 2011 18:35:00 +0000
(18:35 +0000)
modules/admin-core/luasrc/tools/status.lua
patch
|
blob
|
history
diff --git
a/modules/admin-core/luasrc/tools/status.lua
b/modules/admin-core/luasrc/tools/status.lua
index ff98d459baa82435a4cddac054eb5ab39fa26940..2eef3e0e1c7f1c700f9cd56a02bc853b29e773ad 100644
(file)
--- a/
modules/admin-core/luasrc/tools/status.lua
+++ b/
modules/admin-core/luasrc/tools/status.lua
@@
-85,7
+85,8
@@
function wifi_networks()
ifname = net:ifname(),
assoclist = net:assoclist(),
country = net:country(),
- txpower = net:txpower()
+ txpower = net:txpower(),
+ txpoweroff = net:txpower_offset()
}
end
@@
-120,6
+121,7
@@
function wifi_network(id)
assoclist = net:assoclist(),
country = net:country(),
txpower = net:txpower(),
+ txpoweroff = net:txpower_offset(),
device = {
up = dev:is_up(),
device = dev:name(),