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
zzha zzha
OpenXG-RAN
Commits
c13d5c21
Commit
c13d5c21
authored
Mar 16, 2017
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added null pointer check for ulsim
parent
bd3394f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
openair1/SCHED/phy_procedures_lte_ue.c
openair1/SCHED/phy_procedures_lte_ue.c
+10
-8
No files found.
openair1/SCHED/phy_procedures_lte_ue.c
View file @
c13d5c21
...
@@ -641,9 +641,9 @@ void ue_compute_srs_occasion(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,uint8_t eNB_id
...
@@ -641,9 +641,9 @@ void ue_compute_srs_occasion(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,uint8_t eNB_id
}
}
uint8_t
pucch_ack_payload
[
2
];
uint8_t
pucch_ack_payload
[
2
];
if
(
get_ack
(
&
ue
->
frame_parms
,
if
(
(
ue
->
dlsch
[
proc
->
subframe_rx
&
0x1
][
eNB_id
][
0
]
->
harq_ack
)
&&
(
get_ack
(
&
ue
->
frame_parms
,
ue
->
dlsch
[
proc
->
subframe_rx
&
0x1
][
eNB_id
][
0
]
->
harq_ack
,
ue
->
dlsch
[
proc
->
subframe_rx
&
0x1
][
eNB_id
][
0
]
->
harq_ack
,
subframe_tx
,
pucch_ack_payload
,
0
)
>
0
)
subframe_tx
,
pucch_ack_payload
,
0
)
>
0
)
)
{
{
is_sr_an_subframe
=
1
;
is_sr_an_subframe
=
1
;
}
}
...
@@ -2261,12 +2261,14 @@ void phy_procedures_UE_TX(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,uint8_t eNB_id,ui
...
@@ -2261,12 +2261,14 @@ void phy_procedures_UE_TX(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,uint8_t eNB_id,ui
}
}
// reset DL ACK/NACK status
// reset DL ACK/NACK status
reset_ack
(
&
ue
->
frame_parms
,
if
(
ue
->
dlsch
[
proc
->
subframe_rx
&
0x1
][
eNB_id
][
0
]
!=
NULL
)
ue
->
dlsch
[
proc
->
subframe_rx
&
0x1
][
eNB_id
][
0
]
->
harq_ack
,
reset_ack
(
&
ue
->
frame_parms
,
subframe_tx
,
ue
->
dlsch
[
proc
->
subframe_rx
&
0x1
][
eNB_id
][
0
]
->
harq_ack
,
ue
->
ulsch
[
eNB_id
]
->
o_ACK
,
0
);
subframe_tx
,
ue
->
ulsch
[
eNB_id
]
->
o_ACK
,
0
);
reset_ack
(
&
ue
->
frame_parms
,
if
(
ue
->
dlsch_SI
[
eNB_id
]
!=
NULL
)
reset_ack
(
&
ue
->
frame_parms
,
ue
->
dlsch_SI
[
eNB_id
]
->
harq_ack
,
ue
->
dlsch_SI
[
eNB_id
]
->
harq_ack
,
subframe_tx
,
subframe_tx
,
ue
->
ulsch
[
eNB_id
]
->
o_ACK
,
0
);
ue
->
ulsch
[
eNB_id
]
->
o_ACK
,
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