diff --git a/configs/common/dumb_ap b/configs/common/dumb_ap index 4c1e2a1caa..5ea20a5e82 100644 --- a/configs/common/dumb_ap +++ b/configs/common/dumb_ap @@ -51,8 +51,8 @@ CONFIG_PACKAGE_collectd-mod-wireless=y # CONFIG_PACKAGE_luci-app-dawn is not set ### usteer -# CONFIG_PACKAGE_usteer=y -# CONFIG_PACKAGE_luci-app-usteer=y +CONFIG_PACKAGE_usteer=y +CONFIG_PACKAGE_luci-app-usteer=y # language CONFIG_LUCI_LANG_pl=y diff --git a/configs/common/main-router b/configs/common/main-router index 18d7700636..a4669a9613 100644 --- a/configs/common/main-router +++ b/configs/common/main-router @@ -77,8 +77,8 @@ CONFIG_PACKAGE_collectd-mod-dns=y # CONFIG_PACKAGE_luci-app-dawn=y ## usteer -# CONFIG_PACKAGE_usteer=y -# CONFIG_PACKAGE_luci-app-usteer=y +CONFIG_PACKAGE_usteer=y +CONFIG_PACKAGE_luci-app-usteer=y # sqm CONFIG_PACKAGE_luci-app-sqm=y diff --git a/openwrt-configure.sh b/openwrt-configure.sh index dee9dff8ef..f83ac9b5c8 100755 --- a/openwrt-configure.sh +++ b/openwrt-configure.sh @@ -10,7 +10,7 @@ DEVICE="${DEVICE:-$2}" FULL_WPAD="${FULL_WPAD:-'true'}" INSTALL_BRIDGER=${INSTALL_BRIDGER:-'false'} INSTALL_DAWN=${INSTALL_DAWN:-'false'} -INSTALL_USTEER=${INSTALL_USTEER:-'false'} +INSTALL_USTEER=${INSTALL_USTEER:-'true'} INSTALL_DNSCRYPT_PROXY2=${INSTALL_DNSCRYPT_PROXY2:-'false'} INSTALL_UNBOUND=${INSTALL_UNBOUND:-'true'} CRYPTO_LIB=${CRYPTO_LIB:-'openssl'} # wolfssl or openssl; if empty - mbedtls diff --git a/settings-configs/AX3200-dumb-ap/usteer b/settings-configs/AX3200-dumb-ap/usteer index 4bca31222f..be9889c0b8 100644 --- a/settings-configs/AX3200-dumb-ap/usteer +++ b/settings-configs/AX3200-dumb-ap/usteer @@ -1,15 +1,12 @@ - config usteer - option network 'lan' - option syslog '1' - option local_mode '0' - option ipv6 '0' - option debug_level '2' - option roam_scan_snr '-70' - option roam_trigger_snr '-75' - option min_snr '-85' - option roam_scan_tries '0' - option max_neighbor_reports '6' - option signal_diff_threshold '12' - option load_balancing_threshold '0' - + option network 'lan' + option syslog '1' + option local_mode '0' + option ipv6 '0' + option debug_level '1' + option roam_scan_snr '-68' + option roam_trigger_snr '-72' + option min_snr '-78' + option roam_scan_tries '0' + option signal_diff_threshold '10' + list ssid_list 'MYWIFI' diff --git a/settings-configs/BPI-R4/usteer b/settings-configs/BPI-R4/usteer index a57b7811d0..be9889c0b8 100644 --- a/settings-configs/BPI-R4/usteer +++ b/settings-configs/BPI-R4/usteer @@ -1,155 +1,12 @@ config usteer - # The network interface for inter-AP communication - option 'network' 'lan' - - # Log messages to syslog (0/1) - option 'syslog' '1' - - # Disable network communication (0/1) - option local_mode '0' - - # Use IPv6 for remote exchange - option 'ipv6' '0' - - # Minimum level of logged messages - # 0 = fatal - # 1 = info - # 2 = verbose - # 3 = some debug messages - # 4 = network packet information - # 5 = all debug messages - option 'debug_level' '2' - - # Maximum number of neighbor reports set for a node - option max_neighbor_reports 6 - - # Maximum amount of time (ms) a station may be blocked due to policy decisions - #option sta_block_timeout 30000 - - # Maximum amount of time (ms) a local unconnected station is tracked - #option local_sta_timeout 120000 - - # Maximum amount of time (ms) a measurement report is stored - #option measurement_report_timeout 120000 - - # Local station information update interval (ms) - #option local_sta_update 1000 - - # Maximum number of consecutive times a station may be blocked by policy - #option max_retry_band 5 - - # Maximum idle time of a station entry (ms) to be considered for policy decisions - #option seen_policy_timeout 30000 - - # Minimum number of stations delta between APs before load balancing policy is active - option load_balancing_threshold '0' - - # Minimum number of stations delta between bands before band steering policy is active - #option band_steering_threshold 5 - - # Interval (ms) between sending state updates to other APs - #option remote_update_interval 1000 - - # Number of remote update intervals after which a remote-node is deleted - #option remote_node_timeout 10 - - # Allow rejecting assoc requests for steering purposes (0/1) - #option assoc_steering 0 - - # Allow ignoring probe requests for steering purposes (0/1) - #option probe_steering 0 - - # Minimum signal-to-noise ratio or signal level (dBm) to allow connections - #option min_connect_snr 0 - - # Minimum signal-to-noise ratio or signal level (dBm) to remain connected - option min_snr '-85' - - # Timeout after which a station with snr < min_snr will be kicked - #option min_snr_kick_delay 5000 - - # Timeout (ms) for which a client will not be steered after rejecting a BSS-transition-request - #option steer_reject_timeout 60000 - - # Timeout (in ms) after which a association following a disassociation is not seen - # as a roam - option roam_process_timeout 1000 - - # Minimum signal-to-noise ratio or signal level (dBm) before attempting to trigger - # client scans for roaming - option roam_scan_snr -70 - - # Maximum number of client roaming scan trigger attempts - option roam_scan_tries '5' - - # Retry scanning when roam_scan_tries is exceeded after this timeout (in ms) - # In case this option is set to 0, the client is kicked instead - #option roam_scan_timeout 0 - - # Minimum time (ms) between client roaming scan trigger attempts - option roam_scan_interval '5000' - - # Minimum signal-to-noise ratio or signal level (dBm) before attempting to trigger - # forced client roaming - option roam_trigger_snr '-75' - - # Minimum time (ms) between client roaming trigger attempts - #option roam_trigger_interval 60000 - - # Timeout (ms) for client roam requests. usteer will kick the client after this times out. - #option roam_kick_delay 10000 - - # Minimum signal strength difference until AP steering policy is active - option signal_diff_threshold '12' - - # Initial delay (ms) before responding to probe requests (to allow other APs to see packets as well) - #option initial_connect_delay 0 - - # Enable kicking client on excessive channel load (0/1) - #option load_kick_enabled 0 - - # Minimum channel load (%) before kicking clients - #option load_kick_threshold 75 - - # Minimum amount of time (ms) that channel load is above threshold before starting to kick clients - #option load_kick_delay 10000 - - # Minimum number of connected clients before kicking based on channel load - #option load_kick_min_clients 10 - - # Reason code on client kick based on channel load (default: WLAN_REASON_DISASSOC_AP_BUSY) - #option load_kick_reason_code 5 - - # Attempting to steer clients to a higher frequency-band every n ms. - # A value of 0 disabled band-steering. - #option band_steering_interval 120000 - - # Minimal SNR or absolute signal a device has to maintain over band_steering_interval to be - # steered to a higher frequency band - #option band_steering_min_snr -60 - - # Interval (ms) the device is sent a link-measurement request to help assess - # the bi-directional link quality. Setting the interval to 0 disables link-measurements. - #option link_measurement_interval 30000 - - # Script to run after bringing up a node - #option node_up_script '' - - # Message types to include in log - # Available types: - # - probe_req_accept - # - probe_req_deny - # - auth_req_accept - # - auth_req_deny - # - assoc_req_accept - # - assoc_req_deny - # - load_kick_trigger - # - load_kick_reset - # - load_kick_min_clients - # - load_kick_no_client - # - load_kick_client - # - signal_kick - #list event_log_types '' - - # List of SSIDs to enable steering on - list ssid_list 'MYWIFI' + option network 'lan' + option syslog '1' + option local_mode '0' + option ipv6 '0' + option debug_level '1' + option roam_scan_snr '-68' + option roam_trigger_snr '-72' + option min_snr '-78' + option roam_scan_tries '0' + option signal_diff_threshold '10' + list ssid_list 'MYWIFI' diff --git a/settings-configs/usteer-configs/usteer-almost-ok b/settings-configs/usteer-configs/usteer-almost-ok new file mode 100644 index 0000000000..f9ecf3adee --- /dev/null +++ b/settings-configs/usteer-configs/usteer-almost-ok @@ -0,0 +1,15 @@ + +config usteer + option network 'lan' + option syslog '1' + option local_mode '0' + option ipv6 '0' + option debug_level '2' + option roam_scan_snr '-70' + option roam_trigger_snr '-75' + option min_snr '-85' + option roam_scan_tries '0' + option max_neighbor_reports '6' + option signal_diff_threshold '12' + option load_balancing_threshold '0' + list ssid_list 'MYWIFI' diff --git a/settings-configs/usteer-configs/usteer-chatgpt b/settings-configs/usteer-configs/usteer-chatgpt new file mode 100644 index 0000000000..e34771aea0 --- /dev/null +++ b/settings-configs/usteer-configs/usteer-chatgpt @@ -0,0 +1,14 @@ +config usteer + option 'network' 'lan' + option 'syslog' '1' + option local_mode '0' + option 'ipv6' '0' + option 'debug_level' '2' + option assoc_steering 1 + option probe_steering 1 + option min_snr -82 + option min_snr_kick_delay 5000 + option roam_trigger_snr 1 + option roam_trigger_interval 60000 + option signal_diff_threshold 10 + list ssid_list 'MYWIFI' diff --git a/settings-configs/usteer-configs/usteer-eko-one b/settings-configs/usteer-configs/usteer-eko-one new file mode 100644 index 0000000000..d4b4949524 --- /dev/null +++ b/settings-configs/usteer-configs/usteer-eko-one @@ -0,0 +1,16 @@ +config usteer + option 'network' 'lan' + option 'syslog' '1' + option local_mode '0' + option 'ipv6' '0' + option 'debug_level' '2' + option max_neighbor_reports 6 + option load_balancing_threshold '0' + option min_snr '-85' + option roam_process_timeout 1000 + option roam_scan_snr -70 + option roam_scan_tries '5' + option roam_scan_interval '5000' + option roam_trigger_snr '-75' + option signal_diff_threshold '12' + list ssid_list 'MYWIFI' diff --git a/settings-configs/usteer-configs/usteer-minimal b/settings-configs/usteer-configs/usteer-minimal new file mode 100644 index 0000000000..a468f94b2d --- /dev/null +++ b/settings-configs/usteer-configs/usteer-minimal @@ -0,0 +1,13 @@ + +config usteer + option network 'lan' + option syslog '1' + option local_mode '0' + option ipv6 '0' + option debug_level '1' + option roam_scan_snr '-68' + option roam_trigger_snr '-72' + option min_snr '-78' + option roam_scan_tries '0' + option signal_diff_threshold '10' + list ssid_list 'Majki' diff --git a/settings-configs/usteer-configs/usteer-opkg b/settings-configs/usteer-configs/usteer-opkg new file mode 100644 index 0000000000..f53c33827a --- /dev/null +++ b/settings-configs/usteer-configs/usteer-opkg @@ -0,0 +1,155 @@ +config usteer + # The network interface for inter-AP communication + option 'network' 'lan' + + # Log messages to syslog (0/1) + option 'syslog' '1' + + # Disable network communication (0/1) + option local_mode '0' + + # Use IPv6 for remote exchange + option 'ipv6' '0' + + # Minimum level of logged messages + # 0 = fatal + # 1 = info + # 2 = verbose + # 3 = some debug messages + # 4 = network packet information + # 5 = all debug messages + option 'debug_level' '2' + + # Maximum number of neighbor reports set for a node + #option max_neighbor_reports 8 + + # Maximum amount of time (ms) a station may be blocked due to policy decisions + #option sta_block_timeout 30000 + + # Maximum amount of time (ms) a local unconnected station is tracked + #option local_sta_timeout 120000 + + # Maximum amount of time (ms) a measurement report is stored + #option measurement_report_timeout 120000 + + # Local station information update interval (ms) + #option local_sta_update 1000 + + # Maximum number of consecutive times a station may be blocked by policy + #option max_retry_band 5 + + # Maximum idle time of a station entry (ms) to be considered for policy decisions + #option seen_policy_timeout 30000 + + # Minimum number of stations delta between APs before load balancing policy is active + #option load_balancing_threshold 0 + + # Minimum number of stations delta between bands before band steering policy is active + #option band_steering_threshold 5 + + # Interval (ms) between sending state updates to other APs + #option remote_update_interval 1000 + + # Number of remote update intervals after which a remote-node is deleted + #option remote_node_timeout 10 + + # Allow rejecting assoc requests for steering purposes (0/1) + #option assoc_steering 0 + + # Allow ignoring probe requests for steering purposes (0/1) + #option probe_steering 0 + + # Minimum signal-to-noise ratio or signal level (dBm) to allow connections + #option min_connect_snr 0 + + # Minimum signal-to-noise ratio or signal level (dBm) to remain connected + #option min_snr 0 + + # Timeout after which a station with snr < min_snr will be kicked + #option min_snr_kick_delay 5000 + + # Timeout (ms) for which a client will not be steered after rejecting a BSS-transition-request + #option steer_reject_timeout 60000 + + # Timeout (in ms) after which a association following a disassociation is not seen + # as a roam + #option roam_process_timeout 5000 + + # Minimum signal-to-noise ratio or signal level (dBm) before attempting to trigger + # client scans for roaming + #option roam_scan_snr 0 + + # Maximum number of client roaming scan trigger attempts + #option roam_scan_tries 3 + + # Retry scanning when roam_scan_tries is exceeded after this timeout (in ms) + # In case this option is set to 0, the client is kicked instead + #option roam_scan_timeout 0 + + # Minimum time (ms) between client roaming scan trigger attempts + #option roam_scan_interval 10000 + + # Minimum signal-to-noise ratio or signal level (dBm) before attempting to trigger + # forced client roaming + #option roam_trigger_snr 0 + + # Minimum time (ms) between client roaming trigger attempts + #option roam_trigger_interval 60000 + + # Timeout (ms) for client roam requests. usteer will kick the client after this times out. + #option roam_kick_delay 10000 + + # Minimum signal strength difference until AP steering policy is active + #option signal_diff_threshold 0 + + # Initial delay (ms) before responding to probe requests (to allow other APs to see packets as well) + #option initial_connect_delay 0 + + # Enable kicking client on excessive channel load (0/1) + #option load_kick_enabled 0 + + # Minimum channel load (%) before kicking clients + #option load_kick_threshold 75 + + # Minimum amount of time (ms) that channel load is above threshold before starting to kick clients + #option load_kick_delay 10000 + + # Minimum number of connected clients before kicking based on channel load + #option load_kick_min_clients 10 + + # Reason code on client kick based on channel load (default: WLAN_REASON_DISASSOC_AP_BUSY) + #option load_kick_reason_code 5 + + # Attempting to steer clients to a higher frequency-band every n ms. + # A value of 0 disabled band-steering. + #option band_steering_interval 120000 + + # Minimal SNR or absolute signal a device has to maintain over band_steering_interval to be + # steered to a higher frequency band + #option band_steering_min_snr -60 + + # Interval (ms) the device is sent a link-measurement request to help assess + # the bi-directional link quality. Setting the interval to 0 disables link-measurements. + #option link_measurement_interval 30000 + + # Script to run after bringing up a node + #option node_up_script '' + + # Message types to include in log + # Available types: + # - probe_req_accept + # - probe_req_deny + # - auth_req_accept + # - auth_req_deny + # - assoc_req_accept + # - assoc_req_deny + # - load_kick_trigger + # - load_kick_reset + # - load_kick_min_clients + # - load_kick_no_client + # - load_kick_client + # - signal_kick + #list event_log_types '' + + # List of SSIDs to enable steering on + #list ssid_list ''