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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
1de3183d
Commit
1de3183d
authored
Feb 16, 2016
by
Aikaterini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for RRH compilation
parent
f3c7d753
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
7 deletions
+19
-7
targets/RT/USER/eNB_transport_IQ.c
targets/RT/USER/eNB_transport_IQ.c
+7
-3
targets/RT/USER/rrh_gw.c
targets/RT/USER/rrh_gw.c
+11
-4
targets/RT/USER/rrh_gw_externs.h
targets/RT/USER/rrh_gw_externs.h
+1
-0
No files found.
targets/RT/USER/eNB_transport_IQ.c
View file @
1de3183d
...
...
@@ -148,7 +148,10 @@ void config_BBU_mod( rrh_module_t *mod_enb, uint8_t RT_flag, uint8_t NRT_flag) {
/* check sanity of configuration parameters and print */
check_dev_config
(
mod_enb
);
if
(
rf_config_file
[
0
]
==
'\0'
)
mod_enb
->
devs
->
openair0_cfg
->
configFilename
=
NULL
;
else
mod_enb
->
devs
->
openair0_cfg
->
configFilename
=
rf_config_file
;
/* initialize and configure the RF device */
if
(
openair0_device_load
(
mod_enb
->
devs
,
mod_enb
->
devs
->
openair0_cfg
)
<
0
)
{
LOG_E
(
RRH
,
"Exiting, cannot initialize RF device.
\n
"
);
...
...
@@ -159,6 +162,7 @@ void config_BBU_mod( rrh_module_t *mod_enb, uint8_t RT_flag, uint8_t NRT_flag) {
if
(
mod_enb
->
devs
->
type
==
EXMIMO_DEV
)
{
//call start function for exmino
}
else
{
if
(
mod_enb
->
devs
->
trx_start_func
(
mod_enb
->
devs
)
!=
0
)
LOG_E
(
RRH
,
"Unable to initiate RF device.
\n
"
);
else
...
...
targets/RT/USER/rrh_gw.c
View file @
1de3183d
...
...
@@ -111,8 +111,7 @@ rrh_module_t *ue_array;
openair0_vtimestamp
hw_counter
=
0
;
char
rf_config_file
[
1024
];
static
void
debug_init
(
void
);
static
void
get_options
(
int
argc
,
char
*
argv
[]);
...
...
@@ -143,7 +142,7 @@ static int get_address(char* if_name, uint8_t flag);
int
main
(
int
argc
,
char
**
argv
)
{
unsigned
int
i
;
rf_config_file
[
0
]
=
'\0'
;
/* parse input arguments */
get_options
(
argc
,
argv
);
/* initialize logger and signal analyzer */
...
...
@@ -257,7 +256,7 @@ static void get_options(int argc, char *argv[]) {
int
opt
;
while
((
opt
=
getopt
(
argc
,
argv
,
"xvhlte:n:u:g:r:m:i:"
))
!=
-
1
)
{
while
((
opt
=
getopt
(
argc
,
argv
,
"xvhlte:n:u:g:r:m:i:
f:
"
))
!=
-
1
)
{
switch
(
opt
)
{
case
'n'
:
...
...
@@ -299,6 +298,14 @@ static void get_options(int argc, char *argv[]) {
/*In loopback mode rrh sends back to bbu what it receives*/
loopback_flag
=
1
;
break
;
case
'f'
:
if
(
strlen
(
optarg
)
<=
1024
)
strcpy
(
rf_config_file
,
optarg
);
else
{
printf
(
"Configuration filename is too long
\n
"
);
exit
(
-
1
);
}
break
;
case
't'
:
/* When measurements are enabled statistics related to TX/RX time are printed */
measurements_flag
=
1
;
...
...
targets/RT/USER/rrh_gw_externs.h
View file @
1de3183d
...
...
@@ -39,6 +39,7 @@
#ifndef RRH_GW_EXTERNS_H_
#define RRH_GW_EXTERNS_H_
extern
char
rf_config_file
[
1024
];
extern
openair0_timestamp
timestamp_UE_tx
[
4
]
,
timestamp_UE_rx
[
4
]
,
timestamp_eNB_rx
[
4
],
timestamp_eNB_tx
[
4
];
extern
openair0_vtimestamp
hw_counter
;
...
...
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