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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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-RAN
Commits
7955cb4f
Commit
7955cb4f
authored
Nov 22, 2020
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tested IF4p5 on asterix/obelix (100 PRB via 1 Gbit/s)
parent
f0320ea0
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
18 deletions
+9
-18
openair1/PHY/MODULATION/ofdm_mod.c
openair1/PHY/MODULATION/ofdm_mod.c
+4
-14
openair1/SIMULATION/LTE_PHY/dlsim.c
openair1/SIMULATION/LTE_PHY/dlsim.c
+2
-2
targets/ARCH/ETHERNET/USERSPACE/LIB/eth_udp.c
targets/ARCH/ETHERNET/USERSPACE/LIB/eth_udp.c
+3
-2
No files found.
openair1/PHY/MODULATION/ofdm_mod.c
View file @
7955cb4f
...
...
@@ -90,9 +90,8 @@ void PHY_ofdm_mod(int *input, /// pointer to complex input
if
(
nb_symbols
==
0
)
return
;
short
temp
[
2
*
2
*
6144
*
4
]
__attribute__
((
aligned
(
32
)));
unsigned
short
i
,
j
;
short
k
;
int16_t
temp
[
2
*
2
*
6144
*
4
]
__attribute__
((
aligned
(
32
)));
int
i
,
j
;
volatile
int
*
output_ptr
=
(
int
*
)
0
;
...
...
@@ -190,18 +189,9 @@ void PHY_ofdm_mod(int *input, /// pointer to complex input
if
(
fftsize
==
128
)
#endif
{
/*for (j=0; j<fftsize ; j++) {
output_ptr[j] = temp_ptr[j];
}*/
memcpy1
((
void
*
)
output_ptr
,(
void
*
)
temp_ptr
,
fftsize
<<
2
);
memcpy
((
void
*
)
output_ptr
,(
void
*
)
temp_ptr
,
fftsize
<<
2
);
}
j
=
fftsize
;
for
(
k
=-
1
;
k
>=-
nb_prefix_samples
;
k
--
)
{
output_ptr
[
k
]
=
output_ptr
[
--
j
];
}
memcpy
((
void
*
)
&
output_ptr
[
-
nb_prefix_samples
],(
void
*
)
&
output_ptr
[
fftsize
-
nb_prefix_samples
],
nb_prefix_samples
<<
2
);
break
;
case
CYCLIC_SUFFIX
:
...
...
openair1/SIMULATION/LTE_PHY/dlsim.c
View file @
7955cb4f
...
...
@@ -487,7 +487,7 @@ int n_ch_rlz = 1;
int
rx_sample_offset
=
0
;
int
xforms
=
0
;
int
dump_table
=
0
;
int
loglvl
=
OAILOG_
WARNING
;
int
loglvl
=
OAILOG_
INFO
;
int
mcs1
=
0
,
mcs2
=
0
,
mcs_i
=
0
,
dual_stream_UE
=
0
,
awgn_flag
=
0
;
int
two_thread_flag
=
0
;
int
num_rounds
=
4
;
//,fix_rounds=0;
...
...
@@ -670,7 +670,7 @@ int main(int argc, char **argv) {
{
"XForms"
,
"Display the soft scope"
,
PARAMFLAG_BOOL
,
iptr
:&
xforms
,
defintval
:
0
,
TYPE_INT
,
0
},
{
"Yperfect_ce"
,
"Perfect CE"
,
PARAMFLAG_BOOL
,
iptr
:&
perfect_ce
,
defintval
:
0
,
TYPE_INT
,
0
},
{
"Zdump"
,
"dump table"
,
PARAMFLAG_BOOL
,
iptr
:&
dump_table
,
defintval
:
0
,
TYPE_INT
,
0
},
{
"Loglvl"
,
"log level"
,
0
,
iptr
:&
loglvl
,
defintval
:
OAILOG_
DEBUG
,
TYPE_INT
,
0
},
{
"Loglvl"
,
"log level"
,
0
,
iptr
:&
loglvl
,
defintval
:
OAILOG_
INFO
,
TYPE_INT
,
0
},
{
"zn_rx"
,
"Number of RX antennas used in UE"
,
0
,
iptr
:
NULL
,
defintval
:
2
,
TYPE_INT
,
0
},
{
"gchannel"
,
"[A:M] Use 3GPP 25.814 SCM-A/B/C/D('A','B','C','D') or 36-101 EPA('E'), EVA ('F'),ETU('G') models (ignores delay spread and Ricean factor), Rayghleigh8 ('H'), Rayleigh1('I'), Rayleigh1_corr('J'), Rayleigh1_anticorr ('K'), Rice8('L'), Rice1('M')"
,
0
,
strptr
:
NULL
,
defstrval
:
NULL
,
TYPE_STRING
,
0
},
{
"verbose"
,
"display debug text"
,
PARAMFLAG_BOOL
,
iptr
:&
verbose
,
defintval
:
0
,
TYPE_INT
,
0
},
...
...
targets/ARCH/ETHERNET/USERSPACE/LIB/eth_udp.c
View file @
7955cb4f
...
...
@@ -202,8 +202,9 @@ int trx_eth_read_udp_IF4p5(openair0_device *device, openair0_timestamp *timestam
goto
again
;
}
}
else
{
perror
(
"ETHERNET IF4p5 READ"
);
printf
(
"(%s):
\n
"
,
strerror
(
errno
));
return
(
-
1
);
//perror("ETHERNET IF4p5 READ");
//printf("(%s):\n", strerror(errno));
}
}
else
{
*
timestamp
=
test_header
->
sub_type
;
...
...
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