diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2013-12-11 16:13:28 +0100 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2016-09-25 08:11:43 +0200 |
commit | 1f102e49d91974760e6603858d193cd37d85cef2 (patch) | |
tree | 25b389a56ceaa4ebea50b8041509d0466f63b2e1 /src/host/layer23/include | |
parent | 6188bdc5481a936a66b7c03e29e53c78a3ba62e7 (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.
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 d0227c65..14b7dc66 100644 --- a/src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h +++ b/src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h @@ -193,6 +193,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; @@ -231,5 +233,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); +const char *gsm48_rr_force_handover(struct osmocom_ms *ms, uint16_t arfcn); #endif /* _GSM48_RR_H */ |