From 3a42d17b148dbe6ed5f7ec900c84ed282d809fb9 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Wed, 10 Mar 2021 12:19:04 +0100 Subject: bts: Detect FN jumps Change-Id: I29fb27981597edc69abb976049ba41aa840488cb --- tests/tbf/TbfTest.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tests/tbf/TbfTest.cpp') diff --git a/tests/tbf/TbfTest.cpp b/tests/tbf/TbfTest.cpp index ed545459..2986132c 100644 --- a/tests/tbf/TbfTest.cpp +++ b/tests/tbf/TbfTest.cpp @@ -213,11 +213,6 @@ static gprs_rlcmac_dl_tbf *create_dl_tbf(struct gprs_rlcmac_bts *bts, uint8_t ms return dl_tbf; } -static unsigned fn2bn(unsigned fn) -{ - return (fn % 52) / 4; -} - static unsigned fn_add_blocks(unsigned fn, unsigned blocks) { unsigned bn = fn2bn(fn) + blocks; -- cgit v1.2.3