aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2014-01-04 15:17:22 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-01-15 10:39:08 +0100
commitccde4c462d94f2800edae4c4f8ad6c2c87d1c11a (patch)
tree0ae34d3aab439f7c00f36dcda977d54334c09c19
parentb03d427b088380cc16461abb20115f36669777a9 (diff)
alloc_algorithm_b: For type 1 MS, limit number of donwlink TS to 5
The algorithm does not support more than 5 TS on downlink for type 1 MS. Supporting more than 5 TS would require adding more complexity to this algorithm. MS that support more than 4 (or 5) TS on downlink are rare, if they really exist.
-rw-r--r--src/gprs_rlcmac_ts_alloc.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gprs_rlcmac_ts_alloc.cpp b/src/gprs_rlcmac_ts_alloc.cpp
index d2ccda9..a4e247a 100644
--- a/src/gprs_rlcmac_ts_alloc.cpp
+++ b/src/gprs_rlcmac_ts_alloc.cpp
@@ -235,6 +235,12 @@ inc_window:
"window reached maximum alowed Rx size\n");
break;
}
+ if (ms_type == 1 && rx_window_size == 5) {
+ LOGP(DRLCMAC, LOGL_DEBUG, "- Done, because slots / "
+ "window reached maximum supported Rx size of "
+ "this algorithm\n");
+ break;
+ }
}
LOGP(DRLCMAC, LOGL_DEBUG, "- Selected slots for RX: "