config: reduce remote node timeout to 10 update intervals
Even when there are network issues, we shouldn't keep stale data
around for so long
Signed-off-by: Felix Fietkau <[email protected]>
add support for defining global host info
Change the '*' in the node info update cmd to refer to host info instead
Signed-off-by: Felix Fietkau <[email protected]>
ubus: add support for getting a list of remote hosts
Signed-off-by: Felix Fietkau <[email protected]>
remote: track remote hosts as a separate data structure
Will be used to track host info
Signed-off-by: Felix Fietkau <[email protected]>
rename script_data to node_info
It's a more descriptive name, and we will have host_info later as well
Signed-off-by: Felix Fietkau <[email protected]>
rename a few functions in preparation for renaming script_data to node_info
Signed-off-by: Felix Fietkau <[email protected]>
ubus: add api for modifying node script data
This is replicated across nodes
Signed-off-by: Felix Fietkau <[email protected]>
ubus: display script data when dumping node info
Signed-off-by: Felix Fietkau <[email protected]>
config: check for empty ssid list
Without this check, an empty ssid list array results in a config with no nodes
Signed-off-by: Felix Fietkau <[email protected]>
openwrt: add missing config handling for event log types
Signed-off-by: Felix Fietkau <[email protected]>
make list of steering-enabled SSIDs configurable
Signed-off-by: Felix Fietkau <[email protected]>
openwrt: add documentation for uci options in the config file
Signed-off-by: Felix Fietkau <[email protected]>
rework log handling
- make logging events more structured
- add fine grained control over log events
- make it possible to receive more detailed events via ubus
Signed-off-by: Felix Fietkau <[email protected]>
openwrt: fix path to daemon in init script
Signed-off-by: Felix Fietkau <[email protected]>
policy: always accept assoc requests by default
Only steer using probe responses to avoid connection issues
Signed-off-by: Felix Fietkau <[email protected]>
policy: always accept auth requests
Signed-off-by: Felix Fietkau <[email protected]>