aboutsummaryrefslogtreecommitdiffstats
path: root/src/bts.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-26 16:39:28 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-12-25 15:31:46 +0100
commit705653b2d71b7bd9eefc260effc22c6030b16bb1 (patch)
tree9a08b2d51b2f35ae2574b9bf2ecf458ec58b6403 /src/bts.h
parentaadfc2e1212c45073f2b3e41930686991dd24f46 (diff)
sched: Attempt to improve the fairness and schedule UL/AL ACK/ASS
It is possible that certain UL ACK messages are not sent when there are many many uplink and downlink assignments. Try to be more fair and schedule them round-robin. This way no starvation should occur.
Diffstat (limited to 'src/bts.h')
-rw-r--r--src/bts.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bts.h b/src/bts.h
index 924e2e1e..128b1e0a 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -67,6 +67,7 @@ struct gprs_rlcmac_pdch {
uint8_t tsc; /* TSC of this slot */
uint8_t next_ul_tfi; /* next uplink TBF/TFI to schedule (0..31) */
uint8_t next_dl_tfi; /* next downlink TBF/TFI to schedule (0..31) */
+ uint8_t next_ctrl_prio; /* next kind of ctrl message to schedule */
struct gprs_rlcmac_tbf *ul_tbf[32]; /* array of UL TBF, by UL TFI */
struct gprs_rlcmac_tbf *dl_tbf[32]; /* array of DL TBF, by DL TFI */
struct llist_head paging_list; /* list of paging messages */