\doxysection{include/osmocom/gmr1/l1/tch9.h File Reference}
\label{tch9_8h}\index{include/osmocom/gmr1/l1/tch9.h@{include/osmocom/gmr1/l1/tch9.h}}


Osmocom GMR-\/1 TCH9 channel coding header.  


{\ttfamily \#include $<$stdint.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/bits.\+h$>$}\newline
\doxysubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \textbf{ gmr1\+\_\+tch9\+\_\+mode} \{ \textbf{ GMR1\+\_\+\+TCH9\+\_\+2k4}
, \textbf{ GMR1\+\_\+\+TCH9\+\_\+4k8}
, \textbf{ GMR1\+\_\+\+TCH9\+\_\+9k6}
, \textbf{ GMR1\+\_\+\+TCH9\+\_\+\+MAX}
 \}
\begin{DoxyCompactList}\small\item\em TCH9 possible data rates. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \textbf{ gmr1\+\_\+tch9\+\_\+encode} (\textbf{ ubit\+\_\+t} $\ast$bits\+\_\+e, const uint8\+\_\+t $\ast$l2, enum \textbf{ gmr1\+\_\+tch9\+\_\+mode} mode, const \textbf{ ubit\+\_\+t} $\ast$bits\+\_\+sacch, const \textbf{ ubit\+\_\+t} $\ast$bits\+\_\+status, const \textbf{ ubit\+\_\+t} $\ast$ciph, struct \textbf{ gmr1\+\_\+interleaver} $\ast$il)
\begin{DoxyCompactList}\small\item\em GMR-\/1 TCH9 channel coder. \end{DoxyCompactList}\item 
void \textbf{ gmr1\+\_\+tch9\+\_\+decode} (uint8\+\_\+t $\ast$l2, \textbf{ sbit\+\_\+t} $\ast$bits\+\_\+sacch, \textbf{ sbit\+\_\+t} $\ast$bits\+\_\+status, const \textbf{ sbit\+\_\+t} $\ast$bits\+\_\+e, enum \textbf{ gmr1\+\_\+tch9\+\_\+mode} mode, const \textbf{ ubit\+\_\+t} $\ast$ciph, struct \textbf{ gmr1\+\_\+interleaver} $\ast$il, int $\ast$conv\+\_\+rv)
\begin{DoxyCompactList}\small\item\em GMR-\/1 TCH9 channel decoder. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Osmocom GMR-\/1 TCH9 channel coding header. 

