From 705653b2d71b7bd9eefc260effc22c6030b16bb1 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 26 Nov 2013 16:39:28 +0100 Subject: 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. --- src/bts.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/bts.h') 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 */ -- cgit v1.2.3