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
alex037yang
OpenXG-RAN
Commits
5634aa92
Commit
5634aa92
authored
Mar 12, 2018
by
Navid Nikaein
Committed by
Robert Schmidt
Sep 03, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Keep the LCID priority in MAC layer to sort the UE accordingly
parent
56405aee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
+14
-6
openair2/LAYER2/MAC/config.c
openair2/LAYER2/MAC/config.c
+11
-6
openair2/LAYER2/MAC/mac.h
openair2/LAYER2/MAC/mac.h
+3
-0
No files found.
openair2/LAYER2/MAC/config.c
View file @
5634aa92
...
@@ -852,16 +852,21 @@ rrc_mac_config_req_eNB(module_id_t Mod_idP,
...
@@ -852,16 +852,21 @@ rrc_mac_config_req_eNB(module_id_t Mod_idP,
LOG_E
(
MAC
,
"%s:%d:%s: ERROR, UE_id == -1
\n
"
,
__FILE__
,
LOG_E
(
MAC
,
"%s:%d:%s: ERROR, UE_id == -1
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
);
__LINE__
,
__FUNCTION__
);
}
else
{
}
else
{
if
(
logicalChannelConfig
)
if
(
logicalChannelConfig
)
{
UE_list
->
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
lcgidmap
UE_template
[
CC_idP
][
UE_id
].
lcgidmap
[
logicalChannelIdentity
]
=
[
logicalChannelIdentity
]
=
*
logicalChannelConfig
->
*
logicalChannelConfig
->
ul_SpecificParameters
->
logicalChannelGroup
;
ul_SpecificParameters
->
logicalChannelGroup
;
else
UE_list
->
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
lcgidpriority
UE_template
[
CC_idP
][
UE_id
].
lcgidmap
[
logicalChannelIdentity
]
=
[
logicalChannelIdentity
]
=
0
;
logicalChannelConfig
->
ul_SpecificParameters
->
priority
;
}
else
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
lcgidmap
[
logicalChannelIdentity
]
=
0
;
}
}
}
}
...
...
openair2/LAYER2/MAC/mac.h
View file @
5634aa92
...
@@ -849,6 +849,9 @@ typedef struct {
...
@@ -849,6 +849,9 @@ typedef struct {
/// LCGID mapping
/// LCGID mapping
long
lcgidmap
[
11
];
long
lcgidmap
[
11
];
///UE logical channel priority
long
lcgidpriority
[
11
];
/// phr information
/// phr information
int8_t
phr_info
;
int8_t
phr_info
;
...
...
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