File tree Expand file tree Collapse file tree 1 file changed +20
-11
lines changed Expand file tree Collapse file tree 1 file changed +20
-11
lines changed Original file line number Diff line number Diff line change @@ -404,17 +404,26 @@ pdu_session_manager_impl::modify_pdu_session(const e1ap_pdu_session_res_to_modif
404404 drb->f1u_ul_teid );
405405
406406 // create new F1-U and connect it. This will automatically disconnect the old F1-U.
407- /* TODO make sure this is correct.
408- drb->f1u = f1u_gw.create_cu_bearer(ue_index,
409- drb->drb_id,
410- drb->f1u_cfg, // reuse previous F1-U config
411- f1u_ul_tunnel_addr,
412- drb->f1u_to_pdcp_adapter,
413- drb->f1u_to_pdcp_adapter,
414- ue_dl_exec,
415- ue_dl_timer_factory,
416- ue_inactivity_timer);
417- */
407+ drb->f1u_gw_bearer = f1u_gw.create_cu_bearer (ue_index,
408+ drb->drb_id ,
409+ drb->f1u_cfg ,
410+ f1u_ul_tunnel_addr,
411+ drb->f1u_gateway_rx_to_nru_adapter ,
412+ ue_ul_exec,
413+ ue_dl_timer_factory,
414+ ue_inactivity_timer);
415+
416+ drb->f1u = srs_cu_up::create_f1u_bearer (ue_index,
417+ drb->drb_id ,
418+ f1u_ul_tunnel_addr,
419+ drb->f1u_cfg ,
420+ *drb->f1u_gw_bearer ,
421+ drb->f1u_to_pdcp_adapter ,
422+ drb->f1u_to_pdcp_adapter ,
423+ ue_dl_timer_factory,
424+ ue_inactivity_timer,
425+ ue_ul_exec);
426+
418427 drb_iter->second ->pdcp_to_f1u_adapter .disconnect_f1u ();
419428
420429 drb_result.gtp_tunnel = f1u_ul_tunnel_addr;
You can’t perform that action at this time.
0 commit comments