summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/subscriber.h
diff options
context:
space:
mode:
authorAndreas.Eversberg2010-06-13 15:51:30 +0200
committerAndreas.Eversberg2010-06-13 15:51:30 +0200
commitc6e756aab6bcc6990179f16c90416c1d4fb9b1ae (patch)
tree99bbdbfc53482e50adbbea269061334a37e7e8b7 /src/host/layer23/include/osmocom/subscriber.h
parentlapdm: Fixed length check for SABM frame. (diff)
downloadosmocom-c6e756aab6bcc6990179f16c90416c1d4fb9b1ae.tar.gz
osmocom-c6e756aab6bcc6990179f16c90416c1d4fb9b1ae.tar.xz
osmocom-c6e756aab6bcc6990179f16c90416c1d4fb9b1ae.zip
layer23: Fixed issues about location update and it's result.
Now location update reject works. The rejected network/cell is stored in an appropriate list. The lists can be dumped from the VTY. A fake authentication response is generated until the SIM interface is available. If the network rejects the test SIM, due to authentication failure, it is removed and limited service state is entered. This currenlty works on networks with SDCCH on the TS0 only.
Diffstat (limited to 'src/host/layer23/include/osmocom/subscriber.h')
-rw-r--r--src/host/layer23/include/osmocom/subscriber.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/subscriber.h b/src/host/layer23/include/osmocom/subscriber.h
index 81cec30..40cf28a 100644
--- a/src/host/layer23/include/osmocom/subscriber.h
+++ b/src/host/layer23/include/osmocom/subscriber.h
@@ -80,6 +80,8 @@ int gsm_subscr_add_forbidden_plmn(struct gsm_subscriber *subscr, uint16_t mcc,
uint16_t mnc, uint8_t cause);
int gsm_subscr_is_forbidden_plmn(struct gsm_subscriber *subscr, uint16_t mcc,
uint16_t mnc);
+int gsm_subscr_dump_forbidden_plmn(struct osmocom_ms *ms,
+ void (*print)(void *, const char *, ...), void *priv);
void gsm_subscr_dump(struct gsm_subscriber *subscr,
void (*print)(void *, const char *, ...), void *priv);
char *gsm_check_imsi(const char *imsi, uint16_t *mcc, uint16_t *mnc);