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
5f1f1abe
Commit
5f1f1abe
authored
9 years ago
by
Xenofon Foukas
Browse files
Options
Downloads
Patches
Plain Diff
Added header in messages and removed length field
parent
69471896
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
openair2/ENB_APP/MESSAGES/V2/header.proto
+2
-3
2 additions, 3 deletions
openair2/ENB_APP/MESSAGES/V2/header.proto
openair2/ENB_APP/MESSAGES/V2/progran.proto
+23
-19
23 additions, 19 deletions
openair2/ENB_APP/MESSAGES/V2/progran.proto
with
25 additions
and
22 deletions
openair2/ENB_APP/MESSAGES/V2/header.proto
+
2
−
3
View file @
5f1f1abe
...
...
@@ -3,8 +3,7 @@ package protocol;
message
prp_header
{
optional
uint32
version
=
1
;
optional
uint32
type
=
2
;
optional
uint32
length
=
3
;
optional
uint32
xid
=
4
;
optional
uint32
xid
=
3
;
}
enum
prp_type
{
...
...
@@ -16,4 +15,4 @@ enum prp_type {
// Statistics and measurement messages
PRPT_STATS_REQUEST
=
3
;
PRPT_STATS_REPLY
=
4
;
}
\ No newline at end of file
}
This diff is collapsed.
Click to expand it.
openair2/ENB_APP/MESSAGES/V2/progran.proto
+
23
−
19
View file @
5f1f1abe
package
protocol
;
import
"stats_messages.proto"
;
import
"header.proto"
message
progran_message
{
oneof
msg
{
prp_hello
hello_msg
=
1
;
prp_echo_request
echo_request_msg
=
2
;
prp_echo_reply
echo_reply_msg
=
3
;
prp_stats_request
stats_request_msg
=
4
;
prp_stats_reply
stats_reply_msg
=
5
;
}
}
//
// Maintenance and discovery messages
//
// Empty message. Does not really have to be used.
// Could use only the header with the type set to PRPT_HELLO
message
prp_hello
{
optional
prp_header
header
=
1
;
}
message
prp_echo_request
{
optional
prp_header
header
=
1
;
extensions
100
to
199
;
}
message
prp_echo_reply
{
optional
prp_header
header
=
1
;
extensions
100
to
199
;
}
...
...
@@ -27,17 +40,19 @@ message prp_echo_reply {
//
message
prp_stats_request
{
optional
prp_stats_type
type
=
1
;
optional
prp_header
header
=
1
;
optional
prp_stats_type
type
=
2
;
oneof
body
{
prp_complete_stats_request
complete_stats_request
=
2
;
prp_cell_stats_request
cell_stats_request
=
3
;
prp_ue_stats_request
ue_stats_request
=
4
;
prp_complete_stats_request
complete_stats_request
=
3
;
prp_cell_stats_request
cell_stats_request
=
4
;
prp_ue_stats_request
ue_stats_request
=
5
;
}
}
message
prp_stats_reply
{
optional
prp_ue_stats_report
ue_report
=
1
;
optional
prp_cell_stats_report
cell_report
=
2
;
optional
prp_header
header
=
1
;
optional
prp_ue_stats_report
ue_report
=
2
;
optional
prp_cell_stats_report
cell_report
=
3
;
}
...
...
@@ -56,14 +71,3 @@ message prp_echo_reply_latency {
}
//message progran_body {
// oneof msg {
// prp_hello hello_msg = 1;
// prp_echo_request echo_request_msg = 2;
// prp_echo_reply echo_reply_msg = 3;
// prp_stats_request stats_request_msg = 4;
// prp_stats_reply stats_reply_msg = 5;
// }
//}
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