stats_common.proto 5.82 KB
Newer Older
1 2 3 4 5 6 7
package protocol;

//
// UE related statistics
//

// RLC buffer status for a specific logical channel of a UE
8
message flex_rlc_bsr {
9 10 11 12 13 14 15 16 17
	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
18 19 20 21 22
enum flex_ce_type {
     FLPCET_TA = 1;
     FLPCET_DRX = 2;
     FLPCET_CR = 4;
     FLPCET_CA = 8;
23 24 25
}

// Types of DL CSI reports
26 27 28 29 30 31 32 33 34 35
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;
36 37 38
}

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

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

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

// CSI type P21
58
message flex_csi_p21 {
59 60 61 62 63 64 65 66
	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
67
message flex_csi_a12 {
68 69 70 71 72
	repeated uint32 wb_cqi = 1;
	repeated uint32 sb_pmi = 2;
}

// CSI type A22
73
message flex_csi_a22 {
74 75 76 77 78 79 80 81
	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
82
message flex_csi_a20 {
83 84 85 86 87 88
	optional uint32 wb_cqi = 1;
	optional uint32 sb_cqi = 2;
	repeated uint32 sb_list = 3;
}

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

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

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

// The CSI report of the UE for a specific servCellIndex
107
message flex_dl_csi {
108 109
	optional uint32 serv_cell_index = 1;
	optional uint32 ri = 2;
110
	optional flex_csi_type type = 3;
111
	oneof report {
112 113 114 115 116 117 118 119 120
	      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;
121 122 123 124
	}
}

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

// Paging message info
131
message flex_paging_info {
132 133 134 135 136 137 138
	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
139 140
message flex_paging_buffer_report {
	repeated flex_paging_info paging_info = 1;
141 142 143
}

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

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

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

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

//
// Cell related statistics
//

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

shahab's avatar
shahab committed
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243
//
// RRC Primitives
//
message flex_rrc_measurements {
       // Measurement identifier.
       optional int32 measid = 1;
       // Primary Cell Reference Signal Received Power (RSRP).
        optional int32 pcell_rsrp = 2;
        // Primary Cell Reference Signal Received Quality (RSRQ).
        optional int32 pcell_rsrq = 3;
       // Neighboring cells measurements performed by UE.
        optional flex_neigh_cells_measurements neigh_meas = 4;
}

message flex_neigh_cells_measurements {
        // Neighboring EUTRA cells measurements.
        repeated flex_eutra_measurements eutra_meas = 1;
}

message flex_eutra_measurements {
        // Physical Cell identifier.
        optional int32 phys_cell_id = 1;
        // EUTRA Cell Global Identity (CGI) measurement.
        optional flex_eutra_cgi_measurements cgi_meas = 2;
        // EUTRA nearby cell reference signal measurement.
        optional flex_eutra_ref_signal_meas meas_result = 3;
}

message flex_eutra_cgi_measurements {
        // EUTRA Cell Global Identity (CGI).
        optional flex_cell_global_eutra_id cgi = 1;
        // Tracking area code of the neighbor cell.
        optional uint32 tracking_area_code = 2;
        // Public land mobile network identifiers of neighbor cell.
        repeated flex_plmn_identity plmn_id = 3;
}

message flex_cell_global_eutra_id {
       // Public land mobile network identifier of neighbor cell.
        optional flex_plmn_identity plmn_id = 1;
        // Cell identifier of neighbor cell.
        optional uint32 cell_id = 2;
}

message flex_plmn_identity {
        // Mobile Network Code (MNC).
        repeated uint32 mnc = 1;
        // Mobile Country Code (MCC).
        repeated uint32 mcc = 2;
        // tracking area code        
        repeated uint32 tac = 3;
}        

message flex_eutra_ref_signal_meas {
        // Neighboring Cell Reference Signal Received Power (RSRP).
        optional int32 rsrp = 1;
        // Neighboring Cell Reference Signal Received Quality (RSRQ).
        optional int32 rsrq = 2;

}