diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-01-20 21:14:03 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-01-26 09:09:12 +0100 |
commit | 1d778fdce3bc4aab16dc203463d0067f2f063d16 (patch) | |
tree | fcb4873245ca81e2d214e652d555d7d87741d507 /openbsc/include/openbsc/gprs_sgsn.h | |
parent | e47d4f6d1187d453b846ea48f95ee75a42efc23b (diff) |
sgsn: Remove the "permanent" subscriber cache
The subscriber cache would help in case:
* GPRS DETACH, GPRS ATTACH. In that case we might still
have some cached authentication tuples we avoid another
sendAuthenticationInfo request.
* After a detach the cache expiry would make sure to
eventually send a purgeMS to the HLR (which might be
ignored).
At the same time to make the cache work we will need to
make sure to start and stop timers. In case we don't
start we might accumulate subscribers. I am afraid that
the above two benefits do not outweight the complexity
of this implementation.
Diffstat (limited to 'openbsc/include/openbsc/gprs_sgsn.h')
-rw-r--r-- | openbsc/include/openbsc/gprs_sgsn.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/gprs_sgsn.h b/openbsc/include/openbsc/gprs_sgsn.h index 7940e1dc1..79df21be0 100644 --- a/openbsc/include/openbsc/gprs_sgsn.h +++ b/openbsc/include/openbsc/gprs_sgsn.h @@ -284,8 +284,6 @@ struct sgsn_subscriber_data { struct gsm_auth_tuple auth_triplets[5]; int auth_triplets_updated; int error_cause; - struct osmo_timer_list timer; - int retries; enum sgsn_subscriber_proc blocked_by; }; |