commit | 7a16d46fdcad1df8c525f10ed344cd28d75292cc | [log] [tgz] |
---|---|---|
author | Andreas Eversberg <jolly@eversberg.eu> | Sat Jan 04 15:25:18 2014 +0100 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Wed Jan 15 10:39:08 2014 +0100 |
tree | 47e18b249086587f81ba3b2f051a49e4bda7c71a | |
parent | ccde4c462d94f2800edae4c4f8ad6c2c87d1c11a [diff] |
alloc_algorithm_b: Set tx_range to 8, if all 8 TS are supported by MS
diff --git a/src/gprs_rlcmac_ts_alloc.cpp b/src/gprs_rlcmac_ts_alloc.cpp index a4e247a..62d1dd1 100644 --- a/src/gprs_rlcmac_ts_alloc.cpp +++ b/src/gprs_rlcmac_ts_alloc.cpp
@@ -378,6 +378,9 @@ } *tx_range = (*tx_win_max - *tx_win_min + 1) & 7; + /* if TX window fills complete range */ + if (*tx_range == 0) + *tx_range = 8; LOGP(DRLCMAC, LOGL_DEBUG, "- TX-Window is: %d..%d\n", *tx_win_min, *tx_win_max); }