summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte2010-03-27 11:40:21 +0100
committerHarald Welte2010-03-27 11:42:43 +0100
commit1e4d22cb5f66352e23ef05212035bd29bfb7d6e1 (patch)
treea037679bfe868ff7675433e771216216942ef68c /include
parentAdded process of link control in idle mode. (diff)
downloadosmocom-1e4d22cb5f66352e23ef05212035bd29bfb7d6e1.tar.gz
osmocom-1e4d22cb5f66352e23ef05212035bd29bfb7d6e1.tar.xz
osmocom-1e4d22cb5f66352e23ef05212035bd29bfb7d6e1.zip
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 64ede92..e9def59 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