blob: 94f202b5938a389dd53b45adabedc50087d34287 [file] [log] [blame]
Harald Welte0df904d2018-12-03 11:00:04 +01001/* (C) 2018-2019 by sysmocom s.f.m.c. GmbH
2 * All Rights Reserved
3 *
4 * Author: Harald Welte, Philipp Maier
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU Affero General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Affero General Public License for more details.
15 *
16 * You should have received a copy of the GNU Affero General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 *
19 */
20
21#pragma once
22
23enum sgs_ue_fsm_event {
24 SGS_UE_E_VLR_FAILURE,
25 SGS_UE_E_RX_RESET_FROM_MME,
26 SGS_UE_E_RX_DETACH_IND_FROM_MME,
27 SGS_UE_E_RX_DETACH_IND_FROM_UE,
28 SGS_UE_E_RX_LU_FROM_A_IU_GS,
29 SGS_UE_E_RX_PAGING_FAILURE,
30 SGS_UE_E_RX_ALERT_FAILURE,
31 SGS_UE_E_RX_LU_FROM_MME,
32 SGS_UE_E_TX_LU_REJECT,
33 SGS_UE_E_TX_LU_ACCEPT,
34 SGS_UE_E_TX_PAGING,
35 SGS_UE_E_RX_SGSAP_UE_UNREACHABLE,
36 SGS_UE_E_RX_TMSI_REALLOC,
37};
38
39void vlr_sgs_fsm_init(void);
40void vlr_sgs_fsm_create(struct vlr_subscr *vsub);
41void vlr_sgs_fsm_remove(struct vlr_subscr *vsub);
42void vlr_sgs_fsm_update_id(struct vlr_subscr *vsub);