Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
OpenXG
OpenXG UE
Commits
57814835
Commit
57814835
authored
Jan 14, 2021
by
David Kim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updating mcs file location to openair_dir
parent
c2bb62dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
targets/RT/USER/lte-uesoftmodem.c
targets/RT/USER/lte-uesoftmodem.c
+2
-2
No files found.
targets/RT/USER/lte-uesoftmodem.c
View file @
57814835
...
...
@@ -852,7 +852,7 @@ void init_bler_table(void)
char
*
token
;
char
*
temp
=
NULL
;
FILE
*
pFile
;
c
har
*
home
=
getenv
(
"HOME
"
);
c
onst
char
*
openair_dir
=
getenv
(
"OPENAIR_DIR
"
);
// Maybe not needed... and may not work.
memset
(
bler_data
,
0
,
sizeof
(
bler_data
));
...
...
@@ -860,7 +860,7 @@ void init_bler_table(void)
for
(
unsigned
int
i
=
0
;
i
<
NUM_MCS
;
i
++
)
{
// Filename needs to be changed to dynamic name
snprintf
(
fName
,
sizeof
(
fName
),
"%s/openair
interface5g/openair1/SIMULATION/LTE_PHY/BLER_SIMULATIONS/AWGN/AWGN_results/bler_tx1_chan18_nrx1_mcs%d.csv"
,
home
,
i
);
snprintf
(
fName
,
sizeof
(
fName
),
"%s/openair
1/SIMULATION/LTE_PHY/BLER_SIMULATIONS/AWGN/AWGN_results/bler_tx1_chan18_nrx1_mcs%d.csv"
,
openair_dir
,
i
);
pFile
=
fopen
(
fName
,
"r"
);
if
(
!
pFile
)
{
...
...
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