aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/bsc/handover.h
blob: 5ba8e1641297e43635cc01936b1133208e48c28d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _HANDOVER_H
#define _HANDOVER_H

struct gsm_subscriber_connection;

/* Count number of currently ongoing async handovers */
int bsc_ho_count(struct gsm_bts *bts);

/* Hand over the specified logical channel to the specified new BTS.
 * This is the main entry point for the actual handover algorithm,
 * after it has decided it wants to initiate HO to a specific BTS */
int bsc_handover_start(struct gsm_lchan *old_lchan, struct gsm_bts *bts);

/* clear any operation for this connection */
void bsc_clear_handover(struct gsm_subscriber_connection *conn, int free_lchan);

/* Return the old lchan or NULL. This is meant for audio handling */
struct gsm_lchan *bsc_handover_pending(struct gsm_lchan *new_lchan);

#endif /* _HANDOVER_H */