1. 30 Jul, 2015 7 commits
    • Daniel Drake's avatar
      Bluetooth: btusb: match generic class code in interface descriptor · d63b2826
      Daniel Drake authored
      btusb currently has a generic match on USB device descriptors:
              { USB_DEVICE_INFO(0xe0, 0x01, 0x01) },
      
      However, http://www.usb.org/developers/defined_class states:
      
        Base Class E0h (Wireless Controller)
        This base class is defined for devices that are Wireless controllers.
        Values not shown in the table below are reserved. These class codes are
        to be used in Interface Descriptors, with the exception of the Bluetooth
        class code which can also be used in a Device Descriptor.
      
      Add a match on the interface descriptors accordingly.
      
      This fixes compatibility with the RTL8723AU device shown below.
      This device conforms to the USB Interface Association Descriptor
      specification, which requires the device to have class ef/02/01.
      The extra IAD descriptor then specifies that interfaces 0 and 1
      belong to the same function/driver, which is true. Provided that
      the Bluetooth device class spec accepts use of the IAD, I imagine that
      technically, all btusb devices should be configured like this.
      
      T:  Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  3 Spd=480  MxCh= 0
      D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
      P:  Vendor=0bda ProdID=0724 Rev= 2.00
      S:  Manufacturer=Realtek
      S:  Product=802.11n WLAN Adapter
      S:  SerialNumber=00e04c000001
      C:* #Ifs= 3 Cfg#= 1 Atr=e0 MxPwr=500mA
      A:  FirstIf#= 0 IfCount= 2 Cls=e0(wlcon) Sub=01 Prot=01
      I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=1ms
      E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=03(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
      E:  Ad=83(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
      I:  If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=03(O) Atr=01(Isoc) MxPS=   9 Ivl=1ms
      E:  Ad=83(I) Atr=01(Isoc) MxPS=   9 Ivl=1ms
      I:  If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=03(O) Atr=01(Isoc) MxPS=  17 Ivl=1ms
      E:  Ad=83(I) Atr=01(Isoc) MxPS=  17 Ivl=1ms
      I:  If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=03(O) Atr=01(Isoc) MxPS=  25 Ivl=1ms
      E:  Ad=83(I) Atr=01(Isoc) MxPS=  25 Ivl=1ms
      I:  If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=03(O) Atr=01(Isoc) MxPS=  33 Ivl=1ms
      E:  Ad=83(I) Atr=01(Isoc) MxPS=  33 Ivl=1ms
      I:  If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=03(O) Atr=01(Isoc) MxPS=  49 Ivl=1ms
      E:  Ad=83(I) Atr=01(Isoc) MxPS=  49 Ivl=1ms
      I:* If#= 2 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=ff Prot=ff Driver=rtl8723au
      E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      E:  Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      E:  Ad=87(I) Atr=03(Int.) MxPS=  64 Ivl=500us
      Signed-off-by: default avatarDaniel Drake <drake@endlessm.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      d63b2826
    • Arron Wang's avatar
      Bluetooth: Move create/accept phy link completed callback to amp.c · df9b89c7
      Arron Wang authored
      To avoid amp module hooks from hci_event.c
      Signed-off-by: default avatarArron Wang <arron.wang@intel.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      df9b89c7
    • Arron Wang's avatar
      Bluetooth: Move amp assoc read/write completed callback to amp.c · b3d39140
      Arron Wang authored
      To avoid amp module hooks from hci_event.c
      Signed-off-by: default avatarArron Wang <arron.wang@intel.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      b3d39140
    • Arron Wang's avatar
      Bluetooth: Move get info completed callback to a2mp.c · 83927882
      Arron Wang authored
      To avoid a2mp module hooks from hci_event.c and send
      getinfo response operation only required by a2mp module,
      we can move this callback to a2mp.c
      Signed-off-by: default avatarArron Wang <arron.wang@intel.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      83927882
    • Arron Wang's avatar
    • Arron Wang's avatar
      Bluetooth: Add BT_HS config option · 244bc377
      Arron Wang authored
      Move A2MP Module under BT_HS config option and allow
      the user have flexible option to choose the feature only
      they need
      
      a2mp_discover_amp() & a2mp_channel_create() are a2mp module
      entry point for master and slave, and this is dynamic
      invoked depends on the userspace or remote request, then
      we defined their implementation depends on BT_HS config
      Signed-off-by: default avatarArron Wang <arron.wang@intel.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      244bc377
    • Frederic Danis's avatar
      Bluetooth: btbcm: Add BCM4330B1 UART device · 4a546ec3
      Frederic Danis authored
      Add "waiting for configuration" address.
      Add lmp_subver and firmware name for BCM4330B1 controller.
      Signed-off-by: default avatarFrederic Danis <frederic.danis@linux.intel.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      4a546ec3
  2. 27 Jul, 2015 3 commits
  3. 23 Jul, 2015 29 commits
  4. 22 Jul, 2015 1 commit
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · c5dfd654
      Linus Torvalds authored
      Pull networking fixes from David Miller:
      
       1) Don't use shared bluetooth antenna in iwlwifi driver for management
          frames, from Emmanuel Grumbach.
      
       2) Fix device ID check in ath9k driver, from Felix Fietkau.
      
       3) Off by one in xen-netback BUG checks, from Dan Carpenter.
      
       4) Fix IFLA_VF_PORT netlink attribute validation, from Daniel Borkmann.
      
       5) Fix races in setting peeked bit flag in SKBs during datagram
          receive.  If it's shared we have to clone it otherwise the value can
          easily be corrupted.  Fix from Herbert Xu.
      
       6) Revert fec clock handling change, causes regressions.  From Fabio
          Estevam.
      
       7) Fix use after free in fq_codel and sfq packet schedulers, from WANG
          Cong.
      
       8) ipvlan bug fixes (memory leaks, missing rcu_dereference_bh, etc.)
          from WANG Cong and Konstantin Khlebnikov.
      
       9) Memory leak in act_bpf packet action, from Alexei Starovoitov.
      
      10) ARM bpf JIT bug fixes from Nicolas Schichan.
      
      11) Fix backwards compat of ANY_LAYOUT in virtio_net driver, from
          Michael S Tsirkin.
      
      12) Destruction of bond with different ARP header types not handled
          correctly, fix from Nikolay Aleksandrov.
      
      13) Revert GRO receive support in ipv6 SIT tunnel driver, causes
          regressions because the GRO packets created cannot be processed
          properly on the GSO side if we forward the frame.  From Herbert Xu.
      
      14) TCCR update race and other fixes to ravb driver from Sergei
          Shtylyov.
      
      15) Fix SKB leaks in caif_queue_rcv_skb(), from Eric Dumazet.
      
      16) Fix panics on packet scheduler filter replace, from Daniel Borkmann.
      
      17) Make sure AF_PACKET sees properly IP headers in defragmented frames
          (via PACKET_FANOUT_FLAG_DEFRAG option), from Edward Hyunkoo Jee.
      
      18) AF_NETLINK cannot hold mutex in RCU callback, fix from Florian
          Westphal.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (84 commits)
        ravb: fix ring memory allocation
        net: phy: dp83867: Fix warning check for setting the internal delay
        openvswitch: allocate nr_node_ids flow_stats instead of num_possible_nodes
        netlink: don't hold mutex in rcu callback when releasing mmapd ring
        ARM: net: fix vlan access instructions in ARM JIT.
        ARM: net: handle negative offsets in BPF JIT.
        ARM: net: fix condition for load_order > 0 when translating load instructions.
        tcp: suppress a division by zero warning
        drivers: net: cpsw: remove tx event processing in rx napi poll
        inet: frags: fix defragmented packet's IP header for af_packet
        net: mvneta: fix refilling for Rx DMA buffers
        stmmac: fix setting of driver data in stmmac_dvr_probe
        sched: cls_flow: fix panic on filter replace
        sched: cls_flower: fix panic on filter replace
        sched: cls_bpf: fix panic on filter replace
        net/mdio: fix mdio_bus_match for c45 PHY
        net: ratelimit warnings about dst entry refcount underflow or overflow
        caif: fix leaks and race in caif_queue_rcv_skb()
        qmi_wwan: add the second QMI/network interface for Sierra Wireless MC7305/MC7355
        ravb: fix race updating TCCR
        ...
      c5dfd654