Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
bf2e88bf
Commit
bf2e88bf
authored
Jul 25, 2014
by
gauthier
Browse files
R.K. modifications
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5607
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
f080f6ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
targets/RT/USER/Makefile
View file @
bf2e88bf
...
...
@@ -107,6 +107,7 @@ endif
OBJ
+=
$(ENB_APP_OBJS)
ifeq
($(RTAI),1)
CFLAGS
+=
-I
/usr/realtime/include
-I
/usr/realtime/include/asm
LOG_OBJS
=
RTAI_OBJ
+=
$(LOG_DIR)
/vcd_signal_dumper.o
RTAI_OBJ
+=
$(LOG_DIR)
/log.o
...
...
targets/RT/USER/lte-softmodem.c
View file @
bf2e88bf
...
...
@@ -232,8 +232,13 @@ static char *conf_config_file_name = NULL;
static
char
*
itti_dump_file
=
NULL
;
#endif
#ifndef USRP
double
tx_gain
=
20
;
double
rx_gain
=
30
;
#else
double
tx_gain
=
120
;
double
rx_gain
=
30
;
#endif
double
sample_rate
=
30.72e6
;
double
bw
=
14e6
;
...
...
@@ -849,9 +854,11 @@ static void * eNB_thread_tx(void *param) {
rt_make_hard_real_time
();
#endif
#ifndef USRP
subframe_tx
=
(
proc
->
subframe
+
1
)
%
10
;
#else
subframe_tx
=
(
proc
->
subframe
+
2
)
%
10
;
#endif
while
(
!
oai_exit
){
vcd_signal_dumper_dump_function_by_name
(
VCD_SIGNAL_DUMPER_FUNCTIONS_eNB_PROC_TX0
+
(
2
*
proc
->
subframe
),
0
);
...
...
@@ -1881,7 +1888,7 @@ int main(int argc, char **argv) {
// initialize the log (see log.h for details)
logInit
();
set_glog
(
LOG_
WARNIN
G
,
LOG_MED
);
set_glog
(
LOG_
DEBU
G
,
LOG_MED
);
if
(
UE_flag
==
1
)
{
printf
(
"configuring for UE
\n
"
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment