From f7198d7dbb84d038a82eec5ad0b86f7f29ca411e Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Tue, 22 May 2018 18:29:14 +0200 Subject: gprs_gmm: introduce a GMM Attach Request FSM The old GMM Attach Request handling used a recursive function which can not handle certain states and is quite complex and hard to extend. The new FSM handles such request in a FSM and can be called multiple times. Change-Id: I58b9c17be9776a03bb2a5b21e99135cfefc8c912 --- include/osmocom/sgsn/gprs_gmm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/osmocom/sgsn/gprs_gmm.h') diff --git a/include/osmocom/sgsn/gprs_gmm.h b/include/osmocom/sgsn/gprs_gmm.h index d12eaf9bb..ffcebd353 100644 --- a/include/osmocom/sgsn/gprs_gmm.h +++ b/include/osmocom/sgsn/gprs_gmm.h @@ -40,6 +40,8 @@ int gsm48_tx_gmm_att_rej(struct sgsn_mm_ctx *mm, uint8_t gmm_cause); int gsm48_tx_gmm_att_ack(struct sgsn_mm_ctx *mm); +int gprs_gmm_attach_req_ies(struct msgb *a, struct msgb *b); + /* TODO: move extract_subscr_* when gsm48_gmm_authorize() got removed */ void extract_subscr_msisdn(struct sgsn_mm_ctx *ctx); void extract_subscr_hlr(struct sgsn_mm_ctx *ctx); -- cgit v1.2.3