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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
97d57422
Commit
97d57422
authored
Nov 02, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check PCI/nrCellID non-overlapping
parent
7c4ec50e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
openair2/RRC/NR/rrc_gNB_du.c
openair2/RRC/NR/rrc_gNB_du.c
+17
-0
No files found.
openair2/RRC/NR/rrc_gNB_du.c
View file @
97d57422
...
...
@@ -91,6 +91,23 @@ void rrc_gNB_process_f1_setup_req(f1ap_setup_req_t *req, sctp_assoc_t assoc_id)
rrc
->
mac_rrc
.
f1_setup_failure
(
assoc_id
,
&
fail
);
return
;
}
// note: we assume that each DU contains only one cell; otherwise, we would
// need to check every cell in the requesting DU to any existing cell.
const
f1ap_served_cell_info_t
*
exist_info
=
&
it
->
setup_req
->
cell
[
0
].
info
;
const
f1ap_served_cell_info_t
*
new_info
=
&
req
->
cell
[
0
].
info
;
if
(
exist_info
->
nr_cellid
==
new_info
->
nr_cellid
||
exist_info
->
nr_pci
==
new_info
->
nr_pci
)
{
LOG_E
(
NR_RRC
,
"existing DU %s on assoc_id %d already has cellID %ld/physCellId %d, rejecting requesting gNB-DU with cellID %ld/physCellId %d
\n
"
,
it
->
setup_req
->
gNB_DU_name
,
it
->
assoc_id
,
exist_info
->
nr_cellid
,
exist_info
->
nr_pci
,
new_info
->
nr_cellid
,
new_info
->
nr_pci
);
f1ap_setup_failure_t
fail
=
{.
cause
=
F1AP_CauseMisc_unspecified
};
rrc
->
mac_rrc
.
f1_setup_failure
(
assoc_id
,
&
fail
);
return
;
}
}
// if there is no system info or no SIB1 and we run in SA mode, we cannot handle 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