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
6fd41105
Commit
6fd41105
authored
Jan 14, 2017
by
knopp
Browse files
RRU changes for S-Subframe
parent
0f47f01c
Changes
2
Hide whitespace changes
Inline
Side-by-side
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
6fd41105
...
...
@@ -2817,7 +2817,14 @@ void phy_procedures_eNB_common_RX(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc){
const
int
frame
=
proc
->
frame_rx
;
int
offset
=
(
eNB
->
single_thread_flag
==
1
)
?
0
:
(
subframe
&
1
);
if
((
fp
->
frame_type
==
TDD
)
&&
(
subframe_select
(
fp
,
subframe
)
!=
SF_UL
))
return
;
if
((
fp
->
frame_type
==
TDD
)
&&
(
subframe_select
(
fp
,
subframe
)
!=
SF_UL
))
{
if
(
eNB
->
node_function
==
NGFI_RRU_IF4p5
)
{
/// **** in TDD during DL send_IF4 of ULTICK to RCC **** ///
send_IF4p5
(
eNB
,
proc
->
frame_rx
,
proc
->
subframe_rx
,
IF4p5_PULTICK
,
0
);
}
return
;
}
VCD_SIGNAL_DUMPER_DUMP_VARIABLE_BY_NAME
(
VCD_SIGNAL_DUMPER_VARIABLES_FRAME_NUMBER_RX0_ENB
+
offset
,
proc
->
frame_rx
);
VCD_SIGNAL_DUMPER_DUMP_VARIABLE_BY_NAME
(
VCD_SIGNAL_DUMPER_VARIABLES_SUBFRAME_NUMBER_RX0_ENB
+
offset
,
proc
->
subframe_rx
);
...
...
targets/RT/USER/lte-enb.c
View file @
6fd41105
...
...
@@ -1024,10 +1024,18 @@ void rx_fh_if4p5(PHY_VARS_eNB *eNB,int *frame,int *subframe) {
//proc->frame_rx = (proc->frame_rx + proc->frame_offset)&1023;
if
(
packet_type
==
IF4p5_PULFFT
)
{
LOG_D
(
PHY
,
"rx_fh
:
if4p5: frame %d, subframe %d, PULFFT symbol %d
\n
"
,
f
,
sf
,
symbol_number
);
LOG_D
(
PHY
,
"rx_fh
_
if4p5: frame %d, subframe %d, PULFFT symbol %d
\n
"
,
f
,
sf
,
symbol_number
);
proc
->
symbol_mask
[
sf
]
=
proc
->
symbol_mask
[
sf
]
|
(
1
<<
symbol_number
);
}
else
if
(
packet_type
==
IF4p5_PRACH
)
{
}
else
if
(
packet_type
==
IF4p5_PULTICK
)
{
if
(
f
!=*
frame
)
LOG_E
(
PHY
,
"rx_fh_if4p5: PULTICK received frame %d != expected %d
\n
"
,
f
,
*
frame
);
if
(
sf
!=*
subframe
)
LOG_E
(
PHY
,
"rx_fh_if4p5: PULTICK received subframe %d != expected %d
\n
"
,
sf
,
*
subframe
);
break
;
}
else
if
(
packet_type
==
IF4p5_PRACH
)
{
LOG_D
(
PHY
,
"rx_fh:if4p5: frame %d, subframe %d, PRACH
\n
"
,
f
,
sf
);
// wakeup prach processing
if
(
eNB
->
do_prach
)
eNB
->
do_prach
(
eNB
,
f
,
sf
);
...
...
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