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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
0f77c961
Commit
0f77c961
authored
Jan 29, 2020
by
laurent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix segv in drs_modulation.c
parent
4eaadf8d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
989 additions
and
11 deletions
+989
-11
openair1/PHY/LTE_TRANSPORT/if5_tools.c
openair1/PHY/LTE_TRANSPORT/if5_tools.c
+985
-2
openair1/PHY/LTE_UE_TRANSPORT/drs_modulation.c
openair1/PHY/LTE_UE_TRANSPORT/drs_modulation.c
+4
-9
No files found.
openair1/PHY/LTE_TRANSPORT/if5_tools.c
View file @
0f77c961
This source diff could not be displayed because it is too large. You can
view the blob
instead.
openair1/PHY/LTE_UE_TRANSPORT/drs_modulation.c
View file @
0f77c961
...
...
@@ -62,11 +62,10 @@ int generate_drs_pusch(PHY_VARS_UE *ue,
LTE_DL_FRAME_PARMS
*
fp
=
(
ue
==
NULL
)
?
frame_parms
:
&
ue
->
frame_parms
;
int32_t
*
txF
=
(
ue
==
NULL
)
?
txdataF
[
ant
]
:
ue
->
common_vars
.
txdataF
[
ant
];
uint32_t
u
,
v
,
alpha_ind
;
uint32_t
u0
=
(
ue
==
NULL
)
?
0
:
frame_parms
->
pusch_config_common
.
ul_ReferenceSignalsPUSCH
.
grouphop
[
subframe
<<
1
];
uint32_t
u1
=
(
ue
==
NULL
)
?
0
:
frame_parms
->
pusch_config_common
.
ul_ReferenceSignalsPUSCH
.
grouphop
[
1
+
(
subframe
<<
1
)];
uint32_t
v0
=
(
ue
==
NULL
)
?
0
:
frame_parms
->
pusch_config_common
.
ul_ReferenceSignalsPUSCH
.
seqhop
[
subframe
<<
1
];
uint32_t
v1
=
(
ue
==
NULL
)
?
0
:
frame_parms
->
pusch_config_common
.
ul_ReferenceSignalsPUSCH
.
seqhop
[
1
+
(
subframe
<<
1
)];
uint32_t
u0
=
fp
->
pusch_config_common
.
ul_ReferenceSignalsPUSCH
.
grouphop
[
subframe
<<
1
];
uint32_t
u1
=
fp
->
pusch_config_common
.
ul_ReferenceSignalsPUSCH
.
grouphop
[
1
+
(
subframe
<<
1
)];
uint32_t
v0
=
fp
->
pusch_config_common
.
ul_ReferenceSignalsPUSCH
.
seqhop
[
subframe
<<
1
];
uint32_t
v1
=
fp
->
pusch_config_common
.
ul_ReferenceSignalsPUSCH
.
seqhop
[
1
+
(
subframe
<<
1
)];
int32_t
ref_re
,
ref_im
;
uint8_t
harq_pid
=
(
proc
==
NULL
)
?
0
:
subframe2harq_pid
(
fp
,
proc
->
frame_tx
,
subframe
);
...
...
@@ -82,10 +81,6 @@ int generate_drs_pusch(PHY_VARS_UE *ue,
fp
->
pusch_config_common
.
ul_ReferenceSignalsPUSCH
.
nPRS
[(
subframe
<<
1
)
+
1
]
+
((
ue
->
ulsch
[
0
]
->
cooperation_flag
==
2
)
?
10
:
0
)
+
ant
*
6
)
%
12
;
u0
=
fp
->
pusch_config_common
.
ul_ReferenceSignalsPUSCH
.
grouphop
[
subframe
<<
1
];
u1
=
fp
->
pusch_config_common
.
ul_ReferenceSignalsPUSCH
.
grouphop
[
1
+
(
subframe
<<
1
)];
v0
=
fp
->
pusch_config_common
.
ul_ReferenceSignalsPUSCH
.
seqhop
[
subframe
<<
1
];
v1
=
fp
->
pusch_config_common
.
ul_ReferenceSignalsPUSCH
.
seqhop
[
1
+
(
subframe
<<
1
)];
}
...
...
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