diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-11-26 13:08:12 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-11-26 21:00:52 +0100 |
commit | 7a5f3c2153beb5f92b39a93b02ead76bcd0c6150 (patch) | |
tree | 434d90ff5e6e1cfb8702eb77d6943652d35ddf2b /src/gprs_rlcmac_sched.cpp | |
parent | 7f3e662b3412a028254796420d7761d8c84c8fd2 (diff) |
tbf/sched: We pick the _last_ entry, rotate the lists
We always pick the _last_ entry from the lists. Let's rotate
so we make it a bit more fair.
Diffstat (limited to 'src/gprs_rlcmac_sched.cpp')
-rw-r--r-- | src/gprs_rlcmac_sched.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gprs_rlcmac_sched.cpp b/src/gprs_rlcmac_sched.cpp index 690be308..a3211ee2 100644 --- a/src/gprs_rlcmac_sched.cpp +++ b/src/gprs_rlcmac_sched.cpp @@ -133,6 +133,7 @@ static struct msgb *sched_select_ctrl_msg(struct gprs_rlcmac_bts *bts, } /* any message */ if (msg) { + tbf->rotate_in_list(); LOGP(DRLCMACSCHED, LOGL_DEBUG, "Scheduling control " "message at RTS for %s (TRX=%d, TS=%d)\n", tbf_name(tbf), trx, ts); |