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
d746ff61
Commit
d746ff61
authored
Feb 09, 2018
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update comments in restart_L1L2()
parent
1eabadb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.c
+2
-7
No files found.
targets/RT/USER/lte-softmodem.c
View file @
d746ff61
...
@@ -969,8 +969,6 @@ int restart_L1L2(module_id_t enb_id)
...
@@ -969,8 +969,6 @@ int restart_L1L2(module_id_t enb_id)
RC
.
eNB
[
enb_id
][
cc_id
]
->
configured
=
0
;
RC
.
eNB
[
enb_id
][
cc_id
]
->
configured
=
0
;
}
}
/* TODO undo malloc_IF4p5_buffer() */
RC
.
ru_mask
|=
(
1
<<
ru
->
idx
);
RC
.
ru_mask
|=
(
1
<<
ru
->
idx
);
/* copy the changed frame parameters to the RU */
/* copy the changed frame parameters to the RU */
/* TODO this should be done for all RUs associated to this eNB */
/* TODO this should be done for all RUs associated to this eNB */
...
@@ -997,11 +995,9 @@ int restart_L1L2(module_id_t enb_id)
...
@@ -997,11 +995,9 @@ int restart_L1L2(module_id_t enb_id)
RRC_CONFIGURATION_REQ
(
msg_p
)
=
RC
.
rrc
[
enb_id
]
->
configuration
;
RRC_CONFIGURATION_REQ
(
msg_p
)
=
RC
.
rrc
[
enb_id
]
->
configuration
;
itti_send_msg_to_task
(
TASK_RRC_ENB
,
ENB_MODULE_ID_TO_INSTANCE
(
enb_id
),
msg_p
);
itti_send_msg_to_task
(
TASK_RRC_ENB
,
ENB_MODULE_ID_TO_INSTANCE
(
enb_id
),
msg_p
);
/* TODO XForms here */
/* TODO XForms might need to be restarted, but it is currently (09/02/18)
* broken, so we cannot test it */
/* TODO check for memory leaks */
/* TODO wait_eNBs() would wait for phy_config_request()? */
//init_eNB(single_thread_flag,wait_for_sync);
wait_eNBs
();
wait_eNBs
();
init_RU_proc
(
ru
);
init_RU_proc
(
ru
);
ru
->
rf_map
.
card
=
0
;
ru
->
rf_map
.
card
=
0
;
...
@@ -1009,7 +1005,6 @@ int restart_L1L2(module_id_t enb_id)
...
@@ -1009,7 +1005,6 @@ int restart_L1L2(module_id_t enb_id)
wait_RUs
();
wait_RUs
();
init_eNB_afterRU
();
init_eNB_afterRU
();
printf
(
"Sending sync to all threads
\n
"
);
printf
(
"Sending sync to all threads
\n
"
);
pthread_mutex_lock
(
&
sync_mutex
);
pthread_mutex_lock
(
&
sync_mutex
);
sync_var
=
0
;
sync_var
=
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