local-node: prioritize neighbor candidates
Prioritize neighbor candidates installed to hostapd. Add a new config option to set a limit for neighbor reports installed to hostapd. This is due to the fact, most devices will only evaluate a certain amount of neighbor reports. Furthermore, the number of neighbor reports possible is limited by the maximum frame size. Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
3
usteer.h
3
usteer.h
@@ -152,6 +152,8 @@ struct usteer_config {
|
||||
|
||||
bool assoc_steering;
|
||||
|
||||
uint32_t max_neighbor_reports;
|
||||
|
||||
uint32_t band_steering_threshold;
|
||||
uint32_t load_balancing_threshold;
|
||||
|
||||
@@ -274,6 +276,7 @@ static inline const char *usteer_node_name(struct usteer_node *node)
|
||||
}
|
||||
void usteer_node_set_blob(struct blob_attr **dest, struct blob_attr *val);
|
||||
|
||||
struct usteer_node *usteer_node_get_next_neighbor(struct usteer_node *current_node, struct usteer_node *last);
|
||||
bool usteer_check_request(struct sta_info *si, enum usteer_event_type type);
|
||||
|
||||
void config_set_interfaces(struct blob_attr *data);
|
||||
|
Reference in New Issue
Block a user