There were changes done to controller code that cause tests to do not build and fail during execution. Changes are related with: - modified code related with extended advertising ADI field handling - added generic double buffer data structure that is used in controller - moved code that was building only when DF is enabled - added EVENTS_PHYEND that is not available in nrfbsim board The PR addresses those issues. Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
59 lines
975 B
C
59 lines
975 B
C
/*
|
|
* Copyright (c) 2020 Nordic Semiconductor ASA
|
|
* Copyright (c) 2020 Demant
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <zephyr/types.h>
|
|
#include <ztest.h>
|
|
#include "kconfig.h"
|
|
|
|
#include <bluetooth/hci.h>
|
|
#include <sys/byteorder.h>
|
|
#include <sys/slist.h>
|
|
#include <sys/util.h>
|
|
|
|
#include "hal/ccm.h"
|
|
|
|
#include "util/util.h"
|
|
#include "util/mem.h"
|
|
#include "util/memq.h"
|
|
#include "util/dbuf.h"
|
|
|
|
#include "pdu.h"
|
|
#include "ll.h"
|
|
#include "ll_settings.h"
|
|
#include "ll_feat.h"
|
|
|
|
#include "lll.h"
|
|
#include "lll_df_types.h"
|
|
#include "lll_conn.h"
|
|
#include "ull_tx_queue.h"
|
|
#include "ull_conn_types.h"
|
|
|
|
#include "ull_llcp.h"
|
|
|
|
extern sys_slist_t ut_rx_q;
|
|
|
|
__attribute__((weak)) int lll_csrand_get(void *buf, size_t len)
|
|
{
|
|
*(int *)buf = 0;
|
|
return 0;
|
|
}
|
|
|
|
__attribute__((weak)) int lll_csrand_isr_get(void *buf, size_t len)
|
|
{
|
|
*(int *)buf = 0;
|
|
return 0;
|
|
}
|
|
|
|
uint32_t lll_radio_tx_ready_delay_get(uint8_t phy, uint8_t flags)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
void lll_disable(void *param)
|
|
{
|
|
}
|