Commit df2d3459 authored by Melissa Elkadi's avatar Melissa Elkadi

Set first random value to be UE number

Also added logs for debugging this rare random value issue.
parent eec846a5
......@@ -1113,7 +1113,7 @@ int memcpy_hi_dci0_req (L1_rxtx_proc_t *proc,
if (!is_my_hi_dci0_req(req))
{
LOG_W(MAC, "Filtering hi_dci0_req\n");
LOG_I(MAC, "Filtering hi_dci0_req\n");
return 0;
}
nfapi_hi_dci0_request_t *p = (nfapi_hi_dci0_request_t *)malloc(sizeof(nfapi_hi_dci0_request_t));
......@@ -1309,7 +1309,6 @@ void *ue_standalone_pnf_task(void *context)
}
else if (len == sizeof(channel_info))
{
LOG_I(MAC, "Entered Channel Info Loop");
channel_info * ch_info = malloc(sizeof(channel_info));
memcpy(ch_info, buffer, sizeof(channel_info));
......
......@@ -410,7 +410,8 @@ void rrc_ue_generate_RRCConnectionRequest( const protocol_ctxt_t *const ctxt_pP,
#endif
LOG_T(RRC,"%x.",rv[i]);
}
LOG_I(RRC, "%s: random = %02X %02X %02X %02X %02X %02X\n",
rv[0] = ctxt_pP->module_id; // Debugging duplicate random values
LOG_A(RRC, "%s: random = %02X %02X %02X %02X %02X %02X\n",
__func__,
rv[0],
rv[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