zephyr/subsys
Piotr Pryga a95457a984 Bluetooth: controller: df: Fixes truncated transmission of CTE
There was an issue with wrong length of CTE send in connectionless
mode, with periodic advertising PDUs. Radio peripheral was not
configured to send CTE with correct length while PDU had CTEInfo
field informing receiver that CTE is attached to the PDU.

Source of the problem was in ll_df_set_cl_cte_tx_enable function.

Order of parameters in ull_adv_sync_pdu_alloc was wrong.
ULL_ADV_PDU_HDR_FIELD_CTE_INFO was speficed as hdr_rem_fields.
Because of that extra_data, memory used to provide CTE configuration
to LLL, was not allocated. PDU content is prepared in ULL, so CTEInfo
field included correct information, while Radio was never configured
by LLL to send CTE.

ull_adv_sync_extra_data_set_clear received a pointer to hdr_data,
instead of a direct pointer to df_cfg structure. When extra_data
was allocated correclty, wrong CTE configuration was provided
copied there and LLL received invalid CTE length. It was different
than the length in PDUs CTEInfo field.

Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
2021-07-15 11:39:13 +02:00
..
bluetooth Bluetooth: controller: df: Fixes truncated transmission of CTE 2021-07-15 11:39:13 +02:00
canbus modules: canopennode: move glue code to modules directory 2021-07-01 13:32:18 -04:00
console
cpp cpp: Restore C++2A Kconfig 2021-07-14 07:19:43 -04:00
debug thread analyzer: fix formatting for unsigned int 2021-06-01 12:42:38 -05:00
demand_paging kernel: mmu: z_backing_store* to k_mem_paging_backing_store* 2021-05-28 11:33:22 -04:00
dfu dfu/boot: add CONFIG_UPDATEABLE_IMAGE_NUMBER option 2021-06-17 12:41:17 +02:00
disk include: move disk_access.h to storage 2021-03-23 12:16:01 +01:00
emul include: Move emul.h to drivers/emul.h 2021-04-22 12:51:01 -04:00
fb
fs fs/littlefs: Remove deprecated *_MEM_POOL_* Kconfig options 2021-06-23 10:03:14 -05:00
ipc ipc: rpmsg_service: Add missing log_strdup 2021-05-25 16:38:28 +02:00
jwt jwt: use pre-computed JWT header 2021-04-03 06:52:40 -04:00
logging logging: log_backend_spinel: Add support for logging v2 2021-07-14 11:06:46 -05:00
lorawan lorawan: update LoRaMac-node and move CMakeLists.txt to the main repo 2021-06-18 11:22:03 +02:00
mgmt subsys/mgmt/mcumgr: Add SMP Zephyr specific storage erase command 2021-07-13 11:56:39 +02:00
modbus modbus: fix untrusted loop bound in modbus client 2021-05-05 11:33:56 +02:00
net net: openthread: handle NONE level logs 2021-07-14 13:14:59 -04:00
pm pm: remove callback from control function 2021-07-13 09:36:45 -04:00
portability portability: move cmsis api headers 2021-04-20 08:45:05 -04:00
random random: rand32_timer: Avoid alignment faults by using memcpy 2021-04-16 15:34:59 -04:00
settings
shell shell: modules: devmem: use strtoul instead of strtol 2021-07-07 21:01:07 -04:00
stats
storage storage/flash_map: Fix flash area bounds checking 2021-05-25 16:59:01 -05:00
task_wdt task_wdt: Fix the way the kernel timer is used 2021-07-07 07:44:22 -05:00
testsuite testsuite: suppress usage of setjmp in a testcode 2021-06-22 10:08:02 -04:00
timing timing: add kconfig CONFIG_TIMING_FUNCTIONS_NEED_AT_BOOT 2021-04-06 16:43:55 -04:00
tracing Tracing: TRACING_NONE Compilation Fix 2021-05-27 14:39:40 -05:00
usb usb: fix request hijack through Audio class workaround 2021-06-17 12:41:33 +02:00
CMakeLists.txt pm: move power subsystem to pm 2021-05-05 18:35:49 -04:00
Kconfig pm: move power subsystem to pm 2021-05-05 18:35:49 -04:00