Commit b8d24553 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

fix issues to work with multiple carriers (conga-ercom)

parent e395164a
......@@ -1398,10 +1398,12 @@ void init_eNB_proc(int inst) {
pthread_setname_np( proc->pthread_single, name );
}
}
PHY_vars_eNB_g[inst][0]->proc.num_slaves=1;//hardcoded
PHY_vars_eNB_g[inst][0]->proc.slave_proc = (eNB_proc_t**)malloc(1*sizeof(eNB_proc_t*));
PHY_vars_eNB_g[inst][0]->proc.slave_proc[0]=&(PHY_vars_eNB_g[inst][1]->proc);
if (MAX_NUM_CCs >1){
PHY_vars_eNB_g[inst][0]->proc.num_slaves=1;//hardcoded
PHY_vars_eNB_g[inst][0]->proc.slave_proc = (eNB_proc_t**)malloc(1*sizeof(eNB_proc_t*));
PHY_vars_eNB_g[inst][0]->proc.slave_proc[0]=&(PHY_vars_eNB_g[inst][1]->proc);
}
/* for (CC_id=0; CC_id<MAX_NUM_CCs; CC_id++) {//TTN - we supposed that CC_id=0 will play the role of master
eNB = PHY_vars_eNB_g[inst][CC_id];
......
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