]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/3.19.7/bluetooth-ath3k-add-support-atheros-ar5b195-combo-mini-pcie-card.patch
4.9-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 3.19.7 / bluetooth-ath3k-add-support-atheros-ar5b195-combo-mini-pcie-card.patch
1 From 2eeff0b4317a02f0e281df891d990194f0737aae Mon Sep 17 00:00:00 2001
2 From: Alexander Ploumistos <alex.ploumistos@gmail.com>
3 Date: Fri, 13 Feb 2015 21:05:11 +0200
4 Subject: Bluetooth: ath3k: Add support Atheros AR5B195 combo Mini PCIe card
5
6 From: Alexander Ploumistos <alex.ploumistos@gmail.com>
7
8 commit 2eeff0b4317a02f0e281df891d990194f0737aae upstream.
9
10 Add 04f2:aff1 to ath3k.c supported devices list and btusb.c blacklist, so
11 that the device can load the ath3k firmware and re-enumerate itself as an
12 AR3011 device.
13
14 T: Bus=05 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
15 D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
16 P: Vendor=04f2 ProdID=aff1 Rev= 0.01
17 C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
18 I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
19 E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
20 E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
21 E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
22 I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
23 E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
24 E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms
25 I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
26 E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
27 E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms
28 I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
29 E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
30 E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms
31 I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
32 E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
33 E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms
34 I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
35 E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms
36 E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms
37 I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
38 E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
39 E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
40
41 Signed-off-by: Alexander Ploumistos <alexpl@fedoraproject.org>
42 Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
43 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
44
45 ---
46 drivers/bluetooth/ath3k.c | 1 +
47 drivers/bluetooth/btusb.c | 1 +
48 2 files changed, 2 insertions(+)
49
50 --- a/drivers/bluetooth/ath3k.c
51 +++ b/drivers/bluetooth/ath3k.c
52 @@ -65,6 +65,7 @@ static const struct usb_device_id ath3k_
53 /* Atheros AR3011 with sflash firmware*/
54 { USB_DEVICE(0x0489, 0xE027) },
55 { USB_DEVICE(0x0489, 0xE03D) },
56 + { USB_DEVICE(0x04F2, 0xAFF1) },
57 { USB_DEVICE(0x0930, 0x0215) },
58 { USB_DEVICE(0x0CF3, 0x3002) },
59 { USB_DEVICE(0x0CF3, 0xE019) },
60 --- a/drivers/bluetooth/btusb.c
61 +++ b/drivers/bluetooth/btusb.c
62 @@ -153,6 +153,7 @@ static const struct usb_device_id blackl
63 /* Atheros 3011 with sflash firmware */
64 { USB_DEVICE(0x0489, 0xe027), .driver_info = BTUSB_IGNORE },
65 { USB_DEVICE(0x0489, 0xe03d), .driver_info = BTUSB_IGNORE },
66 + { USB_DEVICE(0x04f2, 0xaff1), .driver_info = BTUSB_IGNORE },
67 { USB_DEVICE(0x0930, 0x0215), .driver_info = BTUSB_IGNORE },
68 { USB_DEVICE(0x0cf3, 0x3002), .driver_info = BTUSB_IGNORE },
69 { USB_DEVICE(0x0cf3, 0xe019), .driver_info = BTUSB_IGNORE },