Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OAI-RAN-5G-sheduler_MaxTBS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MAQ5G-PFC
OAI-RAN-5G-sheduler_MaxTBS
Commits
1caa45ad
Commit
1caa45ad
authored
9 years ago
by
Xenofon Foukas
Browse files
Options
Downloads
Patches
Plain Diff
Integrated UE state messages to agent
parent
b523682a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
openair2/ENB_APP/enb_agent_common.c
+10
-0
10 additions, 0 deletions
openair2/ENB_APP/enb_agent_common.c
openair2/ENB_APP/enb_agent_common.h
+2
-0
2 additions, 0 deletions
openair2/ENB_APP/enb_agent_common.h
openair2/ENB_APP/enb_agent_handler.c
+2
-0
2 additions, 0 deletions
openair2/ENB_APP/enb_agent_handler.c
with
14 additions
and
0 deletions
openair2/ENB_APP/enb_agent_common.c
+
10
−
0
View file @
1caa45ad
...
...
@@ -487,6 +487,16 @@ int enb_agent_destroy_lc_config_reply(Protocol__ProgranMessage *msg) {
return
0
;
}
int
enb_agent_ue_state_change
(
mid_t
mod_id
,
uint32_t
rnti
,
uint8_t
state_change
)
{
/* TODO: Create a progRAN message with the state changes requested for the UE with RNTI rnti */
return
0
;
}
int
enb_agent_destroy_ue_state_change
(
Protocol__ProgranMessage
*
msg
)
{
/* TODO: Dealocate memory for a dynamically allocated UE state change message */
return
0
;
}
int
enb_agent_destroy_enb_config_request
(
Protocol__ProgranMessage
*
msg
)
{
if
(
msg
->
msg_case
!=
PROTOCOL__PROGRAN_MESSAGE__MSG_ENB_CONFIG_REQUEST_MSG
)
goto
error
;
...
...
This diff is collapsed.
Click to expand it.
openair2/ENB_APP/enb_agent_common.h
+
2
−
0
View file @
1caa45ad
...
...
@@ -108,6 +108,8 @@ int enb_agent_destroy_ue_config_request(Protocol__ProgranMessage *msg);
int
enb_agent_destroy_lc_config_request
(
Protocol__ProgranMessage
*
msg
);
int
enb_agent_ue_state_change
(
mid_t
mod_id
,
uint32_t
rnti
,
uint8_t
state_change
);
int
enb_agent_destroy_ue_state_change
(
Protocol__ProgranMessage
*
msg
);
Protocol__ProgranMessage
*
enb_agent_handle_message
(
mid_t
mod_id
,
uint8_t
*
data
,
...
...
This diff is collapsed.
Click to expand it.
openair2/ENB_APP/enb_agent_handler.c
+
2
−
0
View file @
1caa45ad
...
...
@@ -56,6 +56,7 @@ enb_agent_message_decoded_callback agent_messages_callback[][3] = {
{
enb_agent_lc_config_reply
,
0
,
0
},
/*PROTOCOL__PROGRAN_MESSAGE__MSG_LC_CONFIG_REQUEST_MSG*/
{
0
,
0
,
0
},
/*PROTOCOL__PROGRAN_MESSAGE__MSG_LC_CONFIG_REPLY_MSG*/
{
0
,
0
,
0
},
/*PROTOCOL__PROGRAN_MESSAGE__MSG_DL_MAC_CONFIG_MSG*/
{
0
,
0
,
0
},
/*PROTOCOL__PROGRAN_MESSAGE__MSG_UE_STATE_CHANGE_MSG*/
};
...
...
@@ -74,6 +75,7 @@ enb_agent_message_destruction_callback message_destruction_callback[] = {
enb_agent_destroy_lc_config_request
,
enb_agent_destroy_lc_config_reply
,
enb_agent_mac_destroy_dl_config
,
enb_agent_destroy_ue_state_change
,
};
static
const
char
*
enb_agent_direction2String
[]
=
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment