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
502d7438
Commit
502d7438
authored
Jul 12, 2018
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'l1-sidelink' of
https://gitlab.eurecom.fr/matzakos/LTE-D2D
into l1-sidelink
parents
3707d353
f1189739
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
openair1/PHY/LTE_TRANSPORT/drs_modulation.c
openair1/PHY/LTE_TRANSPORT/drs_modulation.c
+5
-3
openair1/PHY/LTE_TRANSPORT/slsch.c
openair1/PHY/LTE_TRANSPORT/slsch.c
+4
-0
No files found.
openair1/PHY/LTE_TRANSPORT/drs_modulation.c
View file @
502d7438
...
@@ -167,9 +167,11 @@ int generate_drs_pusch(PHY_VARS_UE *ue,
...
@@ -167,9 +167,11 @@ int generate_drs_pusch(PHY_VARS_UE *ue,
l
+=
linc
,
u
=
u1
,
v
=
v1
,
cyclic_shift
=
cyclic_shift1
)
{
l
+=
linc
,
u
=
u1
,
v
=
v1
,
cyclic_shift
=
cyclic_shift1
)
{
drs_offset
=
0
;
drs_offset
=
0
;
//#ifdef DEBUG_DRS
LOG_I
(
PHY
,
"drs_modulation: l %d Msc_RS = %d, Msc_RS_idx = %d, u=%d,v=%d, cyclic shift %d
\n
"
,
l
,
Msc_RS
,
Msc_RS_idx
,
u
,
v
,
cyclic_shift
);
//#ifdef DEBUG_DRS
//#endif
LOG_I
(
PHY
,
"drs_modulation: l %d Msc_RS = %d, Msc_RS_idx = %d, u=%d,v=%d, cyclic shift %d,ljmo10 %d
\n
"
,
l
,
Msc_RS
,
Msc_RS_idx
,
u
,
v
,
cyclic_shift
,
ljmod10
);
//#endif
re_offset
=
frame_parms
->
first_carrier_offset
;
re_offset
=
frame_parms
->
first_carrier_offset
;
...
...
openair1/PHY/LTE_TRANSPORT/slsch.c
View file @
502d7438
...
@@ -1195,6 +1195,7 @@ void slsch_decoding(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,int frame_rx,int subfra
...
@@ -1195,6 +1195,7 @@ void slsch_decoding(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,int frame_rx,int subfra
}
}
LOG_I
(
PHY
,
"SLSCH Slot FEP %d.%d
\n
"
,
frame_rx
,
subframe_rx
);
LOG_I
(
PHY
,
"SLSCH Slot FEP %d.%d
\n
"
,
frame_rx
,
subframe_rx
);
}
}
LOG_I
(
PHY
,
"SLSCH RBstart %d, L_CRBs %d
\n
"
,
slsch
->
RB_start
+
slsch
->
prb_Start_data
,
slsch
->
L_CRBs
);
// extract symbols from slot
// extract symbols from slot
for
(
int
l
=
0
;
l
<
Nsymb
;
l
++
)
{
for
(
int
l
=
0
;
l
<
Nsymb
;
l
++
)
{
ulsch_extract_rbs_single
((
int32_t
**
)
rxdataF
,
ulsch_extract_rbs_single
((
int32_t
**
)
rxdataF
,
...
@@ -1230,6 +1231,7 @@ void slsch_decoding(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,int frame_rx,int subfra
...
@@ -1230,6 +1231,7 @@ void slsch_decoding(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,int frame_rx,int subfra
uint32_t
v
=
0
;
uint32_t
v
=
0
;
uint32_t
cyclic_shift
=
(
slsch
->
group_destination_id
>>
1
)
&
7
;
uint32_t
cyclic_shift
=
(
slsch
->
group_destination_id
>>
1
)
&
7
;
LOG_I
(
PHY
,
"SLSCH, u0 %d, cyclic_shift %d
\n
"
,
u
,
cyclic_shift
);
lte_ul_channel_estimation
(
&
ue
->
frame_parms
,
lte_ul_channel_estimation
(
&
ue
->
frame_parms
,
(
int32_t
**
)
drs_ch_estimates
,
(
int32_t
**
)
drs_ch_estimates
,
(
int32_t
**
)
NULL
,
(
int32_t
**
)
NULL
,
...
@@ -1244,6 +1246,8 @@ void slsch_decoding(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,int frame_rx,int subfra
...
@@ -1244,6 +1246,8 @@ void slsch_decoding(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,int frame_rx,int subfra
1
,
// interpolation
1
,
// interpolation
0
);
0
);
u
=
ue
->
gh
[
1
+
slsch
->
group_destination_id
][
1
+
(
ljmod10
<<
1
)];
u
=
ue
->
gh
[
1
+
slsch
->
group_destination_id
][
1
+
(
ljmod10
<<
1
)];
LOG_I
(
PHY
,
"SLSCH, u1 %d
\n
"
,
u
);
lte_ul_channel_estimation
(
&
ue
->
frame_parms
,
lte_ul_channel_estimation
(
&
ue
->
frame_parms
,
(
int32_t
**
)
drs_ch_estimates
,
(
int32_t
**
)
drs_ch_estimates
,
(
int32_t
**
)
NULL
,
(
int32_t
**
)
NULL
,
...
...
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