zephyr/subsys/usb/class/netusb
Nicolas LANTZ 766101cf09 usb: netusb: Align NETUSB_MTU & wMaxSegmentSize and increase it to 1522
As rx_buf & tx_buf are defined with a NETUSB_MTU size, this cause
that the frames over 1500 bytes can not be received and are discarded.

Secondly, as fragmentation is not supported (for UDP and TCP datagram),
increase NETUSB_MTU to the maximum possible ethernet frame size :1522

Signed-off-by: Nicolas LANTZ <nicolas.lantz@ubicore.net>
2019-02-04 17:52:35 +01:00
..
CMakeLists.txt
Kconfig
function_ecm.c usb: netusb: Align NETUSB_MTU & wMaxSegmentSize and increase it to 1522 2019-02-04 17:52:35 +01:00
function_eem.c usb: Add instance parameter to descriptors definitions 2019-02-01 19:11:32 -05:00
function_rndis.c usb: Add instance parameter to descriptors definitions 2019-02-01 19:11:32 -05:00
function_rndis.h
netusb.c misra-c: Add 'U' to unsigned variable assignments in subsys/ 2018-12-04 22:51:56 -05:00
netusb.h usb: netusb: Align NETUSB_MTU & wMaxSegmentSize and increase it to 1522 2019-02-04 17:52:35 +01:00