Skip to content
GitLab
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
21b492f9
Commit
21b492f9
authored
Jun 21, 2016
by
Sandeep Kumar
Browse files
minimal fixes from rcc test
parent
d43b8a30
Changes
5
Hide whitespace changes
Inline
Side-by-side
openair1/PHY/LTE_TRANSPORT/if4_tools.c
View file @
21b492f9
...
...
@@ -89,7 +89,7 @@ void send_IF4(PHY_VARS_eNB *eNB, int frame, int subframe, uint16_t packet_type)
// Write the packet to the fronthaul
if
((
eNB
->
ifdevice
.
trx_write_func
(
&
eNB
->
ifdevice
,
symbol_id
,
tx_buffer
,
&
tx_buffer
,
db_fulllength
,
1
,
IF4_PDLFFT
))
<
0
)
{
...
...
@@ -127,7 +127,7 @@ void send_IF4(PHY_VARS_eNB *eNB, int frame, int subframe, uint16_t packet_type)
// Write the packet(s) to the fronthaul
if
((
eNB
->
ifdevice
.
trx_write_func
(
&
eNB
->
ifdevice
,
(
int64_t
)
symbol_id
,
tx_buffer
,
&
tx_buffer
,
db_fulllength
,
1
,
IF4_PULFFT
))
<
0
)
{
...
...
@@ -157,7 +157,7 @@ void send_IF4(PHY_VARS_eNB *eNB, int frame, int subframe, uint16_t packet_type)
// Write the packet to the fronthaul
if
((
eNB
->
ifdevice
.
trx_write_func
(
&
eNB
->
ifdevice
,
(
int64_t
)
symbol_id
,
tx_buffer
,
&
tx_buffer
,
db_fulllength
,
1
,
IF4_PRACH
))
<
0
)
{
...
...
openair1/PHY/LTE_TRANSPORT/prach.c
View file @
21b492f9
...
...
@@ -1271,7 +1271,7 @@ void rx_prach(PHY_VARS_eNB *eNB,
if
(
eNB
->
node_function
==
NGFI_RRU_IF4
)
{
/// **** send_IF4 of prachF to RCC **** ///
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_SEND_IF4
,
1
);
//
send_IF4();
//send_IF4(
eNB, frame, subframe, IF4_PRACH
);
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_SEND_IF4
,
0
);
return
;
...
...
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
21b492f9
...
...
@@ -2572,7 +2572,7 @@ void phy_procedures_eNB_common_RX(PHY_VARS_eNB *eNB,const uint8_t abstraction_fl
/// **** send_IF4 of rxdataF to RCC (no prach now) **** ///
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_SEND_IF4
,
1
);
//
send_IF4();
//send_IF4(
eNB, frame, subframe, IF4_PULFFT
);
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_SEND_IF4
,
0
);
}
...
...
@@ -2624,7 +2624,7 @@ void phy_procedures_eNB_common_RX(PHY_VARS_eNB *eNB,const uint8_t abstraction_fl
do
{
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_RECV_IF4
,
1
);
//recv_IF4(eNB,
proc
, &packet_type, &symbol_number);
//recv_IF4(eNB,
frame, subframe
, &packet_type, &symbol_number);
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_RECV_IF4
,
0
);
if
(
packet_type
==
IF4_PULFFT
)
{
...
...
targets/RT/USER/lte-enb.c
View file @
21b492f9
...
...
@@ -486,7 +486,7 @@ static void* eNB_thread_rxtx( void* param ) {
/// **** recv_IF4 of txdataF from RCC **** ///
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_RECV_IF4
,
1
);
//recv_IF4(eNB,
proc
, packet_type, symbol_number);
//recv_IF4(eNB,
frame, subframe
, packet_type, symbol_number);
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_RECV_IF4
,
0
);
}
...
...
@@ -536,7 +536,7 @@ static void* eNB_thread_rxtx( void* param ) {
/// **** send_IF4 of txdataF to RRU **** ///
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_SEND_IF4
,
1
);
//
send_IF4(PHY_vars_eNB_g[0][proc->CC_id], proc
, 0
);
send_IF4
(
PHY_vars_eNB_g
[
0
][
proc
->
CC_id
],
proc
->
frame_tx
,
proc
->
subframe_tx
,
IF4_PDLFFT
);
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_SEND_IF4
,
0
);
}
...
...
targets/RT/USER/lte-softmodem.c
View file @
21b492f9
...
...
@@ -1911,8 +1911,12 @@ int main( int argc, char **argv )
pthread_cond_destroy
(
&
sync_cond
);
pthread_mutex_destroy
(
&
sync_mutex
);
// *** Handle per CC_id openair0
// *** Handle per CC_id openair0
openair0
.
trx_end_func
(
&
openair0
);
for
(
CC_id
=
0
;
CC_id
<
MAX_NUM_CCs
;
CC_id
++
)
{
PHY_vars_eNB_g
[
0
][
CC_id
]
->
rfdevice
.
trx_end_func
(
&
PHY_vars_eNB_g
[
0
][
CC_id
]
->
rfdevice
);
PHY_vars_eNB_g
[
0
][
CC_id
]
->
ifdevice
.
trx_end_func
(
&
PHY_vars_eNB_g
[
0
][
CC_id
]
->
ifdevice
);
}
if
(
ouput_vcd
)
VCD_SIGNAL_DUMPER_CLOSE
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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