libosmocoding 1.13.1.1-afb4 Osmocom GSM/GPRS/EGPRS L1 channel coding library

gsm0503_interleaving.h
Go to the documentation of this file.
1
5#pragma once
6
7#include <osmocom/core/bits.h>
8
13 void gsm0503_xcch_deinterleave(sbit_t *cB, const sbit_t *iB);
14 void gsm0503_xcch_interleave(const ubit_t *cB, ubit_t *iB);
15
16 void gsm0503_tch_fr_deinterleave(sbit_t *cB, const sbit_t *iB);
17 void gsm0503_tch_fr_interleave(const ubit_t *cB, ubit_t *iB);
18
19 void gsm0503_tch_hr_deinterleave(sbit_t *cB, const sbit_t *iB);
20 void gsm0503_tch_hr_interleave(const ubit_t *cB, ubit_t *iB);
21
22 void gsm0503_mcs1_ul_deinterleave(sbit_t *hc, sbit_t *dc, const sbit_t *iB);
23 void gsm0503_mcs1_ul_interleave(const ubit_t *hc,
24 const ubit_t *dc, ubit_t *iB);
25
26 void gsm0503_mcs1_dl_deinterleave(sbit_t *u, sbit_t *hc,
27 sbit_t *dc, const sbit_t *iB);
28 void gsm0503_mcs1_dl_interleave(const ubit_t *up, const ubit_t *hc,
29 const ubit_t *dc, ubit_t *iB);
30
31 void gsm0503_mcs5_ul_deinterleave(sbit_t *hc, sbit_t *dc,
32 const sbit_t *hi, const sbit_t *di);
33 void gsm0503_mcs5_ul_interleave(const ubit_t *hc, const ubit_t *dc,
34 ubit_t *hi, ubit_t *di);
35
36 void gsm0503_mcs5_dl_deinterleave(sbit_t *hc, sbit_t *dc,
37 const sbit_t *hi, const sbit_t *di);
38 void gsm0503_mcs5_dl_interleave(const ubit_t *hc, const ubit_t *dc,
39 ubit_t *hi, ubit_t *di);
40
41 void gsm0503_mcs7_ul_deinterleave(sbit_t *hc, sbit_t *c1, sbit_t *c2,
42 const sbit_t *hi, const sbit_t *di);
43 void gsm0503_mcs7_ul_interleave(const ubit_t *hc, const ubit_t *c1,
44 const ubit_t *c2, ubit_t *hi, ubit_t *di);
45
46 void gsm0503_mcs7_dl_deinterleave(sbit_t *hc, sbit_t *c1, sbit_t *c2,
47 const sbit_t *hi, const sbit_t *di);
48 void gsm0503_mcs7_dl_interleave(const ubit_t *hc, const ubit_t *c1,
49 const ubit_t *c2, ubit_t *hi, ubit_t *di);
50
51 void gsm0503_mcs8_ul_deinterleave(sbit_t *hc, sbit_t *c1, sbit_t *c2,
52 const sbit_t *hi, const sbit_t *di);
53 void gsm0503_mcs8_ul_interleave(const ubit_t *hc, const ubit_t *c1,
54 const ubit_t *c2, ubit_t *hi, ubit_t *di);
55
56 void gsm0503_mcs8_dl_deinterleave(sbit_t *hc, sbit_t *c1, sbit_t *c2,
57 const sbit_t *hi, const sbit_t *di);
58 void gsm0503_mcs8_dl_interleave(const ubit_t *hc, const ubit_t *c1,
59 const ubit_t *c2, ubit_t *hi, ubit_t *di);
60
61 void gsm0503_tch_f96_deinterleave(sbit_t *cB, const sbit_t *iB);
62 void gsm0503_tch_f96_interleave(const ubit_t *cB, ubit_t *iB);
63
bits.h
u
union osmo_sub_auth_data2::@125 u
ubit_t
uint8_t ubit_t
sbit_t
int8_t sbit_t
gsm0503_mcs8_ul_interleave
void gsm0503_mcs8_ul_interleave(const ubit_t *hc, const ubit_t *c1, const ubit_t *c2, ubit_t *hi, ubit_t *di)
Interleave MCS8 UL burst bits according to TS 05.03 5.1.12.2.4.
Definition: gsm0503_interleaving.c:482
gsm0503_tch_fr_deinterleave
void gsm0503_tch_fr_deinterleave(sbit_t *cB, const sbit_t *iB)
GSM TCH FR/EFR/AFS De-Interleaving and burst mapping.
Definition: gsm0503_interleaving.c:628
gsm0503_mcs5_ul_deinterleave
void gsm0503_mcs5_ul_deinterleave(sbit_t *hc, sbit_t *dc, const sbit_t *hi, const sbit_t *di)
De-Interleave MCS5 UL burst bits according to TS 05.03 5.1.9.2.4.
Definition: gsm0503_interleaving.c:281
gsm0503_xcch_deinterleave
void gsm0503_xcch_deinterleave(sbit_t *cB, const sbit_t *iB)
De-Interleave burst bits according to TS 05.03 4.1.4.
Definition: gsm0503_interleaving.c:82
gsm0503_tch_hr_interleave
void gsm0503_tch_hr_interleave(const ubit_t *cB, ubit_t *iB)
GSM TCH HR/AHS Interleaving and burst mapping.
Definition: gsm0503_interleaving.c:670
gsm0503_mcs7_ul_deinterleave
void gsm0503_mcs7_ul_deinterleave(sbit_t *hc, sbit_t *c1, sbit_t *c2, const sbit_t *hi, const sbit_t *di)
De-Interleave MCS7 UL burst bits according to TS 05.03 5.1.11.2.4.
Definition: gsm0503_interleaving.c:449
gsm0503_mcs5_ul_interleave
void gsm0503_mcs5_ul_interleave(const ubit_t *hc, const ubit_t *dc, ubit_t *hi, ubit_t *di)
Interleave MCS5 UL burst bits according to TS 05.03 5.1.9.2.4.
Definition: gsm0503_interleaving.c:259
gsm0503_mcs1_ul_deinterleave
void gsm0503_mcs1_ul_deinterleave(sbit_t *hc, sbit_t *dc, const sbit_t *iB)
Interleave MCS1 UL burst bits according to TS 05.03 5.1.5.2.4.
Definition: gsm0503_interleaving.c:190
gsm0503_mcs8_dl_interleave
void gsm0503_mcs8_dl_interleave(const ubit_t *hc, const ubit_t *c1, const ubit_t *c2, ubit_t *hi, ubit_t *di)
Interleave MCS8 DL burst bits according to TS 05.03 5.1.12.1.5.
Definition: gsm0503_interleaving.c:545
gsm0503_mcs1_dl_deinterleave
void gsm0503_mcs1_dl_deinterleave(sbit_t *u, sbit_t *hc, sbit_t *dc, const sbit_t *iB)
De-Interleave MCS1 DL burst bits according to TS 05.03 5.1.5.1.5.
Definition: gsm0503_interleaving.c:112
gsm0503_mcs5_dl_interleave
void gsm0503_mcs5_dl_interleave(const ubit_t *hc, const ubit_t *dc, ubit_t *hi, ubit_t *di)
Interleave MCS5 DL burst bits according to TS 05.03 5.1.9.1.5.
Definition: gsm0503_interleaving.c:308
gsm0503_tch_f96_deinterleave
void gsm0503_tch_f96_deinterleave(sbit_t *cB, const sbit_t *iB)
Definition: gsm0503_interleaving.c:718
gsm0503_mcs8_ul_deinterleave
void gsm0503_mcs8_ul_deinterleave(sbit_t *hc, sbit_t *c1, sbit_t *c2, const sbit_t *hi, const sbit_t *di)
De-Interleave MCS8 UL burst bits according to TS 05.03 5.1.12.2.4.
Definition: gsm0503_interleaving.c:512
gsm0503_mcs7_dl_deinterleave
void gsm0503_mcs7_dl_deinterleave(sbit_t *hc, sbit_t *c1, sbit_t *c2, const sbit_t *hi, const sbit_t *di)
De-Interleave MCS7 DL burst bits according to TS 05.03 5.1.11.1.5.
Definition: gsm0503_interleaving.c:387
gsm0503_mcs8_dl_deinterleave
void gsm0503_mcs8_dl_deinterleave(sbit_t *hc, sbit_t *c1, sbit_t *c2, const sbit_t *hi, const sbit_t *di)
De-Interleave MCS8 DL burst bits according to TS 05.03 5.1.12.1.5.
Definition: gsm0503_interleaving.c:574
gsm0503_mcs1_ul_interleave
void gsm0503_mcs1_ul_interleave(const ubit_t *hc, const ubit_t *dc, ubit_t *iB)
Interleave MCS1 DL burst bits according to TS 05.03 5.1.5.2.4.
Definition: gsm0503_interleaving.c:224
gsm0503_mcs7_ul_interleave
void gsm0503_mcs7_ul_interleave(const ubit_t *hc, const ubit_t *c1, const ubit_t *c2, ubit_t *hi, ubit_t *di)
Interleave MCS7 UL burst bits according to TS 05.03 5.1.11.2.4.
Definition: gsm0503_interleaving.c:420
gsm0503_tch_f96_interleave
void gsm0503_tch_f96_interleave(const ubit_t *cB, ubit_t *iB)
Definition: gsm0503_interleaving.c:704
gsm0503_mcs7_dl_interleave
void gsm0503_mcs7_dl_interleave(const ubit_t *hc, const ubit_t *c1, const ubit_t *c2, ubit_t *hi, ubit_t *di)
Interleave MCS7 DL burst bits according to TS 05.03 5.1.11.1.5.
Definition: gsm0503_interleaving.c:358
gsm0503_xcch_interleave
void gsm0503_xcch_interleave(const ubit_t *cB, ubit_t *iB)
Interleave burst bits according to TS 05.03 4.1.4.
Definition: gsm0503_interleaving.c:96
gsm0503_mcs5_dl_deinterleave
void gsm0503_mcs5_dl_deinterleave(sbit_t *hc, sbit_t *dc, const sbit_t *hi, const sbit_t *di)
De-Interleave MCS5 UL burst bits according to TS 05.03 5.1.9.1.5.
Definition: gsm0503_interleaving.c:330
gsm0503_mcs1_dl_interleave
void gsm0503_mcs1_dl_interleave(const ubit_t *up, const ubit_t *hc, const ubit_t *dc, ubit_t *iB)
Interleave MCS1 DL burst bits according to TS 05.03 5.1.5.1.5.
Definition: gsm0503_interleaving.c:153
gsm0503_tch_fr_interleave
void gsm0503_tch_fr_interleave(const ubit_t *cB, ubit_t *iB)
GSM TCH FR/EFR/AFS Interleaving and burst mapping.
Definition: gsm0503_interleaving.c:642
gsm0503_tch_hr_deinterleave
void gsm0503_tch_hr_deinterleave(sbit_t *cB, const sbit_t *iB)
GSM TCH HR/AHS De-Interleaving and burst mapping.
Definition: gsm0503_interleaving.c:656