summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-03-27 18:40:21 +0800
committerHarald Welte <laforge@gnumonks.org>2010-03-27 18:42:43 +0800
commit1e4d22cb5f66352e23ef05212035bd29bfb7d6e1 (patch)
treea037679bfe868ff7675433e771216216942ef68c /include
parent413b10e33ea9c86555e87809816fc1fbeb7f1959 (diff)
Implement L23-triggered L1 power measurement scan
Now layer23 can ask L1 to scan an entire range of ARFCN's and do power measurements. This is the first step in the cell (re)selection process.
Diffstat (limited to 'include')
-rw-r--r--include/l1a_l23_interface.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/l1a_l23_interface.h b/include/l1a_l23_interface.h
index 64ede925..e9def59c 100644
--- a/include/l1a_l23_interface.h
+++ b/include/l1a_l23_interface.h
@@ -32,8 +32,9 @@
#define L1CTL_DATA_REQ 7
#define L1CTL_RESET 8
#define L1CTL_PM_REQ 9 /* power measurement */
-#define L1CTL_ECHO_REQ 10
-#define L1CTL_ECHO_RESP 11
+#define L1CTL_PM_RESP 10 /* power measurement */
+#define L1CTL_ECHO_REQ 11
+#define L1CTL_ECHO_RESP 12
/*
* NOTE: struct size. We do add manual padding out of the believe
@@ -138,4 +139,10 @@ struct l1ctl_pm_req {
};
} __attribute__((packed));
+/* a single L1CTL_PM response */
+struct l1ctl_pm_resp {
+ uint16_t band_arfcn;
+ uint8_t pm[2];
+} __attribute__((packed));
+
#endif