Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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 UE
Commits
529e448b
Commit
529e448b
authored
Sep 09, 2020
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FlexRAN fixup: FLPT_DELEGATE_REQUEST and corresp. destroy()
parent
cf4511ff
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
0 deletions
+18
-0
openair2/ENB_APP/MESSAGES/V2/header.proto
openair2/ENB_APP/MESSAGES/V2/header.proto
+1
-0
openair2/ENB_APP/flexran_agent_common.c
openair2/ENB_APP/flexran_agent_common.c
+9
-0
openair2/ENB_APP/flexran_agent_common.h
openair2/ENB_APP/flexran_agent_common.h
+3
-0
openair2/ENB_APP/flexran_agent_handler.c
openair2/ENB_APP/flexran_agent_handler.c
+5
-0
No files found.
openair2/ENB_APP/MESSAGES/V2/header.proto
View file @
529e448b
...
@@ -44,5 +44,6 @@ enum flex_type {
...
@@ -44,5 +44,6 @@ enum flex_type {
FLPT_RECONFIGURE_AGENT
=
16
;
FLPT_RECONFIGURE_AGENT
=
16
;
FLPT_RRC_TRIGGERING
=
17
;
FLPT_RRC_TRIGGERING
=
17
;
FLPT_UL_MAC_CONFIG
=
18
;
FLPT_UL_MAC_CONFIG
=
18
;
FLPT_DELEGATE_REQUEST
=
22
;
}
}
openair2/ENB_APP/flexran_agent_common.c
View file @
529e448b
...
@@ -533,6 +533,15 @@ int flexran_agent_destroy_agent_reconfiguration(Protocol__FlexranMessage *msg) {
...
@@ -533,6 +533,15 @@ int flexran_agent_destroy_agent_reconfiguration(Protocol__FlexranMessage *msg) {
return
0
;
return
0
;
}
}
int
flexran_agent_destroy_control_delegation_request
(
Protocol__FlexranMessage
*
msg
)
{
if
(
msg
->
msg_case
!=
PROTOCOL__FLEXRAN_MESSAGE__MSG_CONTROL_DEL_REQ_MSG
)
return
-
1
;
free
(
msg
->
control_del_req_msg
->
header
);
free
(
msg
->
control_del_req_msg
->
name
);
free
(
msg
);
return
0
;
}
int
flexran_agent_lc_config_reply
(
mid_t
mod_id
,
const
void
*
params
,
Protocol__FlexranMessage
**
msg
)
{
int
flexran_agent_lc_config_reply
(
mid_t
mod_id
,
const
void
*
params
,
Protocol__FlexranMessage
**
msg
)
{
xid_t
xid
;
xid_t
xid
;
...
...
openair2/ENB_APP/flexran_agent_common.h
View file @
529e448b
...
@@ -142,6 +142,9 @@ int flexran_agent_map_name_to_delegated_object(mid_t mod_id, const char *name,
...
@@ -142,6 +142,9 @@ int flexran_agent_map_name_to_delegated_object(mid_t mod_id, const char *name,
int
flexran_agent_reconfiguration
(
mid_t
mod_id
,
const
void
*
params
,
Protocol__FlexranMessage
**
msg
);
int
flexran_agent_reconfiguration
(
mid_t
mod_id
,
const
void
*
params
,
Protocol__FlexranMessage
**
msg
);
int
flexran_agent_destroy_agent_reconfiguration
(
Protocol__FlexranMessage
*
msg
);
int
flexran_agent_destroy_agent_reconfiguration
(
Protocol__FlexranMessage
*
msg
);
/* Policy reconfiguration request message destructor */
int
flexran_agent_destroy_control_delegation_request
(
Protocol__FlexranMessage
*
msg
);
/* rrc triggering measurement message constructor and destructor */
/* rrc triggering measurement message constructor and destructor */
int
flexran_agent_rrc_reconfiguration
(
mid_t
mod_id
,
const
void
*
params
,
Protocol__FlexranMessage
**
msg
);
int
flexran_agent_rrc_reconfiguration
(
mid_t
mod_id
,
const
void
*
params
,
Protocol__FlexranMessage
**
msg
);
int
flexran_agent_destroy_rrc_reconfiguration
(
Protocol__FlexranMessage
*
msg
);
int
flexran_agent_destroy_rrc_reconfiguration
(
Protocol__FlexranMessage
*
msg
);
...
...
openair2/ENB_APP/flexran_agent_handler.c
View file @
529e448b
...
@@ -81,6 +81,11 @@ flexran_agent_message_destruction_callback message_destruction_callback[] = {
...
@@ -81,6 +81,11 @@ flexran_agent_message_destruction_callback message_destruction_callback[] = {
flexran_agent_destroy_ue_state_change
,
flexran_agent_destroy_ue_state_change
,
flexran_agent_destroy_control_delegation
,
flexran_agent_destroy_control_delegation
,
flexran_agent_destroy_agent_reconfiguration
,
flexran_agent_destroy_agent_reconfiguration
,
NULL
,
/* flex_rrc_triggering */
NULL
,
/* flex_ul_mac_config */
NULL
,
/* flex_disconnect */
NULL
,
/* flex_ho_command */
flexran_agent_destroy_control_delegation_request
,
};
};
/* static const char *flexran_agent_direction2String[] = { */
/* static const char *flexran_agent_direction2String[] = { */
...
...
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