diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2021-01-07 19:02:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-07 19:02:57 +0200 |
commit | c49d33f6cba15f38eb4eea74ea815601449a70cd (patch) | |
tree | 12b2393ce6ecb56402b9aa827078827b22f22283 /modules/luci-mod-status/root/usr | |
parent | e7aeb9b153abc97a77be1e8ef9c8c499a0735895 (diff) | |
parent | 91a00084575621d786d5cc49b202012d293b3baa (diff) |
Merge pull request #4598 from Ansuel/wifi_chan
luci-mod-status: add new channel analysis page
Diffstat (limited to 'modules/luci-mod-status/root/usr')
-rw-r--r-- | modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json | 13 | ||||
-rw-r--r-- | modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json | 9 |
2 files changed, 22 insertions, 0 deletions
diff --git a/modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json b/modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json index e8eee643d5..0f066e67ad 100644 --- a/modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json +++ b/modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json @@ -71,6 +71,19 @@ } }, + "admin/status/channel_analysis": { + "title": "Channel Analysis", + "order": 7, + "action": { + "type": "view", + "path": "status/channel_analysis" + }, + "depends": { + "acl": [ "luci-mod-status-channel_analysis" ], + "uci": { "wireless": { "@wifi-device": true } } + } + }, + "admin/status/realtime": { "title": "Realtime Graphs", "order": 7, diff --git a/modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json b/modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json index db52c73137..5029bbed47 100644 --- a/modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json +++ b/modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json @@ -56,6 +56,15 @@ } }, + "luci-mod-status-channel_analysis": { + "description": "Grant access to the system route status", + "read": { + "ubus": { + "iwinfo": [ "info", "freqlist" ] + } + } + }, + "luci-mod-status-firewall": { "description": "Grant access to firewall status", "read": { |