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_SIZE 18 int "Modem chat log buffer size in bytes" 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 32config MODEM_CMUX_WORK_BUFFER_SIZE 33 int "CMUX module work buffer size in bytes" 34 range 16 1500 35 default 64 36 37module = MODEM_CMUX 38module-str = modem_cmux 39source "subsys/logging/Kconfig.template.log_config" 40 41endif 42 43config MODEM_PIPE 44 bool "Modem pipe module" 45 select EVENTS 46 47config MODEM_PIPELINK 48 bool "Modem pipelink module" 49 depends on MODEM_PIPE 50 51config MODEM_PPP 52 bool "Modem PPP module" 53 depends on NET_L2_PPP 54 select MODEM_PIPE 55 select RING_BUFFER 56 select CRC 57 58if MODEM_PPP 59 60config MODEM_PPP_NET_BUF_FRAG_SIZE 61 int "Network buffer fragment size" 62 default NET_BUF_DATA_SIZE if NET_BUF_FIXED_DATA_SIZE 63 default 128 64 65endif 66 67config MODEM_STATS 68 bool "Modem statistics" 69 depends on SHELL 70 help 71 Enables modem statistics shell commands which track the usage of 72 buffers across the modem modules. The statistics are useful for 73 scaling buffer sizes, as these are application specific. 74 75config MODEM_STATS_BUFFER_NAME_SIZE 76 int "Maximum string size of modem stats buffer name" 77 default 32 78 range 8 64 79 80config MODEM_UBX 81 bool "Modem U-BLOX module" 82 select RING_BUFFER 83 select MODEM_PIPE 84 help 85 Enable Modem U-BLOX module. 86 87if MODEM_UBX 88 89config MODEM_UBX_LOG_BUFFER 90 int "Modem U-BLOX log buffer size" 91 default 128 92 93endif 94 95module = MODEM_MODULES 96module-str = modem_modules 97source "subsys/logging/Kconfig.template.log_config" 98 99rsource "backends/Kconfig" 100 101endif 102