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
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
lizhongxiao
OpenXG-RAN
Commits
d1a1659a
Commit
d1a1659a
authored
Feb 11, 2019
by
matzakos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small fix to avoid accessing ue_rrc_inst without memory having been allocated for it yet
parent
527b0b89
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
3 deletions
+23
-3
targets/RT/USER/lte-uesoftmodem.c
targets/RT/USER/lte-uesoftmodem.c
+23
-3
No files found.
targets/RT/USER/lte-uesoftmodem.c
View file @
d1a1659a
...
...
@@ -969,6 +969,9 @@ int main( int argc, char **argv ) {
LOG_I
(
HW
,
"CPU Affinity of main() function is... %s
\n
"
,
cpu_affinity
);
#endif
//Panos: Old location of create_tasks_ue
/*
#if defined(ENABLE_ITTI)
if (create_tasks_ue(NB_UE_INST) < 0) {
printf("cannot create ITTI tasks\n");
...
...
@@ -982,7 +985,8 @@ int main( int argc, char **argv ) {
printf("ITTI tasks created\n");
#endif
mlockall(MCL_CURRENT | MCL_FUTURE);
rt_sleep_ns
(
10
*
100000000ULL
);
rt_sleep_ns(10*100000000ULL);*/
const
char
*
nfapi_mode_str
=
"<UNKNOWN>"
;
// start the main UE threads
int
eMBMS_active
=
0
;
...
...
@@ -1040,15 +1044,31 @@ int main( int argc, char **argv ) {
}
}
//Panos: New location of create_tasks_ue
#if defined(ENABLE_ITTI)
if
(
create_tasks_ue
(
NB_UE_INST
)
<
0
)
{
printf
(
"cannot create ITTI tasks
\n
"
);
exit
(
-
1
);
// need a softer mode
}
if
(
nfapi_mode
==
3
)
{
// Here we should add another nfapi_mode for the case of Supervised LTE-D2D
UE_config_stub_pnf
();
}
printf
(
"ITTI tasks created
\n
"
);
#endif
mlockall
(
MCL_CURRENT
|
MCL_FUTURE
);
rt_sleep_ns
(
10
*
100000000ULL
);
// connect the TX/RX buffers
if
(
nfapi_mode
!=
3
)
{
/*
if(nfapi_mode!=3) {
if (setup_ue_buffers(PHY_vars_UE_g[0],&openair0_cfg[0])!=0) {
printf("Error setting up eNB buffer\n");
exit(-1);
}
}
}
*/
if
(
input_fd
)
{
...
...
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