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
wangwenhui
OpenXG-RAN
Commits
5f258526
Commit
5f258526
authored
Nov 22, 2017
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix UE init sequence
parent
bcb6f171
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
15 deletions
+7
-15
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.c
+7
-15
No files found.
targets/RT/USER/lte-softmodem.c
View file @
5f258526
...
@@ -1133,8 +1133,6 @@ int main( int argc, char **argv )
...
@@ -1133,8 +1133,6 @@ int main( int argc, char **argv )
#if defined(ENABLE_ITTI)
#if defined(ENABLE_ITTI)
if
((
UE_flag
==
1
)
||
if
((
UE_flag
==
1
)
||
(
RC
.
nb_inst
>
0
))
{
(
RC
.
nb_inst
>
0
))
{
...
@@ -1152,16 +1150,6 @@ int main( int argc, char **argv )
...
@@ -1152,16 +1150,6 @@ int main( int argc, char **argv )
}
}
#endif
#endif
if
(
phy_test
==
0
)
{
if
(
UE_flag
==
1
)
{
printf
(
"Filling UE band info
\n
"
);
fill_ue_band_info
();
dl_phy_sync_success
(
0
,
0
,
0
,
1
);
}
}
mlockall
(
MCL_CURRENT
|
MCL_FUTURE
);
mlockall
(
MCL_CURRENT
|
MCL_FUTURE
);
...
@@ -1228,14 +1216,18 @@ int main( int argc, char **argv )
...
@@ -1228,14 +1216,18 @@ int main( int argc, char **argv )
rt_sleep_ns
(
10
*
100000000ULL
);
rt_sleep_ns
(
10
*
100000000ULL
);
// start the main threads
// start the main threads
if
(
UE_flag
==
1
)
{
if
(
UE_flag
==
1
)
{
int
eMBMS_active
=
0
;
int
eMBMS_active
=
0
;
init_UE
(
1
,
eMBMS_active
,
uecap_xer_in
);
init_UE
(
1
,
eMBMS_active
,
uecap_xer_in
);
number_of_cards
=
1
;
if
(
phy_test
==
0
)
{
printf
(
"Filling UE band info
\n
"
);
fill_ue_band_info
();
dl_phy_sync_success
(
0
,
0
,
0
,
1
);
}
number_of_cards
=
1
;
for
(
CC_id
=
0
;
CC_id
<
MAX_NUM_CCs
;
CC_id
++
)
{
for
(
CC_id
=
0
;
CC_id
<
MAX_NUM_CCs
;
CC_id
++
)
{
PHY_vars_UE_g
[
0
][
CC_id
]
->
rf_map
.
card
=
0
;
PHY_vars_UE_g
[
0
][
CC_id
]
->
rf_map
.
card
=
0
;
PHY_vars_UE_g
[
0
][
CC_id
]
->
rf_map
.
chain
=
CC_id
+
chain_offset
;
PHY_vars_UE_g
[
0
][
CC_id
]
->
rf_map
.
chain
=
CC_id
+
chain_offset
;
...
...
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