stats_common.proto 3.85 KB
Newer Older
1
syntax = "proto2";
2 3 4 5 6 7 8
package protocol;

//
// UE related statistics
//

// RLC buffer status for a specific logical channel of a UE
9
message flex_rlc_bsr {
10 11 12 13 14 15 16 17 18
	optional uint32 lc_id = 1;
	optional uint32 tx_queue_size = 2;
	optional uint32 tx_queue_hol_delay = 3;
	optional uint32 retransmission_queue_size = 4;
	optional uint32 retransmission_queue_hol_delay = 5;
	optional uint32 status_pdu_size = 6;
}

// Flags for MAC Control Elements
19 20 21 22 23
enum flex_ce_type {
     FLPCET_TA = 1;
     FLPCET_DRX = 2;
     FLPCET_CR = 4;
     FLPCET_CA = 8;
24 25 26
}

// Types of DL CSI reports
27 28 29 30 31 32 33 34 35 36
enum flex_csi_type {
     FLCSIT_P10 = 0;
     FLCSIT_P11 = 1;
     FLCSIT_P20 = 2;
     FLCSIT_P21 = 3;
     FLCSIT_A12 = 4;
     FLCSIT_A22 = 5;
     FLCSIT_A20 = 6;
     FLCSIT_A30 = 7;
     FLCSIT_A31 = 8;
37 38 39
}

// CSI type P10
40
message flex_csi_p10 {
41 42 43 44
	optional uint32 wb_cqi = 1;
}

// CSI type P11
45
message flex_csi_p11 {
46 47 48 49 50
	repeated uint32 wb_cqi = 1;
	optional uint32 wb_pmi = 2;
}

// CSI type P20
51
message flex_csi_p20 {
52 53 54 55 56 57 58
	optional uint32 wb_cqi = 1;
	optional uint32 sb_cqi = 2;
	optional uint32 bandwidth_part_index = 3;
	optional uint32 sb_index = 4;
}

// CSI type P21
59
message flex_csi_p21 {
60 61 62 63 64 65 66 67
	repeated uint32 wb_cqi = 1;
	optional uint32 wb_pmi = 2;
	repeated uint32 sb_cqi = 3;
	optional uint32 badwidth_part_index = 4;
	optional uint32 sb_index = 5;
}

// CSI type A12
68
message flex_csi_a12 {
69 70 71 72 73
	repeated uint32 wb_cqi = 1;
	repeated uint32 sb_pmi = 2;
}

// CSI type A22
74
message flex_csi_a22 {
75 76 77 78 79 80 81 82
	repeated uint32 wb_cqi = 1;
	repeated uint32 sb_cqi = 2;
	optional uint32 wb_pmi = 3;
	optional uint32 sb_pmi = 4;
	repeated uint32 sb_list = 5;
}

// CSI type A20
83
message flex_csi_a20 {
84 85 86 87 88 89
	optional uint32 wb_cqi = 1;
	optional uint32 sb_cqi = 2;
	repeated uint32 sb_list = 3;
}

// CSI type A30
90
message flex_csi_a30 {
91 92 93 94 95
	optional uint32 wb_cqi = 1;
	repeated uint32 sb_cqi = 2;
}

// CSI type A31
96
message flex_csi_a31 {
97
	repeated uint32 wb_cqi = 1;
98
	repeated flex_msb_cqi sb_cqi = 2;
99 100 101 102
	optional uint32 wb_pmi = 3;
}

// The CQI for the M-preffered subband
103
message flex_msb_cqi {
104 105 106 107
	repeated uint32 sb_cqi = 1;
}

// The CSI report of the UE for a specific servCellIndex
108
message flex_dl_csi {
109 110
	optional uint32 serv_cell_index = 1;
	optional uint32 ri = 2;
111
	optional flex_csi_type type = 3;
112
	oneof report {
113 114 115 116 117 118 119 120 121
	      flex_csi_p10 p10csi = 4;
	      flex_csi_p11 p11csi = 5;
	      flex_csi_p20 p20csi = 6;
	      flex_csi_p21 p21csi = 7;
	      flex_csi_a12 a12csi = 8;
	      flex_csi_a22 a22csi = 9;
	      flex_csi_a20 a20csi = 10;
	      flex_csi_a30 a30csi = 11;
	      flex_csi_a31 a31csi = 12;
122 123 124 125
	}
}

// The full DL CQI report for all CC of a UE
126
message flex_dl_cqi_report {
127
	optional uint32 sfn_sn = 1;
128
	repeated flex_dl_csi csi_report = 2;
129 130 131
}

// Paging message info
132
message flex_paging_info {
133 134 135 136 137 138 139
	optional uint32 paging_index = 1;
	optional uint32 paging_message_size = 2;
	optional uint32 paging_subframe = 3;
	optional uint32 carrier_index = 4;
}

// Report for the paging buffer status
140 141
message flex_paging_buffer_report {
	repeated flex_paging_info paging_info = 1;
142 143 144
}

// The type of UL CQI
145 146 147 148 149 150
enum flex_ul_cqi_type {
     FLUCT_SRS = 0;
     FLUCT_PUSCH = 1;
     FLUCT_PUCCH_1 = 2;
     FLUCT_PUCCH_2 = 3;
     FLUCT_PRACH = 4;
151 152 153
}

// UL CQI report for a specific UE for a given report type
154 155
message flex_ul_cqi {
	optional flex_ul_cqi_type type = 1;
156 157 158 159 160
	repeated uint32 sinr = 2;
	optional uint32 serv_cell_index = 3;
}

// Full UL CQI report for a specific UE
161
message flex_ul_cqi_report {
162
	optional uint32 sfn_sn = 1;
163 164
	repeated flex_ul_cqi cqi_meas = 2;
	repeated flex_pucch_dbm pucch_dbm = 3;
165 166
}

167
message flex_pucch_dbm {
168 169
	optional int32 p0_pucch_dbm = 1;
	optional uint32 serv_cell_index = 2;
170
	optional uint32 p0_pucch_updated = 3;
171
}
172 173 174 175 176 177

//
// Cell related statistics
//

// The UL noise and interference report for a UE
178
message flex_noise_interference_report {
179 180 181
	optional uint32 sfn_sf = 1;
	optional uint32 rip = 2;
	optional uint32 tnp = 3;
182
	optional int32 p0_nominal_pucch = 4;
183 184
}