aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2012-07-16 18:50:26 +0200
committerHarald Welte <laforge@gnumonks.org>2012-07-16 18:50:26 +0200
commit0c470759da426ad649a735918cf24afb610f9c2d (patch)
tree296e5ba2fbdf17d54c4649da5008329d8b4dd207 /include
parent5a53eff4cb1ce11fa2ba1026dd52dce1e59a4b7b (diff)
PCU: Add verion number of PCU interface to PCU INFO IND message
The client (PCU) can check if it is compiled with a different version.
Diffstat (limited to 'include')
-rw-r--r--include/osmo-bts/pcuif_proto.h3
1 files changed, 3 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 */