/*
* (C) 2013 by Andreas Eversberg <jolly@eversberg.eu>
* (C) 2016 by Tom Tsou <tom.tsou@ettus.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 2 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, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <stdint.h>
#include <osmocom/core/bits.h>
#include <osmocom/coding/gsm0503_tables.h>
const ubit_t gsm0503_pdtch_hl_hn_ubit[4][8] = {
{ 1,1, 1,1, 1,1, 1,1 },
{ 1,1, 0,0, 1,0, 0,0 },
{ 0,0, 1,0, 0,0, 0,1 },
{ 0,0, 0,1, 0,1, 1,0 },
};
const ubit_t gsm0503_pdtch_edge_hl_hn_ubit[3][8] = {
{ 0,0, 0,1, 0,1, 1,0 },
{ 0,0, 0,0, 0,0, 0,0 },
{ 1,1, 1,0, 0,1, 1,1 },
};
const sbit_t gsm0503_pdtch_hl_hn_sbit[4][8] = {
{ -127,-127, -127,-127, -127,-127, -127,-127
|