1. 22 1月, 2013 2 次提交
    • B
      net: cdc_mbim: send ZLP after max sized NTBs · 328d7b8a
      Bjørn Mork 提交于
      We normally avoid sending ZLPs by padding NTBs with a zero byte
      if the NTB is shorter than dwNtbOutMaxSize, resulting in a short
      USB packet instead of a ZLP.  But in the case where the NTB length
      is exactly dwNtbOutMaxSize and this is an exact multiplum of
      wMaxPacketSize, then we must send a ZLP.
      
      This fixes an issue seen on a Sierra Wireless MC7710 device
      where the transmission would fail whenever we ended up padding
      the NTBs to max size.
      Signed-off-by: NBjørn Mork <bjorn@mork.no>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      328d7b8a
    • B
      net: cdc_ncm: workaround for missing CDC Union · 9992c2e2
      Bjørn Mork 提交于
      Adding support for the MBIM mode in some Sierra Wireless devices.
      
      Some Sierra Wireless firmwares support CDC MBIM but have no CDC
      Union funtional descriptor. This violates the MBIM specification,
      but we can easily work around the bug by looking at the Interface
      Association Descriptor instead.  This is most likely what
      Windows uses too, which explains how the firmware bug has gone
      unnoticed until now.
      
      This change will not affect any currently supported device
      conforming to the NCM or MBIM specifications, as they must have
      the CDC Union descriptor.
      
      Cc: Greg Suarez <gsuarez@smithmicro.com>
      Cc: Alexey Orishko <alexey.orishko@stericsson.com>
      Signed-off-by: NBjørn Mork <bjorn@mork.no>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9992c2e2
  2. 20 1月, 2013 1 次提交
  3. 19 1月, 2013 4 次提交
  4. 18 1月, 2013 3 次提交
  5. 17 1月, 2013 3 次提交
  6. 16 1月, 2013 2 次提交
  7. 15 1月, 2013 5 次提交
  8. 14 1月, 2013 5 次提交
  9. 13 1月, 2013 12 次提交
  10. 12 1月, 2013 3 次提交