zephyr/subsys/bluetooth/controller/ll_sw
Piotr Pryga aecdf4c242 Bluetooth: controller: df: fix error in remove CTE from per adv
cte_info_clear function is responsible for remove of CTE from
periodic advertising PDUs, including remove from optional chained
PDUs. The function uses subortinate function rem_cte_info_from_per_-
adv_chain to remove CTE from chained PDUs.

The rem_cte_info_from_per_adv_chain had pdu_prev and pdu as arguments.
After return from the function the pdu_prev should point to last
PDU from previously used periodic advertising data and pdu should
point to last new periodic advertising data.

The rem_cte_info_from_per_adv_chain function removes CTEInfo from
all but last one PDU. Last PDU must have removed AuxPtr field also.
Remove of CTEInfo and AuxPtr from last PDU is done explicitly in
the cte_info_clear function.

Unfortunately rem_cte_info_from_per_adv_chain had wrong type of
parameters for pdu_prev and pdu. These parameters were pointers
instead od double pointers.
That caused cte_info_clear function to remove CTEInfo and AuxPtr
from first PDU in a chain, which is AUX_SYNC_IND.

Changed parameters pdu_prev and pdu in the rem_cte_info_from_per_adv_-
chain to be double pointers.

Added small corrections in comments.

Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
Co-authored-by: Emil Gydesen <Thalley@users.noreply.github.com>
2021-09-04 10:54:36 -04:00
..
nordic Bluetooth: Controller: Fix null pointer dereferencing in periodic sync 2021-09-01 08:38:37 -04:00
openisa Bluetooth: controller: Accumulate latency on aborting event in pipeline 2021-05-06 19:13:31 +02:00
isoal.c Bluetooth: Controller: ISO adaptation layer 2021-05-07 13:14:31 +02:00
isoal.h Bluetooth: Controller: ISO adaptation layer 2021-05-07 13:14:31 +02:00
ll_addr.c Bluetooth: controller: Add support for linked adv PDUs 2021-07-10 12:44:33 -04:00
ll_feat.c Bluetooth: controller: Add CTE Rx params struct to lll_conn declaration 2021-08-18 20:11:10 -04:00
ll_settings.c
ll_test.h
ll_tx_pwr.c Bluetooth: controller: Add CTE Rx params struct to lll_conn declaration 2021-08-18 20:11:10 -04:00
lll_adv_aux.h
lll_adv_sync.h
lll_adv.h Bluetooth: Controller: Use define for channel map size 2021-08-27 09:34:16 -04:00
lll_central_iso.h
lll_chan.c Bluetooth: Controller: Use BT_CTLR_BROADCAST_ISO Kconfig option 2021-07-19 14:18:31 +02:00
lll_chan.h Bluetooth: controller: Implement CSA #2 for SubEvents 2021-07-19 14:18:31 +02:00
lll_clock.h
lll_common.c Bluetooth: controller: Implement ADV re-schedule for new scheduler 2021-08-13 07:30:56 -04:00
lll_conn_iso.h Bluetooth: controller: Remove cis_handles array from ISO groups 2021-06-16 10:38:38 +02:00
lll_conn.h Bluetooth: Controller: Use define for channel map size 2021-08-27 09:34:16 -04:00
lll_df.h Bluetooth: controller: Add IQ report mem pool management 2021-05-06 16:27:16 +02:00
lll_filter.h
lll_master.h
lll_peripheral_iso.h
lll_scan_aux.h Bluetooth: Controller: Move aux sync scanning to lll_sync 2021-08-27 11:46:31 -04:00
lll_scan.h Bluetooth: Controller: Resume primary PDU scanning after Auxiliary PDU 2021-08-17 17:36:19 +02:00
lll_sched.h
lll_slave.h
lll_sync_iso.h
lll_sync.h Bluetooth: Controller: Make lll_create_iq_report static again 2021-08-27 11:46:31 -04:00
lll.h Bluetooth: Controller: Remove unused flag 2021-08-27 11:46:31 -04:00
nrf.cmake Bluetooth: controller: Consolidate ISO role Kconfigs 2021-04-19 10:22:59 +02:00
openisa.cmake Bluetooth: controller: Remove vendor specific internal LLL include 2021-03-01 11:24:40 +01:00
pdu.h Bluetooth: Controller: Ignore PDU with RFU field set 2021-08-27 09:34:16 -04:00
ull_adv_aux.c Bluetooth: Controller: Fix uninitialized pointer read of SR ADI 2021-08-31 14:04:28 +02:00
ull_adv_internal.h Bluetooth: Controller: Use defines to access hdr_data fields 2021-08-27 09:34:16 -04:00
ull_adv_iso.c Bluetooth: controller: remove unnecessary ull_adv_ext_hdr_data struct 2021-07-17 16:43:08 -04:00
ull_adv_sync.c Bluetooth: Controller: Use defines to access hdr_data fields 2021-08-27 09:34:16 -04:00
ull_adv_types.h Bluetooth: Controller: Use id addr type to check same peer connection 2021-08-27 06:47:21 -04:00
ull_adv.c Bluetooth: Controller: Use id addr type to check same peer connection 2021-08-27 06:47:21 -04:00
ull_central_iso_internal.h
ull_central_iso.c
ull_chan_internal.h Bluetooth: Controller: Periodic Advertising Chan Map Update Indication 2021-08-27 09:34:16 -04:00
ull_chan.c Bluetooth: Controller: Periodic Adv Review Rework 2021-08-27 09:34:16 -04:00
ull_conn_internal.h Bluetooth: Controller: Use id addr type to check same peer connection 2021-08-27 06:47:21 -04:00
ull_conn_iso_internal.h Bluetooth: controller: CIS/CIG teardown at ACL disconnect 2021-06-16 10:38:38 +02:00
ull_conn_iso_types.h Bluetooth: controller: CIS/CIG teardown at ACL disconnect 2021-06-16 10:38:38 +02:00
ull_conn_iso.c Bluetooth: Controller: Minor rename of disabled callback functions 2021-08-27 06:46:55 -04:00
ull_conn_types.h Bluetooth: Controller: Use id addr type to check same peer connection 2021-08-27 06:47:21 -04:00
ull_conn.c Bluetooth: Controller: Fix missing reset of connection handle 2021-08-27 06:47:21 -04:00
ull_df_internal.h Bluetooth: controller: Use common mem_link_rx for node_rx_iq_report 2021-05-06 16:27:16 +02:00
ull_df_types.h Bluetooth: Controller: Fix DF for per adv chains scanning 2021-08-27 11:46:31 -04:00
ull_df.c Bluetooth: controller: df: fix error in remove CTE from per adv 2021-09-04 10:54:36 -04:00
ull_filter.c Bluetooth: Controller: Use id addr type to check same peer connection 2021-08-27 06:47:21 -04:00
ull_filter.h
ull_internal.h Bluetooth: Controller: Minor refactor of extra done type set function 2021-08-20 12:49:43 +02:00
ull_iso_internal.h
ull_iso_types.h Bluetooth: controller: ISO adaptation layer, Rx unframed 2021-04-14 18:17:09 +02:00
ull_iso.c Bluetooth: controller: CIS/CIG teardown at ACL disconnect 2021-06-16 10:38:38 +02:00
ull_master_internal.h Bluetooth: Controller: Periodic Advertising Chan Map Update Indication 2021-08-27 09:34:16 -04:00
ull_master.c Bluetooth: Controller: Periodic Adv Review Rework 2021-08-27 09:34:16 -04:00
ull_peripheral_iso_internal.h Bluetooth: controller: Initial CIS peripheral establishment 2021-03-27 08:57:03 -04:00
ull_peripheral_iso.c Bluetooth: controller: CIS/CIG teardown at ACL disconnect 2021-06-16 10:38:38 +02:00
ull_scan_aux.c Bluetooth: Controller: Move aux sync scanning to lll_sync 2021-08-27 11:46:31 -04:00
ull_scan_internal.h Bluetooth: Controller: Release LLL scheduling aux on incomplete data 2021-08-17 17:36:19 +02:00
ull_scan_types.h Bluetooth: Controller: Store parent lll struct in aux context 2021-08-27 11:46:31 -04:00
ull_scan.c Bluetooth: Controller: Fix LLL events pending check from ULL Low 2021-08-27 06:46:55 -04:00
ull_sched_internal.h
ull_sched.c Bluetooth: controller: Add CTE Rx params struct to lll_conn declaration 2021-08-18 20:11:10 -04:00
ull_slave_internal.h Bluetooth: controller: Fix adv/scan context access post release 2021-05-10 18:19:00 +02:00
ull_slave.c Bluetooth: Controller: Use id addr type to check same peer connection 2021-08-27 06:47:21 -04:00
ull_sync_internal.h Bluetooth: Controller: Add chain scanning for per adv 2021-08-27 11:46:31 -04:00
ull_sync_iso_internal.h
ull_sync_iso.c Bluetooth: controller: Avoid sizeof to access ULL/LLL struct member 2021-04-19 10:26:38 +02:00
ull_sync_types.h Bluetooth: controller: Avoid sizeof to access ULL/LLL struct member 2021-04-19 10:26:38 +02:00
ull_sync.c Bluetooth: Controller: Add chain scanning for per adv 2021-08-27 11:46:31 -04:00
ull.c Bluetooth: Controller: Update BT_CTLR_ADV_EXT_RX_CNT for ea and df 2021-08-27 11:46:31 -04:00