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
wangjie
OpenXG-RAN
Commits
5feefc89
Commit
5feefc89
authored
Oct 09, 2020
by
Chenyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asn1 for nr msg5 and so on
parent
ffde7852
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
205 additions
and
2 deletions
+205
-2
openair2/RRC/NR/MESSAGES/asn1_msg.c
openair2/RRC/NR/MESSAGES/asn1_msg.c
+177
-0
openair2/RRC/NR/MESSAGES/asn1_msg.h
openair2/RRC/NR/MESSAGES/asn1_msg.h
+26
-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 @
5feefc89
This diff is collapsed.
Click to expand it.
openair2/RRC/NR/MESSAGES/asn1_msg.h
View file @
5feefc89
...
...
@@ -82,3 +82,29 @@ void do_PHYSICALCELLGROUP(uint8_t Mod_id,
void
do_SpCellConfig
(
gNB_RRC_INST
*
rrc
,
struct
NR_SpCellConfig
*
spconfig
);
/*MSG 5*/
/** \brief Generate an RRCConnectionSetupComplete UL-DCCH-Message (UE)
* @param buffer Pointer to PER-encoded ASN.1 description of UL-DCCH-Message PDU
* @returns Size of encoded bit stream in bytes*/
uint8_t
do_RRCSetupComplete_NR
(
uint8_t
Mod_id
,
uint8_t
*
buffer
,
const
uint8_t
Transaction_id
,
uint8_t
sel_plmn_id
,
const
int
dedicatedInfoNASLength
,
const
char
*
dedicatedInfoNAS
);
uint8_t
do_SecurityModeCommand_NR
(
const
protocol_ctxt_t
*
const
ctxt_pP
,
uint8_t
*
const
buffer
,
const
uint8_t
Transaction_id
,
const
uint8_t
cipheringAlgorithm
,
const
uint8_t
integrityProtAlgorithm
);
uint8_t
do_ULInformationTransfer_NR
(
uint8_t
**
buffer
,
uint32_t
pdu_length
,
uint8_t
*
pdu_buffer
);
uint8_t
do_DLInformationTransfer_NR
(
uint8_t
Mod_id
,
uint8_t
**
buffer
,
uint8_t
transaction_id
,
uint32_t
pdu_length
,
uint8_t
*
pdu_buffer
);
openair2/RRC/NR/rrc_gNB.c
View file @
5feefc89
...
...
@@ -7899,7 +7899,7 @@ rrc_gNB_decode_dcch(
if
(
eutra_index
==
-
1
)
break
;
if
(
ue_context_p
->
ue_context
.
UE_Capability
)
{
if
(
ue_context_p
->
ue_context
.
UE_Capability
_nr
)
{
LOG_I
(
RRC
,
"freeing old UE capabilities for UE %x
\n
"
,
ctxt_pP
->
rnti
);
ASN_STRUCT_FREE
(
asn_DEF_NR_UE_EUTRA_Capability
,
ue_context_p
->
ue_context
.
UE_Capability
);
...
...
@@ -7908,7 +7908,7 @@ rrc_gNB_decode_dcch(
dec_rval
=
uper_decode
(
NULL
,
&
asn_DEF_NR_UE_EUTRA_Capability
,
(
void
**
)
&
ue_context_p
->
ue_context
.
UE_Capability
,
(
void
**
)
&
ue_context_p
->
ue_context
.
UE_Capability
_nr
,
ul_dcch_msg
->
message
.
choice
.
c1
.
choice
.
ueCapabilityInformation
.
criticalExtensions
.
choice
.
c1
.
choice
.
ueCapabilityInformation_r8
.
ue_CapabilityRAT_ContainerList
.
list
.
array
[
eutra_index
]
->
ueCapabilityRAT_Container
.
buf
,
ul_dcch_msg
->
message
.
choice
.
c1
.
choice
.
ueCapabilityInformation
.
criticalExtensions
.
choice
.
c1
.
choice
.
ueCapabilityInformation_r8
.
ue_CapabilityRAT_ContainerList
.
list
.
array
[
eutra_index
]
->
ueCapabilityRAT_Container
.
size
,
0
,
0
);
...
...
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