1
0
Fork 0
forked from nuttx/nuttx-update

Merged in antmerlino/nuttx/rndis (pull request #980)

drivers/usbdev/rndis: Expose option to change number of write requests that can be in flight.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
Anthony Merlino 2019-08-10 17:52:19 +00:00 committed by Gregory Nutt
parent 4f696dc9cd
commit 1e3a60155e
2 changed files with 9 additions and 1 deletions

View file

@ -736,6 +736,12 @@ menuconfig RNDIS
if RNDIS
config RNDIS_NWRREQS
int "The number of write requests that can be in flight"
default 2
---help---
The number of write/read requests that can be in flight
config RNDIS_COMPOSITE
bool "RNDIS composite support"
default n

View file

@ -69,7 +69,9 @@
#define CONFIG_RNDIS_EP0MAXPACKET 64
#ifndef CONFIG_RNDIS_NWRREQS
# define CONFIG_RNDIS_NWRREQS (2)
#endif
#define RNDIS_PACKET_HDR_SIZE (sizeof(struct rndis_packet_msg))
#define CONFIG_RNDIS_BULKIN_REQLEN \