aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/gsm_data.h
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2008-12-29 06:23:46 +0000
committerHolger Freyther <zecke@selfish.org>2008-12-29 06:23:46 +0000
commit07cc8d8beea8a058af31a935ceda4e43244373e2 (patch)
treea085724aae9af5eb8d69a5bea97f5079e17d36a4 /include/openbsc/gsm_data.h
parentba4d28a36efb05a2db150fda4574d7883ebdd579 (diff)
Improve page command handling in the bsc_hack
Add a callback to the gsm_network. When updating the location and assigning a new tmsi callback into the bsc_hack.c and have a queue of mobile stations to page, allocate a channel for and ultimately dial.
Diffstat (limited to 'include/openbsc/gsm_data.h')
-rw-r--r--include/openbsc/gsm_data.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openbsc/gsm_data.h b/include/openbsc/gsm_data.h
index 9c0ac556a..8f21524eb 100644
--- a/include/openbsc/gsm_data.h
+++ b/include/openbsc/gsm_data.h
@@ -144,6 +144,8 @@ struct gsm_network {
struct gsm_bts bts[GSM_MAX_BTS+1];
struct gsm_ms *ms;
struct gsm_subscriber *subscriber;
+
+ void (*update_request_accepted)(struct gsm_bts *, u_int32_t);
};
struct gsm_network *gsm_network_init(unsigned int num_bts, u_int16_t country_code,