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
1c747e82
Commit
1c747e82
authored
Feb 11, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RRC stats: show DU info
parent
1bd6018f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
openair2/RRC/NR/rrc_gNB_du.c
openair2/RRC/NR/rrc_gNB_du.c
+13
-0
No files found.
openair2/RRC/NR/rrc_gNB_du.c
View file @
1c747e82
...
...
@@ -274,5 +274,18 @@ void dump_du_info(const gNB_RRC_INST *rrc, FILE *f)
}
const
f1ap_served_cell_info_t
*
info
=
&
sr
->
cell
[
0
].
info
;
fprintf
(
f
,
": nrCellID %ld, PCI %d
\n
"
,
info
->
nr_cellid
,
info
->
nr_pci
);
if
(
info
->
mode
==
F1AP_MODE_TDD
)
{
const
f1ap_nr_frequency_info_t
*
fi
=
&
info
->
tdd
.
freqinfo
;
const
f1ap_transmission_bandwidth_t
*
tb
=
&
info
->
tdd
.
tbw
;
fprintf
(
f
,
" TDD: band %d ARFCN %d SCS %d (kHz) PRB %d
\n
"
,
fi
->
band
,
fi
->
arfcn
,
15
*
(
1
<<
tb
->
scs
),
tb
->
nrb
);
}
else
{
const
f1ap_nr_frequency_info_t
*
dfi
=
&
info
->
fdd
.
dl_freqinfo
;
const
f1ap_transmission_bandwidth_t
*
dtb
=
&
info
->
fdd
.
dl_tbw
;
fprintf
(
f
,
" FDD: DL band %d ARFCN %d SCS %d (kHz) PRB %d
\n
"
,
dfi
->
band
,
dfi
->
arfcn
,
15
*
(
1
<<
dtb
->
scs
),
dtb
->
nrb
);
const
f1ap_nr_frequency_info_t
*
ufi
=
&
info
->
fdd
.
ul_freqinfo
;
const
f1ap_transmission_bandwidth_t
*
utb
=
&
info
->
fdd
.
ul_tbw
;
fprintf
(
f
,
" UL band %d ARFCN %d SCS %d (kHz) PRB %d
\n
"
,
ufi
->
band
,
ufi
->
arfcn
,
15
*
(
1
<<
utb
->
scs
),
utb
->
nrb
);
}
}
}
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