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
promise
OpenXG-RAN
Commits
7034159e
Commit
7034159e
authored
Nov 25, 2020
by
yaojie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add sleep between RRCReconfigurationComplete and RegistrationComplete
parent
716e1615
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
openair2/RRC/NR_UE/rrc_UE.c
openair2/RRC/NR_UE/rrc_UE.c
+4
-0
openair3/NGAP/ngap_gNB_nas_procedures.c
openair3/NGAP/ngap_gNB_nas_procedures.c
+1
-0
No files found.
openair2/RRC/NR_UE/rrc_UE.c
View file @
7034159e
...
@@ -2329,6 +2329,8 @@ nr_rrc_ue_decode_dcch(
...
@@ -2329,6 +2329,8 @@ nr_rrc_ue_decode_dcch(
gNB_indexP
,
gNB_indexP
,
dl_dcch_msg
->
message
.
choice
.
c1
->
choice
.
rrcReconfiguration
->
rrc_TransactionIdentifier
);
dl_dcch_msg
->
message
.
choice
.
c1
->
choice
.
rrcReconfiguration
->
rrc_TransactionIdentifier
);
#ifdef ITTI_SIM
#ifdef ITTI_SIM
//wait send RRCReconfigurationComplete and InitialContextSetupResponse
sleep
(
1
);
as_nas_info_t
initialNasMsg
;
as_nas_info_t
initialNasMsg
;
memset
(
&
initialNasMsg
,
0
,
sizeof
(
as_nas_info_t
));
memset
(
&
initialNasMsg
,
0
,
sizeof
(
as_nas_info_t
));
generateRegistrationComplete
(
&
initialNasMsg
,
NULL
);
generateRegistrationComplete
(
&
initialNasMsg
,
NULL
);
...
@@ -2341,6 +2343,8 @@ nr_rrc_ue_decode_dcch(
...
@@ -2341,6 +2343,8 @@ nr_rrc_ue_decode_dcch(
itti_send_msg_to_task
(
TASK_RRC_NRUE
,
ctxt_pP
->
instance
,
message_p
);
itti_send_msg_to_task
(
TASK_RRC_NRUE
,
ctxt_pP
->
instance
,
message_p
);
LOG_I
(
NR_RRC
,
" Send NAS_UPLINK_DATA_REQ message(RegistrationComplete)
\n
"
);
LOG_I
(
NR_RRC
,
" Send NAS_UPLINK_DATA_REQ message(RegistrationComplete)
\n
"
);
}
}
//wait send RegistrationComplete
usleep
(
100
*
150
);
as_nas_info_t
pduEstablishMsg
;
as_nas_info_t
pduEstablishMsg
;
memset
(
&
pduEstablishMsg
,
0
,
sizeof
(
as_nas_info_t
));
memset
(
&
pduEstablishMsg
,
0
,
sizeof
(
as_nas_info_t
));
generatePduSessionEstablishRequest
(
&
pduEstablishMsg
);
generatePduSessionEstablishRequest
(
&
pduEstablishMsg
);
...
...
openair3/NGAP/ngap_gNB_nas_procedures.c
View file @
7034159e
...
@@ -858,6 +858,7 @@ int ngap_gNB_initial_ctxt_resp(
...
@@ -858,6 +858,7 @@ int ngap_gNB_initial_ctxt_resp(
initial_ctxt_resp_p
->
gNB_ue_ngap_id
,
initial_ctxt_resp_p
->
gNB_ue_ngap_id
,
ue_context_p
->
amf_ue_ngap_id
);
ue_context_p
->
amf_ue_ngap_id
);
/* UE associated signalling -> use the allocated stream */
/* UE associated signalling -> use the allocated stream */
LOG_I
(
NR_RRC
,
"Send message to sctp: NGAP_InitialContextSetupResponse
\n
"
);
ngap_gNB_itti_send_sctp_data_req
(
ngap_gNB_instance_p
->
instance
,
ngap_gNB_itti_send_sctp_data_req
(
ngap_gNB_instance_p
->
instance
,
ue_context_p
->
amf_ref
->
assoc_id
,
buffer
,
ue_context_p
->
amf_ref
->
assoc_id
,
buffer
,
length
,
ue_context_p
->
tx_stream
);
length
,
ue_context_p
->
tx_stream
);
...
...
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