Harald Welte | 0df904d | 2018-12-03 11:00:04 +0100 | [diff] [blame] | 1 | /* (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 | |
Alexander Couzens | 0e18da5 | 2024-08-27 20:08:17 +0200 | [diff] [blame] | 23 | struct vlr_subscr; |
| 24 | |
Harald Welte | 0df904d | 2018-12-03 11:00:04 +0100 | [diff] [blame] | 25 | enum sgs_ue_fsm_event { |
| 26 | SGS_UE_E_VLR_FAILURE, |
| 27 | SGS_UE_E_RX_RESET_FROM_MME, |
| 28 | SGS_UE_E_RX_DETACH_IND_FROM_MME, |
| 29 | SGS_UE_E_RX_DETACH_IND_FROM_UE, |
| 30 | SGS_UE_E_RX_LU_FROM_A_IU_GS, |
| 31 | SGS_UE_E_RX_PAGING_FAILURE, |
| 32 | SGS_UE_E_RX_ALERT_FAILURE, |
| 33 | SGS_UE_E_RX_LU_FROM_MME, |
| 34 | SGS_UE_E_TX_LU_REJECT, |
| 35 | SGS_UE_E_TX_LU_ACCEPT, |
| 36 | SGS_UE_E_TX_PAGING, |
| 37 | SGS_UE_E_RX_SGSAP_UE_UNREACHABLE, |
| 38 | SGS_UE_E_RX_TMSI_REALLOC, |
| 39 | }; |
| 40 | |
| 41 | void vlr_sgs_fsm_init(void); |
| 42 | void vlr_sgs_fsm_create(struct vlr_subscr *vsub); |
| 43 | void vlr_sgs_fsm_remove(struct vlr_subscr *vsub); |
| 44 | void vlr_sgs_fsm_update_id(struct vlr_subscr *vsub); |