uci_option_to_json_bool "$cfg" syslog
uci_option_to_json_bool "$cfg" load_kick_enabled
+ uci_option_to_json_bool "$cfg" assoc_steering
uci_option_to_json_string "$cfg" node_up_script
for opt in \
if (type == EVENT_TYPE_AUTH)
return true;
+ if (type == EVENT_TYPE_ASSOC && !config.assoc_steering)
+ return true;
+
if (si->stats[type].blocked_cur >= config.max_retry_band) {
MSG_T_STA("max_retry_band", si->sta->addr,
"max retry (%u) exceeded\n", config.max_retry_band);
_cfg(U32, load_balancing_threshold), \
_cfg(U32, band_steering_threshold), \
_cfg(U32, remote_update_interval), \
+ _cfg(BOOL, assoc_steering), \
_cfg(I32, min_connect_snr), \
_cfg(I32, min_snr), \
_cfg(I32, roam_scan_snr), \
uint32_t max_retry_band;
uint32_t seen_policy_timeout;
+ bool assoc_steering;
+
uint32_t band_steering_threshold;
uint32_t load_balancing_threshold;