ab0c170f9c97946f67f0ffe640df14d8aa33c4ef
[oweals/luci.git] / applications / luci-app-dawn / luasrc / model / cbi / dawn / dawn_config.lua
1 m = Map("dawn", translate("Dawn Configuration"), translate(""))
2 s = m:section(TypedSection, "metric", "Metric", "Metric"); s.anonymous = true;
3 s:option(Value, "ht_support", "High Throughput Support")
4 s:option(Value, "no_ht_support", "No High Throughput Support")
5 s:option(Value, "vht_support", "Very High Throughput Support")
6 s:option(Value, "no_vht_support", "No Very High Throughput Support")
7 s:option(Value, "rssi", "RSSI")
8 s:option(Value, "low_rssi", "Low RSSI")
9 s:option(Value, "freq", "5GHz")
10 s:option(Value, "chan_util", "Channel Utilization")
11 s:option(Value, "max_chan_util", "Above Maximum Channel Utilization")
12
13 s = m:section(TypedSection, "metric", "Threshold", "Thresholds"); s.anonymous = true;
14 s:option(Value, "bandwith_threshold", "Bandwidth Threshold")
15 s:option(Value, "rssi_val", "RSSI Threshold")
16 s:option(Value, "low_rssi_val", "Low RSSI Threshold")
17 s:option(Value, "chan_util_val", "Channel Utilization Threshold")
18 s:option(Value, "max_chan_util_val", "Maximaum Channel Utilization Threshold")
19 s:option(Value, "min_probe_count", "Minimum Probe Count")
20 s:option(Value, "min_number_to_kick", "Minimum Number After Kicking Client")
21
22 s = m:section(TypedSection, "metric", "Evaluate", "What should be evaluated?"); s.anonymous = true;
23 s:option(Flag, "kicking", "Activate Kicking")
24 s:option(Flag, "eval_probe_req", "Evaluate Probe Requests")
25 s:option(Flag, "eval_auth_req", "Evaluate Authentication Requests")
26 s:option(Flag, "eval_assoc_req", "Evaluate Association Requests")
27 s:option(Flag, "use_station_count", "Use Station Count")
28
29 s = m:section(TypedSection, "metric", "IEE802.11", "Reasons for denying"); s.anonymous = true;
30 s:option(Value, "deny_auth_reason", "Denying Authentication")
31 s:option(Value, "deny_assoc_reason", "Denying Association")
32
33 s = m:section(TypedSection, "times", "Time Configuration", "Time Configs"); s.anonymous = true;
34 s:option(Value, "update_client", "Update Client Information Interval")
35 s:option(Value, "denied_req_threshold", "Checking if client is connected")
36 s:option(Value, "remove_client", "Remove Client Information")
37 s:option(Value, "remove_probe", "Remove Hearing Map Information")
38 s:option(Value, "update_hostapd", "Check for new Hostapd Sockets")
39 s:option(Value, "update_tcp_con", "Check for new Routers")
40 s:option(Value, "update_chan_util", "Update Channel Utilization Interval")
41
42 return m