Set first random value to be UE number

Also added logs for debugging this rare random value issue.
This commit is contained in:
Melissa Elkadi
2021-02-19 15:00:36 -08:00
parent eec846a555
commit df2d3459d8
2 changed files with 3 additions and 3 deletions
+1 -2
View File
@@ -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));
+2 -1
View File
@@ -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],