diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2021-10-09 12:19:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-09 12:19:42 +0300 |
commit | d9c27cb1ee0d83d3445f0971c9b6ea17f631f435 (patch) | |
tree | a2c19fa442826081accdf5e970e1a9d3278c69b5 | |
parent | 5f5a61caf882c4cd07f6b0afeb0566dc127f5dc2 (diff) | |
parent | 4a78122246d0991e4a952315c21e4c4e98538f43 (diff) |
Merge pull request #5424 from PolynomialDivision/luci-app-dawn-remove-settings
luci-app-dawn: remove page for steering options
-rw-r--r-- | applications/luci-app-dawn/luasrc/controller/dawn.lua | 5 | ||||
-rw-r--r-- | applications/luci-app-dawn/luasrc/model/cbi/dawn/dawn_config.lua | 42 |
2 files changed, 2 insertions, 45 deletions
diff --git a/applications/luci-app-dawn/luasrc/controller/dawn.lua b/applications/luci-app-dawn/luasrc/controller/dawn.lua index 6ba53f13d4..1ae903f3a4 100644 --- a/applications/luci-app-dawn/luasrc/controller/dawn.lua +++ b/applications/luci-app-dawn/luasrc/controller/dawn.lua @@ -5,7 +5,6 @@ function index() e.dependent = false e.acl_depends = { "luci-app-dawn" } - entry({ "admin", "dawn", "configure_daemon" }, cbi("dawn/dawn_config"), "Configure DAWN", 1) - entry({ "admin", "dawn", "view_network" }, cbi("dawn/dawn_network"), "View Network Overview", 2) - entry({ "admin", "dawn", "view_hearing_map" }, cbi("dawn/dawn_hearing_map"), "View Hearing Map", 3) + entry({ "admin", "dawn", "view_network" }, cbi("dawn/dawn_network"), "View Network Overview", 1) + entry({ "admin", "dawn", "view_hearing_map" }, cbi("dawn/dawn_hearing_map"), "View Hearing Map", 2) end diff --git a/applications/luci-app-dawn/luasrc/model/cbi/dawn/dawn_config.lua b/applications/luci-app-dawn/luasrc/model/cbi/dawn/dawn_config.lua deleted file mode 100644 index b965451b03..0000000000 --- a/applications/luci-app-dawn/luasrc/model/cbi/dawn/dawn_config.lua +++ /dev/null @@ -1,42 +0,0 @@ -m = Map("dawn", translate("Dawn Configuration"), translate("")) -s = m:section(TypedSection, "metric", "Metric", "Metric"); s.anonymous = true; -s:option(Value, "ht_support", "High Throughput Support") -s:option(Value, "no_ht_support", "No High Throughput Support") -s:option(Value, "vht_support", "Very High Throughput Support") -s:option(Value, "no_vht_support", "No Very High Throughput Support") -s:option(Value, "rssi", "RSSI") -s:option(Value, "low_rssi", "Low RSSI") -s:option(Value, "freq", "5GHz") -s:option(Value, "chan_util", "Channel Utilization") -s:option(Value, "max_chan_util", "Above Maximum Channel Utilization") - -s = m:section(TypedSection, "metric", "Threshold", "Thresholds"); s.anonymous = true; -s:option(Value, "bandwidth_threshold", "Bandwidth Threshold") -s:option(Value, "rssi_val", "RSSI Threshold") -s:option(Value, "low_rssi_val", "Low RSSI Threshold") -s:option(Value, "chan_util_val", "Channel Utilization Threshold") -s:option(Value, "max_chan_util_val", "Maximaum Channel Utilization Threshold") -s:option(Value, "min_probe_count", "Minimum Probe Count") -s:option(Value, "min_number_to_kick", "Minimum Number After Kicking Client") - -s = m:section(TypedSection, "metric", "Evaluate", "What should be evaluated?"); s.anonymous = true; -s:option(Flag, "kicking", "Activate Kicking") -s:option(Flag, "eval_probe_req", "Evaluate Probe Requests") -s:option(Flag, "eval_auth_req", "Evaluate Authentication Requests") -s:option(Flag, "eval_assoc_req", "Evaluate Association Requests") -s:option(Flag, "use_station_count", "Use Station Count") - -s = m:section(TypedSection, "metric", "IEE802.11", "Reasons for denying"); s.anonymous = true; -s:option(Value, "deny_auth_reason", "Denying Authentication") -s:option(Value, "deny_assoc_reason", "Denying Association") - -s = m:section(TypedSection, "times", "Time Configuration", "Time Configs"); s.anonymous = true; -s:option(Value, "update_client", "Update Client Information Interval") -s:option(Value, "denied_req_threshold", "Checking if client is connected") -s:option(Value, "remove_client", "Remove Client Information") -s:option(Value, "remove_probe", "Remove Hearing Map Information") -s:option(Value, "update_hostapd", "Check for new Hostapd Sockets") -s:option(Value, "update_tcp_con", "Check for new Routers") -s:option(Value, "update_chan_util", "Update Channel Utilization Interval") - -return m
\ No newline at end of file |