Commit 1f64c53c authored by cucengineer's avatar cucengineer

Added config to pdcp and rlc

parent fc203186
......@@ -1046,27 +1046,27 @@ void nr_DRB_preconfiguration(void)
else{
PROTOCOL_CTXT_SET_BY_MODULE_ID(&ctxt, 0, ENB_FLAG_NO, 0x1234, 0, 0,0);
}
nr_rrc_pdcp_config_asn1_req(
&ctxt,
rbconfig->srb_ToAddModList,
rbconfig->drb_ToAddModList ,
rbconfig->drb_ToReleaseList,
0xff,
NULL,
NULL,
NULL,
NULL,
NULL,
Rlc_Bearer_ToAdd_list);
nr_rrc_rlc_config_asn1_req (&ctxt,
rbconfig->srb_ToAddModList,
rbconfig->drb_ToAddModList,
rbconfig->drb_ToReleaseList,
(LTE_PMCH_InfoList_r9_t *) NULL,
Rlc_Bearer_ToAdd_list);
}
//CUC:delete pdcp rlc
// nr_rrc_pdcp_config_asn1_req(
// &ctxt,
// rbconfig->srb_ToAddModList,
// rbconfig->drb_ToAddModList ,
// rbconfig->drb_ToReleaseList,
// 0xff,
// NULL,
// NULL,
// NULL,
// NULL,
// NULL,
// Rlc_Bearer_ToAdd_list);
// nr_rrc_rlc_config_asn1_req (&ctxt,
// rbconfig->srb_ToAddModList,
// rbconfig->drb_ToAddModList,
// rbconfig->drb_ToReleaseList,
// (LTE_PMCH_InfoList_r9_t *) NULL,
// Rlc_Bearer_ToAdd_list);
// }
uint64_t get_pdcp_optmask(void)
{
......
......@@ -968,8 +968,8 @@ rlc_op_status_t nr_rrc_rlc_config_asn1_req (const protocol_ctxt_t * const ctxt
if (srb2add_listP != NULL) {
for (i = 0; i < srb2add_listP->list.count; i++) {
// add_srb(rnti, srb2add_listP->list.array[i]);
srb_add_drb_am(rnti, drb2add_listP->list.array[0], rlc_bearer2add_list->list.array[0]);
add_srb(rnti, srb2add_listP->list.array[i]);
// srb_add_drb_am(rnti, drb2add_listP->list.array[0], rlc_bearer2add_list->list.array[0]);
}
}
......
This diff is collapsed.
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