summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/common
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-12-08 14:47:42 +0100
committerHarald Welte <laforge@gnumonks.org>2019-05-23 13:03:38 +0200
commit321d1efd06b8ca41115a907f439e1ba7d5b9d334 (patch)
treed6db263718021de80b5750a0235e36de6c745df2 /src/host/layer23/src/common
parentfea9d9e0562d37afeb8f41a799620407667d0e8d (diff)
[WIP] HO: Add BSIC and TOA to L1CTL_NEIGH_PM_IND
Diffstat (limited to 'src/host/layer23/src/common')
-rw-r--r--src/host/layer23/src/common/l1ctl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/host/layer23/src/common/l1ctl.c b/src/host/layer23/src/common/l1ctl.c
index 5d6d9c0c..cb75957d 100644
--- a/src/host/layer23/src/common/l1ctl.c
+++ b/src/host/layer23/src/common/l1ctl.c
@@ -873,11 +873,13 @@ 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.toa = pm_ind->toa;
mi.ms = ms;
osmo_signal_dispatch(SS_L1CTL, S_L1CTL_NEIGH_PM_IND, &mi);
}