Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
73920f3f
Commit
73920f3f
authored
Jan 16, 2017
by
Tien-Thinh Nguyen
Browse files
[minor modification] fixed the issue related to TX with FDD
parent
8be18c36
Changes
1
Hide whitespace changes
Inline
Side-by-side
targets/RT/USER/lte-enb.c
View file @
73920f3f
...
...
@@ -406,21 +406,24 @@ void do_OFDM_mod_rt(int subframe,PHY_VARS_eNB *phy_vars_eNB)
void
tx_fh_if5
(
PHY_VARS_eNB
*
eNB
,
eNB_rxtx_proc_t
*
proc
)
{
VCD_SIGNAL_DUMPER_DUMP_VARIABLE_BY_NAME
(
VCD_SIGNAL_DUMPER_VARIABLES_TRX_TST
,
proc
->
timestamp_tx
&
0xffffffff
);
if
((
eNB
->
frame_parms
.
frame_type
==
TDD
)
&&
(
subframe_select
(
&
eNB
->
frame_parms
,
proc
->
subframe_tx
)
!=
SF_UL
))
if
((
eNB
->
frame_parms
.
frame_type
==
FDD
)
||
((
eNB
->
frame_parms
.
frame_type
==
TDD
)
&&
(
subframe_select
(
&
eNB
->
frame_parms
,
proc
->
subframe_tx
)
!=
SF_UL
)))
send_IF5
(
eNB
,
proc
->
timestamp_tx
,
proc
->
subframe_tx
,
&
seqno
,
IF5_RRH_GW_DL
);
}
void
tx_fh_if5_mobipass
(
PHY_VARS_eNB
*
eNB
,
eNB_rxtx_proc_t
*
proc
)
{
VCD_SIGNAL_DUMPER_DUMP_VARIABLE_BY_NAME
(
VCD_SIGNAL_DUMPER_VARIABLES_TRX_TST
,
proc
->
timestamp_tx
&
0xffffffff
);
if
((
eNB
->
frame_parms
.
frame_type
==
TDD
)
&&
(
subframe_select
(
&
eNB
->
frame_parms
,
proc
->
subframe_tx
)
!=
SF_UL
))
if
((
eNB
->
frame_parms
.
frame_type
==
FDD
)
||
((
eNB
->
frame_parms
.
frame_type
==
TDD
)
&&
(
subframe_select
(
&
eNB
->
frame_parms
,
proc
->
subframe_tx
)
!=
SF_UL
)))
send_IF5
(
eNB
,
proc
->
timestamp_tx
,
proc
->
subframe_tx
,
&
seqno
,
IF5_MOBIPASS
);
}
void
tx_fh_if4p5
(
PHY_VARS_eNB
*
eNB
,
eNB_rxtx_proc_t
*
proc
)
{
if
((
eNB
->
frame_parms
.
frame_type
==
TDD
)
&&
(
subframe_select
(
&
eNB
->
frame_parms
,
proc
->
subframe_tx
)
!=
SF_UL
))
if
((
eNB
->
frame_parms
.
frame_type
==
FDD
)
||
((
eNB
->
frame_parms
.
frame_type
==
TDD
)
&&
(
subframe_select
(
&
eNB
->
frame_parms
,
proc
->
subframe_tx
)
!=
SF_UL
)))
send_IF4p5
(
eNB
,
proc
->
frame_tx
,
proc
->
subframe_tx
,
IF4p5_PDLFFT
,
0
);
}
...
...
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