1. 02 11月, 2013 16 次提交
  2. 12 4月, 2013 1 次提交
  3. 09 4月, 2013 1 次提交
  4. 31 3月, 2013 1 次提交
  5. 17 3月, 2013 1 次提交
  6. 28 2月, 2013 1 次提交
  7. 15 2月, 2013 1 次提交
    • B
      net: cdc_ncm: fix probing of devices with multiple control interface altsettings · f350ca03
      Bjørn Mork 提交于
      commit bd329e12 ("net: cdc_ncm: do not bind to NCM compatible MBIM devices")
      added a test for a CDC MBIM altsetting, implementing the cdc_ncm part of
      MBIM backward compatibility support.  This intentionally made the driver
      behave differently for CDC NCM devices with 2 alternate settings for the
      Communication interface, depending on whether or not CONFIG_USB_NET_CDC_MBIM
      was enabled.  This is correct iff alternate setting #1 really *is* a MBIM
      setting.  If not, then NCM probing will use a different altsetting than before,
      possibly causing probing failures depending on CONFIG_USB_NET_CDC_MBIM.
      
      Fix by setting the altsetting back to default after the test, restoring the
      previous behaviour for non MBIM devices.
      
      This bug causes probing of Huawei E3276 devices to fail when the MBIM driver
      is enabled, because these devices have a second alternate setting with no CDC
      functional descriptors.
      
      Cc: Greg Suarez <gsuarez@smithmicro.com>
      Cc: Alexey Orishko <alexey.orishko@stericsson.com>
      Reported-and-tested-by: NJonathan A. <yo.natan@hotmail.com>
      Signed-off-by: NBjørn Mork <bjorn@mork.no>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f350ca03
  8. 07 2月, 2013 1 次提交
  9. 28 1月, 2013 1 次提交
  10. 22 1月, 2013 3 次提交
  11. 07 1月, 2013 1 次提交
  12. 20 12月, 2012 1 次提交
  13. 14 11月, 2012 1 次提交
    • B
      net: cdc_ncm: add Huawei devices · bbc8d922
      Bjørn Mork 提交于
      A number of Huawei 3G and LTE modems implement a CDC NCM function,
      including the necessary functional descriptors, but using a non
      standard interface layout and class/subclass/protocol codes.
      
      These devices can be handled by this driver with only a minor
      change to the probing logic, allowing a single combined control
      and data interface.  This works because the devices
      - include a CDC Union descriptor labelling the combined
        interface as both master and slave, and
      - have an alternate setting #1 for the bulk endpoints on the
        combined interface.
      
      The 3G/LTE network connection is managed by vendor specific AT
      commands on a serial function in the same composite device.
      Handling the managment function is out of the scope of this
      driver.  It will be handled by an appropriate USB serial
      driver.
      Reported-and-Tested-by: NOlof Ermis <olof.ermis@gmail.com>
      Reported-and-Tested-by: NTommy Cheng <tommy7765@yahoo.com>
      Signed-off-by: NBjørn Mork <bjorn@mork.no>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      bbc8d922
  14. 29 10月, 2012 2 次提交
  15. 26 10月, 2012 1 次提交
  16. 23 10月, 2012 7 次提交