Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
zzha zzha
OpenXG-RAN
Commits
c17ba044
Commit
c17ba044
authored
Oct 01, 2021
by
Laurent THOMAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make gtp-u port on F1-U configurable
parent
fd816a03
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
+7
-6
ci-scripts/conf_files/du.band7.tm1.100PRB.usrpb210.conf
ci-scripts/conf_files/du.band7.tm1.100PRB.usrpb210.conf
+1
-1
ci-scripts/conf_files/gNB_SA_DU.conf
ci-scripts/conf_files/gNB_SA_DU.conf
+2
-2
openair2/F1AP/f1ap_du_ue_context_management.c
openair2/F1AP/f1ap_du_ue_context_management.c
+3
-2
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+1
-1
No files found.
ci-scripts/conf_files/du.band7.tm1.100PRB.usrpb210.conf
View file @
c17ba044
...
@@ -12,7 +12,7 @@ eNBs =
...
@@ -12,7 +12,7 @@ eNBs =
//
Tracking
area
code
,
0
x0000
and
0
xfffe
are
reserved
values
//
Tracking
area
code
,
0
x0000
and
0
xfffe
are
reserved
values
tracking_area_code
=
1
;
tracking_area_code
=
1
;
plmn_list
= ( {
mcc
=
450
;
mnc
=
05
;
mnc_length
=
2
; } )
plmn_list
= ( {
mcc
=
208
;
mnc
=
92
;
mnc_length
=
2
; } )
nr_cellid
=
12345678
L
nr_cellid
=
12345678
L
...
...
ci-scripts/conf_files/gNB_SA_DU.conf
View file @
c17ba044
...
@@ -233,9 +233,9 @@ MACRLCs = (
...
@@ -233,9 +233,9 @@ MACRLCs = (
local_n_if_name
=
"lo"
;
local_n_if_name
=
"lo"
;
local_n_address
=
"127.0.0.3"
;
local_n_address
=
"127.0.0.3"
;
remote_n_address
=
"127.0.0.4"
;
remote_n_address
=
"127.0.0.4"
;
local_n_portc
=
601
;
local_n_portc
=
500
;
local_n_portd
=
2152
;
local_n_portd
=
2152
;
remote_n_portc
=
600
;
remote_n_portc
=
501
;
remote_n_portd
=
2152
;
remote_n_portd
=
2152
;
}
}
...
...
openair2/F1AP/f1ap_du_ue_context_management.c
View file @
c17ba044
...
@@ -157,7 +157,8 @@ int DU_handle_UE_CONTEXT_SETUP_REQUEST(instance_t instance,
...
@@ -157,7 +157,8 @@ int DU_handle_UE_CONTEXT_SETUP_REQUEST(instance_t instance,
F1AP_GTPTunnel_t
*
ul_up_tnl0
=
ul_up_tnl_info_p
->
uLUPTNLInformation
.
choice
.
gTPTunnel
;
F1AP_GTPTunnel_t
*
ul_up_tnl0
=
ul_up_tnl_info_p
->
uLUPTNLInformation
.
choice
.
gTPTunnel
;
BIT_STRING_TO_TRANSPORT_LAYER_ADDRESS_IPv4
(
&
ul_up_tnl0
->
transportLayerAddress
,
drb_p
->
up_ul_tnl
[
0
].
tl_address
);
BIT_STRING_TO_TRANSPORT_LAYER_ADDRESS_IPv4
(
&
ul_up_tnl0
->
transportLayerAddress
,
drb_p
->
up_ul_tnl
[
0
].
tl_address
);
OCTET_STRING_TO_INT32
(
&
ul_up_tnl0
->
gTP_TEID
,
drb_p
->
up_ul_tnl
[
0
].
teid
);
OCTET_STRING_TO_INT32
(
&
ul_up_tnl0
->
gTP_TEID
,
drb_p
->
up_ul_tnl
[
0
].
teid
);
// 3GPP assumes GTP-U is on port 2152, but OAI is configurable
drb_p
->
up_ul_tnl
[
0
].
port
=
getCxt
(
false
,
instance
)
->
setupReq
.
CUport
;
switch
(
drbs_tobesetup_item_p
->
rLCMode
)
{
switch
(
drbs_tobesetup_item_p
->
rLCMode
)
{
case
F1AP_RLCMode_rlc_am
:
case
F1AP_RLCMode_rlc_am
:
drb_p
->
rlc_mode
=
RLC_MODE_AM
;
drb_p
->
rlc_mode
=
RLC_MODE_AM
;
...
@@ -177,7 +178,7 @@ int DU_handle_UE_CONTEXT_SETUP_REQUEST(instance_t instance,
...
@@ -177,7 +178,7 @@ int DU_handle_UE_CONTEXT_SETUP_REQUEST(instance_t instance,
drb_p
->
drb_id
,
drb_p
->
drb_id
,
drb_p
->
up_ul_tnl
[
0
].
teid
,
drb_p
->
up_ul_tnl
[
0
].
teid
,
addr
,
addr
,
2152
,
drb_p
->
up_ul_tnl
[
0
].
port
,
lteDURecvCb
);
lteDURecvCb
);
drb_p
->
up_dl_tnl_length
++
;
drb_p
->
up_dl_tnl_length
++
;
}
}
...
...
openair2/RRC/NR/rrc_gNB.c
View file @
c17ba044
...
@@ -3210,7 +3210,7 @@ static void rrc_DU_process_ue_context_setup_request(MessageDef *msg_p, const cha
...
@@ -3210,7 +3210,7 @@ static void rrc_DU_process_ue_context_setup_request(MessageDef *msg_p, const cha
drb_p
.
drb_id
,
drb_p
.
drb_id
,
drb_p
.
up_ul_tnl
[
0
].
teid
,
drb_p
.
up_ul_tnl
[
0
].
teid
,
addr
,
addr
,
2152
,
drb_p
.
up_ul_tnl
[
0
].
port
,
DURecvCb
);
DURecvCb
);
}
}
}
}
...
...
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