this patch will use the gsm_bts_by_lac() function to start paging of all bts' with the same lac. when paging is successfull, the paging_request_stop() function is called with the current lchan, so the callback function will be called. for all other bts', the paging_request_stop() function is called without lchan, so the paging is stopped, but the callback function is not called.
this ensures that only one paging result is received when paging multiple BTS.
On Tuesday 09 June 2009 10:45:04 Andreas.Eversberg wrote:
this patch will use the gsm_bts_by_lac() function to start paging of all bts' with the same lac. when paging is successfull, the paging_request_stop() function is called with the current lchan, so the callback function will be called. for all other bts', the paging_request_stop() function is called without lchan, so the paging is stopped, but the callback function is not called.
this ensures that only one paging result is received when paging multiple BTS.
great! Reading the diff it is kind of funny we are currently sending _SUCCEED from paging_stop...
z.
On Tuesday 09 June 2009 10:45:04 Andreas.Eversberg wrote:
this patch will use the gsm_bts_by_lac() function to start paging of all bts' with the same lac. when paging is successfull, the paging_request_stop() function is called with the current lchan, so the callback function will be called. for all other bts', the paging_request_stop() function is called without lchan, so the paging is stopped, but the callback function is not called.
this ensures that only one paging result is received when paging multiple BTS.
Thanks, I have merged this patch and have done two follow up changes (one to use called_subscr->lac) and then moved the loops into paging.c to allow changing the strategy in the future..
z.
On Wed, Jun 10, 2009 at 03:03:50AM +0200, Holger Freyther wrote:
Thanks, I have merged this patch and have done two follow up changes (one to use called_subscr->lac) and then moved the loops into paging.c to allow changing the strategy in the future..
ok, we need to merge that into the git tree now, sorry for the confusion :(
I wanted to migrate to git for more than a month and simply didn't have the time, last night i stayed up until 4am to finally get it done. sorry for not announcing this before.
regards,
On Wednesday 10 June 2009 05:49:02 Harald Welte wrote:
On Wed, Jun 10, 2009 at 03:03:50AM +0200, Holger Freyther wrote:
Thanks, I have merged this patch and have done two follow up changes (one to use called_subscr->lac) and then moved the loops into paging.c to allow changing the strategy in the future..
ok, we need to merge that into the git tree now, sorry for the confusion :(
no problem, I can just rebase....
applied to the master branch of git://bs11-abis.gnumonks.org/openbsc.git
(I've converted from svn to git last night, sorry for the inconvenience)