dawn_config.lua 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. s = m:section(TypedSection, "metric", "Threshold", "Thresholds"); s.anonymous = true;
  13. s:option(Value, "bandwidth_threshold", "Bandwidth Threshold")
  14. s:option(Value, "rssi_val", "RSSI Threshold")
  15. s:option(Value, "low_rssi_val", "Low RSSI Threshold")
  16. s:option(Value, "chan_util_val", "Channel Utilization Threshold")
  17. s:option(Value, "max_chan_util_val", "Maximaum Channel Utilization Threshold")
  18. s:option(Value, "min_probe_count", "Minimum Probe Count")
  19. s:option(Value, "min_number_to_kick", "Minimum Number After Kicking Client")
  20. s = m:section(TypedSection, "metric", "Evaluate", "What should be evaluated?"); s.anonymous = true;
  21. s:option(Flag, "kicking", "Activate Kicking")
  22. s:option(Flag, "eval_probe_req", "Evaluate Probe Requests")
  23. s:option(Flag, "eval_auth_req", "Evaluate Authentication Requests")
  24. s:option(Flag, "eval_assoc_req", "Evaluate Association Requests")
  25. s:option(Flag, "use_station_count", "Use Station Count")
  26. s = m:section(TypedSection, "metric", "IEE802.11", "Reasons for denying"); s.anonymous = true;
  27. s:option(Value, "deny_auth_reason", "Denying Authentication")
  28. s:option(Value, "deny_assoc_reason", "Denying Association")
  29. s = m:section(TypedSection, "times", "Time Configuration", "Time Configs"); s.anonymous = true;
  30. s:option(Value, "update_client", "Update Client Information Interval")
  31. s:option(Value, "denied_req_threshold", "Checking if client is connected")
  32. s:option(Value, "remove_client", "Remove Client Information")
  33. s:option(Value, "remove_probe", "Remove Hearing Map Information")
  34. s:option(Value, "update_hostapd", "Check for new Hostapd Sockets")
  35. s:option(Value, "update_tcp_con", "Check for new Routers")
  36. s:option(Value, "update_chan_util", "Update Channel Utilization Interval")
  37. return m