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
34f3422b
Commit
34f3422b
authored
Oct 16, 2018
by
magounak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing generate_ul_ref_sigs()
parent
5f30031d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
openair1/PHY/LTE_ESTIMATION/lte_sync_time.c
openair1/PHY/LTE_ESTIMATION/lte_sync_time.c
+1
-1
openair1/SCHED/ru_procedures.c
openair1/SCHED/ru_procedures.c
+2
-2
targets/RT/USER/lte-ru.c
targets/RT/USER/lte-ru.c
+7
-2
No files found.
openair1/PHY/LTE_ESTIMATION/lte_sync_time.c
View file @
34f3422b
...
...
@@ -487,7 +487,7 @@ int ru_sync_time_init(RU_t *ru) // LTE_UE_COMMON *common_vars
generate_ul_ref_sigs
();
ru
->
dmrssync
=
(
int16_t
*
)
malloc16_clear
(
ru
->
frame_parms
.
N_RB_DL
*
2
*
sizeof
(
int16_t
));
ru
->
dmrssync
=
(
int16_t
*
)
malloc16_clear
(
ru
->
frame_parms
.
ofdm_symbol_size
*
2
*
sizeof
(
int16_t
));
generate_drs_pusch
(
NULL
,
NULL
,
&
ru
->
frame_parms
,
dmrsp
,
/*(int32_t**)dmrsp,*/
...
...
openair1/SCHED/ru_procedures.c
View file @
34f3422b
...
...
@@ -105,9 +105,9 @@ void feptx0(RU_t *ru,int slot) {
int32_t
dmrs
[
ru
->
frame_parms
.
ofdm_symbol_size
*
14
]
__attribute__
((
aligned
(
32
)));
int32_t
*
dmrsp
[
2
]
=
{
&
dmrs
[(
3
-
ru
->
frame_parms
.
Ncp
)
*
ru
->
frame_parms
.
ofdm_symbol_size
],
NULL
};
generate_ul_ref_sigs
();
//
generate_ul_ref_sigs();
ru
->
dmrssync
=
(
int16_t
*
)
malloc16_clear
(
ru
->
frame_parms
.
ofdm_symbol_size
*
2
*
sizeof
(
int16_t
));
//
ru->dmrssync = (int16_t*)malloc16_clear(ru->frame_parms.ofdm_symbol_size*2*sizeof(int16_t));
generate_drs_pusch
((
PHY_VARS_UE
*
)
NULL
,
(
UE_rxtx_proc_t
*
)
NULL
,
fp
,
...
...
targets/RT/USER/lte-ru.c
View file @
34f3422b
...
...
@@ -2246,7 +2246,9 @@ void init_RU_proc(RU_t *ru) {
(
ru
->
function
==
NGFI_RRU_IF4p5
))
{
LOG_I
(
PHY
,
"Starting ru_thread_asynch_rxtx, ru->is_slave %d, ru->generate_dmrs_sync %d
\n
"
,
ru
->
is_slave
,
ru
->
generate_dmrs_sync
);
pthread_create
(
&
proc
->
pthread_asynch_rxtx
,
attr_asynch
,
ru_thread_asynch_rxtx
,
(
void
*
)
ru
);
//generate_ul_ref_sigs();
//ru->dmrssync = (int16_t*)malloc16_clear(ru->frame_parms.ofdm_symbol_size*2*sizeof(int16_t));
pthread_create
(
&
proc
->
pthread_asynch_rxtx
,
attr_asynch
,
ru_thread_asynch_rxtx
,
(
void
*
)
ru
);
}
...
...
@@ -2619,7 +2621,10 @@ void init_RU(char *rf_config_file, clock_source_t clock_source,clock_source_t ti
ru
->
openair0_cfg
.
clock_source
=
clock_source
;
ru
->
openair0_cfg
.
time_source
=
time_source
;
ru
->
generate_dmrs_sync
=
(
ru
->
is_slave
==
0
)
?
1
:
0
;
if
(
ru
->
generate_dmrs_sync
==
1
)
{
generate_ul_ref_sigs
();
ru
->
dmrssync
=
(
int16_t
*
)
malloc16_clear
(
ru
->
frame_parms
.
ofdm_symbol_size
*
2
*
sizeof
(
int16_t
));
}
eNB0
=
ru
->
eNB_list
[
0
];
LOG_D
(
PHY
,
"RU FUnction:%d ru->if_south:%d
\n
"
,
ru
->
function
,
ru
->
if_south
);
LOG_D
(
PHY
,
"eNB0:%p
\n
"
,
eNB0
);
...
...
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