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
zzha zzha
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
Hide 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,10 +195,14 @@ rrc_mac_config_req(
}
}
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
(
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
;
}
}
}
...
...
@@ -296,7 +300,10 @@ rrc_mac_config_req(
if
(
physicalConfigDedicated
!=
NULL
)
{
if
(
eNB_flagP
==
1
)
{
mac_xface
->
phy_config_dedicated_eNB
(
Mod_idP
,
CC_idP
,
UE_RNTI
(
Mod_idP
,
UE_id
),
physicalConfigDedicated
);
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
);
UE_mac_inst
[
Mod_idP
].
physicalConfigDedicated
=
physicalConfigDedicated
;
// for SR proc
...
...
@@ -308,7 +315,10 @@ rrc_mac_config_req(
if
(
sCellToAddMod_r10
!=
NULL
)
{
if
(
eNB_flagP
==
1
)
{
mac_xface
->
phy_config_dedicated_scell_eNB
(
Mod_idP
,
UE_RNTI
(
Mod_idP
,
UE_id
),
sCellToAddMod_r10
,
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
{
//#warning "phy_config_dedicated_scell_ue is empty"
...
...
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