}
}
-void
-usteer_local_node_kick(struct usteer_local_node *ln)
+static void
+usteer_local_node_load_kick(struct usteer_local_node *ln)
{
struct usteer_node *node = &ln->node;
struct sta_info *kick1 = NULL, *kick2 = NULL;
};
unsigned int min_count = DIV_ROUND_UP(config.load_kick_delay, config.local_sta_update);
- usteer_local_node_roam_check(ln, &ev);
- usteer_local_node_snr_kick(ln);
-
if (!config.load_kick_enabled || !config.load_kick_threshold ||
!config.load_kick_delay)
return;
out:
usteer_event(&ev);
}
+
+
+void
+usteer_local_node_kick(struct usteer_local_node *ln)
+{
+ struct uevent ev = {
+ .node_local = &ln->node,
+ };
+
+ usteer_local_node_roam_check(ln, &ev);
+ usteer_local_node_snr_kick(ln);
+ usteer_local_node_load_kick(ln);
+}