Harald Welte | 75827d6 | 2010-05-18 11:07:34 +0200 | [diff] [blame] | 1 | #ifndef _GPRS_GMM_H |
| 2 | #define _GPRS_GMM_H |
| 3 | |
Pablo Neira Ayuso | 136f453 | 2011-03-22 16:47:59 +0100 | [diff] [blame] | 4 | #include <osmocom/core/msgb.h> |
Harald Welte | 807a5d8 | 2010-06-01 11:53:01 +0200 | [diff] [blame] | 5 | #include <openbsc/gprs_sgsn.h> |
| 6 | |
Harald Welte | a9b473a | 2010-12-24 21:13:26 +0100 | [diff] [blame] | 7 | int gsm48_tx_gsm_deact_pdp_req(struct sgsn_pdp_ctx *pdp, uint8_t sm_cause); |
Harald Welte | 75827d6 | 2010-05-18 11:07:34 +0200 | [diff] [blame] | 8 | int gsm48_tx_gsm_act_pdp_rej(struct sgsn_mm_ctx *mm, uint8_t tid, |
| 9 | uint8_t cause, uint8_t pco_len, uint8_t *pco_v); |
Harald Welte | 75827d6 | 2010-05-18 11:07:34 +0200 | [diff] [blame] | 10 | int gsm48_tx_gsm_act_pdp_acc(struct sgsn_pdp_ctx *pdp); |
Harald Welte | 77289c2 | 2010-05-18 14:32:29 +0200 | [diff] [blame] | 11 | int gsm48_tx_gsm_deact_pdp_acc(struct sgsn_pdp_ctx *pdp); |
| 12 | |
Harald Welte | 807a5d8 | 2010-06-01 11:53:01 +0200 | [diff] [blame] | 13 | int gsm0408_gprs_rcvmsg(struct msgb *msg, struct gprs_llc_llme *llme); |
Jacob Erlbeck | abdf02b | 2014-10-31 12:20:49 +0100 | [diff] [blame] | 14 | int gsm0408_gprs_force_reattach(struct sgsn_mm_ctx *mmctx); |
| 15 | int gsm0408_gprs_force_reattach_oldmsg(struct msgb *msg); |
Jacob Erlbeck | 423f8bf | 2014-10-24 18:09:54 +0200 | [diff] [blame] | 16 | void gsm0408_gprs_access_granted(struct sgsn_mm_ctx *mmctx); |
| 17 | void gsm0408_gprs_access_denied(struct sgsn_mm_ctx *mmctx); |
Jacob Erlbeck | 98647ca | 2014-11-11 14:47:38 +0100 | [diff] [blame] | 18 | void gsm0408_gprs_access_cancelled(struct sgsn_mm_ctx *mmctx); |
Jacob Erlbeck | 4adb136 | 2014-12-02 09:47:26 +0100 | [diff] [blame^] | 19 | void gsm0408_gprs_authenticate(struct sgsn_mm_ctx *mmctx); |
Harald Welte | 75827d6 | 2010-05-18 11:07:34 +0200 | [diff] [blame] | 20 | |
Harald Welte | 5bfe499 | 2010-06-09 11:22:47 +0200 | [diff] [blame] | 21 | int gprs_gmm_rx_suspend(struct gprs_ra_id *raid, uint32_t tlli); |
| 22 | int gprs_gmm_rx_resume(struct gprs_ra_id *raid, uint32_t tlli, |
| 23 | uint8_t suspend_ref); |
| 24 | |
Harald Welte | 75827d6 | 2010-05-18 11:07:34 +0200 | [diff] [blame] | 25 | #endif /* _GPRS_GMM_H */ |