stats_messages.proto 2.26 KB
Newer Older
1
syntax = "proto2";
2 3 4 5 6 7 8 9 10
package protocol;

//import "header.proto";
import "stats_common.proto";

//
// Bodies of statistics report requests
//

11 12
message flex_complete_stats_request {
	optional flex_stats_report_freq report_frequency = 1;
13 14 15 16 17
	optional uint32 sf = 2;
	optional uint32 cell_report_flags = 3;
	optional uint32 ue_report_flags = 4;
}

18
message flex_cell_stats_request {
19 20 21 22
	repeated uint32 cell = 1;
	optional uint32 flags = 2;
}

23
message flex_ue_stats_request {
24 25 26 27 28 29 30 31 32
	repeated uint32 rnti = 1;
	optional uint32 flags = 2;
}

//
// Bodies of statistics reports
//

// The full statistics report for a specific cell
33
message flex_cell_stats_report {
34 35
	optional uint32 carrier_index = 1;
	optional uint32 flags = 2;
36
	optional flex_noise_interference_report noise_inter_report = 3;
37 38 39
}

// Statistics report for a specific UE
40
message flex_ue_stats_report {
41 42 43 44
	optional uint32 rnti = 1;
	optional uint32 flags = 2;
	repeated uint32 bsr = 3;
	optional uint32 phr = 4;
45
	repeated flex_rlc_bsr rlc_report = 5;
46
	optional uint32 pending_mac_ces = 6;
47 48 49
	optional flex_dl_cqi_report dl_cqi_report = 7;
	optional flex_paging_buffer_report pbr = 8;
	optional flex_ul_cqi_report ul_cqi_report = 9;
shahab SHARIAT BAGHERI's avatar
shahab SHARIAT BAGHERI committed
50
	optional flex_rrc_measurements rrc_measurements = 10;
51 52
        optional flex_pdcp_stats pdcp_stats = 11;
        optional flex_mac_stats mac_stats = 12;
53
    repeated flex_gtp_stats gtp_stats = 13;
54
    optional flex_s1ap_ue s1ap_stats = 14;
55 56 57 58 59 60 61 62
}

//
// Types of statistics related enums
//


//Types of statistics requested by the controller
63 64 65 66
enum flex_stats_type {
     FLST_COMPLETE_STATS = 0;
     FLST_CELL_STATS = 1;
     FLST_UE_STATS = 2;
67 68 69
}

// Report frequency for the requested statistics
70 71 72 73 74
enum flex_stats_report_freq {
     FLSRF_ONCE = 0;
     FLSRF_PERIODICAL = 1;
     FLSRF_CONTINUOUS = 2;
     FLSRF_OFF = 3;
75 76 77
}

// Flags for cell statistics
78 79
enum flex_cell_stats_type {
     FLCST_NOISE_INTERFERENCE = 1;
80 81 82
}

// Flags for UE-related statistics
83 84
enum flex_ue_stats_type {
     FLUST_BSR = 1;
85
     FLUST_PHR = 2;
86 87 88 89 90
     FLUST_RLC_BS = 4;
     FLUST_MAC_CE_BS = 8;
     FLUST_DL_CQI = 16;
     FLUST_PBS = 32;
     FLUST_UL_CQI = 64;
91
     FLUST_MAC_STATS = 128;
shahab SHARIAT BAGHERI's avatar
shahab SHARIAT BAGHERI committed
92 93

     FLUST_PDCP_STATS = 1024;     
94
     FLUST_GTP_STATS = 2048;
95
     FLUST_S1AP_STATS = 4096;
96
     FLUST_RRC_MEASUREMENTS = 65536;
shahab SHARIAT BAGHERI's avatar
shahab SHARIAT BAGHERI committed
97
     // To be extended with more types of stats
98 99


100
}