Marcel Holtmann
313f6888c8
Bluetooth: Send HCI Set Event Mask Page 2 command only when needed
...
The Broadcom BCM20702 Bluetooth controller in ThinkPad-T530 devices
report support for the Set Event Mask Page 2 command, but actually do
return an error when trying to use it.
< HCI Command: Read Local Supported Commands (0x04|0x0002) plen 0
> HCI Event: Command Complete (0x0e) plen 68
Read Local Supported Commands (0x04|0x0002) ncmd 1
Status: Success (0x00)
Commands: 162 entries
...
Set Event Mask Page 2 (Octet 22 - Bit 2)
...
< HCI Command: Set Event Mask Page 2 (0x03|0x0063) plen 8
Mask: 0x0000000000000000
> HCI Event: Command Complete (0x0e) plen 4
Set Event Mask Page 2 (0x03|0x0063) ncmd 1
Status: Unknown HCI Command (0x01)
Since these controllers do not support any feature that would require
the event mask page 2 to be modified, it is safe to not send this
command at all. The default value is all bits set to zero.
T: Bus=01 Lev=02 Prnt=02 Port=03 Cnt=03 Dev#= 9 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0a5c ProdID=21e6 Rev= 1.12
S: Manufacturer=Broadcom Corp
S: Product=BCM20702A0
S: SerialNumber=F82FA8E8CFC0
C:* #Ifs= 4 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) 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=ff(vend.) 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=ff(vend.) 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=ff(vend.) 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=ff(vend.) 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=ff(vend.) 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=ff(vend.) 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
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=btusb
E: Ad=84(I) Atr=02(Bulk) MxPS= 32 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 32 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=01 Driver=(none)
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Reported-by: Sedat Dilek <sedat.dilek@gmail.com>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
2017-06-12 11:45:30 +02:00
..
2017-04-12 22:02:40 +02:00
2017-05-19 15:06:48 -07:00
2017-06-08 14:16:28 -04:00
2017-02-27 18:43:47 -08:00
2017-03-22 10:48:49 -07:00
2017-03-09 18:23:27 -08:00
2017-04-06 14:37:50 -07:00
2017-06-12 11:45:30 +02:00
2017-05-02 11:46:28 -04:00
2017-06-08 14:16:25 -04:00
2017-05-16 11:54:07 -04:00
2017-04-27 09:34:13 +02:00
2017-05-24 18:10:51 +02:00
2017-06-08 16:12:08 -04:00
2017-05-21 13:42:33 -04:00
2017-05-17 16:06:01 -04:00
2017-06-08 11:26:19 -04:00
2017-03-03 10:16:38 -08:00
2017-06-08 11:43:32 -04:00
2017-02-16 21:25:49 -05:00
2017-04-13 13:58:20 -04:00
2017-05-23 20:05:15 +02:00
2017-02-03 15:16:45 -05:00
2017-06-08 14:38:59 -04:00
2017-06-08 11:26:19 -04:00
2017-05-02 15:34:53 -04:00
2017-03-09 18:23:27 -08:00
2017-03-09 18:23:27 -08:00
2017-05-16 11:54:07 -04:00
2017-05-08 08:03:01 +02:00
2017-04-27 16:32:13 -04:00
2017-05-26 14:20:29 -04:00
2017-06-01 21:26:03 +02:00
2017-03-30 11:05:34 -07:00
2017-06-06 22:20:08 -04:00
2017-06-06 22:20:08 -04:00
2017-04-13 13:58:22 -04:00
2017-06-01 11:49:39 -04:00
2017-03-09 18:23:27 -08:00
2017-05-16 11:54:07 -04:00
2017-05-22 23:32:48 -04:00
2017-05-25 13:15:11 -04:00
2017-04-17 15:35:38 -04:00
2017-01-24 13:44:28 -05:00
2017-06-08 11:34:57 -04:00
2017-05-02 16:40:27 -07:00
2017-01-24 11:07:35 +01:00
2017-03-09 18:23:27 -08:00
2017-06-07 17:15:46 +01:00
2017-06-08 09:55:53 -04:00
2017-06-08 11:26:19 -04:00
2017-05-16 14:49:43 -04:00
2017-03-03 20:43:26 -08:00
2017-05-31 12:26:44 -04:00
2017-06-08 14:16:24 -04:00
2017-05-11 22:19:30 -04:00
2017-04-06 12:43:04 -07:00
2017-05-22 14:39:36 -04:00
2017-05-23 14:36:46 +02:00
2017-05-18 10:05:40 -04:00
2017-05-19 12:49:13 +02:00
2017-02-22 10:15:09 -08:00
2017-02-17 13:40:05 -05:00
2017-04-01 12:45:57 -07:00
2017-05-22 12:14:04 -04:00
2017-04-16 23:42:49 -05:00