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
lizhongxiao
OpenXG-RAN
Commits
75b05571
Commit
75b05571
authored
Sep 27, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Setup Request: store in E1 only for CU-UP
parent
b26dcc1e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
openair2/E1AP/e1ap.c
openair2/E1AP/e1ap.c
+2
-2
openair2/E1AP/e1ap_common.c
openair2/E1AP/e1ap_common.c
+4
-2
openair2/E1AP/e1ap_common.h
openair2/E1AP/e1ap_common.h
+3
-1
No files found.
openair2/E1AP/e1ap.c
View file @
75b05571
...
@@ -332,7 +332,7 @@ int e1apCUUP_handle_SETUP_RESPONSE(e1ap_upcp_inst_t *inst, const E1AP_E1AP_PDU_t
...
@@ -332,7 +332,7 @@ int e1apCUUP_handle_SETUP_RESPONSE(e1ap_upcp_inst_t *inst, const E1AP_E1AP_PDU_t
/* transac_id */
/* transac_id */
long
transaction_id
;
long
transaction_id
;
long
old_transaction_id
=
inst
->
setupReq
.
transac_id
;
long
old_transaction_id
=
inst
->
cuup
.
setupReq
.
transac_id
;
F1AP_FIND_PROTOCOLIE_BY_ID
(
E1AP_GNB_CU_UP_E1SetupResponseIEs_t
,
ie
,
in
,
F1AP_FIND_PROTOCOLIE_BY_ID
(
E1AP_GNB_CU_UP_E1SetupResponseIEs_t
,
ie
,
in
,
E1AP_ProtocolIE_ID_id_TransactionID
,
true
);
E1AP_ProtocolIE_ID_id_TransactionID
,
true
);
transaction_id
=
ie
->
value
.
choice
.
TransactionID
;
transaction_id
=
ie
->
value
.
choice
.
TransactionID
;
...
@@ -1558,7 +1558,7 @@ static void e1_task_handle_sctp_association_resp(E1_t type, instance_t instance,
...
@@ -1558,7 +1558,7 @@ static void e1_task_handle_sctp_association_resp(E1_t type, instance_t instance,
extern
instance_t
CUuniqInstance
;
extern
instance_t
CUuniqInstance
;
CUuniqInstance
=
getCxtE1
(
instance
)
->
gtpInstF1U
;
CUuniqInstance
=
getCxtE1
(
instance
)
->
gtpInstF1U
;
cuup_init_n3
(
instance
);
cuup_init_n3
(
instance
);
e1apCUUP_send_SETUP_REQUEST
(
inst
->
assoc_id
,
&
inst
->
setupReq
);
e1apCUUP_send_SETUP_REQUEST
(
inst
->
assoc_id
,
&
inst
->
cuup
.
setupReq
);
}
}
}
}
...
...
openair2/E1AP/e1ap_common.c
View file @
75b05571
...
@@ -46,8 +46,10 @@ void createE1inst(E1_t type, instance_t instance, e1ap_net_config_t *nc, e1ap_se
...
@@ -46,8 +46,10 @@ void createE1inst(E1_t type, instance_t instance, e1ap_net_config_t *nc, e1ap_se
e1ap_inst
[
instance
]
->
assoc_id
=
-
1
;
e1ap_inst
[
instance
]
->
assoc_id
=
-
1
;
if
(
nc
)
if
(
nc
)
memcpy
(
&
e1ap_inst
[
instance
]
->
net_config
,
nc
,
sizeof
(
*
nc
));
memcpy
(
&
e1ap_inst
[
instance
]
->
net_config
,
nc
,
sizeof
(
*
nc
));
if
(
req
)
if
(
req
)
{
memcpy
(
&
e1ap_inst
[
instance
]
->
setupReq
,
req
,
sizeof
(
*
req
));
AssertFatal
(
type
==
UPtype
,
"E1 setup request only to be stored for CU-UP
\n
"
);
memcpy
(
&
e1ap_inst
[
instance
]
->
cuup
.
setupReq
,
req
,
sizeof
(
*
req
));
}
e1ap_inst
[
instance
]
->
gtpInstN3
=
-
1
;
e1ap_inst
[
instance
]
->
gtpInstN3
=
-
1
;
e1ap_inst
[
instance
]
->
gtpInstF1U
=
-
1
;
e1ap_inst
[
instance
]
->
gtpInstF1U
=
-
1
;
}
}
...
...
openair2/E1AP/e1ap_common.h
View file @
75b05571
...
@@ -33,9 +33,11 @@ typedef struct e1ap_upcp_inst_s {
...
@@ -33,9 +33,11 @@ typedef struct e1ap_upcp_inst_s {
E1_t
type
;
E1_t
type
;
enum
sctp_state_e
sockState
;
enum
sctp_state_e
sockState
;
sctp_assoc_t
assoc_id
;
sctp_assoc_t
assoc_id
;
struct
{
e1ap_setup_req_t
setupReq
;
}
cuup
;
instance_t
gtpInstN3
;
instance_t
gtpInstN3
;
instance_t
gtpInstF1U
;
instance_t
gtpInstF1U
;
e1ap_setup_req_t
setupReq
;
e1ap_net_config_t
net_config
;
e1ap_net_config_t
net_config
;
}
e1ap_upcp_inst_t
;
}
e1ap_upcp_inst_t
;
...
...
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