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
lizhongxiao
OpenXG-RAN
Commits
7d08b0c0
Commit
7d08b0c0
authored
Jun 19, 2023
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add assertion in rotation function
parent
1c3058e2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
openair1/PHY/MODULATION/slot_fep_nr.c
openair1/PHY/MODULATION/slot_fep_nr.c
+3
-0
openair1/SIMULATION/NR_PHY/ulsim.c
openair1/SIMULATION/NR_PHY/ulsim.c
+1
-2
No files found.
openair1/PHY/MODULATION/slot_fep_nr.c
View file @
7d08b0c0
...
...
@@ -288,6 +288,9 @@ void apply_nr_rotation_RX(NR_DL_FRAME_PARMS *frame_parms,
int
first_symbol
,
int
nsymb
)
{
AssertFatal
(
first_symbol
+
nsymb
<=
NR_NUMBER_OF_SYMBOLS_PER_SLOT
,
"First symbol %d and number of symbol %d not compatible with number of symbols in a slot %d
\n
"
,
first_symbol
,
nsymb
,
NR_NUMBER_OF_SYMBOLS_PER_SLOT
);
int
symb_offset
=
(
slot
%
frame_parms
->
slots_per_subframe
)
*
frame_parms
->
symbols_per_slot
;
for
(
int
symbol
=
first_symbol
;
symbol
<
first_symbol
+
nsymb
;
symbol
++
)
{
...
...
openair1/SIMULATION/NR_PHY/ulsim.c
View file @
7d08b0c0
...
...
@@ -1268,8 +1268,7 @@ int main(int argc, char **argv)
gNB
->
frame_parms
.
N_RB_UL
,
offset
,
0
,
gNB
->
frame_parms
.
Ncp
==
EXTENDED
?
12
:
14
,
link_type_ul
);
gNB
->
frame_parms
.
Ncp
==
EXTENDED
?
12
:
14
);
}
ul_proc_error
=
phy_procedures_gNB_uespec_RX
(
gNB
,
frame
,
slot
);
...
...
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