Add comments.

This commit is contained in:
Y_Tomita
2018-10-24 18:58:05 +09:00
parent 0b55ecab37
commit 9e1f39ffec
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -2563,6 +2563,10 @@ ue_scheduler(const module_id_t module_idP,
//Rrc_xface->Frame_index=Mac_rlc_xface->frameP;
//if (subframe%5 == 0)
//LG#ifdef EXMIMO
// data to/from NETLINK is treated in pdcp_run.
// one socket is used in multiple UE's L2 FAPI simulator and
// only first UE need to do this.
if(module_idP == 0){
pdcp_run(&ctxt);
}
+1 -1
View File
@@ -1002,7 +1002,7 @@ void init_eNB_proc(int inst) {
pthread_create( &proc_rxtx[0].pthread_rxtx, attr0, eNB_thread_rxtx, proc );
pthread_create( &proc_rxtx[1].pthread_rxtx, attr1, tx_thread, proc);
}
else if (nfapi_mode == 2) {
else if (nfapi_mode == 2) { // this is neccesary in VNF or L2 FAPI simulator.
pthread_create( &proc_rxtx[0].pthread_rxtx, attr0, eNB_thread_rxtx, &proc_rxtx[0] );
pthread_create( &proc_rxtx[1].pthread_rxtx, attr1, eNB_thread_rxtx, &proc_rxtx[1] );
}