USB CDC NCM errata updates for cdc_ncm host driver
authorAlexey Orishko <alexey.orishko@gmail.com>
Mon, 7 Feb 2011 09:45:10 +0000 (09:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Feb 2011 21:54:43 +0000 (13:54 -0800)
commit84e77a8bc73cad2f910cc981f266904c66a17825
tree461520f8e7fedc3d806826e1acc5c86c6fd5a7c7
parent3a9dda7602e566014a859faaf8490e6454683ab1
USB CDC NCM errata updates for cdc_ncm host driver

Specification links:
- CDC NCM errata link:
  http://www.usb.org/developers/devclass_docs/NCM10_012011.zip
- CDC and WMC errata link:
  http://www.usb.org/developers/devclass_docs/CDC1.2_WMC1.1_012011.zip

Changes:
- driver updated to match cdc.h header with errata changes
- added support for USB_CDC_SET_NTB_INPUT_SIZE control request with
  8 byte length
- fixes to comply with specification: send only control requests supported by
  device, set number of datagrams for IN direction, connection speed structure
  update, etc.
- packet loss fixed for tx direction; misleading flag renamed.
- adjusted hard_mtu value.

Signed-off-by: Alexey Orishko <alexey.orishko@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ncm.c