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
canghaiwuhen
OpenXG-RAN
Commits
a5bce40f
Commit
a5bce40f
authored
Jul 17, 2019
by
zhenghuangkun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify x2ho cell expansion
parent
eb3dfaf0
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
371 additions
and
2 deletions
+371
-2
openair2/X2AP/x2ap_eNB.c
openair2/X2AP/x2ap_eNB.c
+4
-2
openair2/X2AP/x2ap_eNB_management_procedures.c
openair2/X2AP/x2ap_eNB_management_procedures.c
+14
-0
openair2/X2AP/x2ap_eNB_management_procedures.h
openair2/X2AP/x2ap_eNB_management_procedures.h
+2
-0
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.25PRB.usrpb210.measeconfig.conf
...TE-EPC/CONF/enb.band7.tm1.25PRB.usrpb210.measeconfig.conf
+351
-0
No files found.
openair2/X2AP/x2ap_eNB.c
View file @
a5bce40f
...
...
@@ -116,8 +116,10 @@ void x2ap_eNB_handle_sctp_association_resp(instance_t instance, sctp_new_associa
if
(
x2ap_enb_data_p
!=
NULL
)
{
/* some sanity check - to be refined at some point */
if
(
sctp_new_association_resp
->
sctp_state
!=
SCTP_STATE_ESTABLISHED
)
{
X2AP_ERROR
(
"x2ap_enb_data_p not NULL and sctp state not SCTP_STATE_ESTABLISHED, what to do?
\n
"
);
abort
();
//X2AP_ERROR("x2ap_enb_data_p not NULL and sctp state not SCTP_STATE_ESTABLISHED, what to do?\n");
//abort();
X2AP_ERROR
(
"x2ap_enb_data_p not NULL and sctp state not SCTP_STATE_ESTABLISHED, remove x2ap instance
\n
"
);
x2ap_remove_eNB
(
instance_p
,
x2ap_enb_data_p
);
}
x2ap_enb_data_p
->
in_streams
=
sctp_new_association_resp
->
in_streams
;
...
...
openair2/X2AP/x2ap_eNB_management_procedures.c
View file @
a5bce40f
...
...
@@ -255,3 +255,17 @@ x2ap_eNB_data_t * x2ap_is_eNB_assoc_id_in_list (const uint32_t sctp_assoc_id)
}
return
NULL
;
}
void
x2ap_remove_eNB
(
x2ap_eNB_instance_t
*
instance_p
,
x2ap_eNB_data_t
*
x2ap_enb_data_p
)
{
printf
(
"x2ap_remove_eNB (removing)
\n
"
);
if
(
instance_p
==
NULL
)
{
STAILQ_FOREACH
(
instance_p
,
&
x2ap_eNB_internal_data
.
x2ap_eNB_instances_head
,
x2ap_eNB_entries
)
{
RB_REMOVE
(
x2ap_enb_map
,
&
instance_p
->
x2ap_enb_head
,
x2ap_enb_data_p
);
}
}
else
{
RB_REMOVE
(
x2ap_enb_map
,
&
instance_p
->
x2ap_enb_head
,
x2ap_enb_data_p
);
}
free
(
x2ap_enb_data_p
);
}
openair2/X2AP/x2ap_eNB_management_procedures.h
View file @
a5bce40f
...
...
@@ -51,4 +51,6 @@ struct x2ap_eNB_data_s *x2ap_get_eNB(x2ap_eNB_instance_t *instance_p,
int32_t
assoc_id
,
uint16_t
cnx_id
);
void
x2ap_remove_eNB
(
x2ap_eNB_instance_t
*
instance_p
,
x2ap_eNB_data_t
*
x2ap_enb_data_p
);
#endif
/* X2AP_ENB_MANAGEMENT_PROCEDURES_H_ */
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.25PRB.usrpb210.measeconfig.conf
0 → 100644
View file @
a5bce40f
This diff is collapsed.
Click to expand it.
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