Re: [PATCH] Bluetooth: Workaround hd directed advertising bug in Broadcom controllers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Szymon,

> It appears that some Broadcom controllers (eg BCM20702A0) reject LE Set
> Advertising Parameters command if advertising intervals provided are not
> within range for undirected and low duty directed advertising.
> 
> Workaround this bug by populating min and max intervals with 'valid'
> values.
> 
> < HCI Command: LE Set Advertising Parameters (0x08|0x0006) plen 15                                                                                                                                                                                                                                      #75 [hci0] 29.155775
>        Min advertising interval: 0.000 msec (0x0000)
>        Max advertising interval: 0.000 msec (0x0000)
>        Type: Connectable directed - ADV_DIRECT_IND (high duty cycle) (0x01)
>        Own address type: Public (0x00)
>        Direct address type: Random (0x01)
>        Direct address: E2:F0:7B:9F:DC:F4 (Static)
>        Channel map: 37, 38, 39 (0x07)
>        Filter policy: Allow Scan Request from Any, Allow Connect Request from Any (0x00)
>> HCI Event: Command Complete (0x0e) plen 4                                                                                                                                                                                                                                                             #76 [hci0] 29.156745
>      LE Set Advertising Parameters (0x08|0x0006) ncmd 1
>        Status: Invalid HCI Command Parameters (0x12)
> 
> Signed-off-by: Szymon Janc <szymon.janc@xxxxxxxxxxx>
> Tested-by: Sören Beye <linux@xxxxxxxxx>
> ---
> net/bluetooth/hci_conn.c | 8 ++++++++
> 1 file changed, 8 insertions(+)

patch has been applied to bluetooth-next tree.

Regards

Marcel




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux