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
spbro
OpenXG-RAN
Commits
dd2ba223
Commit
dd2ba223
authored
Sep 17, 2024
by
Jaroslava Fiedlerova
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/add-mac-doc' into integration_2024_w38
parents
3ca4f66e
93a8bb40
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
239 additions
and
8 deletions
+239
-8
doc/MAC/mac-usage.md
doc/MAC/mac-usage.md
+234
-0
doc/README.md
doc/README.md
+1
-0
doc/code-style-contrib.md
doc/code-style-contrib.md
+2
-1
openair2/LAYER2/NR_MAC_gNB/main.c
openair2/LAYER2/NR_MAC_gNB/main.c
+2
-7
No files found.
doc/MAC/mac-usage.md
0 → 100644
View file @
dd2ba223
This diff is collapsed.
Click to expand it.
doc/README.md
View file @
dd2ba223
...
...
@@ -69,6 +69,7 @@ Legacy unmaintained files:
-
[
Information on how NR nFAPI works
](
./NR_NFAPI_archi.md
)
-
[
Flow graph of the L1 in gNB
](
SW-archi-graph.md
)
-
[
L1 threads in NR-UE
](
./nr-ue-design.md
)
-
[
Information on gNB MAC
](
./MAC/mac-usage.md
)
Legacy unmaintained files:
-
[
`5Gnas.md`
](
./5Gnas.md
)
...
...
doc/code-style-contrib.md
View file @
dd2ba223
...
...
@@ -110,7 +110,8 @@ people, in order to simplify the history, and allow the usage of tools such as
`git bisect`
to search for bugs.
After some time, we make a stable release. For this, we simply merge develop
into master, and give a semantic versioning number, e.g.,
`v1.1`
.
into master, and give a semantic versioning number, e.g.,
`v1.1`
. We target to
make releases bi-yearly.
## How to manage your own branch
...
...
openair2/LAYER2/NR_MAC_gNB/main.c
View file @
dd2ba223
...
...
@@ -156,21 +156,16 @@ size_t dump_mac_stats(gNB_MAC_INST *gNB, char *output, size_t strlen, bool reset
for
(
int
i
=
1
;
i
<
gNB
->
ul_bler
.
harq_round_max
;
i
++
)
output
+=
snprintf
(
output
,
end
-
output
,
"/%"
PRIu64
,
stats
->
ul
.
rounds
[
i
]);
char
deltaMCS_str
[
100
]
=
"
\0
"
;
if
(
UE
->
current_UL_BWP
.
pusch_Config
&&
UE
->
current_UL_BWP
.
pusch_Config
->
pusch_PowerControl
->
deltaMCS
)
{
sprintf
(
deltaMCS_str
,
"deltaMCS %d
\n
"
,
UE
->
mac_stats
.
deltaMCS
);
}
output
+=
snprintf
(
output
,
end
-
output
,
", ulsch_errors %"
PRIu64
", ulsch_DTX %d, BLER %.5f MCS (%d) %d (Qm %d
%s
dB) NPRB %d SNR %d.%d dB
\n
"
,
", ulsch_errors %"
PRIu64
", ulsch_DTX %d, BLER %.5f MCS (%d) %d (Qm %d
deltaMCS %d
dB) NPRB %d SNR %d.%d dB
\n
"
,
stats
->
ul
.
errors
,
stats
->
ulsch_DTX
,
sched_ctrl
->
ul_bler_stats
.
bler
,
UE
->
current_UL_BWP
.
mcs_table
,
sched_ctrl
->
ul_bler_stats
.
mcs
,
nr_get_Qm_ul
(
sched_ctrl
->
ul_bler_stats
.
mcs
,
UE
->
current_UL_BWP
.
mcs_table
),
deltaMCS_str
,
UE
->
mac_stats
.
deltaMCS
,
UE
->
mac_stats
.
NPRB
,
sched_ctrl
->
pusch_snrx10
/
10
,
sched_ctrl
->
pusch_snrx10
%
10
);
...
...
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