summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb
diff options
context:
space:
mode:
authorAndreas Eversberg2011-07-17 09:36:49 +0200
committerAndreas Eversberg2011-07-17 09:36:49 +0200
commit87c597abf6ec605ea152a75e5f13d194955cad28 (patch)
tree0bf7fb306695849913e97df9617eaa4fda483ff6 /src/host/layer23/include/osmocom/bb
parent[rf] Adding rffe_set_gain() and rffe_get_gain() to get/set computed gain (diff)
downloadosmocom-87c597abf6ec605ea152a75e5f13d194955cad28.tar.gz
osmocom-87c597abf6ec605ea152a75e5f13d194955cad28.tar.xz
osmocom-87c597abf6ec605ea152a75e5f13d194955cad28.zip
[layer23] Adding neighbour cell measurement to L1CTL interface.
Diffstat (limited to 'src/host/layer23/include/osmocom/bb')
-rw-r--r--src/host/layer23/include/osmocom/bb/common/l1ctl.h3
-rw-r--r--src/host/layer23/include/osmocom/bb/common/osmocom_data.h7
2 files changed, 10 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/common/l1ctl.h b/src/host/layer23/include/osmocom/bb/common/l1ctl.h
index 1703d26..faa12d5 100644
--- a/src/host/layer23/include/osmocom/bb/common/l1ctl.h
+++ b/src/host/layer23/include/osmocom/bb/common/l1ctl.h
@@ -66,4 +66,7 @@ int l1ctl_tx_sim_req(struct osmocom_ms *ms, uint8_t *data, uint16_t length);
/* LAPDm wants to send a PH-* primitive to the physical layer (L1) */
int l1ctl_ph_prim_cb(struct osmo_prim_hdr *oph, void *ctx);
+/* Transmit L1CTL_NEIGH_PM_REQ */
+int l1ctl_tx_neigh_pm_req(struct osmocom_ms *ms, int num, uint16_t *arfcn);
+
#endif
diff --git a/src/host/layer23/include/osmocom/bb/common/osmocom_data.h b/src/host/layer23/include/osmocom/bb/common/osmocom_data.h
index de25af5..6af5ca4 100644
--- a/src/host/layer23/include/osmocom/bb/common/osmocom_data.h
+++ b/src/host/layer23/include/osmocom/bb/common/osmocom_data.h
@@ -76,6 +76,7 @@ enum osmobb_l1ctl_sig {
S_L1CTL_CCCH_MODE_CONF,
S_L1CTL_TCH_MODE_CONF,
S_L1CTL_LOSS_IND,
+ S_L1CTL_NEIGH_PM_IND,
};
enum osmobb_global_sig {
@@ -104,4 +105,10 @@ struct osmobb_tch_mode_conf {
uint8_t tch_mode;
};
+struct osmobb_neigh_pm_ind {
+ struct osmocom_ms *ms;
+ uint16_t band_arfcn;
+ uint8_t rx_lev;
+};
+
#endif