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:
parent
4f696dc9cd
commit
1e3a60155e
2 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue