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
wangwenhui
OpenXG-RAN
Commits
fb0132e2
Commit
fb0132e2
authored
Nov 27, 2018
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor changes at sirius
parent
470c664f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
8 deletions
+7
-8
openair1/PHY/INIT/lte_init_ru.c
openair1/PHY/INIT/lte_init_ru.c
+2
-0
openair1/PHY/LTE_UE_TRANSPORT/drs_modulation.c
openair1/PHY/LTE_UE_TRANSPORT/drs_modulation.c
+0
-1
openair1/SCHED/ru_procedures.c
openair1/SCHED/ru_procedures.c
+0
-1
targets/ARCH/ETHERNET/USERSPACE/LIB/eth_udp.c
targets/ARCH/ETHERNET/USERSPACE/LIB/eth_udp.c
+1
-1
targets/RT/USER/lte-ru.c
targets/RT/USER/lte-ru.c
+4
-5
No files found.
openair1/PHY/INIT/lte_init_ru.c
View file @
fb0132e2
...
...
@@ -39,6 +39,8 @@ int phy_init_RU(RU_t *ru) {
int
i
,
j
;
int
p
;
int
re
;
init_dfts
();
LOG_I
(
PHY
,
"Initializing RU signal buffers (if_south %s) nb_tx %d
\n
"
,
ru_if_types
[
ru
->
if_south
],
ru
->
nb_tx
);
...
...
openair1/PHY/LTE_UE_TRANSPORT/drs_modulation.c
View file @
fb0132e2
...
...
@@ -112,7 +112,6 @@ int generate_drs_pusch(PHY_VARS_UE *ue,
subframe_offset
=
subframe
*
fp
->
symbols_per_tti
*
fp
->
ofdm_symbol_size
;
symbol_offset
=
subframe_offset
+
fp
->
ofdm_symbol_size
*
l
;
#ifdef DEBUG_DRS
printf
(
"generate_drs_pusch: symbol_offset %d, subframe offset %d, cyclic shift %d
\n
"
,
symbol_offset
,
subframe_offset
,
cyclic_shift
);
#endif
...
...
openair1/SCHED/ru_procedures.c
View file @
fb0132e2
...
...
@@ -535,7 +535,6 @@ void fep0(RU_t *ru,int slot) {
// printf("fep0: slot %d\n",slot);
//VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_RU_FEPRX+slot, 1);
remove_7_5_kHz
(
ru
,(
slot
&
1
)
+
(
proc
->
subframe_rx
<<
1
));
for
(
l
=
0
;
l
<
fp
->
symbols_per_tti
/
2
;
l
++
)
{
slot_fep_ul
(
ru
,
...
...
targets/ARCH/ETHERNET/USERSPACE/LIB/eth_udp.c
View file @
fb0132e2
...
...
@@ -245,7 +245,7 @@ int trx_eth_write_udp_IF4p5(openair0_device *device, openair0_timestamp timestam
}
eth
->
tx_nsamps
=
nblocks
;
printf
(
"Sending %d bytes to %s:%d
\n
"
,
packet_size
,
str
,
ntohs
(
eth
->
local_addrd
.
sin_port
));
//
printf("Sending %d bytes to %s:%d\n",packet_size,str,ntohs(eth->local_addrd.sin_port));
bytes_sent
=
sendto
(
eth
->
sockfdd
,
buff
[
0
],
...
...
targets/RT/USER/lte-ru.c
View file @
fb0132e2
...
...
@@ -159,7 +159,7 @@ static inline void fh_if4p5_south_out(RU_t *ru) {
if
(
subframe_select
(
&
ru
->
frame_parms
,
ru
->
proc
.
subframe_tx
)
!=
SF_UL
)
{
send_IF4p5
(
ru
,
ru
->
proc
.
frame_tx
,
ru
->
proc
.
subframe_tx
,
IF4p5_PDLFFT
);
ru
->
south_out_cnt
++
;
LOG_
I
(
PHY
,
"south_out_cnt %d
\n
"
,
ru
->
south_out_cnt
);
LOG_
D
(
PHY
,
"south_out_cnt %d
\n
"
,
ru
->
south_out_cnt
);
}
/*if (ru == RC.ru[0] || ru == RC.ru[1]) {
VCD_SIGNAL_DUMPER_DUMP_VARIABLE_BY_NAME( VCD_SIGNAL_DUMPER_VARIABLES_FRAME_NUMBER_TX0_RU+ru->idx, ru->proc.frame_tx );
...
...
@@ -424,7 +424,7 @@ void fh_if4p5_north_asynch_in(RU_t *ru,int *frame,int *subframe) {
LOG_D
(
PHY
,
"fh_if4p5_north_asynch_in: RU %d, frame %d, subframe %d
\n
"
,
ru
->
idx
,
*
frame
,
*
subframe
);
do
{
recv_IF4p5
(
ru
,
&
frame_tx
,
&
subframe_tx
,
&
packet_type
,
&
symbol_number
);
LOG_D
(
PHY
,
"income frame.subframe %d.%d, our frame.subframe %d.%d.%d (symbol mask %x)
\n
"
,
frame_tx
,
subframe_tx
,
*
frame
,
*
subframe
,
symbol_number
,
symbol_mask
);
LOG_D
(
PHY
,
"income frame.subframe %d.%d, our frame.subframe
.symbol_number
%d.%d.%d (symbol mask %x)
\n
"
,
frame_tx
,
subframe_tx
,
*
frame
,
*
subframe
,
symbol_number
,
symbol_mask
);
if
(
ru
->
cmd
==
STOP_RU
){
LOG_E
(
PHY
,
"Got STOP_RU
\n
"
);
pthread_mutex_lock
(
&
proc
->
mutex_ru
);
...
...
@@ -601,7 +601,7 @@ void rx_rf(RU_t *ru,int *frame,int *subframe) {
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_TRX_READ
,
0
);
ru
->
south_in_cnt
++
;
LOG_
I
(
PHY
,
"south_in_cnt %d
\n
"
,
ru
->
south_in_cnt
);
LOG_
D
(
PHY
,
"south_in_cnt %d
\n
"
,
ru
->
south_in_cnt
);
if
(
ru
->
cmd
==
RU_FRAME_RESYNCH
)
{
LOG_I
(
PHY
,
"Applying frame resynch %d => %d
\n
"
,
*
frame
,
ru
->
cmdval
);
...
...
@@ -713,7 +713,6 @@ void tx_rf(RU_t *ru) {
lte_subframe_t
nextSF_type
=
subframe_select
(
fp
,(
proc
->
subframe_tx
+
1
)
%
10
);
int
sf_extension
=
0
;
LOG_D
(
PHY
,
"south_out/tx_rf: frame %d, subframe %d
\n
"
,
proc
->
frame_tx
,
proc
->
subframe_tx
);
if
((
SF_type
==
SF_DL
)
||
(
SF_type
==
SF_S
))
{
...
...
@@ -802,7 +801,7 @@ void tx_rf(RU_t *ru) {
ru
->
nb_tx
,
flags
);
ru
->
south_out_cnt
++
;
LOG_
I
(
PHY
,
"south_out_cnt %d
\n
"
,
ru
->
south_out_cnt
);
LOG_
D
(
PHY
,
"south_out_cnt %d, frame %d, subframe %d
\n
"
,
ru
->
south_out_cnt
,
proc
->
frame_tx
,
proc
->
subframe_tx
);
int
se
=
dB_fixed
(
signal_energy
(
txp
[
0
],
siglen
+
sf_extension
));
if
(
SF_type
==
SF_S
)
LOG_D
(
PHY
,
"[TXPATH] RU %d tx_rf (en %d,len %d), writing to TS %llu, frame %d, unwrapped_frame %d, subframe %d
\n
"
,
ru
->
idx
,
se
,
siglen
+
sf_extension
,
...
...
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