mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-17 19:40:51 +00:00
Refactor Kconfig and CMakelists.txt to be able to conditionally compile in BT_LL_SW variant in the controller subsystem. This is done to support future controller with vendor specific variant implementations. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
33 lines
695 B
C
33 lines
695 B
C
/*
|
|
* Copyright (c) 2016-2017 Nordic Semiconductor ASA
|
|
* Copyright (c) 2016 Vinayak Kariappa Chettimada
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <zephyr/types.h>
|
|
|
|
/* TODO: Remove weak attribute when refactored architecture replaces the old
|
|
* controller implementation. */
|
|
#include <toolchain.h>
|
|
|
|
u32_t __weak ll_tx_pwr_lvl_get(u16_t handle, u8_t type, s8_t *tx_pwr_lvl)
|
|
{
|
|
/* TODO: check for active connection */
|
|
|
|
/* TODO: check type here for current or maximum */
|
|
|
|
/* TODO: Support TX Power Level other than 0dBm */
|
|
*tx_pwr_lvl = 0;
|
|
|
|
return 0;
|
|
}
|
|
|
|
void ll_tx_pwr_get(s8_t *min, s8_t *max)
|
|
{
|
|
/* TODO: Support TX Power Level other than 0dBm */
|
|
*min = 0;
|
|
*max = 0;
|
|
}
|
|
|