Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bin He
openairinterface5G
Commits
013d82ac
Commit
013d82ac
authored
5 years ago
by
Florian Kaltenberger
Browse files
Options
Downloads
Patches
Plain Diff
making replay_node compile again
parent
bb57c61a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
targets/ARCH/COMMON/common_lib.h
+0
-1
0 additions, 1 deletion
targets/ARCH/COMMON/common_lib.h
targets/ARCH/rfsimulator/simulator.c
+1
-0
1 addition, 0 deletions
targets/ARCH/rfsimulator/simulator.c
targets/ARCH/rfsimulator/stored_node.c
+2
-1
2 additions, 1 deletion
targets/ARCH/rfsimulator/stored_node.c
with
3 additions
and
2 deletions
targets/ARCH/COMMON/common_lib.h
+
0
−
1
View file @
013d82ac
...
@@ -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)
...
...
This diff is collapsed.
Click to expand it.
targets/ARCH/rfsimulator/simulator.c
+
1
−
0
View file @
013d82ac
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
targets/ARCH/rfsimulator/stored_node.c
+
2
−
1
View file @
013d82ac
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment