Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/usb



Module Name:    src
Committed By:   maya
Date:           Fri Nov  9 21:57:09 UTC 2018

Modified Files:
        src/sys/dev/usb: if_urndis.c if_urndisreg.h

Log Message:
Set and check NDIS version.

Throw away length 1 packets without a warning: we already throw away messages
with (len < sizeof(*msg)) a short while after, but print a warning.

Hardware is allowed to pad USB packets which % wMaxPacketSize length with
such packets for hardware implementation simplicity reasons.

This is described in
https://docs.microsoft.com/en-us/windows-hardware/drivers/network/usb-short-packets

>From Artturi Alm in tech-net, with amendment from pgoyette.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/usb/if_urndis.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/usb/if_urndisreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index