From df022f6cb20bdaacc0217dfe54bdcc6d7a578c54 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 25 Dec 2013 20:24:16 +0100 Subject: [PATCH] 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. --- src/gprs_rlcmac_ts_alloc.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gprs_rlcmac_ts_alloc.cpp b/src/gprs_rlcmac_ts_alloc.cpp index 44c0efb2..f48d8d4f 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;