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
zzha zzha
OpenXG-RAN
Commits
d05ff49d
Commit
d05ff49d
authored
Jul 21, 2022
by
Roberto Louro Magueta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix size of UE_Capability_nr message at UE
parent
c3d01306
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
openair2/RRC/NR_UE/rrc_UE.c
openair2/RRC/NR_UE/rrc_UE.c
+2
-2
openair2/RRC/NR_UE/rrc_defs.h
openair2/RRC/NR_UE/rrc_defs.h
+2
-2
No files found.
openair2/RRC/NR_UE/rrc_UE.c
View file @
d05ff49d
...
...
@@ -2510,7 +2510,7 @@ nr_rrc_ue_process_ueCapabilityEnquiry(
NR_UE_CapabilityRAT_Container_t
ue_CapabilityRAT_Container
;
char
UE_NR_Capability_xer
[
65536
];
size_t
size
;
uint8_t
buffer
[
2
00
];
uint8_t
buffer
[
5
00
];
int
i
;
LOG_I
(
NR_RRC
,
"[UE %d] Frame %d: Receiving from SRB1 (DL-DCCH), Processing UECapabilityEnquiry (gNB %d)
\n
"
,
ctxt_pP
->
module_id
,
...
...
@@ -2594,7 +2594,7 @@ nr_rrc_ue_process_ueCapabilityEnquiry(
ASN_SEQUENCE_ADD
(
&
ul_dcch_msg
.
message
.
choice
.
c1
->
choice
.
ueCapabilityInformation
->
criticalExtensions
.
choice
.
ueCapabilityInformation
->
ue_CapabilityRAT_ContainerList
->
list
,
&
ue_CapabilityRAT_Container
);
enc_rval
=
uper_encode_to_buffer
(
&
asn_DEF_NR_UL_DCCH_Message
,
NULL
,
(
void
*
)
&
ul_dcch_msg
,
buffer
,
1
00
);
enc_rval
=
uper_encode_to_buffer
(
&
asn_DEF_NR_UL_DCCH_Message
,
NULL
,
(
void
*
)
&
ul_dcch_msg
,
buffer
,
5
00
);
AssertFatal
(
enc_rval
.
encoded
>
0
,
"ASN1 message encoding failed (%s, %jd)!
\n
"
,
enc_rval
.
failed_type
->
name
,
enc_rval
.
encoded
);
...
...
openair2/RRC/NR_UE/rrc_defs.h
View file @
d05ff49d
...
...
@@ -73,7 +73,7 @@ typedef enum {
#define MAX_UE_NR_CAPABILITY_SIZE 2048
typedef
struct
OAI_NR_UECapability_s
{
uint8_t
sdu
[
MAX_UE_NR_CAPABILITY_SIZE
];
uint
8
_t
sdu_size
;
uint
16
_t
sdu_size
;
NR_UE_NR_Capability_t
*
UE_NR_Capability
;
}
OAI_NR_UECapability_t
;
...
...
@@ -129,7 +129,7 @@ typedef struct NR_UE_RRC_INST_s {
uint8_t
MBMS_flag
;
OAI_NR_UECapability_t
*
UECap
;
uint8_t
*
UECapability
;
uint
8_t
UECapability_size
;
uint
16_t
UECapability_size
;
RA_trigger_t
ra_trigger
;
BIT_STRING_t
requested_SI_List
;
...
...
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