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
zzha zzha
OpenXG-RAN
Commits
63f04fe7
Commit
63f04fe7
authored
Oct 17, 2019
by
Laurent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flush traces
parent
282a60fd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
executables/main-fs6.c
executables/main-fs6.c
+9
-0
executables/main-ocp.c
executables/main-ocp.c
+1
-0
No files found.
executables/main-fs6.c
View file @
63f04fe7
...
@@ -1373,7 +1373,12 @@ void DL_du_fs6(RU_t *ru) {
...
@@ -1373,7 +1373,12 @@ void DL_du_fs6(RU_t *ru) {
void
UL_du_fs6
(
RU_t
*
ru
,
int
frame
,
int
subframe
)
{
void
UL_du_fs6
(
RU_t
*
ru
,
int
frame
,
int
subframe
)
{
RU_proc_t
*
ru_proc
=&
ru
->
proc
;
RU_proc_t
*
ru_proc
=&
ru
->
proc
;
initStaticTime
(
begingWait
);
initRefTimes
(
fullLoop
);
pickStaticTime
(
begingWait
);
rx_rf
(
ru
);
rx_rf
(
ru
);
updateTimesReset
(
begingWait
,
&
fullLoop
,
1000
,
"DU wait USRP"
);
setAllfromTS
(
ru_proc
->
timestamp_rx
);
setAllfromTS
(
ru_proc
->
timestamp_rx
);
// front end processing: convert from time domain to frequency domain
// front end processing: convert from time domain to frequency domain
// fills rxdataF buffer
// fills rxdataF buffer
...
@@ -1434,7 +1439,11 @@ void DL_cu_fs6(RU_t *ru) {
...
@@ -1434,7 +1439,11 @@ void DL_cu_fs6(RU_t *ru) {
void
UL_cu_fs6
(
RU_t
*
ru
,
uint64_t
*
TS
)
{
void
UL_cu_fs6
(
RU_t
*
ru
,
uint64_t
*
TS
)
{
initBufferZone
(
bufferZone
);
initBufferZone
(
bufferZone
);
initStaticTime
(
begingWait
);
initRefTimes
(
fullLoop
);
pickStaticTime
(
begingWait
);
int
nb_blocks
=
receiveSubFrame
(
&
sockFS6
,
bufferZone
,
sizeof
(
bufferZone
),
CTsentDUv0
);
int
nb_blocks
=
receiveSubFrame
(
&
sockFS6
,
bufferZone
,
sizeof
(
bufferZone
),
CTsentDUv0
);
updateTimesReset
(
begingWait
,
&
fullLoop
,
1000
,
"CU wait DU"
);
if
(
nb_blocks
==
0
)
{
if
(
nb_blocks
==
0
)
{
LOG_W
(
PHY
,
"CU lost a subframe
\n
"
);
LOG_W
(
PHY
,
"CU lost a subframe
\n
"
);
...
...
executables/main-ocp.c
View file @
63f04fe7
...
@@ -746,6 +746,7 @@ void tx_rf(RU_t *ru) {
...
@@ -746,6 +746,7 @@ void tx_rf(RU_t *ru) {
}
}
static
void
*
ru_thread
(
void
*
param
)
{
static
void
*
ru_thread
(
void
*
param
)
{
setbuf
(
stdout
,
NULL
);
RU_t
*
ru
=
(
RU_t
*
)
param
;
RU_t
*
ru
=
(
RU_t
*
)
param
;
if
(
ru
->
if_south
==
LOCAL_RF
)
{
// configure RF parameters only
if
(
ru
->
if_south
==
LOCAL_RF
)
{
// configure RF parameters only
...
...
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