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
wangjie
OpenXG-RAN
Commits
2e688c69
Commit
2e688c69
authored
Oct 12, 2016
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small bugfixes to avoid segfault in rx_sdu
parent
d566dfd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+1
-3
No files found.
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
2e688c69
...
@@ -140,9 +140,8 @@ void rx_sdu(const module_id_t enb_mod_idP,
...
@@ -140,9 +140,8 @@ void rx_sdu(const module_id_t enb_mod_idP,
LOG_D
(
MAC
,
"[eNB %d] CC_id %d MAC CE_LCID %d : Received PHR PH = %d (db)
\n
"
,
LOG_D
(
MAC
,
"[eNB %d] CC_id %d MAC CE_LCID %d : Received PHR PH = %d (db)
\n
"
,
enb_mod_idP
,
CC_idP
,
rx_ces
[
i
],
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
phr_info
);
enb_mod_idP
,
CC_idP
,
rx_ces
[
i
],
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
phr_info
);
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
phr_info_configured
=
1
;
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
phr_info_configured
=
1
;
UE_list
->
UE_sched_ctrl
[
UE_id
].
phr_received
=
1
;
}
}
UE_list
->
UE_sched_ctrl
[
UE_id
].
phr_received
=
1
;
payload_ptr
+=
sizeof
(
POWER_HEADROOM_CMD
);
payload_ptr
+=
sizeof
(
POWER_HEADROOM_CMD
);
break
;
break
;
...
@@ -467,7 +466,6 @@ void rx_sdu(const module_id_t enb_mod_idP,
...
@@ -467,7 +466,6 @@ void rx_sdu(const module_id_t enb_mod_idP,
}
}
}
}
else
{
/*(UE_id != -1*/
else
{
/*(UE_id != -1*/
UE_list
->
eNB_UE_stats
[
CC_idP
][
UE_id
].
num_errors_rx
+=
1
;
LOG_E
(
MAC
,
"[eNB %d] CC_id %d Frame %d : received unsupported or unknown LCID %d from UE %d "
,
LOG_E
(
MAC
,
"[eNB %d] CC_id %d Frame %d : received unsupported or unknown LCID %d from UE %d "
,
enb_mod_idP
,
CC_idP
,
frameP
,
rx_lcids
[
i
],
UE_id
);
enb_mod_idP
,
CC_idP
,
frameP
,
rx_lcids
[
i
],
UE_id
);
}
}
...
...
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