Commit e8d6b1ef authored by Raymond Knopp's avatar Raymond Knopp

logging for RRC MIB-SL interface

parent 2ebbc2f0
......@@ -89,6 +89,8 @@ int main(int argc, char **argv) {
logInit();
// enable these lines if you need debug info
set_comp_log(PHY,LOG_INFO,LOG_HIGH,1);
set_comp_log(MAC,LOG_INFO,LOG_HIGH,1);
set_comp_log(RRC,LOG_INFO,LOG_HIGH,1);
set_comp_log(OCM,LOG_INFO,LOG_HIGH,1);
set_glog(log_level,LOG_HIGH);
......
......@@ -3167,8 +3167,8 @@ SLSS_t *ue_get_slss(module_id_t Mod_id,int CC_id,frame_t frame_tx,sub_frame_t su
slss->slmib,
0,
0); // call RRC get check for SL-MIB
LOG_D(MAC,"frame_tx %d, subframe %d,slss->SL_OffsetIndicator %d, mib length %d, slmib %p\n",
LOG_I(MAC,"frame_tx %d, subframe %d,slss->SL_OffsetIndicator %d, mib length %d, slmib %p\n",
frame_tx,subframe_tx,slss->SL_OffsetIndicator,slss->slmib_length, slss->slmib);
return(slss);
}
......
......@@ -118,6 +118,7 @@ mac_rrc_data_req_ue(
else if (Srb_idP == MIBCH) {
int Ret_size = do_MIB_SL(&ctxt,eNB_indexP,frameP,0);
memcpy((void*)buffer_pP,(void*)UE_rrc_inst[Mod_idP].SL_MIB,Ret_size);
LOG_I(RRC,"MIB-SL for %d.%d: %x.%x.%x.%x.%x\n",frameP,0,buffer_pP[0],buffer_pP[1],buffer_pP[2],buffer_pP[3],buffer_pP[4]);
return(Ret_size);
}
......
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