zephyr/subsys/bluetooth/controller/hci
Andrzej Kaczmarek 236759b18a Bluetooth: controller: Add advertising set handle mapping
Core 5.2, Vol 4, Part E, section 5.3.1 clarifies that advertising set
handle is assigned by host when advertising set is created and this
happens only on LE Set Extended Advertising Parameters.

An advertising set handle is an arbitrary number within allowed range,
i.e. 0x00-0xEF and not 0..max_supported-1.

This patch adds option to enable advertising set handle mapping from
HCI range as defined by Core specification to zero-based handles used
by LL. If enabled, HCI handle will be remapped to LL handle for each
command, otherwise HCI handle will be used as an LL handle. The latter
effectively skips mapping logic and should be used with Zephyr host
which uses zero based indexes.

Signed-off-by: Andrzej Kaczmarek <andrzej.kaczmarek@codecoup.pl>
2020-08-13 16:14:29 +02:00
..
nordic zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
openisa zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
hci_driver.c bluetooth: controller: Add BT_QUIRK_NO_AUTO_DLE for BT_LL_SW_SPLIT 2020-08-10 12:14:49 +02:00
hci_internal.h Bluetooth: Move implementation of hci_driver.h exposed functions 2020-07-27 13:27:05 +02:00
hci_user_ext.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
hci.c Bluetooth: controller: Add advertising set handle mapping 2020-08-13 16:14:29 +02:00