Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
28f2ae73
Commit
28f2ae73
authored
Aug 20, 2019
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
making replay_node compile again
parent
85ac6b87
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
targets/ARCH/COMMON/common_lib.h
targets/ARCH/COMMON/common_lib.h
+0
-1
targets/ARCH/rfsimulator/simulator.c
targets/ARCH/rfsimulator/simulator.c
+1
-0
targets/ARCH/rfsimulator/stored_node.c
targets/ARCH/rfsimulator/stored_node.c
+2
-1
No files found.
targets/ARCH/COMMON/common_lib.h
View file @
28f2ae73
...
@@ -410,7 +410,6 @@ typedef int(*oai_transport_initfunc_t)(openair0_device *device, openair0_config_
...
@@ -410,7 +410,6 @@ typedef int(*oai_transport_initfunc_t)(openair0_device *device, openair0_config_
#define OPTION_LZ4 0x00000001 // LZ4 compression (option_value is set to compressed size)
#define OPTION_LZ4 0x00000001 // LZ4 compression (option_value is set to compressed size)
#define sample_t struct complex16 // 2*16 bits complex number
typedef
struct
{
typedef
struct
{
uint64_t
magic
;
// Magic value (see defines above)
uint64_t
magic
;
// Magic value (see defines above)
...
...
targets/ARCH/rfsimulator/simulator.c
View file @
28f2ae73
...
@@ -65,6 +65,7 @@ extern RAN_CONTEXT_t RC;
...
@@ -65,6 +65,7 @@ extern RAN_CONTEXT_t RC;
pthread_mutex_t
Sockmutex
;
pthread_mutex_t
Sockmutex
;
typedef
struct
complex16
sample_t
;
// 2*16 bits complex number
typedef
struct
buffer_s
{
typedef
struct
buffer_s
{
int
conn_sock
;
int
conn_sock
;
...
...
targets/ARCH/rfsimulator/stored_node.c
View file @
28f2ae73
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
#include <common/utils/simple_executable.h>
#include <common/utils/simple_executable.h>
volatile
int
oai_exit
=
0
;
void
fullwrite
(
int
fd
,
void
*
_buf
,
int
count
)
{
void
fullwrite
(
int
fd
,
void
*
_buf
,
int
count
)
{
char
*
buf
=
_buf
;
char
*
buf
=
_buf
;
...
@@ -123,7 +124,7 @@ int main(int argc, char *argv[]) {
...
@@ -123,7 +124,7 @@ int main(int argc, char *argv[]) {
setblocking
(
serviceSock
,
blocking
);
setblocking
(
serviceSock
,
blocking
);
AssertFatal
(
read
(
fd
,
&
header
,
sizeof
(
header
)),
""
);
AssertFatal
(
read
(
fd
,
&
header
,
sizeof
(
header
)),
""
);
fullwrite
(
serviceSock
,
&
header
,
sizeof
(
header
));
fullwrite
(
serviceSock
,
&
header
,
sizeof
(
header
));
int
dataSize
=
sizeof
(
sample
_t
)
*
header
.
size
*
header
.
nbAnt
;
int
dataSize
=
sizeof
(
int32
_t
)
*
header
.
size
*
header
.
nbAnt
;
if
(
dataSize
>
bufSize
)
{
if
(
dataSize
>
bufSize
)
{
void
*
new_buff
=
realloc
(
buff
,
dataSize
);
void
*
new_buff
=
realloc
(
buff
,
dataSize
);
...
...
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