diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2013-12-11 16:13:28 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-05-23 13:03:44 +0200 |
commit | c4b5b2c808abb659b69a6376be8a1e15e8096652 (patch) | |
tree | 9eedde35a04ac39e65fda1b3fe93a1ea39309b4f /src/host/layer23/include | |
parent | 4aa477ec40fcade33fa98fa2a9814632ab086509 (diff) |
[WIP] HO: VTY test option to fake a better neighbor cell to force handover
The handover is forced by reporting perfect measurement results of a given
neighbor cell. All other neighbor cells and the serving cell is reported as
poor. The falke report will sustain until the connection is released or a
new 'better' cell is specified.
Change-Id: Ie9245dbbb9142f14459ed13b2ff29a6c2dbf3d6c
Diffstat (limited to 'src/host/layer23/include')
-rw-r--r-- | src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h b/src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h index 44540a0f..2ade1b71 100644 --- a/src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h +++ b/src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h @@ -195,6 +195,8 @@ struct gsm48_rrlayer { /* counter for access bursts */ uint16_t hando_new_cell_arfcn; uint8_t hando_new_cell_bsic; + int hando_fake_report; /* perform fake reporting */ + uint16_t hando_fake_report_arfcn; /* good cell */ /* BA range */ uint8_t ba_ranges; @@ -233,5 +235,6 @@ int gsm48_rr_tx_voice(struct osmocom_ms *ms, struct msgb *msg); int gsm48_rr_audio_mode(struct osmocom_ms *ms, uint8_t mode); int gsm48_rr_meas_ind(struct osmocom_ms *ms, uint16_t band_arfcn, uint8_t rx_lev, uint8_t bsic, int16_t toa); +const char *gsm48_rr_force_handover(struct osmocom_ms *ms, uint16_t arfcn); #endif /* _GSM48_RR_H */ |