zephyr/subsys/bluetooth/controller/ll_sw/lll_df.h
Piotr Pryga 4d706bb6fb Bluetooth: controller: Add IQ report mem pool management
Add functions that will allow to mangage IQ reports memory pool
e.g. allocate or relase new IQ report nodes.

Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
2021-05-06 16:27:16 +02:00

20 lines
574 B
C

/*
* Copyright (c) 2020 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
int lll_df_init(void);
int lll_df_reset(void);
/* Provides number of available antennae for Direction Finding */
uint8_t lll_df_ant_num_get(void);
/* Confirm if there is `count` of free IQ report node rx available and return
* pointer to first (oldest) one.
*/
void *ull_df_iq_report_alloc_peek(uint8_t count);
/* Dequeue first (oldest) free IQ report node rx. If the node was peeked before
* returned pointer equals to peeked one.
*/
void *ull_df_iq_report_alloc(void);