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
Michael Black
OpenXG-RAN
Commits
9c87e73b
Commit
9c87e73b
authored
Dec 07, 2017
by
Xu Bo
Committed by
jftt
Dec 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Segmentation fault issue
parent
2407b4af
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_eNb.c
+2
-2
openair2/LAYER2/MAC/pre_processor.c
openair2/LAYER2/MAC/pre_processor.c
+5
-3
No files found.
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
9c87e73b
...
...
@@ -834,10 +834,10 @@ void uci_procedures(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
if
(
uci
->
type
==
SR
)
{
if
(
SR_payload
==
1
)
{
fill_sr_indication
(
eNB
,
uci
->
rnti
,
frame
,
subframe
,
metric_SR
);
return
;
continue
;
}
else
{
return
;
continue
;
}
}
case
HARQ
:
...
...
openair2/LAYER2/MAC/pre_processor.c
View file @
9c87e73b
...
...
@@ -2293,18 +2293,20 @@ void ulsch_scheduler_pre_processor(module_id_t module_idP,
for
(
ulsch_ue_num
=
0
;
ulsch_ue_num
<
ulsch_ue_select
[
CC_id
].
ue_num
;
ulsch_ue_num
++
)
{
UE_id
=
ulsch_ue_select
[
CC_id
].
list
[
ulsch_ue_num
].
UE_id
;
rnti
=
UE_RNTI
(
CC_id
,
UE_id
);
if
(
ulsch_ue_select
[
CC_id
].
list
[
ulsch_ue_num
].
ue_priority
==
SCH_UL_MSG3
)
{
first_rb
[
CC_id
]
++
;
ue_num_temp
--
;
continue
;
}
if
(
ulsch_ue_select
[
CC_id
].
list
[
ulsch_ue_num
].
ue_priority
==
SCH_UL_PRACH
)
{
first_rb
[
CC_id
]
=
ulsch_ue_select
[
CC_id
].
list
[
ulsch_ue_num
].
start_rb
+
ulsch_ue_select
[
CC_id
].
list
[
ulsch_ue_num
].
nb_rb
;
ue_num_temp
--
;
continue
;
}
rnti
=
UE_RNTI
(
CC_id
,
UE_id
);
if
(
first_rb
[
CC_id
]
>=
frame_parms
->
N_RB_UL
-
1
)
{
LOG_W
(
MAC
,
"[eNB %d] frame %d subframe %d, UE %d/%x CC %d: dropping, not enough RBs
\n
"
,
module_idP
,
frameP
,
subframeP
,
UE_id
,
rnti
,
CC_id
);
...
...
@@ -2338,8 +2340,8 @@ void ulsch_scheduler_pre_processor(module_id_t module_idP,
}
}
}
else
{
UE_template
=
&
UE_list
->
UE_template
[
CC_id
][
ulsch_ue_select
[
CC_id
].
list
[
ulsch_ue_num
].
UE_id
];
if
(
UE_list
->
UE_sched_ctrl
[
ulsch_ue_select
[
CC_id
].
list
[
ulsch_ue_num
].
UE_id
].
phr_received
==
1
)
{
UE_template
=
&
UE_list
->
UE_template
[
CC_id
][
UE_id
];
if
(
UE_list
->
UE_sched_ctrl
[
UE_id
].
phr_received
==
1
)
{
mcs
=
20
;
}
else
{
mcs
=
10
;
...
...
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