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
e4a28cfa
Commit
e4a28cfa
authored
Sep 26, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused variables
parent
5215cc92
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
12 deletions
+2
-12
openair2/COMMON/e1ap_messages_types.h
openair2/COMMON/e1ap_messages_types.h
+2
-4
openair2/E1AP/e1ap.c
openair2/E1AP/e1ap.c
+0
-8
No files found.
openair2/COMMON/e1ap_messages_types.h
View file @
e4a28cfa
...
...
@@ -57,13 +57,11 @@ typedef struct PLMN_ID_s {
typedef
struct
e1ap_setup_req_s
{
uint64_t
gNB_cu_up_id
;
char
*
gNB_cu_up_name
;
sctp_assoc_t
assoc_id
;
uint64_t
transac_id
;
int
supported_plmns
;
PLMN_ID_t
plmns
[
E1AP_MAX_NUM_PLMNS
];
uint16_t
sctp_in_streams
;
uint16_t
sctp_out_streams
;
uint16_t
default_sctp_stream_id
;
sctp_assoc_t
assoc_id
;
net_ip_address_t
CUUP_e1_ip_address
;
net_ip_address_t
CUCP_e1_ip_address
;
uint16_t
remotePortF1U
;
...
...
openair2/E1AP/e1ap.c
View file @
e4a28cfa
...
...
@@ -1521,8 +1521,6 @@ static void e1_task_send_sctp_association_req(long task_id, instance_t instance,
sctp_new_req
->
ulp_cnx_id
=
instance
;
sctp_new_req
->
port
=
E1AP_PORT_NUMBER
;
sctp_new_req
->
ppid
=
E1AP_SCTP_PPID
;
sctp_new_req
->
in_streams
=
e1ap_setup_req
->
sctp_in_streams
;
sctp_new_req
->
out_streams
=
e1ap_setup_req
->
sctp_out_streams
;
// remote
sctp_new_req
->
remote_address
=
e1ap_setup_req
->
CUCP_e1_ip_address
;
// local
...
...
@@ -1554,9 +1552,6 @@ static void e1_task_handle_sctp_association_resp(E1_t type, instance_t instance,
if
(
type
==
UPtype
)
{
e1ap_setup_req_t
*
e1ap_cuup_setup_req
=
&
getCxtE1
(
instance
)
->
setupReq
;
e1ap_cuup_setup_req
->
assoc_id
=
sctp_new_association_resp
->
assoc_id
;
e1ap_cuup_setup_req
->
sctp_in_streams
=
sctp_new_association_resp
->
in_streams
;
e1ap_cuup_setup_req
->
sctp_out_streams
=
sctp_new_association_resp
->
out_streams
;
e1ap_cuup_setup_req
->
default_sctp_stream_id
=
0
;
eth_params_t
IPaddr
;
IPaddr
.
my_addr
=
e1ap_cuup_setup_req
->
localAddressF1U
;
...
...
@@ -1620,9 +1615,6 @@ void e1_task_handle_sctp_association_ind(E1_t type, instance_t instance, sctp_ne
getCxtE1
(
instance
)
->
sockState
=
SCTP_STATE_ESTABLISHED
;
e1ap_setup_req_t
*
setup_req
=
&
getCxtE1
(
instance
)
->
setupReq
;
setup_req
->
assoc_id
=
sctp_new_ind
->
assoc_id
;
setup_req
->
sctp_in_streams
=
sctp_new_ind
->
in_streams
;
setup_req
->
sctp_out_streams
=
sctp_new_ind
->
out_streams
;
setup_req
->
default_sctp_stream_id
=
0
;
}
void
e1apHandleTimer
(
instance_t
myInstance
)
...
...
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