1# Copyright (c) 2024 Nordic Semiconductor ASA 2# 3# SPDX-License-Identifier: Apache-2.0 4 5config USBD_CDC_NCM_CLASS 6 bool "USB CDC NCM implementation [EXPERIMENTAL]" 7 default y 8 depends on NET_L2_ETHERNET 9 depends on DT_HAS_ZEPHYR_CDC_NCM_ETHERNET_ENABLED 10 select EXPERIMENTAL 11 help 12 USB CDC Network Control Model (NCM) implementation 13 14if USBD_CDC_NCM_CLASS 15 16config USBD_CDC_NCM_MAX_DGRAM_PER_NTB 17 int "Max number of received datagrams per NTB" 18 range 0 $(UINT16_MAX) 19 default 2 20 help 21 How many datagrams we are able to receive per NTB. 22 23config USBD_CDC_NCM_SUPPORT_NTB32 24 bool "Support NTB32 format" 25 help 26 Enable support for NTB32 format which allows larger 27 packet sizes. 28 29module = USBD_CDC_NCM 30module-str = usbd cdc_ncm 31source "subsys/logging/Kconfig.template.log_config" 32 33endif 34