summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status/root/usr
diff options
context:
space:
mode:
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.json13
-rw-r--r--modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json9
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": {