zephyr/subsys/bluetooth/controller/ll_sw/ull_central_internal.h
Erik Brockhoff dca085e155 bluetooth: controller: refactor node_rx_pdu for memory optimization
Generic node_rx_hdr struct contains data not used for done event, so this
pdu specific data is moved to node_rx_pdu to minimize memory usage for
MFIFO_done alloc.

This however calls for a considerable write-through replacing the generic
node_rx_hdr with node_rx_pdu when relevant and needed.

Signed-off-by: Erik Brockhoff <erbr@oticon.com>
2024-04-12 09:19:08 +02:00

15 lines
476 B
C

/*
* Copyright (c) 2018-2021 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
int ull_central_reset(void);
void ull_central_cleanup(struct node_rx_pdu *rx_free);
void ull_central_setup(struct node_rx_pdu *rx, struct node_rx_ftr *ftr,
struct lll_conn *lll);
void ull_central_ticker_cb(uint32_t ticks_at_expire, uint32_t ticks_drift,
uint32_t remainder, uint16_t lazy, uint8_t force,
void *param);
uint8_t ull_central_chm_update(void);