Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Michael Black
OpenXG UE
Commits
708e9dc8
Commit
708e9dc8
authored
Aug 05, 2021
by
Laurent THOMAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pdusession id fix: different values for UL and DL
parent
d4230e81
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
1 deletion
+5
-1
openair2/COMMON/gtpv1_u_messages_types.h
openair2/COMMON/gtpv1_u_messages_types.h
+1
-0
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+1
-0
openair2/RRC/NR/rrc_gNB_NGAP.c
openair2/RRC/NR/rrc_gNB_NGAP.c
+2
-0
openair3/ocp-gtpu/gtp_itf.cpp
openair3/ocp-gtpu/gtp_itf.cpp
+1
-1
No files found.
openair2/COMMON/gtpv1_u_messages_types.h
View file @
708e9dc8
...
...
@@ -191,6 +191,7 @@ typedef struct gtpv1u_gnb_create_tunnel_req_s {
int
num_tunnels
;
teid_t
upf_NGu_teid
[
NR_GTPV1U_MAX_BEARERS_PER_UE
];
///< Tunnel Endpoint Identifier
pdusessionid_t
pdusession_id
[
NR_GTPV1U_MAX_BEARERS_PER_UE
];
ebi_t
incoming_rb_id
[
NR_GTPV1U_MAX_BEARERS_PER_UE
];
transport_layer_addr_t
upf_addr
[
NR_GTPV1U_MAX_BEARERS_PER_UE
];
}
gtpv1u_gnb_create_tunnel_req_t
;
...
...
openair2/RRC/NR/rrc_gNB.c
View file @
708e9dc8
...
...
@@ -1643,6 +1643,7 @@ rrc_gNB_process_RRCConnectionReestablishmentComplete(
for
(
j
=
0
,
i
=
0
;
i
<
NB_RB_MAX
;
i
++
)
{
if
(
ue_context_pP
->
ue_context
.
pduSession
[
i
].
status
==
PDU_SESSION_STATUS_ESTABLISHED
||
ue_context_pP
->
ue_context
.
pduSession
[
i
].
status
==
PDU_SESSION_STATUS_DONE
)
{
create_tunnel_req
.
pdusession_id
[
j
]
=
ue_context_pP
->
ue_context
.
pduSession
[
i
].
param
.
pdusession_id
;
create_tunnel_req
.
incoming_rb_id
[
j
]
=
i
+
1
;
create_tunnel_req
.
upf_NGu_teid
[
j
]
=
ue_context_pP
->
ue_context
.
pduSession
[
i
].
param
.
gtp_teid
;
memcpy
(
create_tunnel_req
.
upf_addr
[
j
].
buffer
,
ue_context_pP
->
ue_context
.
pduSession
[
i
].
param
.
upf_addr
.
buffer
,
...
...
openair2/RRC/NR/rrc_gNB_NGAP.c
View file @
708e9dc8
...
...
@@ -542,6 +542,7 @@ rrc_gNB_process_NGAP_INITIAL_CONTEXT_SETUP_REQ(
ue_context_p
->
ue_context
.
pduSession
[
i
].
status
=
PDU_SESSION_STATUS_NEW
;
ue_context_p
->
ue_context
.
pduSession
[
i
].
param
=
NGAP_INITIAL_CONTEXT_SETUP_REQ
(
msg_p
).
pdusession_param
[
pdu_sessions_done
];
create_tunnel_req
.
pdusession_id
[
pdu_sessions_done
]
=
NGAP_INITIAL_CONTEXT_SETUP_REQ
(
msg_p
).
pdusession_param
[
pdu_sessions_done
].
pdusession_id
;
create_tunnel_req
.
incoming_rb_id
[
pdu_sessions_done
]
=
i
+
1
;
create_tunnel_req
.
upf_NGu_teid
[
pdu_sessions_done
]
=
NGAP_INITIAL_CONTEXT_SETUP_REQ
(
msg_p
).
pdusession_param
[
pdu_sessions_done
].
gtp_teid
;
create_tunnel_req
.
upf_addr
[
pdu_sessions_done
].
length
=
NGAP_INITIAL_CONTEXT_SETUP_REQ
(
msg_p
).
pdusession_param
[
pdu_sessions_done
].
upf_addr
.
length
;
memcpy
(
create_tunnel_req
.
upf_addr
[
pdu_sessions_done
].
buffer
,
...
...
@@ -1064,6 +1065,7 @@ rrc_gNB_process_NGAP_PDUSESSION_SETUP_REQ(
ue_context_p
->
ue_context
.
pduSession
[
i
].
status
=
PDU_SESSION_STATUS_NEW
;
ue_context_p
->
ue_context
.
pduSession
[
i
].
param
=
NGAP_PDUSESSION_SETUP_REQ
(
msg_p
).
pdusession_setup_params
[
pdu_sessions_done
];
create_tunnel_req
.
pdusession_id
[
pdu_sessions_done
]
=
NGAP_PDUSESSION_SETUP_REQ
(
msg_p
).
pdusession_setup_params
[
pdu_sessions_done
].
pdusession_id
;
create_tunnel_req
.
incoming_rb_id
[
pdu_sessions_done
]
=
i
+
1
;
create_tunnel_req
.
upf_NGu_teid
[
pdu_sessions_done
]
=
NGAP_PDUSESSION_SETUP_REQ
(
msg_p
).
pdusession_setup_params
[
pdu_sessions_done
].
gtp_teid
;
memcpy
(
create_tunnel_req
.
upf_addr
[
pdu_sessions_done
].
buffer
,
NGAP_PDUSESSION_SETUP_REQ
(
msg_p
).
pdusession_setup_params
[
pdu_sessions_done
].
upf_addr
.
buffer
,
...
...
openair3/ocp-gtpu/gtp_itf.cpp
View file @
708e9dc8
...
...
@@ -528,7 +528,7 @@ int gtpv1u_create_ngu_tunnel( const instance_t instance,
for
(
int
i
=
0
;
i
<
create_tunnel_req
->
num_tunnels
;
i
++
)
{
teid_t
teid
=
newGtpuCreateTunnel
(
compatInst
(
instance
),
create_tunnel_req
->
rnti
,
create_tunnel_req
->
pdusession
_id
[
i
],
create_tunnel_req
->
incoming_rb
_id
[
i
],
create_tunnel_req
->
pdusession_id
[
i
],
create_tunnel_req
->
upf_NGu_teid
[
i
],
create_tunnel_req
->
upf_addr
[
i
],
2152
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment