summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-12-08 14:47:42 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2016-09-25 08:11:41 +0200
commit8126bcd5bbce8eccdb0bc195fe2e2ca385785411 (patch)
tree6eeae0648a2ad54e601de63d9c996dfbb3eb2e2b /src
parent620366a951572d9660583f76f99d78a72c6ecdaf (diff)
[WIP] HO: Add BSIC to L1CTL_NEIGH_PM_IND
Diffstat (limited to 'src')
-rw-r--r--src/host/layer23/include/osmocom/bb/common/osmocom_data.h1
-rw-r--r--src/host/layer23/src/common/l1ctl.c5
2 files changed, 4 insertions, 2 deletions
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 17dad10d..7e8faa88 100644
--- a/src/host/layer23/include/osmocom/bb/common/osmocom_data.h
+++ b/src/host/layer23/include/osmocom/bb/common/osmocom_data.h
@@ -128,6 +128,7 @@ struct osmobb_neigh_pm_ind {
struct osmocom_ms *ms;
uint16_t band_arfcn;
uint8_t rx_lev;
+ uint8_t bsic;
};
#endif
diff --git a/src/host/layer23/src/common/l1ctl.c b/src/host/layer23/src/common/l1ctl.c
index c75872e4..dd1b6eee 100644
--- a/src/host/layer23/src/common/l1ctl.c
+++ b/src/host/layer23/src/common/l1ctl.c
@@ -906,11 +906,12 @@ static int rx_l1_neigh_pm_ind(struct osmocom_ms *ms, struct msgb *msg)
for (pm_ind = (struct l1ctl_neigh_pm_ind *) msg->l1h;
(uint8_t *) pm_ind < msg->tail; pm_ind++) {
struct osmobb_neigh_pm_ind mi;
- DEBUGP(DL1C, "NEIGH_PM IND: ARFCN: %4u RxLev: %3d %3d\n",
+ DEBUGP(DL1C, "NEIGH_PM IND: ARFCN: %4u RxLev: %3d BSIC: %3d\n",
ntohs(pm_ind->band_arfcn), pm_ind->pm[0],
- pm_ind->pm[1]);
+ pm_ind->bsic);
mi.band_arfcn = ntohs(pm_ind->band_arfcn);
mi.rx_lev = pm_ind->pm[0];
+ mi.bsic = pm_ind->bsic;
mi.ms = ms;
osmo_signal_dispatch(SS_L1CTL, S_L1CTL_NEIGH_PM_IND, &mi);
}