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
9f3d5f40
Commit
9f3d5f40
authored
Jan 25, 2019
by
magounak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
experimental changes v4
parent
a256858a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
targets/RT/USER/lte-ru.c
targets/RT/USER/lte-ru.c
+6
-4
No files found.
targets/RT/USER/lte-ru.c
View file @
9f3d5f40
...
...
@@ -734,6 +734,8 @@ void tx_rf(RU_t *ru) {
int
siglen
=
fp
->
samples_per_tti
,
flags
=
1
;
int
siglen2
=
fp
->
samples_per_tti
+
fp
->
nb_prefix_samples
;
int
sigoff2
=
2
*
fp
->
nb_prefix_samples0
+
8
*
fp
->
nb_prefix_samples
+
10
*
fp
->
ofdm_symbol_size
;
if
(
SF_type
==
SF_S
)
{
int
txsymb
=
fp
->
dl_symbols_in_S_subframe
+
(
ru
->
is_slave
==
0
?
1
:
-
1
);
...
...
@@ -741,7 +743,7 @@ void tx_rf(RU_t *ru) {
siglen
=
fp
->
nb_prefix_samples0
+
(
txsymb
*
fp
->
ofdm_symbol_size
)
+
(
txsymb
-
1
)
*
fp
->
nb_prefix_samples
;
//siglen = fp->dl_symbols_in_S_subframe*(fp->ofdm_symbol_size+fp->nb_prefix_samples0);
if
(
ru
->
is_slave
==
1
&&
ru
->
state
==
RU_RUN
&&
proc
->
frame_tx
%
ru
->
p
==
ru
->
tag
-
1
)
{
siglen
=
fp
->
ofdm_symbol_size
+
fp
->
nb_prefix_samples
;
// length of symbol 10
siglen
2
=
fp
->
ofdm_symbol_size
+
fp
->
nb_prefix_samples
;
// length of symbol 10
}
flags
=
3
;
// end of burst
}
...
...
@@ -772,7 +774,7 @@ void tx_rf(RU_t *ru) {
for
(
i
=
0
;
i
<
ru
->
nb_tx
;
i
++
)
{
txp
[
i
]
=
(
void
*
)
&
ru
->
common
.
txdata
[
i
][(
proc
->
subframe_tx
*
fp
->
samples_per_tti
)
-
sf_extension
];
txp1
[
i
]
=
(
void
*
)
&
ru
->
common
.
txdata
[
i
][(
proc
->
subframe_tx
*
fp
->
samples_per_tti
)
-
sf_extension
];
txp1
[
i
]
=
(
void
*
)
&
ru
->
common
.
txdata
[
i
][(
proc
->
subframe_tx
*
fp
->
samples_per_tti
)
+
(
sigoff2
)
-
sf_extension
];
}
/* add fail safe for late command */
if
(
late_control
!=
STATE_BURST_NORMAL
){
//stop burst
...
...
@@ -824,9 +826,9 @@ void tx_rf(RU_t *ru) {
if
(
ru
->
is_slave
==
1
&&
ru
->
state
==
RU_RUN
&&
proc
->
frame_tx
%
ru
->
p
==
ru
->
tag
-
1
&&
proc
->
subframe_tx
==
1
)
{
//LOG_I(PHY,"******** subframe %d Slave sends DMRS\n",proc->subframe_tx);
txs
=
ru
->
rfdevice
.
trx_write_func
(
&
ru
->
rfdevice
,
proc
->
timestamp_tx
+
(
ru
->
ts_offset
+
10
*
1024
+
80
+
10
*
7
2
)
-
ru
->
openair0_cfg
.
tx_sample_advance
-
sf_extension
,
proc
->
timestamp_tx
+
(
ru
->
ts_offset
+
sigoff
2
)
-
ru
->
openair0_cfg
.
tx_sample_advance
-
sf_extension
,
txp1
,
siglen
+
sf_extension
,
siglen
2
+
sf_extension
,
ru
->
nb_tx
,
flags
);
}
...
...
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