mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
The maximum NCM frame size must be so that it
will generate a short terminated USB transfer if the maximum NCM frame size is greater than what the driver can handle. Reported by: Matthias Benesch MFC after: 7 days Approved by: thompsa (mentor)
This commit is contained in:
parent
7a2b83683d
commit
4309793b64
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@
|
|||
#define CDCE_IND_SIZE_MAX 32 /* bytes */
|
||||
|
||||
#define CDCE_NCM_TX_MINLEN 512 /* bytes, must be power of two */
|
||||
#define CDCE_NCM_TX_MAXLEN (1UL << 14) /* bytes */
|
||||
#define CDCE_NCM_TX_MAXLEN (16384 + 4) /* bytes, must be short terminated */
|
||||
#define CDCE_NCM_TX_FRAMES_MAX 8 /* units */
|
||||
|
||||
#define CDCE_NCM_RX_MAXLEN (1UL << 14) /* bytes */
|
||||
|
|
|
|||
Loading…
Reference in a new issue