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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
0c05e283
Commit
0c05e283
authored
Apr 13, 2022
by
matzakos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove warnings and unused code
parent
47c9ded0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
21 deletions
+7
-21
openair2/F1AP/f1ap_cu_ue_context_management.c
openair2/F1AP/f1ap_cu_ue_context_management.c
+1
-1
openair2/F1AP/f1ap_du_ue_context_management.c
openair2/F1AP/f1ap_du_ue_context_management.c
+5
-8
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
+1
-0
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+0
-12
No files found.
openair2/F1AP/f1ap_cu_ue_context_management.c
View file @
0c05e283
...
...
@@ -1156,7 +1156,7 @@ int CU_send_UE_CONTEXT_MODIFICATION_REQUEST(instance_t instance, f1ap_ue_context
ie81
->
id
=
F1AP_ProtocolIE_ID_id_RRCContainer
;
ie81
->
criticality
=
F1AP_Criticality_ignore
;
ie81
->
value
.
present
=
F1AP_UEContextModificationRequestIEs__value_PR_RRCContainer
;
OCTET_STRING_fromBuf
(
&
ie81
->
value
.
choice
.
RRCContainer
,
f1ap_ue_context_modification_req
->
rrc_container
,
OCTET_STRING_fromBuf
(
&
ie81
->
value
.
choice
.
RRCContainer
,
(
const
char
*
)
f1ap_ue_context_modification_req
->
rrc_container
,
f1ap_ue_context_modification_req
->
rrc_container_length
);
}
...
...
openair2/F1AP/f1ap_du_ue_context_management.c
View file @
0c05e283
...
...
@@ -233,7 +233,6 @@ int DU_handle_UE_CONTEXT_SETUP_REQUEST(instance_t instance,
ieRRC
->
value
.
choice
.
RRCContainer
.
buf
,
ieRRC
->
value
.
choice
.
RRCContainer
.
size
);
f1ap_ue_context_setup_req
->
rrc_container_length
=
ieRRC
->
value
.
choice
.
RRCContainer
.
size
;
// AssertFatal(0, "check configuration, send to appropriate handler\n");
protocol_ctxt_t
ctxt
;
}
else
{
LOG_E
(
F1AP
,
" RRCContainer in UEContextSetupRequestIEs size id 0
\n
"
);
}
...
...
@@ -294,15 +293,14 @@ int DU_send_UE_CONTEXT_SETUP_RESPONSE(instance_t instance, f1ap_ue_context_setup
/* OPTIONAL */
/* measGapConfig */
if
(
resp
->
du_to_cu_rrc_information
->
measGapConfig
!=
NULL
)
{
OCTET_STRING_fromBuf
(
ie3
->
value
.
choice
.
DUtoCURRCInformation
.
measGapConfig
,
resp
->
du_to_cu_rrc_information
->
measGapConfig
,
OCTET_STRING_fromBuf
(
ie3
->
value
.
choice
.
DUtoCURRCInformation
.
measGapConfig
,
(
const
char
*
)
resp
->
du_to_cu_rrc_information
->
measGapConfig
,
resp
->
du_to_cu_rrc_information
->
measGapConfig_length
);
}
/* OPTIONAL */
/* requestedP_MaxFR1 */
if
(
resp
->
du_to_cu_rrc_information
->
requestedP_MaxFR1
!=
NULL
)
{
asn1cCalloc
(
ie3
->
value
.
choice
.
DUtoCURRCInformation
.
requestedP_MaxFR1
,
tmp
);
OCTET_STRING_fromBuf
(
ie3
->
value
.
choice
.
DUtoCURRCInformation
.
requestedP_MaxFR1
,
resp
->
du_to_cu_rrc_information
->
requestedP_MaxFR1
,
OCTET_STRING_fromBuf
(
ie3
->
value
.
choice
.
DUtoCURRCInformation
.
requestedP_MaxFR1
,
(
const
char
*
)
resp
->
du_to_cu_rrc_information
->
requestedP_MaxFR1
,
resp
->
du_to_cu_rrc_information
->
requestedP_MaxFR1_length
);
}
}
...
...
@@ -1290,14 +1288,14 @@ int DU_send_UE_CONTEXT_MODIFICATION_RESPONSE(instance_t instance, f1ap_ue_contex
/* OPTIONAL */
/* measGapConfig */
if
(
resp
->
du_to_cu_rrc_information
->
measGapConfig
!=
NULL
)
{
OCTET_STRING_fromBuf
(
ie4
->
value
.
choice
.
DUtoCURRCInformation
.
measGapConfig
,
resp
->
du_to_cu_rrc_information
->
measGapConfig
,
OCTET_STRING_fromBuf
(
ie4
->
value
.
choice
.
DUtoCURRCInformation
.
measGapConfig
,
(
const
char
*
)
resp
->
du_to_cu_rrc_information
->
measGapConfig
,
resp
->
du_to_cu_rrc_information
->
measGapConfig_length
);
}
/* OPTIONAL */
/* requestedP_MaxFR1 */
if
(
resp
->
du_to_cu_rrc_information
->
requestedP_MaxFR1
!=
NULL
)
{
OCTET_STRING_fromBuf
(
ie4
->
value
.
choice
.
DUtoCURRCInformation
.
requestedP_MaxFR1
,
resp
->
du_to_cu_rrc_information
->
requestedP_MaxFR1
,
OCTET_STRING_fromBuf
(
ie4
->
value
.
choice
.
DUtoCURRCInformation
.
requestedP_MaxFR1
,
(
const
char
*
)
resp
->
du_to_cu_rrc_information
->
requestedP_MaxFR1
,
resp
->
du_to_cu_rrc_information
->
requestedP_MaxFR1_length
);
}
}
...
...
@@ -1358,9 +1356,8 @@ int DU_send_UE_CONTEXT_MODIFICATION_RESPONSE(instance_t instance, f1ap_ue_contex
F1AP_DRBs_Modified_Item_t
*
drbs_modified_item
=
&
drbs_modified_item_ies
->
value
.
choice
.
DRBs_Modified_Item
;
/* dRBID */
drbs_modified_item
->
dRBID
=
resp
->
drbs_to_be_modified
[
i
].
drb_id
;
/* ULTunnels_Modified_List */
int
maxnoofULTunnels
=
1
;
// 2;
for
(
int
j
=
0
;
j
<
resp
->
drbs_to_be_modified
[
i
].
up_dl_tnl_length
;
j
++
)
{
/* DLTunnels_Modified_Item */
asn1cSequenceAdd
(
drbs_modified_item
->
dLUPTNLInformation_ToBeSetup_List
.
list
,
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
View file @
0c05e283
...
...
@@ -36,6 +36,7 @@
#include <openair2/UTIL/OPT/opt.h>
#include "LAYER2/NR_MAC_COMMON/nr_mac_extern.h"
extern
void
process_CellGroup
(
NR_CellGroupConfig_t
*
CellGroup
,
NR_UE_sched_ctrl_t
*
sched_ctrl
);
int
get_dci_format
(
NR_UE_sched_ctrl_t
*
sched_ctrl
)
{
...
...
openair2/RRC/NR/rrc_gNB.c
View file @
0c05e283
...
...
@@ -1486,18 +1486,6 @@ rrc_gNB_process_RRCReconfigurationComplete(
free
(
DRB_Release_configList2
);
ue_context_pP
->
ue_context
.
DRB_Release_configList2
[
xid
]
=
NULL
;
}
//Temporarily trigger artificially UE context release for the CU case just to be able to test it with OAI UE. To be removed later
if
(
0
){
if
(
NODE_IS_CU
(
RC
.
nrrrc
[
ctxt_pP
->
instance
]
->
node_type
)){
MessageDef
*
message_p
;
message_p
=
itti_alloc_new_message
(
TASK_RRC_GNB
,
0
,
F1AP_UE_CONTEXT_RELEASE_CMD
);
f1ap_ue_context_release_cmd_t
*
rel_cmd
=&
F1AP_UE_CONTEXT_RELEASE_CMD
(
message_p
);
rel_cmd
->
rnti
=
ctxt_pP
->
rnti
;
rel_cmd
->
cause
=
F1AP_CAUSE_RADIO_NETWORK
;
rel_cmd
->
cause_value
=
10
;
// 10 = F1AP_CauseRadioNetwork_normal_release
itti_send_msg_to_task
(
TASK_CU_F1
,
ctxt_pP
->
module_id
,
message_p
);
}
}
}
//-----------------------------------------------------------------------------
...
...
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