aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2014-01-04 15:17:22 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2014-01-04 15:51:10 +0100
commit315576fa1a703722da7c8c726f757c842e010106 (patch)
tree74de67fd343fc5386e4f80de1e05b3118d213664
parentd25bc37da22a42e85c9fddf5c18e1ffa804c18b8 (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: "