aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-12-25 20:24:16 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-01-15 10:39:08 +0100
commitdf022f6cb20bdaacc0217dfe54bdcc6d7a578c54 (patch)
treed9dcfbf227b48600e650dc97aa7e7dc7a873decb
parentc7b998cc73005fd7da26f8fe2d562e40691a8ae6 (diff)
alloc: Add a note that the tx window handling differs from rx
It looks like the code is different (without a reason) a good reason.
-rw-r--r--src/gprs_rlcmac_ts_alloc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gprs_rlcmac_ts_alloc.cpp b/src/gprs_rlcmac_ts_alloc.cpp
index 44c0efb..f48d8d4 100644
--- a/src/gprs_rlcmac_ts_alloc.cpp
+++ b/src/gprs_rlcmac_ts_alloc.cpp
@@ -422,6 +422,7 @@ int alloc_algorithm_b(struct gprs_rlcmac_bts *bts,
if (!pdch->is_enabled()) {
LOGP(DRLCMAC, LOGL_DEBUG, "- Skipping TS %d, "
"because not enabled\n", ts);
+ #warning "Why isn't it needed to increase the window?"
continue;
}
/* check if TSC changes */
@@ -435,6 +436,7 @@ int alloc_algorithm_b(struct gprs_rlcmac_bts *bts,
"configured with the same TSC!\n",
ts, tbf->trx->trx_no);
/* increase window for Type 1 */
+ #warning "Why isn't it needed to check for tx_window"
if (Type == 1)
i++;
continue;