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
canghaiwuhen
OpenXG-RAN
Commits
c06c4716
Commit
c06c4716
authored
Feb 10, 2019
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug with ue->dlsch_rx_sldch memory allocation
parent
c498cac9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
openair1/PHY/INIT/lte_init_ue.c
openair1/PHY/INIT/lte_init_ue.c
+4
-4
No files found.
openair1/PHY/INIT/lte_init_ue.c
View file @
c06c4716
...
@@ -1060,9 +1060,9 @@ void init_lte_ue_transport(PHY_VARS_UE *ue,int abstraction_flag) {
...
@@ -1060,9 +1060,9 @@ void init_lte_ue_transport(PHY_VARS_UE *ue,int abstraction_flag) {
//***/ Substituted the next line with the double for loop as harq_ids is a 2-dimension array now
//***/ Substituted the next line with the double for loop as harq_ids is a 2-dimension array now
//for (i=0;i<10;i++) ue->dlsch_sldch->harq_ids[i] = 0;
//for (i=0;i<10;i++) ue->dlsch_sldch->harq_ids[i] = 0;
LTE_eNB_DLSCH_t
*
dlsch_sldch_tmp
=
&
ue
->
dlsch_sldch
;
//
LTE_eNB_DLSCH_t *dlsch_sldch_tmp = &ue->dlsch_sldch;
for
(
i
=
0
;
i
<
20
;
i
++
)
for
(
i
=
0
;
i
<
20
;
i
++
)
dlsch_sldch_tmp
->
harq_ids
[
i
/
10
][
i
%
10
]
=
0
;
ue
->
dlsch_sldch
->
harq_ids
[
i
/
10
][
i
%
10
]
=
0
;
ue
->
dlsch_rx_slsch
=
new_ue_dlsch
(
1
,
4
,
NSOFT
,
1
,
MAX_TURBO_ITERATIONS
,
ue
->
frame_parms
.
N_RB_DL
,
abstraction_flag
);
ue
->
dlsch_rx_slsch
=
new_ue_dlsch
(
1
,
4
,
NSOFT
,
1
,
MAX_TURBO_ITERATIONS
,
ue
->
frame_parms
.
N_RB_DL
,
abstraction_flag
);
...
@@ -1072,9 +1072,9 @@ void init_lte_ue_transport(PHY_VARS_UE *ue,int abstraction_flag) {
...
@@ -1072,9 +1072,9 @@ void init_lte_ue_transport(PHY_VARS_UE *ue,int abstraction_flag) {
//Panos: Substituted the next line with the double for loop as harq_ids is a 2-dimension array now
//Panos: Substituted the next line with the double for loop as harq_ids is a 2-dimension array now
//for (i=0;i<10;i++) ue->dlsch_slsch->harq_ids[i] = 0;
//for (i=0;i<10;i++) ue->dlsch_slsch->harq_ids[i] = 0;
LTE_eNB_DLSCH_t
*
dlsch_slsch_tmp
=
&
ue
->
dlsch_slsch
;
//
LTE_eNB_DLSCH_t *dlsch_slsch_tmp = &ue->dlsch_slsch;
for
(
i
=
0
;
i
<
20
;
i
++
)
for
(
i
=
0
;
i
<
20
;
i
++
)
dlsch_slsch_tmp
->
harq_ids
[
i
/
10
][
i
%
10
]
=
0
;
ue
->
dlsch_slsch
->
harq_ids
[
i
/
10
][
i
%
10
]
=
0
;
ue
->
slsch_txcnt
=
0
;
ue
->
slsch_txcnt
=
0
;
ue
->
slsch_errors
=
0
;
ue
->
slsch_errors
=
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