nfapi_lte_dummy.c 1.99 KB
Newer Older
Mahesh's avatar
Mahesh committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
//Dummy NR defs to avoid linking errors

#include "PHY/defs_gNB.h"
#include "nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface_scf.h"
#include "openair2/NR_PHY_INTERFACE/NR_IF_Module.h"
#include "openair1/PHY/LTE_TRANSPORT/transport_common.h"

void handle_nfapi_nr_pdcch_pdu(PHY_VARS_gNB *gNB,
			       int frame, int slot,
			       nfapi_nr_dl_tti_pdcch_pdu *pdcch_pdu){}

void handle_nr_nfapi_ssb_pdu(PHY_VARS_gNB *gNB,int frame,int slot,
                             nfapi_nr_dl_tti_request_pdu_t *dl_tti_pdu){}

15
int16_t find_nr_dlsch(uint16_t rnti, PHY_VARS_gNB *gNB,find_type_t type){return 0;}
16 17
void handle_nr_nfapi_pdsch_pdu(processingData_L1tx_t *msgTx,
			       nfapi_nr_dl_tti_pdsch_pdu *pdsch_pdu,
Mahesh's avatar
Mahesh committed
18
                            uint8_t *sdu){
19 20
}
void handle_nfapi_nr_csirs_pdu(processingData_L1tx_t *msgTx,
21 22 23
			       int frame, int slot,
			       nfapi_nr_dl_tti_csi_rs_pdu *csirs_pdu){
                    }                           
24
int l1_north_init_gNB(void){return 0;}
Mahesh's avatar
Mahesh committed
25 26

uint8_t slot_ahead=6;
27
//uint8_t nfapi_mode=0;
28
NR_IF_Module_t *NR_IF_Module_init(int Mod_id) {return NULL;}
Mahesh's avatar
Mahesh committed
29 30 31 32

void handle_nfapi_nr_ul_dci_pdu(PHY_VARS_gNB *gNB,
			       int frame, int slot,
			       nfapi_nr_ul_dci_request_pdus_t *ul_dci_request_pdu){}
Mahesh's avatar
Mahesh committed
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
void nr_fill_ulsch(PHY_VARS_gNB *gNB,
                   int frame,
                   int slot,
                   nfapi_nr_pusch_pdu_t *ulsch_pdu){}
void nr_fill_pucch(PHY_VARS_gNB *gNB,
                   int frame,
                   int slot,
                   nfapi_nr_pucch_pdu_t *pucch_pdu){}
void nr_fill_prach(PHY_VARS_gNB *gNB,
                   int SFN,
                   int Slot,
                   nfapi_nr_prach_pdu_t *prach_pdu){}
void nr_fill_prach_ru(RU_t *ru,
                      int SFN,
                      int Slot,
                      nfapi_nr_prach_pdu_t *prach_pdu){}
Mahesh's avatar
Mahesh committed
49 50 51 52 53
                   
void  nr_phy_config_request(NR_PHY_Config_t *gNB){}

void install_nr_schedule_handlers(NR_IF_Module_t *if_inst){}

54 55
void nr_dump_frame_parms(NR_DL_FRAME_PARMS *fp){}