summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2011-07-17 09:36:49 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2011-07-17 09:36:49 +0200
commit87c597abf6ec605ea152a75e5f13d194955cad28 (patch)
tree0bf7fb306695849913e97df9617eaa4fda483ff6 /include
parent065b6e35a35e290450f3a7e2958c11cd4fd25131 (diff)
[layer23] Adding neighbour cell measurement to L1CTL interface.
Diffstat (limited to 'include')
-rw-r--r--include/l1ctl_proto.h20
1 files changed, 20 insertions, 0 deletions
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__ */