lkml.org 
[lkml]   [2015]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.16.y-ckt 035/183] Bluetooth: ath3k: Add support of AR3012 bluetooth 13d3:3423 device
    Date
    3.16.7-ckt8 -stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Dmitry Tunin <hanipouspilot@gmail.com>

    commit 033efa920a7f22a8caf7a38d851a2f451781bbf7 upstream.

    Add support of 13d3:3423 device.

    BugLink: https://bugs.launchpad.net/bugs/1411193

    T: Bus=01 Lev=02 Prnt=03 Port=00 Cnt=01 Dev#= 5 Spd=12 MxCh= 0
    D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
    P: Vendor=13d3 ProdID=3423 Rev= 0.01
    C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
    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=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
    E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
    I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
    E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
    E: Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
    E: Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
    E: Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
    E: Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms
    E: Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
    E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms

    Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
    ---
    drivers/bluetooth/ath3k.c | 2 ++
    drivers/bluetooth/btusb.c | 1 +
    2 files changed, 3 insertions(+)

    diff --git a/drivers/bluetooth/ath3k.c b/drivers/bluetooth/ath3k.c
    index c8398678ead4..6f08271c1d99 100644
    --- a/drivers/bluetooth/ath3k.c
    +++ b/drivers/bluetooth/ath3k.c
    @@ -108,6 +108,7 @@ static const struct usb_device_id ath3k_table[] = {
    { USB_DEVICE(0x13d3, 0x3393) },
    { USB_DEVICE(0x13d3, 0x3402) },
    { USB_DEVICE(0x13d3, 0x3408) },
    + { USB_DEVICE(0x13d3, 0x3423) },
    { USB_DEVICE(0x13d3, 0x3432) },

    /* Atheros AR5BBU12 with sflash firmware */
    @@ -162,6 +163,7 @@ static const struct usb_device_id ath3k_blist_tbl[] = {
    { USB_DEVICE(0x13d3, 0x3393), .driver_info = BTUSB_ATH3012 },
    { USB_DEVICE(0x13d3, 0x3402), .driver_info = BTUSB_ATH3012 },
    { USB_DEVICE(0x13d3, 0x3408), .driver_info = BTUSB_ATH3012 },
    + { USB_DEVICE(0x13d3, 0x3423), .driver_info = BTUSB_ATH3012 },
    { USB_DEVICE(0x13d3, 0x3432), .driver_info = BTUSB_ATH3012 },

    /* Atheros AR5BBU22 with sflash firmware */
    diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
    index b7fa7ac76fdb..08a063b17546 100644
    --- a/drivers/bluetooth/btusb.c
    +++ b/drivers/bluetooth/btusb.c
    @@ -187,6 +187,7 @@ static const struct usb_device_id blacklist_table[] = {
    { USB_DEVICE(0x13d3, 0x3393), .driver_info = BTUSB_ATH3012 },
    { USB_DEVICE(0x13d3, 0x3402), .driver_info = BTUSB_ATH3012 },
    { USB_DEVICE(0x13d3, 0x3408), .driver_info = BTUSB_ATH3012 },
    + { USB_DEVICE(0x13d3, 0x3423), .driver_info = BTUSB_ATH3012 },
    { USB_DEVICE(0x13d3, 0x3432), .driver_info = BTUSB_ATH3012 },

    /* Atheros AR5BBU12 with sflash firmware */

    \
     
     \ /
      Last update: 2015-03-06 12:21    [W:4.062 / U:0.072 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site