libosmocore/src/codec
Vadim Yanitskiy 7ec19de720 libosmocodec: osmo_hr_check_sid(): simplify the logic
According to TS 101 318, section 5.2.2, a SID frame is identified
by a SID codeword consisting of 79 bits (r34..r112) which are all 1.
Given that there are no gaps in the codeword, we don't really need
to use bitvec_get_bit_pos() and check each field individually.
This brings additional complexity and negatively affects performance.

Instead, let's use bitvec_get_bit_pos() to check all bits in a row.

Change-Id: I678f8ff92317fe87f1aca511a3a062ad898e55cc
Related: SYS#5853
2022-03-10 13:57:39 +03:00
..
Makefile.am Bump version: 1.5.1.282-ab5e-dirty → 1.6.0 2021-11-16 13:08:23 +01:00
ecu.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
ecu_fr.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
gsm610.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
gsm620.c libosmocodec: osmo_hr_check_sid(): simplify the logic 2022-03-10 13:57:39 +03:00
gsm660.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
gsm690.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00