diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-02-17 01:39:41 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-02-17 01:39:41 +0000 |
commit | 75a1fa834ce34da2165de2de0b89cdebc8c87e77 (patch) | |
tree | d2fd15423141009c2f3f1ad3a3e86b0715d0e6e5 /include | |
parent | 0932d1e2b41ac733f7f12ca8b887e3ba96525225 (diff) |
switch paging code to use a timer again, since not all BTS send reliable CCCH load indications
Diffstat (limited to 'include')
-rw-r--r-- | include/openbsc/gsm_data.h | 2 | ||||
-rw-r--r-- | include/openbsc/paging.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/openbsc/gsm_data.h b/include/openbsc/gsm_data.h index 25da17112..7c320d8ed 100644 --- a/include/openbsc/gsm_data.h +++ b/include/openbsc/gsm_data.h @@ -253,6 +253,8 @@ struct gsm_bts_paging_state { struct gsm_paging_request *last_request; struct gsm_bts *bts; + struct timer_list work_timer; + /* load */ u_int16_t available_slots; }; diff --git a/include/openbsc/paging.h b/include/openbsc/paging.h index 8fdae02c6..fd9dc02e8 100644 --- a/include/openbsc/paging.h +++ b/include/openbsc/paging.h @@ -37,7 +37,8 @@ void paging_request(struct gsm_bts *bts, struct gsm_subscriber *subscr, int type, gsm_cbfn *cbfn, void *data); /* stop paging requests */ -void paging_request_stop(struct gsm_bts *bts, struct gsm_subscriber *subscr); +void paging_request_stop(struct gsm_bts *bts, struct gsm_subscriber *subscr, + struct gsm_lchan *lchan); /* update paging load */ void paging_update_buffer_space(struct gsm_bts *bts, u_int16_t); |