diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2022-04-26 13:58:50 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2022-04-28 16:04:04 +0200 |
commit | 1e79745e801db06783dc74348f10208dda776267 (patch) | |
tree | 42ae4275e080062b27c4d4430e2ed72523b00363 /include | |
parent | a6474172e4aef3b57b8ac93b1dcab3aeeab29ced (diff) |
paging: Decouple retransmit period from regular worker interval
Before this patch, on each BTS a 500ms timer was used to schedule some
work, sending up to 20 paging requests verytime.
This means, however, for an initial paging request it may take up to
500ms delay to be scheduled to the BTS, which is huge.
While we still want to maintain this 500ms interval for retransmits, it
doesn't make sense to wait that much for other cases. It's far better
sending less requests (10 instead of 20) every half time (250ms instead
of 500ms), since it will spread the load and paging more over time,
allowing for other work to be done in the middle.
Change-Id: I7a1297452cc4734b6ee8c38fb94cf32f38d57c3d
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/bsc/paging.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/bsc/paging.h b/include/osmocom/bsc/paging.h index 2102e0491..d9fd501b6 100644 --- a/include/osmocom/bsc/paging.h +++ b/include/osmocom/bsc/paging.h @@ -82,6 +82,8 @@ struct gsm_paging_request { /* How often did we ask the BTS to page? */ int attempts; + /* Timestamp of last time the subscriber was paged */ + struct timespec last_attempt_ts; /* MSC that has issued this paging */ struct bsc_msc_data *msc; |