[mobile] Added missing curly braces, as proposed by Harald
[osmocom-bb.git] / include / l1ctl_proto.h
index 9adadfd..2478ff1 100644 (file)
@@ -51,6 +51,8 @@ enum {
        L1CTL_SIM_CONF,
        L1CTL_TCH_MODE_REQ,
        L1CTL_TCH_MODE_CONF,
+       L1CTL_NEIGH_PM_REQ,
+       L1CTL_NEIGH_PM_IND,
 };
 
 enum ccch_mode {
@@ -59,6 +61,12 @@ enum ccch_mode {
        CCCH_MODE_COMBINED,
 };
 
+enum neigh_mode {
+       NEIGH_MODE_NONE = 0,
+       NEIGH_MODE_PM,
+       NEIGH_MODE_SB,
+};
+
 /*
  * NOTE: struct size. We do add manual padding out of the believe
  * that it will avoid some unaligned access.
@@ -255,4 +263,16 @@ struct l1ctl_reset {
        uint8_t pad[3];
 } __attribute__((packed));
 
+struct l1ctl_neigh_pm_req {
+       uint8_t n;
+       uint8_t padding[1];
+       uint16_t band_arfcn[64];
+} __attribute__((packed));
+
+/* neighbour cell measurement results */
+struct l1ctl_neigh_pm_ind {
+       uint16_t band_arfcn;
+       uint8_t pm[2];
+} __attribute__((packed));
+
 #endif /* __L1CTL_PROTO_H__ */