20#ifndef H_BLE_LL_RFMGMT_
21#define H_BLE_LL_RFMGMT_
27#include "ble_ll_tmr.h"
29void ble_ll_rfmgmt_init(
void);
31#if MYNEWT_VAL(BLE_LL_RFMGMT_ENABLE_TIME) > 0
33void ble_ll_rfmgmt_reset(
void);
36void ble_ll_rfmgmt_scan_changed(
bool enabled, uint32_t next_window);
39void ble_ll_rfmgmt_sched_changed(
struct ble_ll_sched_item *first);
42void ble_ll_rfmgmt_release(
void);
45uint32_t ble_ll_rfmgmt_enable_now(
void);
48bool ble_ll_rfmgmt_is_enabled(
void);
52static inline void ble_ll_rfmgmt_reset(
void) { }
53static inline void ble_ll_rfmgmt_scan_changed(
bool e, uint32_t n) { }
54static inline void ble_ll_rfmgmt_sched_changed(
struct ble_ll_sched_item *f) { }
55static inline void ble_ll_rfmgmt_release(
void) { }
56static inline uint32_t ble_ll_rfmgmt_enable_now(
void) {
return ble_ll_tmr_get(); }
57static inline bool ble_ll_rfmgmt_is_enabled(
void) {
return true; }