IF_Module_NB_IoT.c 746 Bytes
Newer Older
1
#include "openair2/PHY_INTERFACE/IF_Module_nb_iot.h"
2
#include "openair2/PHY_INTERFACE/IF_Module_L2_primitives_NB_IoT.h"
3
#include "openair1/SCHED/IF_Module_L1_primitives_NB_IoT.h"
4 5 6 7
#include "LAYER2/MAC/extern.h"
#include "LAYER2/MAC/proto_nb_iot.h"


8
//called at initialization of L2
9
void IF_Module_init_L2(void) // northbound IF-Module Interface
10
{
11
	//mapping the IF-Module function to L2 definition
12
	if_inst->UL_indication = UL_indication;
13

14
	//return if_inst;
15 16
}

17

18
//called at initialization of L1 (phy_init_lte_eNB)
19
void IF_Module_init_L1(void) //southbound IF-Module Interface
20
{
21
	//mapping the IF-module function to L1 definition
22 23 24
	if_inst->schedule_response = schedule_response;
	if_inst->PHY_config_req  = PHY_config_req;

25
	//return if_inst;
26 27
}