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
canghaiwuhen
OpenXG-RAN
Commits
f73ecda9
Commit
f73ecda9
authored
Jul 02, 2020
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nr_prachsim -F now reads full subframe
parent
fa5213df
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
openair1/SIMULATION/NR_PHY/prachsim.c
openair1/SIMULATION/NR_PHY/prachsim.c
+3
-3
No files found.
openair1/SIMULATION/NR_PHY/prachsim.c
View file @
f73ecda9
...
...
@@ -691,10 +691,10 @@ int main(int argc, char **argv){
}
}
}
else
{
n_bytes
=
fread
(
&
ru
->
common
.
rxdata
[
0
][
rx_prach_start
+
frame_parms
->
samples_per_subframe
/
2
],
sizeof
(
int32_t
),
frame_parms
->
samples_per_subframe
/
2
,
input_fd
);
n_bytes
=
fread
(
&
ru
->
common
.
rxdata
[
0
][
rx_prach_start
],
sizeof
(
int32_t
),
frame_parms
->
samples_per_subframe
,
input_fd
);
printf
(
"fread %d bytes from file %s
\n
"
,
n_bytes
,
input_file
);
if
(
n_bytes
!=
frame_parms
->
samples_per_subframe
/
2
)
{
printf
(
"expected %d bytes
\n
"
,
frame_parms
->
samples_per_subframe
/
2
);
if
(
n_bytes
!=
frame_parms
->
samples_per_subframe
)
{
printf
(
"expected %d bytes
\n
"
,
frame_parms
->
samples_per_subframe
);
exit
(
-
1
);
}
}
...
...
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