1# Copyright (c) 2023 Trackunit Corporation
2# SPDX-License-Identifier: Apache-2.0
3
4menuconfig MODEM_MODULES
5	bool "Modem modules"
6	select EXPERIMENTAL
7
8if MODEM_MODULES
9
10config MODEM_CHAT
11	bool "Modem chat module"
12	select RING_BUFFER
13	select MODEM_PIPE
14
15if MODEM_CHAT
16
17config MODEM_CHAT_LOG_BUFFER
18	int "Modem chat log buffer size"
19	default 128
20
21endif
22
23config MODEM_CMUX
24	bool "Modem CMUX module"
25	select MODEM_PIPE
26	select RING_BUFFER
27	select EVENTS
28	select CRC
29
30if MODEM_CMUX
31
32module = MODEM_CMUX
33module-str = modem_cmux
34source "subsys/logging/Kconfig.template.log_config"
35
36endif
37
38config MODEM_PIPE
39	bool "Modem pipe module"
40
41config MODEM_PPP
42	bool "Modem PPP module"
43	depends on NET_L2_PPP
44	select MODEM_PIPE
45	select RING_BUFFER
46	select CRC
47
48if MODEM_PPP
49
50config MODEM_PPP_NET_BUF_FRAG_SIZE
51	int "Network buffer fragment size"
52	default NET_BUF_DATA_SIZE if NET_BUF_FIXED_DATA_SIZE
53	default 128
54
55endif
56
57module = MODEM_MODULES
58module-str = modem_modules
59source "subsys/logging/Kconfig.template.log_config"
60
61rsource "backends/Kconfig"
62
63endif
64