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, ...@@ -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.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,
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. //AssertFatal(dl_config_pdu->dci_dl_pdu.
dci_dl_pdu_rel8.resource_block_coding < 8192, // dci_dl_pdu_rel8.resource_block_coding < 8192,
"resource_block_coding %u < 8192\n", // "resource_block_coding %u < 8192\n",
dl_config_pdu->dci_dl_pdu. // dl_config_pdu->dci_dl_pdu.
dci_dl_pdu_rel8.resource_block_coding); // dci_dl_pdu_rel8.resource_block_coding);
if (!CCE_allocation_infeasible(module_idP, CC_idP, 1, subframeP, if (!CCE_allocation_infeasible(module_idP, CC_idP, 1, subframeP,
dl_config_pdu->dci_dl_pdu.dci_dl_pdu_rel8.aggregation_level, ra->rnti)) { 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) { ...@@ -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 else if (ru->function == eNodeB_3GPP && ru->if_south == LOCAL_RF ) { // DJP - need something else to distinguish between monolithic and PNF
if(ru->do_prach > 0) {
LOG_I(PHY,"%s() DJP - added creation of pthread_prach\n", __FUNCTION__); LOG_I(PHY,"%s() DJP - added creation of pthread_prach\n", __FUNCTION__);
pthread_create( &proc->pthread_prach, attr_prach, ru_thread_prach, (void*)ru ); pthread_create( &proc->pthread_prach, attr_prach, ru_thread_prach, (void*)ru );
}
ru->state=RU_RUN; ru->state=RU_RUN;
fill_rf_config(ru,ru->rf_config_file); fill_rf_config(ru,ru->rf_config_file);
init_frame_parms(&ru->frame_parms,1); init_frame_parms(&ru->frame_parms,1);
......
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