Commit dc7aaf7a authored by rmagueta's avatar rmagueta

Comment improvement

parent 4bfbb6f1
...@@ -1272,8 +1272,8 @@ void fill_initial_cellGroupConfig(rnti_t rnti, ...@@ -1272,8 +1272,8 @@ void fill_initial_cellGroupConfig(rnti_t rnti,
uint8_t do_RRCSetup(rrc_gNB_ue_context_t *const ue_context_pP, uint8_t do_RRCSetup(rrc_gNB_ue_context_t *const ue_context_pP,
uint8_t *const buffer, uint8_t *const buffer,
const uint8_t transaction_id, const uint8_t transaction_id,
OCTET_STRING_t *masterCellGroup_from_DU, OCTET_STRING_t *masterCellGroup_from_DU,
NR_ServingCellConfigCommon_t *scc) NR_ServingCellConfigCommon_t *scc)
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
{ {
asn_enc_rval_t enc_rval; asn_enc_rval_t enc_rval;
...@@ -1621,14 +1621,31 @@ int16_t do_RRCReconfiguration( ...@@ -1621,14 +1621,31 @@ int16_t do_RRCReconfiguration(
ie->radioBearerConfig->drb_ToReleaseList = DRB_releaseList; ie->radioBearerConfig->drb_ToReleaseList = DRB_releaseList;
} }
/******************** Secondary Cell Group ********************/ /******************** Secondary Cell Group ********************/
// rrc_gNB_carrier_data_t *carrier = &(gnb_rrc_inst->carrier); /*
// fill_default_secondaryCellGroup( carrier->servingcellconfigcommon, unsigned char secondaryCellGroup_buf[1000];
// ue_context_pP->ue_context.secondaryCellGroup, rrc_gNB_carrier_data_t *carrier = &(RC.nrrrc[ctxt_pP->module_id]->carrier);
// 1, NR_CellGroupConfig_t *secondaryCellGroup = calloc(1, sizeof(NR_CellGroupConfig_t));
// 1, fill_default_secondaryCellGroup(carrier->servingcellconfigcommon,
// carrier->pdsch_AntennaPorts, NULL,
// carrier->initial_csi_index[ue_context_p->local_uid + 1], secondaryCellGroup,
// ue_context_pP->local_uid); 0,
1,
carrier->pdsch_AntennaPorts,
carrier->initial_csi_index[1],
0);
enc_rval = uper_encode_to_buffer(&asn_DEF_NR_CellGroupConfig,
NULL,
(void *)secondaryCellGroup,
secondaryCellGroup_buf,
1000);
if(enc_rval.encoded == -1) {
LOG_E(NR_RRC, "ASN1 message secondaryCellGroup encoding failed (%s, %lu)!\n", enc_rval.failed_type->name, enc_rval.encoded);
return -1;
}
xer_fprint(stdout, &asn_DEF_NR_CellGroupConfig, (const void*)secondaryCellGroup);
*/
/******************** Meas Config ********************/ /******************** Meas Config ********************/
// measConfig // measConfig
......
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