protobuf-c does not compile anymore. Let's handle this a bit better. We now install protobuf and protobuf-c only for the flexran agent. That is, if you want to use the flexran agent, you need to install protobuf/protobuf-c and you do it this way: ./build_oai -I -a (you add -a) Other targets don't need protobuf nor protobuf-c, so it's not installed by the -I command of build_oai, unless you pass -a with -I. Also, we now use protobuf 3.3.0, not 2.6.1. The code has been adapted, a quick test seems to indicate that the system works, but it has not been intensively tested.
31 lines
575 B
Protocol Buffer
31 lines
575 B
Protocol Buffer
syntax = "proto2";
|
|
package protocol;
|
|
|
|
enum flex_harq_status {
|
|
FLHS_ACK = 0;
|
|
FLHS_NACK = 1;
|
|
FLHS_DTX = 2;
|
|
}
|
|
|
|
enum flex_reception_status {
|
|
FLRS_OK = 0;
|
|
FLRS_NOT_OK = 1;
|
|
FLRS_NOT_VALID = 2;
|
|
}
|
|
|
|
message flex_dl_info {
|
|
optional uint32 rnti = 1;
|
|
optional uint32 harq_process_id = 2;
|
|
repeated uint32 harq_status = 3;
|
|
optional uint32 serv_cell_index = 4;
|
|
}
|
|
|
|
message flex_ul_info {
|
|
optional uint32 rnti = 1;
|
|
repeated uint32 ul_reception = 2;
|
|
optional uint32 reception_status = 3;
|
|
optional uint32 tpc = 4;
|
|
optional uint32 serv_cell_index = 5;
|
|
}
|
|
|