aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-08-03 02:48:03 +0700
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-09-22 00:05:02 +0700
commit2302cb162c42fb5f74f0158cd432eedee2131a3b (patch)
tree21244584a9ab6cbb910383e1de0bbeddf76833eb /include
parentee92f6980fe30cd73aecfbd78958ba4f4077b30b (diff)
pcuif_proto: version 10: add frequency hopping parameters
Diffstat (limited to 'include')
-rw-r--r--include/osmo-bts/pcuif_proto.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/include/osmo-bts/pcuif_proto.h b/include/osmo-bts/pcuif_proto.h
index e88607e6..80d4f907 100644
--- a/include/osmo-bts/pcuif_proto.h
+++ b/include/osmo-bts/pcuif_proto.h
@@ -5,7 +5,7 @@
#define PCU_SOCK_DEFAULT "/tmp/pcu_bts"
-#define PCU_IF_VERSION 0x09
+#define PCU_IF_VERSION 0x0a
#define TXT_MAX_LEN 128
/* msg_type */
@@ -112,12 +112,21 @@ struct gsm_pcu_if_rach_ind {
uint8_t ts_nr;
} __attribute__ ((packed));
+struct gsm_pcu_if_info_trx_ts {
+ uint8_t tsc;
+ uint8_t hopping;
+ uint8_t hsn;
+ uint8_t maio;
+ uint8_t ma_bit_len;
+ uint8_t ma[8];
+} __attribute__ ((packed));
+
struct gsm_pcu_if_info_trx {
uint16_t arfcn;
- uint8_t pdch_mask; /* PDCH channels per TS */
+ uint8_t pdch_mask; /* PDCH timeslot mask */
uint8_t spare;
- uint8_t tsc[8]; /* TSC per channel */
uint32_t hlayer1;
+ struct gsm_pcu_if_info_trx_ts ts[8];
} __attribute__ ((packed));
struct gsm_pcu_if_info_ind {