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
canghaiwuhen
OpenXG-RAN
Commits
282985eb
Commit
282985eb
authored
Feb 25, 2019
by
nepes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RRC bugfix
parent
67aa9680
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
13 deletions
+14
-13
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+5
-4
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+9
-9
No files found.
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
282985eb
...
@@ -1385,6 +1385,7 @@ schedule_ulsch_rnti(module_id_t module_idP,
...
@@ -1385,6 +1385,7 @@ schedule_ulsch_rnti(module_id_t module_idP,
if
(
!
ue_ul_slice_membership
(
module_idP
,
UE_id
,
slice_idx
))
{
if
(
!
ue_ul_slice_membership
(
module_idP
,
UE_id
,
slice_idx
))
{
continue
;
continue
;
}
}
if
(
UE_list
->
UE_template
[
UE_PCCID
(
module_idP
,
UE_id
)][
UE_id
].
rach_resource_type
>
0
)
continue
;
// don't schedule if Msg5 is not received yet
// don't schedule if Msg5 is not received yet
if
(
UE_list
->
UE_template
[
UE_PCCID
(
module_idP
,
UE_id
)][
UE_id
].
configured
==
FALSE
)
{
if
(
UE_list
->
UE_template
[
UE_PCCID
(
module_idP
,
UE_id
)][
UE_id
].
configured
==
FALSE
)
{
...
@@ -1961,9 +1962,7 @@ void schedule_ulsch_rnti_emtc(module_id_t module_idP,
...
@@ -1961,9 +1962,7 @@ void schedule_ulsch_rnti_emtc(module_id_t module_idP,
UE_template
=
&
(
UE_list
->
UE_template
[
UE_PCCID
(
module_idP
,
UE_id
)][
UE_id
]);
UE_template
=
&
(
UE_list
->
UE_template
[
UE_PCCID
(
module_idP
,
UE_id
)][
UE_id
]);
/* LTE-M device */
/* LTE-M device */
if
(
UE_template
->
rach_resource_type
==
0
)
{
if
(
UE_template
->
rach_resource_type
==
0
)
continue
;
continue
;
}
/* Don't schedule if Msg4 is not received yet */
/* Don't schedule if Msg4 is not received yet */
if
(
UE_template
->
configured
==
FALSE
)
{
if
(
UE_template
->
configured
==
FALSE
)
{
...
@@ -1994,6 +1993,8 @@ void schedule_ulsch_rnti_emtc(module_id_t module_idP,
...
@@ -1994,6 +1993,8 @@ void schedule_ulsch_rnti_emtc(module_id_t module_idP,
N_RB_UL
=
to_prb
(
cc
[
CC_id
].
ul_Bandwidth
);
N_RB_UL
=
to_prb
(
cc
[
CC_id
].
ul_Bandwidth
);
UE_template
=
&
(
UE_list
->
UE_template
[
CC_id
][
UE_id
]);
UE_template
=
&
(
UE_list
->
UE_template
[
CC_id
][
UE_id
]);
UE_sched_ctrl
=
&
UE_list
->
UE_sched_ctrl
[
UE_id
];
harq_pid
=
0
;
harq_pid
=
0
;
round_UL
=
UE_sched_ctrl
->
round_UL
[
CC_id
][
harq_pid
];
round_UL
=
UE_sched_ctrl
->
round_UL
[
CC_id
][
harq_pid
];
...
@@ -2002,7 +2003,7 @@ void schedule_ulsch_rnti_emtc(module_id_t module_idP,
...
@@ -2002,7 +2003,7 @@ void schedule_ulsch_rnti_emtc(module_id_t module_idP,
UE_id
,
UE_id
,
rnti
);
rnti
);
LOG_
D
(
MAC
,
"[eNB %d] frame %d subframe %d,Checking PUSCH %d for BL/CE UE %d/%x CC %d : aggregation level %d, N_RB_UL %d
\n
"
,
LOG_
I
(
MAC
,
"[eNB %d] frame %d subframe %d,Checking PUSCH %d for BL/CE UE %d/%x CC %d : aggregation level %d, N_RB_UL %d
\n
"
,
module_idP
,
module_idP
,
frameP
,
frameP
,
subframeP
,
subframeP
,
...
...
openair2/RRC/LTE/rrc_eNB.c
View file @
282985eb
...
@@ -6619,17 +6619,18 @@ void rrc_eNB_generate_RRCConnectionSetup(const protocol_ctxt_t *const ctxt_pP,
...
@@ -6619,17 +6619,18 @@ void rrc_eNB_generate_RRCConnectionSetup(const protocol_ctxt_t *const ctxt_pP,
rrc_eNB_get_next_transaction_identifier
(
ctxt_pP
->
module_id
),
rrc_eNB_get_next_transaction_identifier
(
ctxt_pP
->
module_id
),
SRB_configList
,
SRB_configList
,
&
ue_context_pP
->
ue_context
.
physicalConfigDedicated
);
&
ue_context_pP
->
ue_context
.
physicalConfigDedicated
);
LOG_DUMPMSG
(
RRC
,
DEBUG_RRC
,
}
(
char
*
)(
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
Srb0
.
Tx_buffer
.
Payload
),
LOG_DUMPMSG
(
RRC
,
DEBUG_RRC
,
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
Srb0
.
Tx_buffer
.
payload_size
,
(
char
*
)(
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
Srb0
.
Tx_buffer
.
Payload
),
"[MSG] RRC Connection Setup
\n
"
);
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
Srb0
.
Tx_buffer
.
payload_size
,
"[MSG] RRC Connection Setup
\n
"
);
// configure SRB1/SRB2, PhysicalConfigDedicated, LTE_MAC_MainConfig for UE
// configure SRB1/SRB2, PhysicalConfigDedicated, LTE_MAC_MainConfig for UE
if
(
*
SRB_configList
!=
NULL
)
{
if
(
*
SRB_configList
!=
NULL
)
{
for
(
cnt
=
0
;
cnt
<
(
*
SRB_configList
)
->
list
.
count
;
cnt
++
)
{
for
(
cnt
=
0
;
cnt
<
(
*
SRB_configList
)
->
list
.
count
;
cnt
++
)
{
if
((
*
SRB_configList
)
->
list
.
array
[
cnt
]
->
srb_Identity
==
1
)
{
if
((
*
SRB_configList
)
->
list
.
array
[
cnt
]
->
srb_Identity
==
1
)
{
SRB1_config
=
(
*
SRB_configList
)
->
list
.
array
[
cnt
];
SRB1_config
=
(
*
SRB_configList
)
->
list
.
array
[
cnt
];
if
(
SRB1_config
->
logicalChannelConfig
)
{
if
(
SRB1_config
->
logicalChannelConfig
)
{
if
(
SRB1_config
->
logicalChannelConfig
->
present
==
if
(
SRB1_config
->
logicalChannelConfig
->
present
==
...
@@ -6683,7 +6684,6 @@ void rrc_eNB_generate_RRCConnectionSetup(const protocol_ctxt_t *const ctxt_pP,
...
@@ -6683,7 +6684,6 @@ void rrc_eNB_generate_RRCConnectionSetup(const protocol_ctxt_t *const ctxt_pP,
break
;
break
;
}
}
}
}
}
MSC_LOG_TX_MESSAGE
(
MSC_LOG_TX_MESSAGE
(
MSC_RRC_ENB
,
MSC_RRC_ENB
,
...
...
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