Skip to contentSkip to conversation

ath3k: Add support of MCI 13d3:3408 bt device

PATCH Superseded Dmitry Tunin 2 participants 5 messages Nov 23, 2014 – Nov 25, 2014

Subsystems (2)

v4 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 ath3k: Add support of MCI 13d3:3408 bt device

Add support for bluetooth MCI WB335 (AR9565) Wi-Fi+bt module. This bluetooth module requires loading patch and sysconfig by ath3k driver.

/sys/kernel/debug/usb/devices

T:  Bus=01 Lev=02 Prnt=03 Port=00 Cnt=01 Dev#= 20 Spd=12 MxCh= 0
D:  Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P:  Vendor=13d3 ProdID=3408 Rev= 0.02
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

---

drivers/bluetooth/ath3k.c +2 -0
index d85ced2..086240c 100644
@@ -105,6 +105,7 @@ static const struct usb_device_id ath3k_table[] = {
     { USB_DEVICE(0x13d3, 0x3375) },
     { USB_DEVICE(0x13d3, 0x3393) },
     { USB_DEVICE(0x13d3, 0x3402) },
+    { USB_DEVICE(0x13d3, 0x3408) },
     { USB_DEVICE(0x13d3, 0x3432) },
 
     /* Atheros AR5BBU12 with sflash firmware */
@@ -156,6 +157,7 @@ static const struct usb_device_id ath3k_blist_tbl[] = {
     { USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 },
     { 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, 0x3432), .driver_info = BTUSB_ATH3012 },
 
     /* Atheros AR5BBU22 with sflash firmware */
drivers/bluetooth/btusb.c +1 -0
index edfc17b..091c813 100644
@@ -182,6 +182,7 @@ static const struct usb_device_id blacklist_table[] = {
     { USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 },
     { 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, 0x3432), .driver_info = BTUSB_ATH3012 },
 
     /* Atheros AR5BBU12 with sflash firmware */

--

Sry for confusing with wrong patches.

Regards,

Dmitry.

maintainer
#1 lore raw

Hi Dmitry,

Quoted 33 lines

Add support for bluetooth MCI WB335 (AR9565) Wi-Fi+bt module. This bluetooth module requires loading patch and sysconfig by ath3k driver.

/sys/kernel/debug/usb/devices

T:  Bus=01 Lev=02 Prnt=03 Port=00 Cnt=01 Dev#= 20 Spd=12 MxCh= 0
D:  Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P:  Vendor=13d3 ProdID=3408 Rev= 0.02
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
Quoted 1 line

space between the name and the email address.

drivers/bluetooth/ath3k.c static const struct usb_device_id ath3k_table[] = { · line 109

Quoted 13 lines

---

drivers/bluetooth/ath3k.c +1 -0
index d85ced2..086240c 100644
@@ -105,6 +105,7 @@ static const struct usb_device_id ath3k_table[] = {
    { USB_DEVICE(0x13d3, 0x3375) },
    { USB_DEVICE(0x13d3, 0x3393) },
    { USB_DEVICE(0x13d3, 0x3402) },
+    { USB_DEVICE(0x13d3, 0x3408) },
    { USB_DEVICE(0x13d3, 0x3432) },

And your mail client messes up spaces vs tabs here.

Quoted 15 lines
drivers/bluetooth/ath3k.c +1 -0
    /* Atheros AR5BBU12 with sflash firmware */
@@ -156,6 +157,7 @@ static const struct usb_device_id ath3k_blist_tbl[] = {
    { USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 },
    { 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, 0x3432), .driver_info = BTUSB_ATH3012 },
 
    /* Atheros AR5BBU22 with sflash firmware */
drivers/bluetooth/btusb.c +0 -0
index edfc17b..091c813 100644

drivers/bluetooth/btusb.c static const struct usb_device_id blacklist_table[] = { · line 188

Quoted 7 lines
drivers/bluetooth/btusb.c +1 -0
@@ -182,6 +182,7 @@ static const struct usb_device_id blacklist_table[] = {
    { USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 },
    { 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, 0x3432), .driver_info = BTUSB_ATH3012 },
 
    /* Atheros AR5BBU12 with sflash firmware */

Regards

Marcel

#2 lore raw

Finally I figured out how to set up the mailer not to spoil everything.

Add support for bluetooth MCI WB335 (AR9565) Wi-Fi+bt module. This bluetooth module requires loading patch and sysconfig by ath3k driver.

---

drivers/bluetooth/ath3k.c +2 -0
index d85ced2..086240c 100644
@@ -105,6 +105,7 @@ static const struct usb_device_id ath3k_table[] = {
 	{ USB_DEVICE(0x13d3, 0x3375) },
 	{ USB_DEVICE(0x13d3, 0x3393) },
 	{ USB_DEVICE(0x13d3, 0x3402) },
+	{ USB_DEVICE(0x13d3, 0x3408) },
 	{ USB_DEVICE(0x13d3, 0x3432) },
 
 	/* Atheros AR5BBU12 with sflash firmware */
@@ -156,6 +157,7 @@ static const struct usb_device_id ath3k_blist_tbl[] = {
 	{ USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 },
 	{ 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, 0x3432), .driver_info = BTUSB_ATH3012 },
 
 	/* Atheros AR5BBU22 with sflash firmware */
drivers/bluetooth/btusb.c +1 -0
index edfc17b..091c813 100644
@@ -182,6 +182,7 @@ static const struct usb_device_id blacklist_table[] = {
 	{ USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 },
 	{ 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, 0x3432), .driver_info = BTUSB_ATH3012 },
 
 	/* Atheros AR5BBU12 with sflash firmware */

--

Quoted 82 lines · Marcel Holtmann

Hi Dmitry,

Quoted 33 lines

Add support for bluetooth MCI WB335 (AR9565) Wi-Fi+bt module. This bluetooth module requires loading patch and sysconfig by ath3k driver.

/sys/kernel/debug/usb/devices

T:  Bus=01 Lev=02 Prnt=03 Port=00 Cnt=01 Dev#= 20 Spd=12 MxCh= 0
D:  Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P:  Vendor=13d3 ProdID=3408 Rev= 0.02
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
Quoted 1 line

space between the name and the email address.

drivers/bluetooth/ath3k.c static const struct usb_device_id ath3k_table[] = { · line 109

Quoted 13 lines

---

drivers/bluetooth/ath3k.c +1 -0
index d85ced2..086240c 100644
@@ -105,6 +105,7 @@ static const struct usb_device_id ath3k_table[] = {
     { USB_DEVICE(0x13d3, 0x3375) },
     { USB_DEVICE(0x13d3, 0x3393) },
     { USB_DEVICE(0x13d3, 0x3402) },
+    { USB_DEVICE(0x13d3, 0x3408) },
     { USB_DEVICE(0x13d3, 0x3432) },

And your mail client messes up spaces vs tabs here.

Quoted 15 lines
drivers/bluetooth/ath3k.c +1 -0
     /* Atheros AR5BBU12 with sflash firmware */
@@ -156,6 +157,7 @@ static const struct usb_device_id ath3k_blist_tbl[] = {
     { USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 },
     { 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, 0x3432), .driver_info = BTUSB_ATH3012 },
 
     /* Atheros AR5BBU22 with sflash firmware */
drivers/bluetooth/btusb.c +0 -0
index edfc17b..091c813 100644

drivers/bluetooth/btusb.c static const struct usb_device_id blacklist_table[] = { · line 188

Quoted 7 lines
drivers/bluetooth/btusb.c +1 -0
@@ -182,6 +182,7 @@ static const struct usb_device_id blacklist_table[] = {
     { USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 },
     { 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, 0x3432), .driver_info = BTUSB_ATH3012 },
 
     /* Atheros AR5BBU12 with sflash firmware */

Regards

Marcel

#3 lore raw

Add support for bluetooth MCI WB335 (AR9565) Wi-Fi+bt module. This bluetooth module requires loading patch and sysconfig by ath3k driver.

---

drivers/bluetooth/ath3k.c +2 -0
index d85ced2..086240c 100644
@@ -105,6 +105,7 @@ static const struct usb_device_id ath3k_table[] = {
     { USB_DEVICE(0x13d3, 0x3375) },
     { USB_DEVICE(0x13d3, 0x3393) },
     { USB_DEVICE(0x13d3, 0x3402) },
+    { USB_DEVICE(0x13d3, 0x3408) },
     { USB_DEVICE(0x13d3, 0x3432) },
 
     /* Atheros AR5BBU12 with sflash firmware */
@@ -156,6 +157,7 @@ static const struct usb_device_id ath3k_blist_tbl[] = {
     { USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 },
     { 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, 0x3432), .driver_info = BTUSB_ATH3012 },
 
     /* Atheros AR5BBU22 with sflash firmware */
drivers/bluetooth/btusb.c +1 -0
index edfc17b..091c813 100644
@@ -182,6 +182,7 @@ static const struct usb_device_id blacklist_table[] = {
     { USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 },
     { 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, 0x3432), .driver_info = BTUSB_ATH3012 },
 
     /* Atheros AR5BBU12 with sflash firmware */

--

Canonical people asked to CC: [email protected]

Regards,
Dmitry.

maintainer
#4 lore raw

Hi Dmitry,

Quoted 13 lines

Add support for bluetooth MCI WB335 (AR9565) Wi-Fi+bt module. This bluetooth module requires loading patch and sysconfig by ath3k driver.

---

drivers/bluetooth/ath3k.c +0 -0
index d85ced2..086240c 100644

drivers/bluetooth/ath3k.c static const struct usb_device_id ath3k_table[] = { · line 109

Quoted 5 lines
drivers/bluetooth/ath3k.c +1 -0
@@ -105,6 +105,7 @@ static const struct usb_device_id ath3k_table[] = {
    { USB_DEVICE(0x13d3, 0x3375) },
    { USB_DEVICE(0x13d3, 0x3393) },
    { USB_DEVICE(0x13d3, 0x3402) },
+    { USB_DEVICE(0x13d3, 0x3408) },
    { USB_DEVICE(0x13d3, 0x3432) },

please just send a clean v5 that I could apply. I have two v4 in my inbox now.

Regards

Marcel