diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-04-07 13:26:59 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-04-07 13:26:59 +0200 |
commit | d1cd527541a27ed2771996b512b4d0876dd530f1 (patch) | |
tree | 230ac1b50b8d40e5f7844aa5ccaa19f94c17cfec /src/coding | |
parent | gsm0503_coding: Fix USF encoding in MCS1-4 (diff) | |
download | libosmocore-d1cd527541a27ed2771996b512b4d0876dd530f1.tar.xz libosmocore-d1cd527541a27ed2771996b512b4d0876dd530f1.zip |
gsm0503_tables: Document USF encoding tables
Change-Id: I596c10960bd1ff1b1ec14ad953ce5e1ed040d35a
Diffstat (limited to 'src/coding')
-rw-r--r-- | src/coding/gsm0503_tables.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/coding/gsm0503_tables.c b/src/coding/gsm0503_tables.c index 5fe634bf..df0abeed 100644 --- a/src/coding/gsm0503_tables.c +++ b/src/coding/gsm0503_tables.c @@ -63,6 +63,9 @@ const sbit_t gsm0503_pdtch_edge_hl_hn_sbit[3][8] = { { -127,-127, -127, 127, 127,-127, -127,-127 }, }; +/* + * 3GPP TS 05.03 sec 5.1.2.2 "Block code". Rows re-ordered to be indxed by USF in host bit order. + */ const ubit_t gsm0503_usf2six[8][6] = { { 0,0,0, 0,0,0 }, { 1,0,0, 1,0,1 }, @@ -74,6 +77,9 @@ const ubit_t gsm0503_usf2six[8][6] = { { 1,1,1, 0,0,0 }, }; +/* + * 3GPP TS 05.03 sec 5.1.4.2 "Block code". Rows re-ordered to be indxed by USF in host bit order. + */ const ubit_t gsm0503_usf2twelve_ubit[8][12] = { { 0,0,0, 0,0,0, 0,0,0, 0,0,0 }, { 1,1,0, 1,0,0, 0,0,1, 0,1,1 }, |