1# Misc network drivers configuration options 2# SPDX-License-Identifier: Apache-2.0 3 4menuconfig NET_DRIVERS 5 bool "Network Drivers" 6 7if NET_DRIVERS 8 9# 10# PPP options 11# 12menuconfig NET_PPP 13 bool "Point-to-point (PPP) UART based driver" 14 depends on NET_L2_PPP 15 depends on NET_NATIVE 16 select RING_BUFFER 17 select UART_MUX if GSM_MUX 18 19if NET_PPP 20 21config NET_PPP_UART_NAME 22 string "UART device name the PPP is connected to" 23 depends on !MODEM_GSM_PPP 24 25config NET_PPP_DRV_NAME 26 string "PPP Driver name" 27 default "ppp" 28 help 29 This option sets the driver name 30 31config NET_PPP_MTU_MRU 32 int "PPP MTU and MRU" 33 default 1500 34 help 35 This options sets MTU and MRU for PPP link. 36 37config NET_PPP_UART_BUF_LEN 38 int "Buffer length when reading from UART" 39 default 8 40 help 41 This options sets the size of the UART buffer where data 42 is being read to. 43 44config NET_PPP_RINGBUF_SIZE 45 int "PPP ring buffer size" 46 default 256 47 help 48 PPP ring buffer size when passing data from RX ISR to worker 49 thread that will pass the data to IP stack. 50 51config NET_PPP_RX_STACK_SIZE 52 int "Size of the stack allocated for receiving data from modem" 53 default 768 54 help 55 Sets the stack size which will be used by the PPP RX workqueue. 56 57config NET_PPP_RX_PRIORITY 58 int "RX workqueue thread priority" 59 default 7 60 help 61 Sets the priority of the RX workqueue thread. 62 63config NET_PPP_VERIFY_FCS 64 bool "Verify that received FCS is valid" 65 default y 66 help 67 If you have a reliable link, then it might make sense 68 to disable this as it takes some time to verify the received 69 packet. 70 71config PPP_MAC_ADDR 72 string "MAC address for the interface" 73 help 74 Specify a MAC address for the PPP interface in the form of 75 six hex 8-bit chars separated by colons (e.g.: 76 aa:33:cc:22:e2:c0). The default is an empty string, which 77 means the code will make 00:00:5E:00:53:XX, where XX will be 78 random. 79 80config PPP_CLIENT_CLIENTSERVER 81 bool "Reply to the request CLIENT with CLIENTSERVER" 82 help 83 This is only necessary if a ppp connection should be 84 established with a Microsoft Windows PC. 85 86module = NET_PPP 87module-dep = LOG 88module-str = Log level for ppp driver 89module-help = Sets log level for ppp driver. 90source "subsys/net/Kconfig.template.log_config.net" 91 92endif # NET_PPP 93 94# 95# SLIP options 96# 97menuconfig SLIP 98 bool "SLIP driver" if !QEMU_TARGET 99 depends on NET_NATIVE 100 select UART_PIPE 101 select UART_INTERRUPT_DRIVEN 102 103if SLIP 104 105config SLIP_DRV_NAME 106 string "SLIP Driver name" 107 default "slip" 108 help 109 This option sets the driver name 110 111module = SLIP 112module-dep = LOG 113module-str = Log level for slip driver 114module-help = Sets log level for slip driver. 115source "subsys/net/Kconfig.template.log_config.net" 116 117config SLIP_STATISTICS 118 bool "SLIP network connection statistics" 119 help 120 This option enables statistics support for SLIP driver. 121 122config SLIP_TAP 123 bool "Use TAP interface to host" 124 default y 125 select NET_L2_ETHERNET 126 help 127 In TAP the Ethernet frames are transferred over SLIP. 128 129config SLIP_MAC_ADDR 130 string "MAC address for the interface" 131 help 132 Specify a MAC address for the SLIP interface in the form of 133 six hex 8-bit chars separated by colons (e.g.: 134 aa:33:cc:22:e2:c0). The default is an empty string, which 135 means the code will make 00:00:5E:00:53:XX, where XX will be 136 random. 137 138endif 139 140# 141# Net loopback options 142# 143menuconfig NET_LOOPBACK 144 bool "Net loopback driver" 145 select NET_L2_DUMMY 146 147if NET_LOOPBACK 148 149module = NET_LOOPBACK 150module-dep = LOG 151module-str = Log level for network loopback driver 152module-help = Sets log level for network loopback driver. 153source "subsys/net/Kconfig.template.log_config.net" 154 155endif 156 157endif # NET_DRIVERS 158