diff options
-rw-r--r-- | include/osmo-bts/pcuif_proto.h | 3 | ||||
-rw-r--r-- | src/common/pcu_sock.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/osmo-bts/pcuif_proto.h b/include/osmo-bts/pcuif_proto.h index 54a8e7b3..99947f74 100644 --- a/include/osmo-bts/pcuif_proto.h +++ b/include/osmo-bts/pcuif_proto.h @@ -1,6 +1,8 @@ #ifndef _PCUIF_PROTO_H #define _PCUIF_PROTO_H +#define PCU_IF_VERSION 0x01 + /* msg_type */ #define PCU_IF_MSG_DATA_REQ 0x00 /* send data to given channel */ #define PCU_IF_MSG_DATA_IND 0x02 /* receive data from given channel */ @@ -74,6 +76,7 @@ struct gsm_pcu_if_info_trx { } __attribute__ ((packed)); struct gsm_pcu_if_info_ind { + uint32_t version; uint32_t flags; struct gsm_pcu_if_info_trx trx[8]; /* TRX infos per BTS */ /* RAI */ diff --git a/src/common/pcu_sock.c b/src/common/pcu_sock.c index c3f47da8..01342617 100644 --- a/src/common/pcu_sock.c +++ b/src/common/pcu_sock.c @@ -120,6 +120,7 @@ int pcu_tx_info_ind(void) return -ENOMEM; pcu_prim = (struct gsm_pcu_if *) msg->data; info_ind = &pcu_prim->u.info_ind; + info_ind->version = PCU_IF_VERSION; if (avail_lai && avail_nse && avail_cell && avail_nsvc[0]) { info_ind->flags |= PCU_IF_FLAG_ACTIVE; |