Fix build warnings
This commit is contained in:
@@ -243,6 +243,8 @@ int DU_send_INITIAL_UL_RRC_MESSAGE_TRANSFER(module_id_t module_idP,
|
|||||||
|
|
||||||
void processSlotTX(void *arg) {}
|
void processSlotTX(void *arg) {}
|
||||||
|
|
||||||
|
nr_bler_struct nr_bler_data[NR_NUM_MCS];
|
||||||
|
|
||||||
//nFAPI P7 dummy functions to avoid linking errors
|
//nFAPI P7 dummy functions to avoid linking errors
|
||||||
|
|
||||||
int oai_nfapi_dl_tti_req(nfapi_nr_dl_tti_request_t *dl_config_req) { return(0); }
|
int oai_nfapi_dl_tti_req(nfapi_nr_dl_tti_request_t *dl_config_req) { return(0); }
|
||||||
|
|||||||
@@ -227,6 +227,8 @@ nrUE_params_t *get_nrUE_params(void) {
|
|||||||
return &nrUE_params;
|
return &nrUE_params;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nr_bler_struct nr_bler_data[NR_NUM_MCS];
|
||||||
|
|
||||||
void processSlotTX(void *arg) {}
|
void processSlotTX(void *arg) {}
|
||||||
|
|
||||||
int main(int argc, char **argv){
|
int main(int argc, char **argv){
|
||||||
|
|||||||
@@ -225,6 +225,8 @@ int DU_send_INITIAL_UL_RRC_MESSAGE_TRANSFER(module_id_t module_idP,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nr_bler_struct nr_bler_data[NR_NUM_MCS];
|
||||||
|
|
||||||
//nFAPI P7 dummy functions
|
//nFAPI P7 dummy functions
|
||||||
|
|
||||||
int oai_nfapi_dl_tti_req(nfapi_nr_dl_tti_request_t *dl_config_req) { return(0); }
|
int oai_nfapi_dl_tti_req(nfapi_nr_dl_tti_request_t *dl_config_req) { return(0); }
|
||||||
|
|||||||
@@ -55,10 +55,10 @@ void read_channel_param(const nfapi_nr_dl_tti_pdsch_pdu_rel15_t * pdu, int slot,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extern nr_bler_struct nr_bler_data[NR_NUM_MCS];
|
||||||
float get_bler_val(uint8_t mcs, int sinr)
|
float get_bler_val(uint8_t mcs, int sinr)
|
||||||
{
|
{
|
||||||
// 4th col = dropped packets, 5th col = total packets
|
// 4th col = dropped packets, 5th col = total packets
|
||||||
nr_bler_struct nr_bler_data[NR_NUM_MCS];
|
|
||||||
float bler_val = 0.0;
|
float bler_val = 0.0;
|
||||||
CHECK_INDEX(nr_bler_data, mcs);
|
CHECK_INDEX(nr_bler_data, mcs);
|
||||||
LOG_D(NR_MAC, "sinr %d min %d max %d\n", sinr,
|
LOG_D(NR_MAC, "sinr %d min %d max %d\n", sinr,
|
||||||
|
|||||||
@@ -1426,7 +1426,6 @@ rrc_gNB_process_RRCReconfigurationComplete(
|
|||||||
NR_DRB_ToReleaseList_t *DRB_Release_configList2 = ue_context_pP->ue_context.DRB_Release_configList2[xid];
|
NR_DRB_ToReleaseList_t *DRB_Release_configList2 = ue_context_pP->ue_context.DRB_Release_configList2[xid];
|
||||||
NR_DRB_Identity_t *drb_id_p = NULL;
|
NR_DRB_Identity_t *drb_id_p = NULL;
|
||||||
// uint8_t nr_DRB2LCHAN[8];
|
// uint8_t nr_DRB2LCHAN[8];
|
||||||
gNB_RRC_INST *rrc = RC.nrrrc[ctxt_pP->module_id];
|
|
||||||
|
|
||||||
ue_context_pP->ue_context.ue_reestablishment_timer = 0;
|
ue_context_pP->ue_context.ue_reestablishment_timer = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user