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
c6169f0f
Commit
c6169f0f
authored
Jan 13, 2018
by
Xu Bo
Committed by
Xu
Jan 13, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reduce the LC channel number from 11 to 3(DCCH, DCCH1, DTCH) when schedule dlsch
parent
f459f811
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
+5
-0
openair2/LAYER2/MAC/pre_processor.c
openair2/LAYER2/MAC/pre_processor.c
+5
-1
No files found.
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
View file @
c6169f0f
...
@@ -1048,7 +1048,12 @@ schedule_ue_spec(module_id_t module_idP,
...
@@ -1048,7 +1048,12 @@ schedule_ue_spec(module_id_t module_idP,
header_len_dtch
=
0
;
header_len_dtch
=
0
;
header_len_dtch_last
=
0
;
// the header length of the last mac sdu
header_len_dtch_last
=
0
;
// the header length of the last mac sdu
// lcid has to be sorted before the actual allocation (similar struct as ue_list).
// lcid has to be sorted before the actual allocation (similar struct as ue_list).
#if defined(UE_EXPANSION) || defined(UE_EXPANSION_SIM2)
lcid
=
DTCH
;
{
#else
for
(
lcid
=
NB_RB_MAX
-
1
;
lcid
>=
DTCH
;
lcid
--
)
{
for
(
lcid
=
NB_RB_MAX
-
1
;
lcid
>=
DTCH
;
lcid
--
)
{
#endif
// TBD: check if the lcid is active
// TBD: check if the lcid is active
header_len_dtch
+=
3
;
header_len_dtch
+=
3
;
...
...
openair2/LAYER2/MAC/pre_processor.c
View file @
c6169f0f
...
@@ -119,7 +119,11 @@ store_dlsch_buffer(module_id_t Mod_id, frame_t frameP,
...
@@ -119,7 +119,11 @@ store_dlsch_buffer(module_id_t Mod_id, frame_t frameP,
rnti
=
UE_RNTI
(
Mod_id
,
UE_id
);
rnti
=
UE_RNTI
(
Mod_id
,
UE_id
);
for
(
i
=
0
;
i
<
MAX_NUM_LCID
;
i
++
)
{
// loop over all the logical channels
#if defined(UE_EXPANSION) || defined(UE_EXPANSION_SIM2)
for
(
i
=
DCCH
;
i
<=
DTCH
;
i
++
)
{
// loop over DCCH, DCCH1 and DTCH
#else
for
(
i
=
0
;
i
<
MAX_NUM_LCID
;
i
++
)
{
// loop over all the logical channels
#endif
rlc_status
=
rlc_status
=
mac_rlc_status_ind
(
Mod_id
,
rnti
,
Mod_id
,
frameP
,
subframeP
,
mac_rlc_status_ind
(
Mod_id
,
rnti
,
Mod_id
,
frameP
,
subframeP
,
...
...
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