blob: e72e614d54cbba8e2066aa11cbf5563f73ccfca8 [file] [log] [blame]
# Copyright (c) 2019 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
menuconfig NET_CONNECTION_MANAGER
bool "Network connection manager [EXPERIMENTAL]"
depends on NET_IPV6 || NET_IPV4
select NET_MGMT
select NET_MGMT_EVENT
select NET_MGMT_EVENT_INFO
select EXPERIMENTAL
help
When enabled, this will start the connection manager that will
listen to network interface and IP events in order to verify
whether an interface is connected or not. It will then raise
L4 events "connected" or "disconnected" depending on the result.
if NET_CONNECTION_MANAGER
module = NET_CONNECTION_MANAGER
module-dep = NET_LOG
module-str = Log level for connection manager
module-help = Enables connection manager code to output debug messages.
source "subsys/net/Kconfig.template.log_config.net"
config NET_CONNECTION_MANAGER_MONITOR_STACK_SIZE
int "Size of the stack allocated for the conn_mgr_monitor thread"
default 512
help
Sets the stack size which will be used by the connection manager for connectivity monitoring.
config NET_CONNECTION_MANAGER_MONITOR_PRIORITY
int "Monitoring thread starting priority"
default 1
range 1 99
help
This sets the starting priority of the conn_mgr_monitor thread.
config NET_CONNECTION_MANAGER_AUTO_IF_DOWN
bool "Automatically call net_if_down on ifaces that have given up on connecting"
default y
endif # NET_CONNECTION_MANAGER