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
alex037yang
OpenXG-RAN
Commits
98e7558d
Commit
98e7558d
authored
Dec 18, 2019
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
timestamp should be int64_t
parent
2def2ee4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
21 deletions
+16
-21
executables/nr-ru.c
executables/nr-ru.c
+4
-4
openair1/PHY/defs_RU.h
openair1/PHY/defs_RU.h
+1
-1
targets/RT/USER/gNB_usrp.gtkw
targets/RT/USER/gNB_usrp.gtkw
+11
-16
No files found.
executables/nr-ru.c
View file @
98e7558d
...
...
@@ -300,7 +300,7 @@ int connect_rau(RU_t *ru)
/* Southbound Fronthaul functions, RCC/RAU */
// southbound IF5 fronthaul for 16-bit OAI format
static
inline
void
fh_if5_south_out
(
RU_t
*
ru
,
int
frame
,
int
slot
,
u
int64_t
timestamp
)
static
inline
void
fh_if5_south_out
(
RU_t
*
ru
,
int
frame
,
int
slot
,
int64_t
timestamp
)
{
if
(
ru
==
RC
.
ru
[
0
])
VCD_SIGNAL_DUMPER_DUMP_VARIABLE_BY_NAME
(
VCD_SIGNAL_DUMPER_VARIABLES_TRX_TST
,
ru
->
proc
.
timestamp_tx
&
0xffffffff
);
...
...
@@ -308,7 +308,7 @@ static inline void fh_if5_south_out(RU_t *ru, int frame, int slot, uint64_t time
}
// southbound IF5 fronthaul for Mobipass packet format
static
inline
void
fh_if5_mobipass_south_out
(
RU_t
*
ru
,
int
frame
,
int
slot
,
u
int64_t
timestamp
)
static
inline
void
fh_if5_mobipass_south_out
(
RU_t
*
ru
,
int
frame
,
int
slot
,
int64_t
timestamp
)
{
if
(
ru
==
RC
.
ru
[
0
])
VCD_SIGNAL_DUMPER_DUMP_VARIABLE_BY_NAME
(
VCD_SIGNAL_DUMPER_VARIABLES_TRX_TST
,
ru
->
proc
.
timestamp_tx
&
0xffffffff
);
...
...
@@ -316,7 +316,7 @@ static inline void fh_if5_mobipass_south_out(RU_t *ru, int frame, int slot, uint
}
// southbound IF4p5 fronthaul
static
inline
void
fh_if4p5_south_out
(
RU_t
*
ru
,
int
frame
,
int
slot
,
u
int64_t
timestamp
)
static
inline
void
fh_if4p5_south_out
(
RU_t
*
ru
,
int
frame
,
int
slot
,
int64_t
timestamp
)
{
if
(
ru
==
RC
.
ru
[
0
])
VCD_SIGNAL_DUMPER_DUMP_VARIABLE_BY_NAME
(
VCD_SIGNAL_DUMPER_VARIABLES_TRX_TST
,
ru
->
proc
.
timestamp_tx
&
0xffffffff
);
...
...
@@ -716,7 +716,7 @@ void rx_rf(RU_t *ru,int *frame,int *slot) {
}
void
tx_rf
(
RU_t
*
ru
,
int
frame
,
int
slot
,
u
int64_t
timestamp
)
{
void
tx_rf
(
RU_t
*
ru
,
int
frame
,
int
slot
,
int64_t
timestamp
)
{
RU_proc_t
*
proc
=
&
ru
->
proc
;
NR_DL_FRAME_PARMS
*
fp
=
ru
->
nr_frame_parms
;
//nfapi_nr_config_request_t *cfg = &ru->gNB_list[0]->gNB_config;
...
...
openair1/PHY/defs_RU.h
View file @
98e7558d
...
...
@@ -508,7 +508,7 @@ typedef struct RU_t_s {
/// function pointer to synchronous RX fronthaul function (RRU,3GPP_eNB/3GPP_gNB)
void
(
*
fh_south_in
)(
struct
RU_t_s
*
ru
,
int
*
frame
,
int
*
subframe
);
/// function pointer to synchronous TX fronthaul function
void
(
*
fh_south_out
)(
struct
RU_t_s
*
ru
,
int
frame_tx
,
int
tti_tx
,
u
int64_t
timestamp_tx
);
void
(
*
fh_south_out
)(
struct
RU_t_s
*
ru
,
int
frame_tx
,
int
tti_tx
,
int64_t
timestamp_tx
);
/// function pointer to synchronous RX fronthaul function (RRU)
void
(
*
fh_north_in
)(
struct
RU_t_s
*
ru
,
int
*
frame
,
int
*
subframe
);
/// function pointer to synchronous RX fronthaul function (RRU)
...
...
targets/RT/USER/gNB_usrp.gtkw
View file @
98e7558d
[*]
[*] GTKWave Analyzer v3.3.61 (w)1999-2014 BSI
[*]
Tue Dec 17 15:31:51
2019
[*]
Wed Dec 18 15:51:03
2019
[*]
[dumpfile] "/tmp/g
NB
.vcd"
[dumpfile_mtime] "
Tue Dec 17 15:25:49
2019"
[dumpfile_size]
634343
1
[savefile] "/home/
wangts/openairinterface5g
/targets/RT/USER/gNB_usrp.gtkw"
[timestart]
1517712
000
[size] 1
920 1018
[pos] -
9 -33
*-
19.276148 1518358451
-1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
[dumpfile] "/tmp/g
nb
.vcd"
[dumpfile_mtime] "
Wed Dec 18 15:47:52
2019"
[dumpfile_size]
13523106
1
[savefile] "/home/
kaltenbe/openairinterface5g_ue
/targets/RT/USER/gNB_usrp.gtkw"
[timestart]
85978147
000
[size] 1
853 904
[pos] -
1 -1
*-
20.180098 85981340000
-1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
[sst_width] 386
[signals_width] 344
[sst_expanded] 1
...
...
@@ -17,13 +17,8 @@
@28
functions.trx_read
functions.trx_write
@420
variables.frame_number_TX0_UE[63:0]
variables.frame_number_TX1_UE[63:0]
@28
functions.ue_gain_control
@420
variables.frame_number_RX1_UE[63:0]
@8420
variables.trx_write_event[63:0]
@24
variables.trx_ts_ue[63:0]
variables.trx_ts[63: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