summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorerin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3>2008-01-22 13:41:36 +0000
committererin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3>2008-01-22 13:41:36 +0000
commitb97df6c14964a74476e2327f426dd2b7d9f40ee0 (patch)
treea22caa6fe487050d6c4b4191316695eecefdbbb9 /include
parent07aca97d83c52de1a5e0189cb5f7351ebe40185a (diff)
gsmd: retrieve imsi value before sending at command (Sean Chiang)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3915 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'include')
-rw-r--r--include/gsmd/gsmd.h1
-rw-r--r--include/libgsmd/misc.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/gsmd/gsmd.h b/include/gsmd/gsmd.h
index ff63b58..585d78d 100644
--- a/include/gsmd/gsmd.h
+++ b/include/gsmd/gsmd.h
@@ -91,6 +91,7 @@ struct gsmd {
unsigned int mlbuf_len;
int mlunsolicited;
int alive_responded;
+ char imsi[16]; /* imsi mem space */
};
struct gsmd_user {
diff --git a/include/libgsmd/misc.h b/include/libgsmd/misc.h
index 5ac9bdb..0dc22f8 100644
--- a/include/libgsmd/misc.h
+++ b/include/libgsmd/misc.h
@@ -36,6 +36,7 @@ extern int lgsm_signal_quality(struct lgsm_handle *h);
/* Operator Selection, Network Registration */
extern int lgsm_oper_get(struct lgsm_handle *lh);
+extern int lgsm_oper_n_get(struct lgsm_handle *lh);
extern int lgsm_opers_get(struct lgsm_handle *lh);
extern int lgsm_netreg_register(struct lgsm_handle *lh,
gsmd_oper_numeric oper);
personal git repositories of Harald Welte. Your mileage may vary