From ca69b0f68d748e56eecd14d1c1a754971e9240ba Mon Sep 17 00:00:00 2001 From: Jacob Erlbeck Date: Tue, 3 Feb 2015 19:45:46 +0100 Subject: Revert "gprs: Block other GSUP procedures during PURGE_MS" This reverts commit f81cacc6814dde73f203d125b0065d1451a98317. Since the PURGE MS retry mechanism had been removed, this feature is not used anymore. It just makes the code more complex. Conflicts: openbsc/include/openbsc/gprs_sgsn.h openbsc/src/gprs/gprs_subscriber.c openbsc/tests/sgsn/sgsn_test.c --- openbsc/include/openbsc/gprs_sgsn.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'openbsc/include') diff --git a/openbsc/include/openbsc/gprs_sgsn.h b/openbsc/include/openbsc/gprs_sgsn.h index 20d535205..2572ead52 100644 --- a/openbsc/include/openbsc/gprs_sgsn.h +++ b/openbsc/include/openbsc/gprs_sgsn.h @@ -296,20 +296,12 @@ struct sgsn_subscriber_pdp_data { char apn_str[GSM_APN_LENGTH]; }; -enum sgsn_subscriber_proc { - SGSN_SUBSCR_PROC_NONE = 0, - SGSN_SUBSCR_PROC_PURGE, - SGSN_SUBSCR_PROC_UPD_LOC, - SGSN_SUBSCR_PROC_UPD_AUTH, -}; - struct sgsn_subscriber_data { struct sgsn_mm_ctx *mm; struct gsm_auth_tuple auth_triplets[5]; int auth_triplets_updated; struct llist_head pdp_list; int error_cause; - enum sgsn_subscriber_proc blocked_by; }; #define SGSN_ERROR_CAUSE_NONE (-1) @@ -359,10 +351,6 @@ void gprs_subscr_update(struct gsm_subscriber *subscr); void gprs_subscr_update_auth_info(struct gsm_subscriber *subscr); int gprs_subscr_rx_gsup_message(struct msgb *msg); -int gprs_subscr_purge(struct gsm_subscriber *subscr); -int gprs_subscr_query_auth_info(struct gsm_subscriber *subscr); -int gprs_subscr_location_update(struct gsm_subscriber *subscr); - /* Called on subscriber data updates */ void sgsn_update_subscriber_data(struct sgsn_mm_ctx *mmctx); -- cgit v1.2.3