Commit 2570ce3d authored by AlanLi's avatar AlanLi

Testing for MIB/SIBs

parent 7a1d8e30
...@@ -2911,16 +2911,16 @@ void prach_procedures_NB_IoT(PHY_VARS_eNB *eNB) { ...@@ -2911,16 +2911,16 @@ void prach_procedures_NB_IoT(PHY_VARS_eNB *eNB) {
0);*/ 0);*/
detection = rx_nprach_NB_IoT(eNB,frame,subframe,rnti,preamble_index,timing_advance_preamble); detection = rx_nprach_NB_IoT(eNB,frame,subframe,rnti,preamble_index,timing_advance_preamble);
} }
if(detection == 1) ////////////////////////// to be moved to handle_rach_NB_IoT /*if(detection == 1) ////////////////////////// to be moved to handle_rach_NB_IoT
{ {
/* initiate_ra_proc(UL_info->module_id, ** initiate_ra_proc(UL_info->module_id,
UL_info->CC_id, UL_info->CC_id,
NFAPI_SFNSF2SFN(UL_info->rach_ind.sfn_sf), NFAPI_SFNSF2SFN(UL_info->rach_ind.sfn_sf),
NFAPI_SFNSF2SF(UL_info->rach_ind.sfn_sf), NFAPI_SFNSF2SF(UL_info->rach_ind.sfn_sf),
UL_info->rach_ind.rach_indication_body.preamble_list[0].preamble_rel8.preamble, UL_info->rach_ind.rach_indication_body.preamble_list[0].preamble_rel8.preamble,
UL_info->rach_ind.rach_indication_body.preamble_list[0].preamble_rel8.timing_advance, UL_info->rach_ind.rach_indication_body.preamble_list[0].preamble_rel8.timing_advance,
UL_info->rach_ind.rach_indication_body.preamble_list[0].preamble_rel8.rnti);*/ UL_info->rach_ind.rach_indication_body.preamble_list[0].preamble_rel8.rnti); **
pthread_mutex_lock(&eNB->UL_INFO_mutex); pthread_mutex_lock(&eNB->UL_INFO_mutex);
////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////
...@@ -2943,7 +2943,8 @@ void prach_procedures_NB_IoT(PHY_VARS_eNB *eNB) { ...@@ -2943,7 +2943,8 @@ void prach_procedures_NB_IoT(PHY_VARS_eNB *eNB) {
preamble_index[0], preamble_index[0],
(int16_t) timing_advance_preamble[0], (int16_t) timing_advance_preamble[0],
0,subframe,0); 0,subframe,0);
} }*/
} }
//////////////////////////////////////////////////////////// END /////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////// END ///////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
......
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