From 87c597abf6ec605ea152a75e5f13d194955cad28 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Sun, 17 Jul 2011 09:36:49 +0200 Subject: [layer23] Adding neighbour cell measurement to L1CTL interface. --- include/l1ctl_proto.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'include/l1ctl_proto.h') diff --git a/include/l1ctl_proto.h b/include/l1ctl_proto.h index 9adadfd1..2478ff17 100644 --- a/include/l1ctl_proto.h +++ b/include/l1ctl_proto.h @@ -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__ */ -- cgit v1.2.3