diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-26 17:32:04 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-30 21:24:11 +0100 |
commit | d11290b90bb5f32a7d57affbe11bdadb24e42db0 (patch) | |
tree | aad9260528d069fab731ec88b59c49b96e15913d /src/decoding.h | |
parent | 6f9f434463d6ba0d195f0b36cd67b57e24b1c7e9 (diff) |
pdch/tbf: Move gprs_rlcmac_rcv_data_block_acknowledged into the pdch
Move the method into the PDCH. Extract the finding of TLLI into a
new class called Decoding. Move the assemble and forward LLC frames
into the TBF as it is poking in the internals of the TBF.
Diffstat (limited to 'src/decoding.h')
-rw-r--r-- | src/decoding.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/decoding.h b/src/decoding.h new file mode 100644 index 00000000..47983a2a --- /dev/null +++ b/src/decoding.h @@ -0,0 +1,28 @@ +/* decoding + * + * Copyright (C) 2012 Ivan Klyuchnikov + * Copyright (C) 2012 Andreas Eversberg <jolly@eversberg.eu> + * + * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ +#pragma once + +#include <stdint.h> + +class Decoding { +public: + static int tlli_from_ul_data(const uint8_t *data, uint8_t len, + uint32_t *tlli); +}; |