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
08dbc5bf
Commit
08dbc5bf
authored
May 02, 2024
by
Romain Beurdouche
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(phy simulators): fix cmdline configmodule for NR_PHY simulators
parent
4e8f58b4
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
48 additions
and
7 deletions
+48
-7
openair1/SIMULATION/NR_PHY/dlschsim.c
openair1/SIMULATION/NR_PHY/dlschsim.c
+8
-1
openair1/SIMULATION/NR_PHY/pbchsim.c
openair1/SIMULATION/NR_PHY/pbchsim.c
+8
-1
openair1/SIMULATION/NR_PHY/prachsim.c
openair1/SIMULATION/NR_PHY/prachsim.c
+8
-1
openair1/SIMULATION/NR_PHY/psbchsim.c
openair1/SIMULATION/NR_PHY/psbchsim.c
+7
-1
openair1/SIMULATION/NR_PHY/pucchsim.c
openair1/SIMULATION/NR_PHY/pucchsim.c
+8
-1
openair1/SIMULATION/NR_PHY/ulschsim.c
openair1/SIMULATION/NR_PHY/ulschsim.c
+9
-2
No files found.
openair1/SIMULATION/NR_PHY/dlschsim.c
View file @
08dbc5bf
...
...
@@ -146,7 +146,14 @@ int main(int argc, char **argv)
// logInit();
randominit
(
0
);
while
((
c
=
getopt
(
argc
,
argv
,
"df:hpVg:i:j:n:l:m:r:s:S:y:z:M:N:F:R:P:L:X:"
))
!=
-
1
)
{
while
((
c
=
getopt
(
argc
,
argv
,
"--:df:hpVg:i:j:n:l:m:r:s:S:y:z:M:N:F:R:P:L:X:"
))
!=
-
1
)
{
/* ignore long options starting with '--' and their arguments that are handled by configmodule */
/* with this opstring getopt returns 1 for non-option arguments, refer to 'man 3 getopt' */
if
(
c
==
1
||
c
==
'-'
)
continue
;
printf
(
"handling optarg %c
\n
"
,
c
);
switch
(
c
)
{
/*case 'f':
write_output_file = 1;
...
...
openair1/SIMULATION/NR_PHY/pbchsim.c
View file @
08dbc5bf
...
...
@@ -243,7 +243,14 @@ int main(int argc, char **argv)
exit_fun
(
"[NR_PBCHSIM] Error, configuration module init failed
\n
"
);
}
while
((
c
=
getopt
(
argc
,
argv
,
"F:g:hIL:m:M:n:N:o:O:P:r:R:s:S:x:y:z:"
))
!=
-
1
)
{
while
((
c
=
getopt
(
argc
,
argv
,
"--:F:g:hIL:m:M:n:N:o:O:P:r:R:s:S:x:y:z:"
))
!=
-
1
)
{
/* ignore long options starting with '--' and their arguments that are handled by configmodule */
/* with this opstring getopt returns 1 for non-option arguments, refer to 'man 3 getopt' */
if
(
c
==
1
||
c
==
'-'
)
continue
;
printf
(
"handling optarg %c
\n
"
,
c
);
switch
(
c
)
{
/*case 'f':
write_output_file=1;
...
...
openair1/SIMULATION/NR_PHY/prachsim.c
View file @
08dbc5bf
...
...
@@ -164,7 +164,14 @@ int main(int argc, char **argv){
randominit
(
0
);
while
((
c
=
getopt
(
argc
,
argv
,
"hHaA:Cc:l:r:p:g:m:n:s:S:t:x:y:v:V:z:N:F:d:Z:L:R:E"
))
!=
-
1
)
{
while
((
c
=
getopt
(
argc
,
argv
,
"--:hHaA:Cc:l:r:p:g:m:n:s:S:t:x:y:v:V:z:N:F:d:Z:L:R:E"
))
!=
-
1
)
{
/* ignore long options starting with '--' and their arguments that are handled by configmodule */
/* with this opstring getopt returns 1 for non-option arguments, refer to 'man 3 getopt' */
if
(
c
==
1
||
c
==
'-'
)
continue
;
printf
(
"handling optarg %c
\n
"
,
c
);
switch
(
c
)
{
case
'a'
:
printf
(
"Running AWGN simulation
\n
"
);
...
...
openair1/SIMULATION/NR_PHY/psbchsim.c
View file @
08dbc5bf
...
...
@@ -313,7 +313,13 @@ int main(int argc, char **argv)
randominit
(
0
);
while
((
c
=
getopt
(
argc
,
argv
,
"c:hn:o:s:FIL:N:R:S:T:"
))
!=
-
1
)
{
while
((
c
=
getopt
(
argc
,
argv
,
"--:c:hn:o:s:FIL:N:R:S:T:"
))
!=
-
1
)
{
/* ignore long options starting with '--' and their arguments that are handled by configmodule */
/* with this opstring getopt returns 1 for non-option arguments, refer to 'man 3 getopt' */
if
(
c
==
1
||
c
==
'-'
)
continue
;
printf
(
"SIDELINK PSBCH SIM: handling optarg %c
\n
"
,
c
);
switch
(
c
)
{
case
'c'
:
...
...
openair1/SIMULATION/NR_PHY/pucchsim.c
View file @
08dbc5bf
...
...
@@ -155,7 +155,14 @@ int main(int argc, char **argv)
randominit
(
0
);
logInit
();
while
((
c
=
getopt
(
argc
,
argv
,
"f:hA:f:g:i:I:P:B:b:t:T:m:n:r:o:s:S:x:y:z:N:F:GR:IL:q:cd:"
))
!=
-
1
)
{
while
((
c
=
getopt
(
argc
,
argv
,
"--:f:hA:f:g:i:I:P:B:b:t:T:m:n:r:o:s:S:x:y:z:N:F:GR:IL:q:cd:"
))
!=
-
1
)
{
/* ignore long options starting with '--' and their arguments that are handled by configmodule */
/* with this opstring getopt returns 1 for non-option arguments, refer to 'man 3 getopt' */
if
(
c
==
1
||
c
==
'-'
)
continue
;
printf
(
"handling optarg %c
\n
"
,
c
);
switch
(
c
)
{
case
'f'
:
//write_output_file=1;
...
...
openair1/SIMULATION/NR_PHY/ulschsim.c
View file @
08dbc5bf
...
...
@@ -165,8 +165,15 @@ int main(int argc, char **argv)
//logInit();
randominit
(
0
);
//while ((c = getopt(argc, argv, "df:hpg:i:j:n:l:m:r:s:S:y:z:M:N:F:R:P:")) != -1) {
while
((
c
=
getopt
(
argc
,
argv
,
"hg:n:s:S:py:z:M:N:R:F:m:l:q:r:W:"
))
!=
-
1
)
{
//while ((c = getopt(argc, argv, "--:df:hpg:i:j:n:l:m:r:s:S:y:z:M:N:F:R:P:")) != -1) {
while
((
c
=
getopt
(
argc
,
argv
,
"--:hg:n:s:S:py:z:M:N:R:F:m:l:q:r:W:"
))
!=
-
1
)
{
/* ignore long options starting with '--' and their arguments that are handled by configmodule */
/* with this opstring getopt returns 1 for non-option arguments, refer to 'man 3 getopt' */
if
(
c
==
1
||
c
==
'-'
)
continue
;
printf
(
"handling optarg %c
\n
"
,
c
);
switch
(
c
)
{
/*case 'f':
write_output_file = 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