Fix delay of CU for a very large cellGroupConfig
This commit is contained in:
@@ -2220,9 +2220,7 @@ int16_t do_RRCSetup(rrc_gNB_ue_context_t *const ue_context_pP,
|
|||||||
&asn_DEF_NR_CellGroupConfig, //might be added prefix later
|
&asn_DEF_NR_CellGroupConfig, //might be added prefix later
|
||||||
(void **)&cellGroupConfig,
|
(void **)&cellGroupConfig,
|
||||||
(uint8_t *)masterCellGroup_from_DU->buf,
|
(uint8_t *)masterCellGroup_from_DU->buf,
|
||||||
masterCellGroup_from_DU->size, 0, 0);
|
masterCellGroup_from_DU->size, 0, 0);
|
||||||
|
|
||||||
xer_fprint(stdout, &asn_DEF_NR_CellGroupConfig, (const void*)cellGroupConfig);
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
cellGroupConfig = calloc(1, sizeof(NR_CellGroupConfig_t));
|
cellGroupConfig = calloc(1, sizeof(NR_CellGroupConfig_t));
|
||||||
@@ -2249,8 +2247,10 @@ int16_t do_RRCSetup(rrc_gNB_ue_context_t *const ue_context_pP,
|
|||||||
ue_p->masterCellGroup = cellGroupConfig;
|
ue_p->masterCellGroup = cellGroupConfig;
|
||||||
|
|
||||||
if ( LOG_DEBUGFLAG(DEBUG_ASN1) ) {
|
if ( LOG_DEBUGFLAG(DEBUG_ASN1) ) {
|
||||||
|
xer_fprint(stdout, &asn_DEF_NR_CellGroupConfig, (const void*)cellGroupConfig);
|
||||||
xer_fprint(stdout, &asn_DEF_NR_DL_CCCH_Message, (void *)&dl_ccch_msg);
|
xer_fprint(stdout, &asn_DEF_NR_DL_CCCH_Message, (void *)&dl_ccch_msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
enc_rval = uper_encode_to_buffer(&asn_DEF_NR_DL_CCCH_Message,
|
enc_rval = uper_encode_to_buffer(&asn_DEF_NR_DL_CCCH_Message,
|
||||||
NULL,
|
NULL,
|
||||||
(void *)&dl_ccch_msg,
|
(void *)&dl_ccch_msg,
|
||||||
|
|||||||
Reference in New Issue
Block a user