summaryrefslogtreecommitdiff
path: root/gsm-receiver/src/lib/decoder/openbtsstuff/GSM660Tables.h
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2010-10-23 22:04:16 +0200
committerHarald Welte <laforge@gnumonks.org>2010-10-30 11:09:53 +0200
commita9619b05d10df70fb6f0c10e9fe086b4f3f6f631 (patch)
tree219233bb0241fafd93c285c6ecece52a5155f303 /gsm-receiver/src/lib/decoder/openbtsstuff/GSM660Tables.h
parent0e5c3038339aa26bc29feb827b1c5b618d38ff99 (diff)
gsm-receiver: EFR support [1/3]: Add mapping tables for bit orderding
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'gsm-receiver/src/lib/decoder/openbtsstuff/GSM660Tables.h')
-rw-r--r--gsm-receiver/src/lib/decoder/openbtsstuff/GSM660Tables.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/gsm-receiver/src/lib/decoder/openbtsstuff/GSM660Tables.h b/gsm-receiver/src/lib/decoder/openbtsstuff/GSM660Tables.h
new file mode 100644
index 0000000..9d639fc
--- /dev/null
+++ b/gsm-receiver/src/lib/decoder/openbtsstuff/GSM660Tables.h
@@ -0,0 +1,31 @@
+/* EFR (GSM 06.60) importance bit ordering */
+
+/*
+ * Copyright 2010 Sylvain Munaut <tnt@246tNt.com>
+ * All Rights Reserved
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef GSM660TABLES_H
+#define GSM660TABLES_H
+
+namespace GSM {
+
+/** Table #6 from GSM 05.03 */
+extern unsigned int g660BitOrder[260];
+
+}
+
+#endif /* GSM660TABLES_H */
personal git repositories of Harald Welte. Your mileage may vary