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
Michael Black
OpenXG-RAN
Commits
72f40e6f
Commit
72f40e6f
authored
Apr 19, 2022
by
luis_pereira87
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add definition for some rrc processing delays
parent
7508205f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
7 deletions
+9
-7
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
+1
-1
openair2/RRC/NR/nr_rrc_defs.h
openair2/RRC/NR/nr_rrc_defs.h
+3
-1
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+5
-5
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
View file @
72f40e6f
...
@@ -1952,7 +1952,7 @@ void nr_check_Msg4_Ack(module_id_t module_id, int CC_id, frame_t frame, sub_fram
...
@@ -1952,7 +1952,7 @@ void nr_check_Msg4_Ack(module_id_t module_id, int CC_id, frame_t frame, sub_fram
RC
.
nrmac
[
module_id
]
->
common_channels
[
0
].
ServingCellConfigCommon
,
RC
.
nrmac
[
module_id
]
->
common_channels
[
0
].
ServingCellConfigCommon
,
sib1
);
sib1
);
// 3GPP TS 38.331 Section 12 Table 12.1-1: UE performance requirements for RRC procedures for UEs
// 3GPP TS 38.331 Section 12 Table 12.1-1: UE performance requirements for RRC procedures for UEs
sched_ctrl
->
rrc_processing_timer
=
(
10
<<
genericParameters
->
subcarrierSpacing
);
// RRCSetup 10 ms
sched_ctrl
->
rrc_processing_timer
=
(
NR_RRC_SETUP_DELAY_MS
<<
genericParameters
->
subcarrierSpacing
);
// RRCSetup 10 ms
}
}
else
{
else
{
LOG_I
(
NR_MAC
,
"(ue %i, rnti 0x%04x) RA Procedure failed at Msg4!
\n
"
,
UE_id
,
ra
->
rnti
);
LOG_I
(
NR_MAC
,
"(ue %i, rnti 0x%04x) RA Procedure failed at Msg4!
\n
"
,
UE_id
,
ra
->
rnti
);
...
...
openair2/RRC/NR/nr_rrc_defs.h
View file @
72f40e6f
...
@@ -97,7 +97,9 @@ typedef struct nr_uid_linear_allocator_s {
...
@@ -97,7 +97,9 @@ typedef struct nr_uid_linear_allocator_s {
#define PROTOCOL_NR_RRC_CTXT_ARGS(CTXT_Pp) PROTOCOL_NR_CTXT_ARGS(CTXT_Pp)
#define PROTOCOL_NR_RRC_CTXT_ARGS(CTXT_Pp) PROTOCOL_NR_CTXT_ARGS(CTXT_Pp)
// 3GPP TS 38.331 Section 12 Table 12.1-1: UE performance requirements for RRC procedures for UEs
// 3GPP TS 38.331 Section 12 Table 12.1-1: UE performance requirements for RRC procedures for UEs
#define NR_RRC_PROCESSING_DELAY_MS 10
#define NR_RRC_SETUP_DELAY_MS 10
#define NR_RRC_RECONFIGURATION_DELAY_MS 10
#define NR_RRC_BWP_SWITCHING_DELAY_MS 6
#define NR_UE_MODULE_INVALID ((module_id_t) ~0) // FIXME attention! depends on type uint8_t!!!
#define NR_UE_MODULE_INVALID ((module_id_t) ~0) // FIXME attention! depends on type uint8_t!!!
#define NR_UE_INDEX_INVALID ((module_id_t) ~0) // FIXME attention! depends on type uint8_t!!! used to be -1
#define NR_UE_INDEX_INVALID ((module_id_t) ~0) // FIXME attention! depends on type uint8_t!!! used to be -1
...
...
openair2/RRC/NR/rrc_gNB.c
View file @
72f40e6f
...
@@ -744,7 +744,7 @@ rrc_gNB_generate_defaultRRCReconfiguration(
...
@@ -744,7 +744,7 @@ rrc_gNB_generate_defaultRRCReconfiguration(
0
,
0
,
ue_context_pP
->
ue_context
.
rnti
,
ue_context_pP
->
ue_context
.
rnti
,
NULL
,
NULL
,
NR_RRC_
PROCESSING
_DELAY_MS
);
NR_RRC_
RECONFIGURATION
_DELAY_MS
);
/* Free all NAS PDUs */
/* Free all NAS PDUs */
for
(
int
i
=
0
;
i
<
ue_context_pP
->
ue_context
.
nb_of_pdusessions
;
i
++
)
{
for
(
int
i
=
0
;
i
<
ue_context_pP
->
ue_context
.
nb_of_pdusessions
;
i
++
)
{
...
@@ -1024,7 +1024,7 @@ rrc_gNB_generate_dedicatedRRCReconfiguration(
...
@@ -1024,7 +1024,7 @@ rrc_gNB_generate_dedicatedRRCReconfiguration(
0
,
0
,
ue_context_pP
->
ue_context
.
rnti
,
ue_context_pP
->
ue_context
.
rnti
,
NULL
,
NULL
,
NR_RRC_
PROCESSING
_DELAY_MS
);
NR_RRC_
RECONFIGURATION
_DELAY_MS
);
/* Free all NAS PDUs */
/* Free all NAS PDUs */
for
(
i
=
0
;
i
<
ue_context_pP
->
ue_context
.
nb_of_pdusessions
;
i
++
)
{
for
(
i
=
0
;
i
<
ue_context_pP
->
ue_context
.
nb_of_pdusessions
;
i
++
)
{
...
@@ -1211,7 +1211,7 @@ rrc_gNB_modify_dedicatedRRCReconfiguration(
...
@@ -1211,7 +1211,7 @@ rrc_gNB_modify_dedicatedRRCReconfiguration(
0
,
0
,
ue_context_pP
->
ue_context
.
rnti
,
ue_context_pP
->
ue_context
.
rnti
,
NULL
,
NULL
,
NR_RRC_
PROCESSING
_DELAY_MS
);
NR_RRC_
RECONFIGURATION
_DELAY_MS
);
/* Free all NAS PDUs */
/* Free all NAS PDUs */
for
(
i
=
0
;
i
<
ue_context_pP
->
ue_context
.
nb_of_modify_pdusessions
;
i
++
)
{
for
(
i
=
0
;
i
<
ue_context_pP
->
ue_context
.
nb_of_modify_pdusessions
;
i
++
)
{
...
@@ -1329,7 +1329,7 @@ rrc_gNB_generate_dedicatedRRCReconfiguration_release(
...
@@ -1329,7 +1329,7 @@ rrc_gNB_generate_dedicatedRRCReconfiguration_release(
0
,
0
,
ue_context_pP
->
ue_context
.
rnti
,
ue_context_pP
->
ue_context
.
rnti
,
NULL
,
NULL
,
NR_RRC_
PROCESSING
_DELAY_MS
);
NR_RRC_
RECONFIGURATION
_DELAY_MS
);
/* Free all NAS PDUs */
/* Free all NAS PDUs */
if
(
nas_length
>
0
)
{
if
(
nas_length
>
0
)
{
...
@@ -1894,7 +1894,7 @@ rrc_gNB_process_RRCConnectionReestablishmentComplete(
...
@@ -1894,7 +1894,7 @@ rrc_gNB_process_RRCConnectionReestablishmentComplete(
0
,
0
,
ue_context_pP
->
ue_context
.
rnti
,
ue_context_pP
->
ue_context
.
rnti
,
NULL
,
NULL
,
NR_RRC_
PROCESSING
_DELAY_MS
);
NR_RRC_
RECONFIGURATION
_DELAY_MS
);
/* Free all NAS PDUs */
/* Free all NAS PDUs */
for
(
i
=
0
;
i
<
ue_context_pP
->
ue_context
.
nb_of_pdusessions
;
i
++
)
{
for
(
i
=
0
;
i
<
ue_context_pP
->
ue_context
.
nb_of_pdusessions
;
i
++
)
{
...
...
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