1# Copyright (c) 2025 Jorge A. Ramirez-Ortiz <jorge.ramirez@oss.qualcomm.com>
2# SPDX-License-Identifier: Apache-2.0
3
4config NET_LATMON
5	bool "Latency monitoring support"
6	select EXPERIMENTAL
7	select NET_SOCKETS
8	depends on NET_TCP
9	help
10	  This option enables the latency monitoring support for Zephyr
11
12if NET_LATMON
13config NET_LATMON_PORT
14	int "Latmon - Latmus communication port"
15	default 2306
16	help
17	  Specify the port number used for Latmon - Latmus communication.
18
19config NET_LATMON_XFER_THREAD_STACK_SIZE
20	int "Stack size for the network transfer thread"
21	default 8192
22	help
23	Specify the stack size for the network transfer thread used in latency monitoring.
24
25config NET_LATMON_XFER_THREAD_PRIORITY
26	int "Priority for the network transfer thread"
27	default 14
28	help
29	  Specify the priority for the network transfer thread used in latency monitoring.
30
31config NET_LATMON_THREAD_STACK_SIZE
32	int "Stack size for the Latmon thread"
33	default 8192
34	help
35	  Specify the stack size for the Latmon thread used in latency monitoring.
36
37config NET_LATMON_THREAD_PRIORITY
38	int "Priority for the Latmon thread"
39	default 14
40	help
41	  Specify the priority for the Latmon thread used in latency monitoring.
42
43config NET_LATMON_MONITOR_THREAD_STACK_SIZE
44	int "Stack size for the monitor thread"
45	default 8192
46	help
47	  Specify the stack size for the monitor thread used in latency monitoring.
48
49config NET_LATMON_MONITOR_THREAD_PRIORITY
50	int "Priority for the monitor thread"
51	default -16
52	help
53	  Specify the priority for the monitor thread used in latency monitoring.
54
55module = LATMON
56module-dep = NET_LOG
57module-str = Latency monitoring Service
58module-help = This option enables the latency monitoring support for Zephyr
59source "subsys/net/Kconfig.template.log_config.net"
60
61endif
62