falconia has uploaded this change for review.

View Change

osmo_trau_frame_decode_8k: fix recognition of O&M UL

In the case of an O&M frame in UL direction, the bit pattern
in C1-C5 is 01011, not 10011 - see TS 48.061 section 5.2.4.1.1.

Change-Id: I16c6b598ce5c843b5306aa69592a7d66723622d4
---
M src/trau/trau_frame.c
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/31/38131/1
diff --git a/src/trau/trau_frame.c b/src/trau/trau_frame.c
index 9cb8a66..43b0e6b 100644
--- a/src/trau/trau_frame.c
+++ b/src/trau/trau_frame.c
@@ -1466,7 +1466,7 @@
return decode8_hr(fr, bits, dir);
case 0x07:
return decode8_data(fr, bits, dir);
- case 0x13:
+ case 0x0B:
return decode8_oam(fr, bits, dir);
}
} else {

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

Gerrit-MessageType: newchange
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: I16c6b598ce5c843b5306aa69592a7d66723622d4
Gerrit-Change-Number: 38131
Gerrit-PatchSet: 1
Gerrit-Owner: falconia <falcon@freecalypso.org>