modules/admin-core: expose txpower offset in wifi json status
This commit is contained in:
parent
fd130ead81
commit
2221b44d98
1 changed files with 3 additions and 1 deletions
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue