zephyr/subsys/bluetooth/controller/ll_sw
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 Bluetooth: controller: Update scan request handling for ext adv 2020-08-13 12:26:31 +02:00
openisa Bluetooth: controller: Fix non-privacy directed advertiser 2020-06-25 12:11:02 +02:00
ll_addr.c Bluetooth: controller: Remove redundant flags for advertising set 2020-08-13 16:14:29 +02:00
ll_settings.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ll_test.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ll_tx_pwr.c Bluetooth: controller: Remove redundant BT_LL_SW_SPLIT conditional 2020-07-20 12:46:26 +02:00
lll_chan.c Bluetooth: controller: split: Refactor to reuse common ISR code 2020-06-12 15:50:34 +02:00
lll_chan.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
lll_conn.h Bluetooth: controller: split: Refactor to reuse common ISR code 2020-06-12 15:50:34 +02:00
lll_filter.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
lll.h Bluetooth: controller: Added some comments for fields in node rx struct 2020-07-23 11:39:47 +02:00
nrf.cmake Bluetooth: controller: split: Initial extended scanning code 2020-06-12 15:50:34 +02:00
openisa.cmake bluetooth: controller: refactor CMake related files 2020-01-23 16:08:00 +01:00
pdu.h Bluetooth: controller: Fill event counter in sync info 2020-07-31 19:04:23 +02:00
ull_adv_aux.c Bluetooth: controller: Fix error code on invalid adv set handle 2020-08-13 16:14:29 +02:00
ull_adv_internal.h Bluetooth: controller: Remove redundant flags for advertising set 2020-08-13 16:14:29 +02:00
ull_adv_sync.c Bluetooth: controller: Fix error code on invalid adv set handle 2020-08-13 16:14:29 +02:00
ull_adv_types.h Bluetooth: controller: Add advertising set handle mapping 2020-08-13 16:14:29 +02:00
ull_adv.c Bluetooth: controller: Add advertising set handle mapping 2020-08-13 16:14:29 +02:00
ull_chan_internal.h Bluetooth: controller: split: Fix compile error in periodic adv code 2020-06-12 15:50:34 +02:00
ull_chan.c Bluetooth: controller: split: Rework with defines for adv set states 2020-06-12 15:50:34 +02:00
ull_conn_internal.h Bluetooth: controller: split: Move PKT_US into pdu.h 2020-06-12 15:50:34 +02:00
ull_conn_types.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ull_conn.c Bluetooth: controller: Make coding style around ret_cb consistent 2020-07-20 12:46:54 +02:00
ull_filter.c Bluetooth: controller: Remove redundant flags for advertising set 2020-08-13 16:14:29 +02:00
ull_filter.h Bluetooth: controller: split: Fix compile error in periodic adv code 2020-06-12 15:50:34 +02:00
ull_internal.h Bluetooth: controller: split: Add periodic adv ULL implementation 2020-06-12 15:50:34 +02:00
ull_master_internal.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ull_master.c Bluetooth: controller: Use NRF RNG entropy device 2020-06-16 19:09:55 +02:00
ull_scan_aux.c Bluetooth: controller: split: Review rework use defines 2020-06-12 15:50:34 +02:00
ull_scan_internal.h Bluetooth: controller: split: Extended scanning Rx list 2020-06-12 15:50:34 +02:00
ull_scan_types.h Bluetooth: controller: split: Change the extended scan PDU rx list 2020-06-12 15:50:34 +02:00
ull_scan.c Bluetooth: controller: Make coding style around ret_cb consistent 2020-07-20 12:46:54 +02:00
ull_sched_internal.h Bluetooth: controller: split: Port advanced scheduling 2020-06-09 10:43:58 +02:00
ull_sched.c Bluetooth: controller: Make coding style around ret_cb consistent 2020-07-20 12:46:54 +02:00
ull_slave_internal.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ull_slave.c Bluetooth: controller: Remove redundant flags for advertising set 2020-08-13 16:14:29 +02:00
ull.c Bluetooth: controller: Add ll_adv_aux_set_clear function 2020-08-05 12:52:42 +02:00