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
Michael Black
OpenXG-RAN
Commits
bfa5d486
Commit
bfa5d486
authored
May 13, 2021
by
Melissa Elkadi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added comments to show MRDC and free() hacks
parent
bc5677f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
openair2/RRC/LTE/rrc_UE.c
openair2/RRC/LTE/rrc_UE.c
+2
-2
openair2/X2AP/x2ap_eNB_generate_messages.c
openair2/X2AP/x2ap_eNB_generate_messages.c
+3
-1
No files found.
openair2/RRC/LTE/rrc_UE.c
View file @
bfa5d486
...
...
@@ -1714,7 +1714,7 @@ rrc_ue_process_nrueCapabilityEnquiry(
OCTET_STRING_fromBuf
(
&
ue_CapabilityRAT_Container
.
ue_CapabilityRAT_Container
,
(
const
char
*
)
nrue_cap_info
->
mesg
,
nrue_cap_info
->
mesg_len
);
# if(1) //Melissa: This is a hack. The MRDC capabilites should be filled in the NR UE
NR_UE_CapabilityRAT_Container_t
ue_CapabilityRAT_Container_mrdc
;
memset
(
&
ue_CapabilityRAT_Container_mrdc
,
0
,
sizeof
(
ue_CapabilityRAT_Container_mrdc
));
uint8_t
buffer_mrdc
[
RRC_BUF_SIZE
];
...
...
@@ -1733,7 +1733,7 @@ rrc_ue_process_nrueCapabilityEnquiry(
OCTET_STRING_fromBuf
(
&
ue_CapabilityRAT_Container_mrdc
.
ue_CapabilityRAT_Container
,
(
const
char
*
)
buffer_mrdc
,
(
enc_rval_mrdc
.
encoded
+
7
)
/
8
);
#endif
ue_cap
->
criticalExtensions
.
present
=
LTE_UECapabilityInformation__criticalExtensions_PR_c1
;
ue_cap
->
criticalExtensions
.
choice
.
c1
.
present
=
LTE_UECapabilityInformation__criticalExtensions__c1_PR_ueCapabilityInformation_r8
;
...
...
openair2/X2AP/x2ap_eNB_generate_messages.c
View file @
bfa5d486
...
...
@@ -1731,7 +1731,9 @@ int x2ap_eNB_generate_ENDC_x2_SgNB_addition_request(
X2AP_ERROR
(
"Failed to encode ENDC X2 SgNB_addition request message
\n
"
);
return
-
1
;
}
//free(ie->value.choice.MeNBtoSgNBContainer.buf);
# if 0 //Melissa: This is a hack becasue we are trying to access this after free.
free
(
ie
->
value
.
choice
.
MeNBtoSgNBContainer
.
buf
);
#endif
MSC_LOG_TX_MESSAGE
(
MSC_X2AP_SRC_ENB
,
MSC_X2AP_TARGET_ENB
,
NULL
,
0
,
"0 X2Setup/initiatingMessage assoc_id %u"
,
x2ap_eNB_data_p
->
assoc_id
);
x2ap_eNB_itti_send_sctp_data_req
(
instance_p
->
instance
,
x2ap_eNB_data_p
->
assoc_id
,
buffer
,
len
,
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