libosmocoding
0.11.0-dirty
Osmocom GSM/GPRS/EGPRS L1 channel coding library
|
GSM TS 05.03 parity. More...
GSM TS 05.03 parity.
This module contains parity/crc code definitions for the various parity/crc schemes as defined in 3GPP TS 05.03 / 45.003
Referenced by gsm0503_tch_afs_decode(), gsm0503_tch_afs_encode(), gsm0503_tch_ahs_decode(), and gsm0503_tch_ahs_encode().
{ .bits = 6, .poly = 0x2f, .init = 0x00, .remainder = 0x3f, }
GSM AMR parity.
g(x) = x^6 + x^5 + x^3 + x^2 + x^1 + 1
Referenced by gsm0503_pdtch_decode(), and gsm0503_pdtch_encode().
{ .bits = 16, .poly = 0x1021, .init = 0x0000, .remainder = 0xffff, }
GSM PDTCH CS-2, CS-3, CS-4 parity.
g(x) = x^16 + x^12 + x^5 + 1
Referenced by _xcch_decode_cB(), _xcch_encode_cB(), gsm0503_pdtch_decode(), and gsm0503_pdtch_encode().
{ .bits = 40, .poly = 0x0004820009ULL, .init = 0x0000000000ULL, .remainder = 0xffffffffffULL, }
GSM (SACCH) parity (FIRE code)
g(x) = (x^23 + 1)(x^17 + x^3 + 1) = x^40 + x^26 + x^23 + x^17 + x^3 + a1
Referenced by egprs_decode_data(), and egprs_encode_data().
{ .bits = 12, .poly = 0x0d31, .init = 0x0000, .remainder = 0x0fff, }
EDGE MCS data parity.
Referenced by _egprs_decode_hdr(), and egprs_encode_hdr().
{ .bits = 8, .poly = 0x49, .init = 0x00, .remainder = 0xff, }
EDGE MCS header parity.
Referenced by gsm0503_rach_ext_encode(), and rach_decode_ber().
{ .bits = 6, .poly = 0x2f, .init = 0x00, .remainder = 0x3f, }
GSM RACH parity.
g(x) = x^6 + x^5 + x^3 + x^2 + x^1 + 1
Referenced by gsm0503_sch_decode(), and gsm0503_sch_encode().
{ .bits = 10, .poly = 0x175, .init = 0x000, .remainder = 0x3ff, }
GSM SCH parity.
g(x) = x^10 + x^8 + x^6 + x^5 + x^4 + x^2 + 1
Referenced by gsm0503_tch_fr_decode(), and gsm0503_tch_fr_encode().
{ .bits = 8, .poly = 0x1d, .init = 0x00, .remainder = 0x00, }
GSM TCH EFR parity.
g(x) = x^8 + x^4 + x^3 + x^2 + 1
Referenced by gsm0503_tch_fr_decode(), gsm0503_tch_fr_encode(), gsm0503_tch_hr_decode(), and gsm0503_tch_hr_encode().
{ .bits = 3, .poly = 0x3, .init = 0x0, .remainder = 0x7, }
GSM TCH FR/HR/EFR parity.
g(x) = x^3 + x + 1