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
2a1d1134
Commit
2a1d1134
authored
Jan 20, 2017
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log an error if UE is -1 in rrc_mac_config_req
parent
2c578f35
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
6 deletions
+16
-6
openair2/LAYER2/MAC/config.c
openair2/LAYER2/MAC/config.c
+16
-6
No files found.
openair2/LAYER2/MAC/config.c
View file @
2a1d1134
...
...
@@ -195,12 +195,16 @@ rrc_mac_config_req(
}
}
else
{
if
(
UE_id
==
-
1
)
{
LOG_E
(
MAC
,
"%s:%d:%s: ERROR, UE_id == -1
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
);
}
else
{
if
(
logicalChannelConfig
)
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
lcgidmap
[
logicalChannelIdentity
]
=
*
logicalChannelConfig
->
ul_SpecificParameters
->
logicalChannelGroup
;
else
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
lcgidmap
[
logicalChannelIdentity
]
=
0
;
}
}
}
if
(
mac_MainConfig
!=
NULL
)
{
if
(
eNB_flagP
==
0
)
{
...
...
@@ -296,6 +300,9 @@ rrc_mac_config_req(
if
(
physicalConfigDedicated
!=
NULL
)
{
if
(
eNB_flagP
==
1
)
{
if
(
UE_id
==
-
1
)
LOG_E
(
MAC
,
"%s:%d:%s: ERROR, UE_id == -1
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
);
else
mac_xface
->
phy_config_dedicated_eNB
(
Mod_idP
,
CC_idP
,
UE_RNTI
(
Mod_idP
,
UE_id
),
physicalConfigDedicated
);
}
else
{
mac_xface
->
phy_config_dedicated_ue
(
Mod_idP
,
0
,
eNB_index
,
physicalConfigDedicated
);
...
...
@@ -308,6 +315,9 @@ rrc_mac_config_req(
if
(
sCellToAddMod_r10
!=
NULL
)
{
if
(
eNB_flagP
==
1
)
{
if
(
UE_id
==
-
1
)
LOG_E
(
MAC
,
"%s:%d:%s: ERROR, UE_id == -1
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
);
else
mac_xface
->
phy_config_dedicated_scell_eNB
(
Mod_idP
,
UE_RNTI
(
Mod_idP
,
UE_id
),
sCellToAddMod_r10
,
1
);
}
else
{
...
...
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