diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2021-06-14 17:54:38 +0200 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2021-07-06 11:35:50 +0200 |
commit | dda5cf4bb7622eba600042464910c02fab1aaa49 (patch) | |
tree | 5c5fc2e2f635fe967831f155b44fb22d4ed37132 /include | |
parent | a5602d593ce14077152b921e53bb37b66e1c579c (diff) |
paging: prioritize CS related paging over PS related pagings.
When the paging queue is filled up to a critical level, pagings from the
PCU should be dropped as each immediate assignment paging from the PCU
is worth 4 normal CS pagings. Also the PCU may still issue pagings if the
paginging queue is already full and CS pagings are dropped. In a
congestion situation it is more important to get the CS rather than PS
pagings through.
Change-Id: I30f97672d7a0c369c4a656e878ab8cbbd83e31ea
Related: SYS#5306
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-bts/bts.h | 2 | ||||
-rw-r--r-- | include/osmo-bts/paging.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/osmo-bts/bts.h b/include/osmo-bts/bts.h index e1166182..6a61d015 100644 --- a/include/osmo-bts/bts.h +++ b/include/osmo-bts/bts.h @@ -18,7 +18,9 @@ enum bts_global_status { enum { BTS_CTR_PAGING_RCVD, BTS_CTR_PAGING_DROP, + BTS_CTR_PAGING_DROP_PS, BTS_CTR_PAGING_SENT, + BTS_CTR_PAGING_CONG, BTS_CTR_RACH_RCVD, BTS_CTR_RACH_DROP, BTS_CTR_RACH_HO, diff --git a/include/osmo-bts/paging.h b/include/osmo-bts/paging.h index 7fc0bf05..ef1fc93d 100644 --- a/include/osmo-bts/paging.h +++ b/include/osmo-bts/paging.h @@ -37,7 +37,7 @@ int paging_add_identity(struct paging_state *ps, uint8_t paging_group, /* Add an IMM.ASS message to the paging queue */ int paging_add_imm_ass(struct paging_state *ps, const uint8_t *data, - uint8_t len); + uint8_t len, bool from_pcu); /* generate paging message for given gsm time */ int paging_gen_msg(struct paging_state *ps, uint8_t *out_buf, struct gsm_time *gt, |