Attention is currently required from: fixeria.

fixeria uploaded patch set #4 to this change.

View Change

coding: simplify detect_ahs_id_marker()

This function is used to detect SID_{UPDATE,FIRST} frames by their
identification marker, which is basically a fixed 9-bit sequence
repeated 24 times, minus 4 tailing bits (212 bits total).

Current code employs three for-loops in order to match the marker,
but the same can be efficiently achieved with just one for-loop.

Change-Id: I240bac2725d6544b609f7f288071d3a431132fd8
Related: SYS#5853
---
M src/coding/gsm0503_amr_dtx.c
1 file changed, 5 insertions(+), 18 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/39/27939/4

To view, visit change 27939. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I240bac2725d6544b609f7f288071d3a431132fd8
Gerrit-Change-Number: 27939
Gerrit-PatchSet: 4
Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin@sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy@sysmocom.de>
Gerrit-MessageType: newpatchset