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
8f814485
Commit
8f814485
authored
Jun 24, 2019
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: X2 Setup Req/Resp: first check, then increase number of cells
parent
1a0372d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+2
-10
No files found.
openair2/RRC/LTE/rrc_eNB.c
View file @
8f814485
...
...
@@ -4592,9 +4592,6 @@ rrc_eNB_generate_HandoverPreparationInformation(
}
void
rrc_eNB_process_x2_setup_request
(
int
mod_id
,
x2ap_setup_req_t
*
m
)
{
RC
.
rrc
[
mod_id
]
->
num_neigh_cells
++
;
if
(
RC
.
rrc
[
mod_id
]
->
num_neigh_cells
>
MAX_NUM_NEIGH_CELLs
)
{
LOG_E
(
RRC
,
"Error: number of neighbouring cells is exceeded
\n
"
);
return
;
...
...
@@ -4605,18 +4602,14 @@ void rrc_eNB_process_x2_setup_request(int mod_id, x2ap_setup_req_t *m) {
return
;
}
RC
.
rrc
[
mod_id
]
->
num_neigh_cells
++
;
RC
.
rrc
[
mod_id
]
->
num_neigh_cells_cc
[
RC
.
rrc
[
mod_id
]
->
num_neigh_cells
-
1
]
=
m
->
num_cc
;
for
(
int
i
=
0
;
i
<
m
->
num_cc
;
i
++
)
{
RC
.
rrc
[
mod_id
]
->
neigh_cells_id
[
RC
.
rrc
[
mod_id
]
->
num_neigh_cells
-
1
][
i
]
=
m
->
Nid_cell
[
i
];
}
}
void
rrc_eNB_process_x2_setup_response
(
int
mod_id
,
x2ap_setup_resp_t
*
m
)
{
RC
.
rrc
[
mod_id
]
->
num_neigh_cells
++
;
if
(
RC
.
rrc
[
mod_id
]
->
num_neigh_cells
>
MAX_NUM_NEIGH_CELLs
)
{
LOG_E
(
RRC
,
"Error: number of neighbouring cells is exceeded
\n
"
);
return
;
...
...
@@ -4627,12 +4620,11 @@ void rrc_eNB_process_x2_setup_response(int mod_id, x2ap_setup_resp_t *m) {
return
;
}
RC
.
rrc
[
mod_id
]
->
num_neigh_cells
++
;
RC
.
rrc
[
mod_id
]
->
num_neigh_cells_cc
[
RC
.
rrc
[
mod_id
]
->
num_neigh_cells
-
1
]
=
m
->
num_cc
;
for
(
int
i
=
0
;
i
<
m
->
num_cc
;
i
++
)
{
RC
.
rrc
[
mod_id
]
->
neigh_cells_id
[
RC
.
rrc
[
mod_id
]
->
num_neigh_cells
-
1
][
i
]
=
m
->
Nid_cell
[
i
];
}
}
void
rrc_eNB_process_handoverPreparationInformation
(
int
mod_id
,
x2ap_handover_req_t
*
m
)
{
...
...
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