Commit c273a9d3 authored by Xue Song's avatar Xue Song

fix problem about CU/DU c-plane failed

parent 834d6f10
...@@ -334,15 +334,27 @@ void rrc_add_nsa_user(gNB_RRC_INST *rrc,struct rrc_gNB_ue_context_s *ue_context_ ...@@ -334,15 +334,27 @@ void rrc_add_nsa_user(gNB_RRC_INST *rrc,struct rrc_gNB_ue_context_s *ue_context_
rrc->Nb_ue++; rrc->Nb_ue++;
// configure MAC and RLC // configure MAC and RLC
rrc_mac_config_req_gNB(rrc->module_id, if (NODE_IS_DU(rrc->node_type)) {
rrc->carrier.ssb_SubcarrierOffset, rrc_mac_config_req_gNB(rrc->module_id,
rrc->carrier.pdsch_AntennaPorts, rrc->carrier.ssb_SubcarrierOffset,
rrc->carrier.pusch_TargetSNRx10, rrc->carrier.pdsch_AntennaPorts,
rrc->carrier.pucch_TargetSNRx10, rrc->carrier.pusch_TargetSNRx10,
NULL, rrc->carrier.pucch_TargetSNRx10,
1, // add_ue flag rrc->carrier.servingcellconfigcommon,
ue_context_p->ue_id_rnti, 1, // add_ue flag
ue_context_p->ue_context.secondaryCellGroup); ue_context_p->ue_id_rnti,
ue_context_p->ue_context.secondaryCellGroup);
} else {
rrc_mac_config_req_gNB(rrc->module_id,
rrc->carrier.ssb_SubcarrierOffset,
rrc->carrier.pdsch_AntennaPorts,
rrc->carrier.pusch_TargetSNRx10,
rrc->carrier.pucch_TargetSNRx10,
NULL,
1, // add_ue flag
ue_context_p->ue_id_rnti,
ue_context_p->ue_context.secondaryCellGroup);
}
if(m == NULL){ if(m == NULL){
LOG_W(RRC, "Calling RRC PDCP/RLC ASN1 request functions for protocol context %p with module_id %d, rnti %x, frame %d, subframe %d eNB_index %d \n", &ctxt, LOG_W(RRC, "Calling RRC PDCP/RLC ASN1 request functions for protocol context %p with module_id %d, rnti %x, frame %d, subframe %d eNB_index %d \n", &ctxt,
......
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