Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oai
openairinterface5G
Commits
7c4e75d0
Commit
7c4e75d0
authored
7 years ago
by
Younes Khadraoui
Browse files
Options
Downloads
Patches
Plain Diff
Send RRU_sync_ok once RRU is in sync
parent
6e3f57cb
No related branches found
No related tags found
4 merge requests
!650
Release v1.1.0 Candidate
,
!617
Develop: Integration 2019 Week 25
,
!588
Develop nr merge
,
!576
Multi-RU support and OTA Synch/Calibration for TDD
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
targets/RT/USER/lte-ru.c
+8
-0
8 additions, 0 deletions
targets/RT/USER/lte-ru.c
with
8 additions
and
0 deletions
targets/RT/USER/lte-ru.c
+
8
−
0
View file @
7c4e75d0
...
...
@@ -1838,6 +1838,7 @@ void *ru_thread_synch(void *arg) {
uint32_t
sync_corr
[
307200
]
__attribute__
((
aligned
(
32
)));
static
int
ru_thread_synch_status
=
0
;
int
cnt
=
0
;
RRU_CONFIG_msg_t
rru_config_msg
;
thread_top_init
(
"ru_thread_synch"
,
0
,
5000000
,
10000000
,
10000000
);
...
...
@@ -1895,6 +1896,13 @@ void *ru_thread_synch(void *arg) {
*/
ru
->
in_synch
=
1
;
ru
->
state
=
RU_RUN
;
// Send RRU_sync_ok
rru_config_msg
.
type
=
RRU_start
;
rru_config_msg
.
len
=
sizeof
(
RRU_CONFIG_msg_t
);
// TODO: set to correct msg len
LOG_I
(
PHY
,
"Sending RRU_sync_ok to RAU
\n
"
,
ru
->
idx
);
AssertFatal
((
ru
->
ifdevice
.
trx_ctlsend_func
(
&
ru
->
ifdevice
,
&
rru_config_msg
,
rru_config_msg
.
len
)
!=-
1
),
"Failed to send msg to RAU %d
\n
"
,
ru
->
idx
);
}
// symc_pos > 0
else
{
if
(
cnt
>
1000
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment