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
7f63a702
Commit
7f63a702
authored
Jul 05, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/demote-logs-simpler-code-band' into integration_2024_w27
parents
4fb3cfaf
141577c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 deletions
+3
-10
common/utils/nr/nr_common.c
common/utils/nr/nr_common.c
+3
-10
No files found.
common/utils/nr/nr_common.c
View file @
7f63a702
...
...
@@ -644,16 +644,9 @@ int get_dmrs_port(int nl, uint16_t dmrs_ports)
frame_type_t
get_frame_type
(
uint16_t
current_band
,
uint8_t
scs_index
)
{
frame_type_t
current_type
;
int32_t
delta_duplex
=
get_delta_duplex
(
current_band
,
scs_index
);
if
(
delta_duplex
==
0
)
current_type
=
TDD
;
else
current_type
=
FDD
;
LOG_I
(
NR_MAC
,
"NR band %d, duplex mode %s, duplex spacing = %d KHz
\n
"
,
current_band
,
duplex_mode
[
current_type
],
delta_duplex
);
frame_type_t
current_type
=
delta_duplex
==
0
?
TDD
:
FDD
;
LOG_D
(
NR_MAC
,
"NR band %d, duplex mode %s, duplex spacing = %d KHz
\n
"
,
current_band
,
duplex_mode
[
current_type
],
delta_duplex
);
return
current_type
;
}
...
...
@@ -664,7 +657,7 @@ int32_t get_delta_duplex(int nr_bandP, uint8_t scs_index)
int32_t
delta_duplex
=
(
nr_bandtable
[
nr_table_idx
].
ul_min
-
nr_bandtable
[
nr_table_idx
].
dl_min
);
LOG_
I
(
NR_MAC
,
"NR band duplex spacing is %d KHz (nr_bandtable[%d].band = %d)
\n
"
,
delta_duplex
,
nr_table_idx
,
nr_bandtable
[
nr_table_idx
].
band
);
LOG_
D
(
NR_MAC
,
"NR band duplex spacing is %d KHz (nr_bandtable[%d].band = %d)
\n
"
,
delta_duplex
,
nr_table_idx
,
nr_bandtable
[
nr_table_idx
].
band
);
return
delta_duplex
;
}
...
...
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