aboutsummaryrefslogtreecommitdiffstats
path: root/lib/decoding/osmocom/coding/gsm0503_mapping.h
diff options
context:
space:
mode:
authorPiotr Krysik <ptrkrysik@gmail.com>2017-08-22 15:56:20 +0200
committerPiotr Krysik <ptrkrysik@gmail.com>2017-08-22 15:56:20 +0200
commit344e9d2f47bf260323d1cd9d3382efb0b0beebb8 (patch)
tree2b4cddfd2b226791c94663ba39c2b575cb583e43 /lib/decoding/osmocom/coding/gsm0503_mapping.h
parent19586ab15d69a1883257e6c0a2dd4e12fddb02cd (diff)
parent81f9700762bd7d60d95c603402759215f4f97a92 (diff)
Merge branch 'libosmocore_integration' into packaging_piotr
# Conflicts: # python/receiver/gsm_wideband_input.py
Diffstat (limited to 'lib/decoding/osmocom/coding/gsm0503_mapping.h')
-rw-r--r--lib/decoding/osmocom/coding/gsm0503_mapping.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/decoding/osmocom/coding/gsm0503_mapping.h b/lib/decoding/osmocom/coding/gsm0503_mapping.h
new file mode 100644
index 0000000..4c6550a
--- /dev/null
+++ b/lib/decoding/osmocom/coding/gsm0503_mapping.h
@@ -0,0 +1,33 @@
+#pragma once
+
+#include <osmocom/core/bits.h>
+
+void gsm0503_xcch_burst_unmap(sbit_t *iB, const sbit_t *eB,
+ sbit_t *hl, sbit_t *hn);
+void gsm0503_xcch_burst_map(ubit_t *iB, ubit_t *eB, const ubit_t *hl,
+ const ubit_t *hn);
+
+void gsm0503_tch_burst_unmap(sbit_t *iB, sbit_t *eB, sbit_t *h, int odd);
+void gsm0503_tch_burst_map(ubit_t *iB, ubit_t *eB, const ubit_t *h, int odd);
+
+void gsm0503_mcs5_ul_burst_map(const ubit_t *di, ubit_t *eB,
+ const ubit_t *hi, int B);
+void gsm0503_mcs5_ul_burst_unmap(sbit_t *di, const sbit_t *eB,
+ sbit_t *hi, int B);
+
+void gsm0503_mcs7_ul_burst_map(const ubit_t *di, ubit_t *eB,
+ const ubit_t *hi, int B);
+void gsm0503_mcs7_ul_burst_unmap(sbit_t *di, const sbit_t *eB,
+ sbit_t *hi, int B);
+
+void gsm0503_mcs5_dl_burst_map(const ubit_t *di, ubit_t *eB,
+ const ubit_t *hi, const ubit_t *up, int B);
+void gsm0503_mcs5_dl_burst_unmap(sbit_t *di, const sbit_t *eB,
+ sbit_t *hi, sbit_t *up, int B);
+
+void gsm0503_mcs7_dl_burst_map(const ubit_t *di, ubit_t *eB,
+ const ubit_t *hi, const ubit_t *up, int B);
+void gsm0503_mcs7_dl_burst_unmap(sbit_t *di, const sbit_t *eB,
+ sbit_t *hi, sbit_t *up, int B);
+
+void gsm0503_mcs5_burst_swap(sbit_t *eB);