diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-03-10 12:19:04 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-03-15 19:34:35 +0100 |
commit | 3a42d17b148dbe6ed5f7ec900c84ed282d809fb9 (patch) | |
tree | 08c9d851da7002c6768e43c437f496b6e50fd612 /tests/tbf/TbfTest.cpp | |
parent | fd1fbdb8db4d76c2f50ccef01f99df0ef8bd8c74 (diff) |
bts: Detect FN jumps
Change-Id: I29fb27981597edc69abb976049ba41aa840488cb
Diffstat (limited to 'tests/tbf/TbfTest.cpp')
-rw-r--r-- | tests/tbf/TbfTest.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
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; |