1# Copyright (c) 2019 Intel Corporation 2# SPDX-License-Identifier: Apache-2.0 3 4menuconfig NET_CONNECTION_MANAGER 5 bool "Network connection manager [EXPERIMENTAL]" 6 depends on NET_IPV6 || NET_IPV4 7 select NET_MGMT 8 select NET_MGMT_EVENT 9 select NET_MGMT_EVENT_INFO 10 select EXPERIMENTAL 11 help 12 When enabled, this will start the connection manager that will 13 listen to network interface and IP events in order to verify 14 whether an interface is connected or not. It will then raise 15 L4 events "connected" or "disconnected" depending on the result. 16 17if NET_CONNECTION_MANAGER 18 19module = NET_CONNECTION_MANAGER 20module-dep = NET_LOG 21module-str = Log level for connection manager 22module-help = Enables connection manager code to output debug messages. 23source "subsys/net/Kconfig.template.log_config.net" 24 25config NET_CONNECTION_MANAGER_MONITOR_STACK_SIZE 26 int "Size of the stack allocated for the conn_mgr_monitor thread" 27 default 512 28 help 29 Sets the stack size which will be used by the connection manager for connectivity monitoring. 30 31config NET_CONNECTION_MANAGER_MONITOR_PRIORITY 32 int "Monitoring thread starting priority" 33 default 1 34 range 1 99 35 help 36 This sets the starting priority of the conn_mgr_monitor thread. 37 38config NET_CONNECTION_MANAGER_AUTO_IF_DOWN 39 bool "Automatically call net_if_down on ifaces that have given up on connecting" 40 default y 41 42config NET_CONNECTION_MANAGER_CONNECTIVITY_WIFI_MGMT 43 bool "Generic WiFi management connectivity implementation" 44 depends on NET_L2_WIFI_MGMT 45 help 46 Enable CONNECTIVITY_WIFI_MGMT connectivity bindings on WiFi drivers. 47 Which implementation is compiled is controlled via CONNECTIVITY_WIFI_MGMT_IMPL. 48 49choice CONNECTIVITY_WIFI_MGMT_IMPL 50 prompt "Implementation of the generic wifi_mgmt connectivity backend" 51 depends on NET_CONNECTION_MANAGER_CONNECTIVITY_WIFI_MGMT 52 default CONNECTIVITY_WIFI_MGMT_APPLICATION 53 54config CONNECTIVITY_WIFI_MGMT_APPLICATION 55 bool "Application specific implementation of the connectivity backend" 56 help 57 The application defines its own implementation of CONNECTIVITY_WIFI_MGMT. 58 59endchoice 60 61endif # NET_CONNECTION_MANAGER 62