Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | # Kconfig - netusb configuration options # # Copyright (c) 2017 Intel Corp. # # SPDX-License-Identifier: Apache-2.0 # menu "USB Device Networking support" depends on USB_DEVICE_STACK config USB_DEVICE_NETWORK bool select NET_L2_ETHERNET config USB_DEVICE_NETWORK_ECM bool "USB Ethernet Control Model (ECM) Networking device" select USB_DEVICE_NETWORK help Ethernet Control Model (ECM) is a part of Communications Device Class (CDC) USB protocol specified by USB-IF. config USB_DEVICE_NETWORK_EEM bool "USB Ethernet Emulation Model (EEM) Networking device" select USB_DEVICE_NETWORK help Ethernet Emulation Model (EEM) is part of Communications Device Class (CDC) USB protocol and can be used to encapsulate Ethernet frames for transport over USB. config USB_DEVICE_NETWORK_RNDIS bool "USB Remote NDIS (RNDIS) Networking device" select USB_DEVICE_NETWORK select USB_COMPOSITE_DEVICE help Remote NDIS (RNDIS) is commonly used Microsoft vendor protocol with Specification available from Microsoft web site. if USB_DEVICE_NETWORK_ECM config CDC_ECM_INTERRUPT_EP_MPS int default 16 help CDC ECM class interrupt endpoint size config CDC_ECM_BULK_EP_MPS int default 64 help CDC ECM class bulk endpoint size config USB_DEVICE_NETWORK_ECM_MAC string default "00005E005301" help MAC Host OS Address string. MAC Address which would be assigned to network device, created in the Host's Operating System. Use RFC 7042 Documentation values as default MAC. endif # USB_DEVICE_NETWORK_ECM if USB_DEVICE_NETWORK_EEM config CDC_EEM_BULK_EP_MPS int default 64 endif #USB_DEVICE_NETWORK_EEM if USB_DEVICE_NETWORK_RNDIS config RNDIS_INTERRUPT_EP_MPS int default 16 help RNDIS interrupt endpoint size config RNDIS_BULK_EP_MPS int default 64 help RNDIS bulk endpoint size endif # USB_DEVICE_NETWORK_RNDIS if USB_DEVICE_NETWORK config SYS_LOG_USB_DEVICE_NETWORK_DEBUG_LEVEL int "USB Device Network debug log level" default 1 help Sets log level for USB Device Network class Levels are: - 0 OFF, do not write - 1 ERROR, only write SYS_LOG_ERR - 2 WARNING, write SYS_LOG_WRN in addition to previous level - 3 INFO, write SYS_LOG_INF in addition to previous levels - 4 DEBUG, write SYS_LOG_DBG in addition to previous levels endif # USB_DEVICE_NETWORK endmenu # USB Device Networking support |