Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shweta Shrivastava
openairinterface5G
Commits
547d7b01
Commit
547d7b01
authored
Dec 08, 2020
by
He Shanyun
Browse files
change the sleep location for the ittisim
parent
dfba9dd7
Changes
2
Hide whitespace changes
Inline
Side-by-side
openair2/RRC/NR_UE/rrc_UE.c
View file @
547d7b01
...
...
@@ -2332,8 +2332,6 @@ nr_rrc_ue_decode_dcch(
if
(
first_rrcreconfigurationcomplete
==
0
)
{
first_rrcreconfigurationcomplete
=
1
;
#ifdef ITTI_SIM
//wait send RRCReconfigurationComplete and InitialContextSetupResponse
sleep
(
1
);
as_nas_info_t
initialNasMsg
;
memset
(
&
initialNasMsg
,
0
,
sizeof
(
as_nas_info_t
));
generateRegistrationComplete
(
&
initialNasMsg
,
NULL
);
...
...
@@ -2346,8 +2344,6 @@ nr_rrc_ue_decode_dcch(
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
"
);
}
//wait send RegistrationComplete
usleep
(
100
*
150
);
as_nas_info_t
pduEstablishMsg
;
memset
(
&
pduEstablishMsg
,
0
,
sizeof
(
as_nas_info_t
));
generatePduSessionEstablishRequest
(
&
pduEstablishMsg
);
...
...
openair3/NAS/NR_UE/nr_nas_msg_sim.c
View file @
547d7b01
...
...
@@ -505,6 +505,8 @@ void generateSecurityModeComplete(as_nas_info_t *initialNasMsg)
}
void
generateRegistrationComplete
(
as_nas_info_t
*
initialNasMsg
,
SORTransparentContainer
*
sortransparentcontainer
)
{
//wait send RRCReconfigurationComplete and InitialContextSetupResponse
sleep
(
1
);
int
length
=
0
;
int
size
=
0
;
fgs_nas_message_t
nas_msg
;
...
...
@@ -583,6 +585,8 @@ void generateRegistrationComplete(as_nas_info_t *initialNasMsg, SORTransparentCo
}
void
generatePduSessionEstablishRequest
(
as_nas_info_t
*
initialNasMsg
){
//wait send RegistrationComplete
usleep
(
100
*
150
);
int
size
=
0
;
fgs_nas_message_t
nas_msg
;
memset
(
&
nas_msg
,
0
,
sizeof
(
fgs_nas_message_t
));
...
...
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