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
lizhongxiao
OpenXG-RAN
Commits
0bf4f01b
Commit
0bf4f01b
authored
Sep 21, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve warnings
parent
23f49bd0
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
7 deletions
+5
-7
openair1/SIMULATION/LTE_PHY/ulsim.c
openair1/SIMULATION/LTE_PHY/ulsim.c
+1
-1
openair1/SIMULATION/NR_PHY/ulsim.c
openair1/SIMULATION/NR_PHY/ulsim.c
+0
-3
targets/ARCH/ETHERNET/USERSPACE/LIB/eth_udp.c
targets/ARCH/ETHERNET/USERSPACE/LIB/eth_udp.c
+4
-1
targets/RT/USER/lte-ru.c
targets/RT/USER/lte-ru.c
+0
-2
No files found.
openair1/SIMULATION/LTE_PHY/ulsim.c
View file @
0bf4f01b
...
...
@@ -1533,7 +1533,7 @@ int main(int argc, char **argv) {
}
//ch realization
oai_exit
=
1
;
pthread_cond_signal
(
&
ru
->
proc
.
cond_fep
);
pthread_cond_signal
(
&
ru
->
proc
.
cond_fep
[
0
]
);
if
(
abstx
)
{
// ABSTRACTION
fprintf
(
csv_fdUL
,
"];"
);
...
...
openair1/SIMULATION/NR_PHY/ulsim.c
View file @
0bf4f01b
...
...
@@ -1063,7 +1063,6 @@ int main(int argc, char **argv)
double
blerStats
[
4
][
100
];
double
berStats
[
4
][
100
];
double
snrStats
[
100
];
double
ldpcDecStats
[
100
]
=
{
0
};
memset
(
errors_scrambling
,
0
,
sizeof
(
uint32_t
)
*
4
*
100
);
memset
(
n_errors
,
0
,
sizeof
(
int
)
*
4
*
100
);
memset
(
round_trials
,
0
,
sizeof
(
int
)
*
4
*
100
);
...
...
@@ -1633,8 +1632,6 @@ int main(int argc, char **argv)
printf
(
"
\n
"
);
}
ldpcDecStats
[
snrRun
]
=
gNB
->
ulsch_decoding_stats
.
trials
?
inMicroS
(
gNB
->
ulsch_decoding_stats
.
diff
/
gNB
->
ulsch_decoding_stats
.
trials
)
:
0
;
if
(
n_trials
==
1
)
break
;
...
...
targets/ARCH/ETHERNET/USERSPACE/LIB/eth_udp.c
View file @
0bf4f01b
...
...
@@ -30,6 +30,9 @@
* \warning
*/
// _GNU_SOURCE needed to have sched_getcpu() from sched.h
#define _GNU_SOURCE
#include <arpa/inet.h>
#include <linux/if_packet.h>
#include <stdio.h>
...
...
@@ -478,7 +481,7 @@ void *udp_read_thread(void *arg) {
memcpy
((
void
*
)(
device
->
openair0_cfg
->
rxbase
[
aid
]
+
offset
),
(
void
*
)
&
buffer
[
APP_HEADER_SIZE_BYTES
],
count
-
APP_HEADER_SIZE_BYTES
);
LOG_D
(
PHY
,
"UDP read thread_id %d (%d), aid %d, TS %llu, TS0 %llu, offset %d
\n
"
,(
int
)
u
->
thread_id
,(
int
)
sched_getcpu
(),
aid
,(
unsigned
long
long
)
TS
,(
unsigned
long
long
)
fhstate
->
TS0
,
offset
);
LOG_D
(
PHY
,
"UDP read thread_id %d (%d), aid %d, TS %llu, TS0 %llu, offset %
l
d
\n
"
,(
int
)
u
->
thread_id
,(
int
)
sched_getcpu
(),
aid
,(
unsigned
long
long
)
TS
,(
unsigned
long
long
)
fhstate
->
TS0
,
offset
);
}
sleep
(
1
);
}
...
...
targets/RT/USER/lte-ru.c
View file @
0bf4f01b
...
...
@@ -503,8 +503,6 @@ void fh_if4p5_north_asynch_in(RU_t *ru,
void
fh_if5_north_out
(
RU_t
*
ru
)
{
RU_proc_t
*
proc
=&
ru
->
proc
;
uint8_t
seqno
=
0
;
/// **** send_IF5 of rxdata to BBU **** ///
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_SEND_IF5
,
1
);
// send_IF5(ru, proc->timestamp_rx, proc->tti_rx, &seqno, IF5_RRH_GW_UL);
...
...
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