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
cc12b967
Commit
cc12b967
authored
Dec 22, 2015
by
aikaterini.trilyraki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor update
parent
78b03560
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
30 deletions
+25
-30
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.c
+25
-30
No files found.
targets/RT/USER/lte-softmodem.c
View file @
cc12b967
...
@@ -372,8 +372,8 @@ int16_t osa_log_verbosity = LOG_MED;
...
@@ -372,8 +372,8 @@ int16_t osa_log_verbosity = LOG_MED;
char
*
rrh_UE_ip
=
"127.0.0.1"
;
char
*
rrh_UE_ip
=
"127.0.0.1"
;
int
rrh_UE_port
=
51000
;
int
rrh_UE_port
=
51000
;
#endif
#endif
/* flag given in runtime to specify if the RF head is local or remote*/
/* flag given in runtime to specify if the RF head is local or remote
(default option is local RF)
*/
uint8_t
local_remote_RF
;
uint8_t
local_remote_RF
=
BBU_LOCAL_RF_ENABLED
;
char
uecap_xer
[
1024
],
uecap_xer_in
=
0
;
char
uecap_xer
[
1024
],
uecap_xer_in
=
0
;
extern
void
*
UE_thread
(
void
*
arg
);
extern
void
*
UE_thread
(
void
*
arg
);
...
@@ -2951,8 +2951,8 @@ int main( int argc, char **argv )
...
@@ -2951,8 +2951,8 @@ int main( int argc, char **argv )
openair0_cfg
[
card
].
samples_per_packet
=
1024
;
openair0_cfg
[
card
].
samples_per_packet
=
1024
;
#ifdef OAI_USRP
#ifdef OAI_USRP
openair0_cfg
[
card
].
tx_forward_nsamps
=
70
;
//
openair0_cfg[card].tx_forward_nsamps = 70;
openair0_cfg
[
card
].
tx_delay
=
5
;
//
openair0_cfg[card].tx_delay = 5;
#endif
#endif
//#elif OAI_BLADERF
//#elif OAI_BLADERF
//openair0_cfg[card].tx_forward_nsamps = 0;
//openair0_cfg[card].tx_forward_nsamps = 0;
...
@@ -2975,14 +2975,15 @@ int main( int argc, char **argv )
...
@@ -2975,14 +2975,15 @@ int main( int argc, char **argv )
#ifdef ETHERNET
#ifdef ETHERNET
openair0_cfg
[
card
].
remote_addr
=
"192.168.12.242"
;
//
openair0_cfg[card].remote_addr = "192.168.12.242";
//openair0_cfg[card].remote_addr = "127.0.0.1";
//openair0_cfg[card].remote_addr = "127.0.0.1";
openair0_cfg
[
card
].
remote_addr
=
"74:d4:35:cc:88:45"
;
openair0_cfg
[
card
].
remote_addr
=
"74:d4:35:cc:88:45"
;
openair0_cfg
[
card
].
remote_port
=
50000
;
openair0_cfg
[
card
].
remote_port
=
50000
;
openair0_cfg
[
card
].
my_addr
=
"192.168.12.31"
;
//
openair0_cfg[card].my_addr = "192.168.12.31";
//openair0_cfg[card].my_addr = "127.0.0.1";
//openair0_cfg[card].my_addr = "127.0.0.1";
openair0_cfg
[
card
].
my_addr
=
"d4:be:d9:22:0a:ac"
;
openair0_cfg
[
card
].
my_addr
=
"d4:be:d9:22:0a:ac"
;
openair0_cfg
[
card
].
my_port
=
50000
;
openair0_cfg
[
card
].
my_port
=
50000
;
//openair0_cfg[card].my_port = 50001;
openair0_cfg
[
card
].
tx_delay
=
10
;
openair0_cfg
[
card
].
tx_delay
=
10
;
openair0_cfg
[
card
].
tx_forward_nsamps
=
0
;
openair0_cfg
[
card
].
tx_forward_nsamps
=
0
;
openair0_cfg
[
card
].
txlaunch_wait
=
0
;
openair0_cfg
[
card
].
txlaunch_wait
=
0
;
...
@@ -3069,12 +3070,11 @@ int main( int argc, char **argv )
...
@@ -3069,12 +3070,11 @@ int main( int argc, char **argv )
openair0
.
host_type
=
BBU_HOST
;
openair0
.
host_type
=
BBU_HOST
;
/* device type is initialized NONE_DEV (no RF device) when the RF device will be initiated device type will be set */
/* device type is initialized NONE_DEV (no RF device) when the RF device will be initiated device type will be set */
openair0
.
type
=
NONE_DEV
;
openair0
.
type
=
NONE_DEV
;
/* transport type is initialized NONE_TP (no transport protocol) when the transport protocol will be initiated transport protocol type will be set */
openair0
.
transp_type
=
NONE_TP
;
openair0
.
transp_type
=
NONE_TP
;
openair0_cfg
[
0
].
log_level
=
glog_level
;
openair0_cfg
[
0
].
log_level
=
glog_level
;
/* BBU can either have local or remote radio heads */
/* BBU can either have local or remote radio heads - local radio head option is set by default so the corresponding device is initiated */
if
(
local_remote_RF
==
BBU_LOCAL_RF_ENABLED
)
{
/* radio heads are local so the corresponding device is initiated */
if
((
mode
!=
loop_through_memory
)
&&
if
((
mode
!=
loop_through_memory
)
&&
(
openair0_device_load
(
&
openair0
,
&
openair0_cfg
[
0
])
<
0
))
{
(
openair0_device_load
(
&
openair0
,
&
openair0_cfg
[
0
])
<
0
))
{
printf
(
"Exiting, cannot initialize device
\n
"
);
printf
(
"Exiting, cannot initialize device
\n
"
);
...
@@ -3082,7 +3082,8 @@ int main( int argc, char **argv )
...
@@ -3082,7 +3082,8 @@ int main( int argc, char **argv )
}
}
else
if
(
mode
==
loop_through_memory
)
{
else
if
(
mode
==
loop_through_memory
)
{
}
}
}
else
if
(
local_remote_RF
==
BBU_REMOTE_RF_ENABLED
)
{
/* radio heads are remote so the trasnsport protocol is initiated */
/* radio heads are remote so the trasnsport protocol is initiated */
if
(
local_remote_RF
==
BBU_REMOTE_RF_ENABLED
)
{
if
((
mode
!=
loop_through_memory
)
&&
if
((
mode
!=
loop_through_memory
)
&&
(
openair0_transport_load
(
&
openair0
,
&
openair0_cfg
[
0
])
<
0
))
{
(
openair0_transport_load
(
&
openair0
,
&
openair0_cfg
[
0
])
<
0
))
{
printf
(
"Exiting, cannot initialize transport protocol
\n
"
);
printf
(
"Exiting, cannot initialize transport protocol
\n
"
);
...
@@ -3091,11 +3092,9 @@ int main( int argc, char **argv )
...
@@ -3091,11 +3092,9 @@ int main( int argc, char **argv )
else
if
(
mode
==
loop_through_memory
)
{
else
if
(
mode
==
loop_through_memory
)
{
}
}
}
}
//for EXMIMO
//for EXMIMO
//openair0_cfg[0].iq_rxrescale=15; /* default value if build with EXMIMO */
//openair0_cfg[0].iq_rxrescale=15; /* default value if build with EXMIMO */
//rxrescale=openair0_cfg[0].iq_rxrescale; /* see comments near RX_IQRESCALELEN definition */
//rxrescale=openair0_cfg[0].iq_rxrescale; /* see comments near RX_IQRESCALELEN definition */
printf
(
"Done
\n
"
);
printf
(
"Done
\n
"
);
...
@@ -3605,10 +3604,6 @@ int setup_eNB_buffers(PHY_VARS_eNB **phy_vars_eNB, openair0_config_t *openair0_c
...
@@ -3605,10 +3604,6 @@ int setup_eNB_buffers(PHY_VARS_eNB **phy_vars_eNB, openair0_config_t *openair0_c
#endif
#endif
// replace RX signal buffers with mmaped HW versions
// replace RX signal buffers with mmaped HW versions
#ifdef EXMIMO
#ifdef EXMIMO
openair0_cfg
[
CC_id
].
tx_num_channels
=
0
;
openair0_cfg
[
CC_id
].
tx_num_channels
=
0
;
...
...
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