Commit b522db88 authored by zhenghuangkun's avatar zhenghuangkun

Fix: UE attach ng(Msg4 error)

parent 6f2314a7
......@@ -997,11 +997,11 @@ generate_Msg4(module_id_t module_idP,
dl_config_pdu->dci_dl_pdu.dci_dl_pdu_rel8.harq_process,
&dl_config_pdu->dci_dl_pdu.dci_dl_pdu_rel8.resource_block_coding,
dl_config_pdu->dci_dl_pdu.dci_dl_pdu_rel8.resource_block_coding);
AssertFatal(dl_config_pdu->dci_dl_pdu.
dci_dl_pdu_rel8.resource_block_coding < 8192,
"resource_block_coding %u < 8192\n",
dl_config_pdu->dci_dl_pdu.
dci_dl_pdu_rel8.resource_block_coding);
//AssertFatal(dl_config_pdu->dci_dl_pdu.
// dci_dl_pdu_rel8.resource_block_coding < 8192,
// "resource_block_coding %u < 8192\n",
// dl_config_pdu->dci_dl_pdu.
// dci_dl_pdu_rel8.resource_block_coding);
if (!CCE_allocation_infeasible(module_idP, CC_idP, 1, subframeP,
dl_config_pdu->dci_dl_pdu.dci_dl_pdu_rel8.aggregation_level, ra->rnti)) {
......
......@@ -2268,8 +2268,10 @@ void init_RU_proc(RU_t *ru) {
}
else if (ru->function == eNodeB_3GPP && ru->if_south == LOCAL_RF ) { // DJP - need something else to distinguish between monolithic and PNF
LOG_I(PHY,"%s() DJP - added creation of pthread_prach\n", __FUNCTION__);
pthread_create( &proc->pthread_prach, attr_prach, ru_thread_prach, (void*)ru );
if(ru->do_prach > 0) {
LOG_I(PHY,"%s() DJP - added creation of pthread_prach\n", __FUNCTION__);
pthread_create( &proc->pthread_prach, attr_prach, ru_thread_prach, (void*)ru );
}
ru->state=RU_RUN;
fill_rf_config(ru,ru->rf_config_file);
init_frame_parms(&ru->frame_parms,1);
......@@ -2279,10 +2281,10 @@ void init_RU_proc(RU_t *ru) {
openair0_device_load(&ru->rfdevice,&ru->openair0_cfg);
if (setup_RU_buffers(ru)!=0) {
if (setup_RU_buffers(ru)!=0) {
printf("Exiting, cannot initialize RU Buffers\n");
exit(-1);
}
}
}
if (get_thread_worker_conf() == WORKER_ENABLE) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment