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
ZhouShuya
OpenXG-RAN
Commits
f3c922b1
Commit
f3c922b1
authored
Oct 22, 2020
by
zhanghuiqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix RRCReject
parent
bfd2c35c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
openair2/RRC/NR/MESSAGES/asn1_msg.c
openair2/RRC/NR/MESSAGES/asn1_msg.c
+5
-0
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+2
-2
No files found.
openair2/RRC/NR/MESSAGES/asn1_msg.c
View file @
f3c922b1
...
...
@@ -619,7 +619,12 @@ uint8_t do_RRCReject(uint8_t Mod_id,
dl_ccch_msg
.
message
.
choice
.
c1
=
CALLOC
(
1
,
sizeof
(
struct
NR_DL_CCCH_MessageType__c1
));
dl_ccch_msg
.
message
.
choice
.
c1
->
present
=
NR_RRCReject__criticalExtensions_PR_rrcReject
;
dl_ccch_msg
.
message
.
choice
.
c1
->
choice
.
rrcReject
=
CALLOC
(
1
,
sizeof
(
NR_RRCReject_t
));
rrcReject
=
dl_ccch_msg
.
message
.
choice
.
c1
->
choice
.
rrcReject
;
rrcReject
->
criticalExtensions
.
choice
.
rrcReject
=
CALLOC
(
1
,
sizeof
(
struct
NR_RRCReject_IEs
));
rrcReject
->
criticalExtensions
.
choice
.
rrcReject
->
waitTime
=
CALLOC
(
1
,
sizeof
(
NR_RejectWaitTime_t
));
rrcReject
->
criticalExtensions
.
present
=
NR_RRCReject__criticalExtensions_PR_rrcReject
;
rrcReject
->
criticalExtensions
.
choice
.
rrcReject
->
waitTime
=
&
waitTime
;
...
...
openair2/RRC/NR/rrc_gNB.c
View file @
f3c922b1
...
...
@@ -850,7 +850,7 @@ int nr_rrc_gNB_decode_ccch(protocol_ctxt_t *const ctxt_pP,
ue_context_p
->
ue_context
.
ng_5G_S_TMSI_Part1
=
s_tmsi_part1
;
}
}
}
else
{
}
//
else {
/* TODO */
LOG_E
(
NR_RRC
,
PROTOCOL_NR_RRC_CTXT_UE_FMT
" RRCSetupRequest without random UE identity or S-TMSI not supported, let's reject the UE
\n
"
,
...
...
@@ -859,7 +859,7 @@ int nr_rrc_gNB_decode_ccch(protocol_ctxt_t *const ctxt_pP,
rrc_gNB_get_ue_context
(
gnb_rrc_inst
,
ctxt_pP
->
rnti
),
CC_id
);
break
;
}
//
}
}
if
(
ue_context_p
!=
NULL
)
{
...
...
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