\doxysection{Interleaving}
\label{group__interleaving}\index{Interleaving@{Interleaving}}


GSM TS 05.\+03 interleaving.  


\doxysubsection*{Files}
\begin{DoxyCompactItemize}
\item 
file \textbf{ gsm0503\+\_\+interleaving.\+h}
\begin{DoxyCompactList}\small\item\em GSM TS 05.\+03 interleaving. \end{DoxyCompactList}\item 
file \textbf{ gsm0503\+\_\+interleaving.\+c}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \textbf{ gsm0503\+\_\+xcch\+\_\+deinterleave} (\textbf{ sbit\+\_\+t} $\ast$cB, const \textbf{ sbit\+\_\+t} $\ast$iB)
\begin{DoxyCompactList}\small\item\em De-\/\+Interleave burst bits according to TS 05.\+03 4.\+1.\+4. \end{DoxyCompactList}\item 
void \textbf{ gsm0503\+\_\+xcch\+\_\+interleave} (const \textbf{ ubit\+\_\+t} $\ast$cB, \textbf{ ubit\+\_\+t} $\ast$iB)
\begin{DoxyCompactList}\small\item\em Interleave burst bits according to TS 05.\+03 4.\+1.\+4. \end{DoxyCompactList}\item 
void \textbf{ gsm0503\+\_\+tch\+\_\+fr\+\_\+deinterleave} (\textbf{ sbit\+\_\+t} $\ast$cB, const \textbf{ sbit\+\_\+t} $\ast$iB)
\begin{DoxyCompactList}\small\item\em GSM TCH FR/\+EFR/\+AFS De-\/\+Interleaving and burst mapping. \end{DoxyCompactList}\item 
void \textbf{ gsm0503\+\_\+tch\+\_\+fr\+\_\+interleave} (const \textbf{ ubit\+\_\+t} $\ast$cB, \textbf{ ubit\+\_\+t} $\ast$iB)
\begin{DoxyCompactList}\small\item\em GSM TCH FR/\+EFR/\+AFS Interleaving and burst mapping. \end{DoxyCompactList}\item 
void \textbf{ gsm0503\+\_\+tch\+\_\+hr\+\_\+deinterleave} (\textbf{ sbit\+\_\+t} $\ast$cB, const \textbf{ sbit\+\_\+t} $\ast$iB)
\begin{DoxyCompactList}\small\item\em GSM TCH HR/\+AHS De-\/\+Interleaving and burst mapping. \end{DoxyCompactList}\item 
void \textbf{ gsm0503\+\_\+tch\+\_\+hr\+\_\+interleave} (const \textbf{ ubit\+\_\+t} $\ast$cB, \textbf{ ubit\+\_\+t} $\ast$iB)
\begin{DoxyCompactList}\small\item\em GSM TCH HR/\+AHS Interleaving and burst mapping. \end{DoxyCompactList}\item 
void \textbf{ gsm0503\+\_\+mcs1\+\_\+ul\+\_\+deinterleave} (\textbf{ sbit\+\_\+t} $\ast$hc, \textbf{ sbit\+\_\+t} $\ast$dc, const \textbf{ sbit\+\_\+t} $\ast$iB)
\begin{DoxyCompactList}\small\item\em Interleave MCS1 UL burst bits according to TS 05.\+03 5.\+1.\+5.\+2.\+4. \end{DoxyCompactList}\item 
void \textbf{ gsm0503\+\_\+mcs1\+\_\+ul\+\_\+interleave} (const \textbf{ ubit\+\_\+t} $\ast$hc, const \textbf{ ubit\+\_\+t} $\ast$dc, \textbf{ ubit\+\_\+t} $\ast$iB)
\begin{DoxyCompactList}\small\item\em Interleave MCS1 DL burst bits according to TS 05.\+03 5.\+1.\+5.\+2.\+4. \end{DoxyCompactList}\item 
void \textbf{ gsm0503\+\_\+mcs1\+\_\+dl\+\_\+deinterleave} (\textbf{ sbit\+\_\+t} $\ast$\textbf{ u}, \textbf{ sbit\+\_\+t} $\ast$hc, \textbf{ sbit\+\_\+t} $\ast$dc, const \textbf{ sbit\+\_\+t} $\ast$iB)
\begin{DoxyCompactList}\small\item\em De-\/\+Interleave MCS1 DL burst bits according to TS 05.\+03 5.\+1.\+5.\+1.\+5. \end{DoxyCompactList}\item 
void \textbf{ gsm0503\+\_\+mcs1\+\_\+dl\+\_\+interleave} (const \textbf{ ubit\+\_\+t} $\ast$up, const \textbf{ ubit\+\_\+t} $\ast$hc, const \textbf{ ubit\+\_\+t} $\ast$dc, \textbf{ ubit\+\_\+t} $\ast$iB)
\begin{DoxyCompactList}\small\item\em Interleave MCS1 DL burst bits according to TS 05.\+03 5.\+1.\+5.\+1.\+5. \end{DoxyCompactList}\item 
void \textbf{ gsm0503\+\_\+mcs5\+\_\+ul\+\_\+deinterleave} (\textbf{ sbit\+\_\+t} $\ast$hc, \textbf{ sbit\+\_\+t} $\ast$dc, const \textbf{ sbit\+\_\+t} $\ast$hi, const \textbf{ sbit\+\_\+t} $\ast$di)
\begin{DoxyCompactList}\small\item\em De-\/\+Interleave MCS5 UL burst bits according to TS 05.\+03 5.\+1.\+9.\+2.\+4. \end{DoxyCompactList}\item 
void \textbf{ gsm0503\+\_\+mcs5\+\_\+ul\+\_\+interleave} (const \textbf{ ubit\+\_\+t} $\ast$hc, const \textbf{ ubit\+\_\+t} $\ast$dc, \textbf{ ubit\+\_\+t} $\ast$hi, \textbf{ ubit\+\_\+t} $\ast$di)
\begin{DoxyCompactList}\small\item\em Interleave MCS5 UL burst bits according to TS 05.\+03 5.\+1.\+9.\+2.\+4. \end{DoxyCompactList}\item 
void \textbf{ gsm0503\+\_\+mcs5\+\_\+dl\+\_\+deinterleave} (\textbf{ sbit\+\_\+t} $\ast$hc, \textbf{ sbit\+\_\+t} $\ast$dc, const \textbf{ sbit\+\_\+t} $\ast$hi, const \textbf{ sbit\+\_\+t} $\ast$di)
\begin{DoxyCompactList}\small\item\em De-\/\+Interleave MCS5 UL burst bits according to TS 05.\+03 5.\+1.\+9.\+1.\+5. \end{DoxyCompactList}\item 
void \textbf{ gsm0503\+\_\+mcs5\+\_\+dl\+\_\+interleave} (const \textbf{ ubit\+\_\+t} $\ast$hc, const \textbf{ ubit\+\_\+t} $\ast$dc, \textbf{ ubit\+\_\+t} $\ast$hi, \textbf{ ubit\+\_\+t} $\ast$di)
\begin{DoxyCompactList}\small\item\em Interleave MCS5 DL burst bits according to TS 05.\+03 5.\+1.\+9.\+1.\+5. \end{DoxyCompactList}\item 
void \textbf{ gsm0503\+\_\+mcs7\+\_\+ul\+\_\+deinterleave} (\textbf{ sbit\+\_\+t} $\ast$hc, \textbf{ sbit\+\_\+t} $\ast$c1, \textbf{ sbit\+\_\+t} $\ast$c2, const \textbf{ sbit\+\_\+t} $\ast$hi, const \textbf{ sbit\+\_\+t} $\ast$di)
\begin{DoxyCompactList}\small\item\em De-\/\+Interleave MCS7 UL burst bits according to TS 05.\+03 5.\+1.\+11.\+2.\+4. \end{DoxyCompactList}\item 
void \textbf{ gsm0503\+\_\+mcs7\+\_\+ul\+\_\+interleave} (const \textbf{ ubit\+\_\+t} $\ast$hc, const \textbf{ ubit\+\_\+t} $\ast$c1, const \textbf{ ubit\+\_\+t} $\ast$c2, \textbf{ ubit\+\_\+t} $\ast$hi, \textbf{ ubit\+\_\+t} $\ast$di)
\begin{DoxyCompactList}\small\item\em Interleave MCS7 UL burst bits according to TS 05.\+03 5.\+1.\+11.\+2.\+4. \end{DoxyCompactList}\item 
void \textbf{ gsm0503\+\_\+mcs7\+\_\+dl\+\_\+deinterleave} (\textbf{ sbit\+\_\+t} $\ast$hc, \textbf{ sbit\+\_\+t} $\ast$c1, \textbf{ sbit\+\_\+t} $\ast$c2, const \textbf{ sbit\+\_\+t} $\ast$hi, const \textbf{ sbit\+\_\+t} $\ast$di)
\begin{DoxyCompactList}\small\item\em De-\/\+Interleave MCS7 DL burst bits according to TS 05.\+03 5.\+1.\+11.\+1.\+5. \end{DoxyCompactList}\item 
void \textbf{ gsm0503\+\_\+mcs7\+\_\+dl\+\_\+interleave} (const \textbf{ ubit\+\_\+t} $\ast$hc, const \textbf{ ubit\+\_\+t} $\ast$c1, const \textbf{ ubit\+\_\+t} $\ast$c2, \textbf{ ubit\+\_\+t} $\ast$hi, \textbf{ ubit\+\_\+t} $\ast$di)
\begin{DoxyCompactList}\small\item\em Interleave MCS7 DL burst bits according to TS 05.\+03 5.\+1.\+11.\+1.\+5. \end{DoxyCompactList}\item 
void \textbf{ gsm0503\+\_\+mcs8\+\_\+ul\+\_\+deinterleave} (\textbf{ sbit\+\_\+t} $\ast$hc, \textbf{ sbit\+\_\+t} $\ast$c1, \textbf{ sbit\+\_\+t} $\ast$c2, const \textbf{ sbit\+\_\+t} $\ast$hi, const \textbf{ sbit\+\_\+t} $\ast$di)
\begin{DoxyCompactList}\small\item\em De-\/\+Interleave MCS8 UL burst bits according to TS 05.\+03 5.\+1.\+12.\+2.\+4. \end{DoxyCompactList}\item 
void \textbf{ gsm0503\+\_\+mcs8\+\_\+ul\+\_\+interleave} (const \textbf{ ubit\+\_\+t} $\ast$hc, const \textbf{ ubit\+\_\+t} $\ast$c1, const \textbf{ ubit\+\_\+t} $\ast$c2, \textbf{ ubit\+\_\+t} $\ast$hi, \textbf{ ubit\+\_\+t} $\ast$di)
\begin{DoxyCompactList}\small\item\em Interleave MCS8 UL burst bits according to TS 05.\+03 5.\+1.\+12.\+2.\+4. \end{DoxyCompactList}\item 
void \textbf{ gsm0503\+\_\+mcs8\+\_\+dl\+\_\+deinterleave} (\textbf{ sbit\+\_\+t} $\ast$hc, \textbf{ sbit\+\_\+t} $\ast$c1, \textbf{ sbit\+\_\+t} $\ast$c2, const \textbf{ sbit\+\_\+t} $\ast$hi, const \textbf{ sbit\+\_\+t} $\ast$di)
\begin{DoxyCompactList}\small\item\em De-\/\+Interleave MCS8 DL burst bits according to TS 05.\+03 5.\+1.\+12.\+1.\+5. \end{DoxyCompactList}\item 
void \textbf{ gsm0503\+\_\+mcs8\+\_\+dl\+\_\+interleave} (const \textbf{ ubit\+\_\+t} $\ast$hc, const \textbf{ ubit\+\_\+t} $\ast$c1, const \textbf{ ubit\+\_\+t} $\ast$c2, \textbf{ ubit\+\_\+t} $\ast$hi, \textbf{ ubit\+\_\+t} $\ast$di)
\begin{DoxyCompactList}\small\item\em Interleave MCS8 DL burst bits according to TS 05.\+03 5.\+1.\+12.\+1.\+5. \end{DoxyCompactList}\item 
void \textbf{ gsm0503\+\_\+tch\+\_\+f96\+\_\+deinterleave} (\textbf{ sbit\+\_\+t} $\ast$cB, const \textbf{ sbit\+\_\+t} $\ast$iB)
\item 
void \textbf{ gsm0503\+\_\+tch\+\_\+f96\+\_\+interleave} (const \textbf{ ubit\+\_\+t} $\ast$cB, \textbf{ ubit\+\_\+t} $\ast$iB)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
GSM TS 05.\+03 interleaving. 

This module contains interleaving / de-\/interleaving routines for various channel types, as defined in 3GPP TS 05.\+03 / 45.\+003.

GSM x\+CCH interleaving and burst mapping\+:

Interleaving\+:

Given 456 coded input bits, form 4 blocks of 114 bits\+: \begin{DoxyVerb} i(B, j) = c(n, k)       k = 0, ..., 455
                         n = 0, ..., N, N + 1, ...
                         B = B_0 + 4n + (k mod 4)
                         j = 2(49k mod 57) + ((k mod 8) div 4)
\end{DoxyVerb}
 Mapping on Burst\+: \begin{DoxyVerb} e(B, j) = i(B, j)
 e(B, 59 + j) = i(B, 57 + j)     j = 0, ..., 56
 e(B, 57) = h_l(B)
 e(B, 58) = h_n(B)
\end{DoxyVerb}
 Where hl(\+B) and hn(\+B) are bits in burst B indicating flags.

GSM TCH HR/\+AHS interleaving and burst mapping\+:

Interleaving\+:

Given 288 coded input bits, form 4 blocks of 114 bits, where even bits of the first 2 blocks and odd bits of the last 2 blocks are used\+: \begin{DoxyVerb} i(B, j) = c(n, k)       k = 0, ..., 227
                         n = 0, ..., N, N + 1, ...
                         B = B_0 + 2n + b
                         j, b = table[k];
\end{DoxyVerb}
 Mapping on Burst\+: \begin{DoxyVerb} e(B, j) = i(B, j)
 e(B, 59 + j) = i(B, 57 + j)     j = 0, ..., 56
 e(B, 57) = h_l(B)
 e(B, 58) = h_n(B)
\end{DoxyVerb}
 Where hl(\+B) and hn(\+B) are bits in burst B indicating flags. 

\doxysubsection{Function Documentation}
\mbox{\label{group__interleaving_ga81589d3d4915e770a388e94403df6c98}} 
\index{Interleaving@{Interleaving}!gsm0503\_mcs1\_dl\_deinterleave@{gsm0503\_mcs1\_dl\_deinterleave}}
\index{gsm0503\_mcs1\_dl\_deinterleave@{gsm0503\_mcs1\_dl\_deinterleave}!Interleaving@{Interleaving}}
\doxysubsubsection{gsm0503\_mcs1\_dl\_deinterleave()}
{\footnotesize\ttfamily void gsm0503\+\_\+mcs1\+\_\+dl\+\_\+deinterleave (\begin{DoxyParamCaption}\item[{\textbf{ sbit\+\_\+t} $\ast$}]{u,  }\item[{\textbf{ sbit\+\_\+t} $\ast$}]{hc,  }\item[{\textbf{ sbit\+\_\+t} $\ast$}]{dc,  }\item[{const \textbf{ sbit\+\_\+t} $\ast$}]{iB }\end{DoxyParamCaption})}



De-\/\+Interleave MCS1 DL burst bits according to TS 05.\+03 5.\+1.\+5.\+1.\+5. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em u} & caller-\/allocated output buffer for 12 soft coded bits \\
\hline
\mbox{\texttt{ out}}  & {\em hc} & caller-\/allocated output buffer for 68 soft coded bits \\
\hline
\mbox{\texttt{ out}}  & {\em dc} & caller-\/allocated output buffer for 372 soft coded bits \\
\hline
\mbox{\texttt{ in}}  & {\em iB} & 452 interleaved soft input bits \\
\hline
\end{DoxyParams}


References \textbf{ c}, \textbf{ gsm0503\+\_\+xcch\+\_\+deinterleave()}, \textbf{ k}, and \textbf{ u}.

\mbox{\label{group__interleaving_gae9fa50f63410a5c426f2a2108bb91794}} 
\index{Interleaving@{Interleaving}!gsm0503\_mcs1\_dl\_interleave@{gsm0503\_mcs1\_dl\_interleave}}
\index{gsm0503\_mcs1\_dl\_interleave@{gsm0503\_mcs1\_dl\_interleave}!Interleaving@{Interleaving}}
\doxysubsubsection{gsm0503\_mcs1\_dl\_interleave()}
{\footnotesize\ttfamily void gsm0503\+\_\+mcs1\+\_\+dl\+\_\+interleave (\begin{DoxyParamCaption}\item[{const \textbf{ ubit\+\_\+t} $\ast$}]{up,  }\item[{const \textbf{ ubit\+\_\+t} $\ast$}]{hc,  }\item[{const \textbf{ ubit\+\_\+t} $\ast$}]{dc,  }\item[{\textbf{ ubit\+\_\+t} $\ast$}]{iB }\end{DoxyParamCaption})}



Interleave MCS1 DL burst bits according to TS 05.\+03 5.\+1.\+5.\+1.\+5. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em up} & 12 input soft coded bits (usf) \\
\hline
\mbox{\texttt{ in}}  & {\em hc} & 68 input soft coded bits (header) \\
\hline
\mbox{\texttt{ in}}  & {\em dc} & 372 input soft bits (data) \\
\hline
\mbox{\texttt{ out}}  & {\em iB} & 456 interleaved soft output bits \\
\hline
\end{DoxyParams}


References \textbf{ c}, \textbf{ gsm0503\+\_\+xcch\+\_\+interleave()}, and \textbf{ k}.



Referenced by \textbf{ egprs\+\_\+type3\+\_\+map()}.

\mbox{\label{group__interleaving_ga5ee74b434dbc0f265de35498363f1654}} 
\index{Interleaving@{Interleaving}!gsm0503\_mcs1\_ul\_deinterleave@{gsm0503\_mcs1\_ul\_deinterleave}}
\index{gsm0503\_mcs1\_ul\_deinterleave@{gsm0503\_mcs1\_ul\_deinterleave}!Interleaving@{Interleaving}}
\doxysubsubsection{gsm0503\_mcs1\_ul\_deinterleave()}
{\footnotesize\ttfamily void gsm0503\+\_\+mcs1\+\_\+ul\+\_\+deinterleave (\begin{DoxyParamCaption}\item[{\textbf{ sbit\+\_\+t} $\ast$}]{hc,  }\item[{\textbf{ sbit\+\_\+t} $\ast$}]{dc,  }\item[{const \textbf{ sbit\+\_\+t} $\ast$}]{iB }\end{DoxyParamCaption})}



Interleave MCS1 UL burst bits according to TS 05.\+03 5.\+1.\+5.\+2.\+4. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em hc} & caller-\/allocated output buffer for 80 soft coded header bits \\
\hline
\mbox{\texttt{ out}}  & {\em dc} & caller-\/allocated output buffer for 372 soft coded data bits \\
\hline
\mbox{\texttt{ in}}  & {\em iB} & 456 interleaved soft input bits \\
\hline
\end{DoxyParams}


References \textbf{ c}, \textbf{ gsm0503\+\_\+xcch\+\_\+deinterleave()}, and \textbf{ k}.



Referenced by \textbf{ egprs\+\_\+type3\+\_\+unmap()}.

\mbox{\label{group__interleaving_gac8e26223db42ebf7f6077790ca5b3d3a}} 
\index{Interleaving@{Interleaving}!gsm0503\_mcs1\_ul\_interleave@{gsm0503\_mcs1\_ul\_interleave}}
\index{gsm0503\_mcs1\_ul\_interleave@{gsm0503\_mcs1\_ul\_interleave}!Interleaving@{Interleaving}}
\doxysubsubsection{gsm0503\_mcs1\_ul\_interleave()}
{\footnotesize\ttfamily void gsm0503\+\_\+mcs1\+\_\+ul\+\_\+interleave (\begin{DoxyParamCaption}\item[{const \textbf{ ubit\+\_\+t} $\ast$}]{hc,  }\item[{const \textbf{ ubit\+\_\+t} $\ast$}]{dc,  }\item[{\textbf{ ubit\+\_\+t} $\ast$}]{iB }\end{DoxyParamCaption})}



Interleave MCS1 DL burst bits according to TS 05.\+03 5.\+1.\+5.\+2.\+4. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em hc} & 80 input coded bits (header) \\
\hline
\mbox{\texttt{ in}}  & {\em dc} & 372 input bits (data) \\
\hline
\mbox{\texttt{ out}}  & {\em iB} & 456 interleaved output bits \\
\hline
\end{DoxyParams}


References \textbf{ c}, \textbf{ gsm0503\+\_\+xcch\+\_\+interleave()}, and \textbf{ k}.

\mbox{\label{group__interleaving_gae96b81ae789be250fd405c724d013066}} 
\index{Interleaving@{Interleaving}!gsm0503\_mcs5\_dl\_deinterleave@{gsm0503\_mcs5\_dl\_deinterleave}}
\index{gsm0503\_mcs5\_dl\_deinterleave@{gsm0503\_mcs5\_dl\_deinterleave}!Interleaving@{Interleaving}}
\doxysubsubsection{gsm0503\_mcs5\_dl\_deinterleave()}
{\footnotesize\ttfamily void gsm0503\+\_\+mcs5\+\_\+dl\+\_\+deinterleave (\begin{DoxyParamCaption}\item[{\textbf{ sbit\+\_\+t} $\ast$}]{hc,  }\item[{\textbf{ sbit\+\_\+t} $\ast$}]{dc,  }\item[{const \textbf{ sbit\+\_\+t} $\ast$}]{hi,  }\item[{const \textbf{ sbit\+\_\+t} $\ast$}]{di }\end{DoxyParamCaption})}



De-\/\+Interleave MCS5 UL burst bits according to TS 05.\+03 5.\+1.\+9.\+1.\+5. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em hc} & caller-\/allocated output buffer for 100 soft coded header bits \\
\hline
\mbox{\texttt{ out}}  & {\em dc} & caller-\/allocated output buffer for 1248 soft coded data bits \\
\hline
\mbox{\texttt{ in}}  & {\em iB} & interleaved soft input bits \\
\hline
\end{DoxyParams}


References \textbf{ gsm0503\+\_\+interleave\+\_\+mcs5}, and \textbf{ k}.

\mbox{\label{group__interleaving_ga823521ec966cca0e39767121c21e1a25}} 
\index{Interleaving@{Interleaving}!gsm0503\_mcs5\_dl\_interleave@{gsm0503\_mcs5\_dl\_interleave}}
\index{gsm0503\_mcs5\_dl\_interleave@{gsm0503\_mcs5\_dl\_interleave}!Interleaving@{Interleaving}}
\doxysubsubsection{gsm0503\_mcs5\_dl\_interleave()}
{\footnotesize\ttfamily void gsm0503\+\_\+mcs5\+\_\+dl\+\_\+interleave (\begin{DoxyParamCaption}\item[{const \textbf{ ubit\+\_\+t} $\ast$}]{hc,  }\item[{const \textbf{ ubit\+\_\+t} $\ast$}]{dc,  }\item[{\textbf{ ubit\+\_\+t} $\ast$}]{hi,  }\item[{\textbf{ ubit\+\_\+t} $\ast$}]{di }\end{DoxyParamCaption})}



Interleave MCS5 DL burst bits according to TS 05.\+03 5.\+1.\+9.\+1.\+5. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em hc} & 100 soft coded header input bits \\
\hline
\mbox{\texttt{ in}}  & {\em dc} & 1248 soft coded data input bits \\
\hline
\mbox{\texttt{ out}}  & {\em hi} & 100 interleaved header output bits \\
\hline
\mbox{\texttt{ out}}  & {\em di} & 1248 interleaved data output bits \\
\hline
\end{DoxyParams}


References \textbf{ gsm0503\+\_\+interleave\+\_\+mcs5}, and \textbf{ k}.



Referenced by \textbf{ egprs\+\_\+type2\+\_\+map()}.

\mbox{\label{group__interleaving_ga03051da872deec5d796776479d037581}} 
\index{Interleaving@{Interleaving}!gsm0503\_mcs5\_ul\_deinterleave@{gsm0503\_mcs5\_ul\_deinterleave}}
\index{gsm0503\_mcs5\_ul\_deinterleave@{gsm0503\_mcs5\_ul\_deinterleave}!Interleaving@{Interleaving}}
\doxysubsubsection{gsm0503\_mcs5\_ul\_deinterleave()}
{\footnotesize\ttfamily void gsm0503\+\_\+mcs5\+\_\+ul\+\_\+deinterleave (\begin{DoxyParamCaption}\item[{\textbf{ sbit\+\_\+t} $\ast$}]{hc,  }\item[{\textbf{ sbit\+\_\+t} $\ast$}]{dc,  }\item[{const \textbf{ sbit\+\_\+t} $\ast$}]{hi,  }\item[{const \textbf{ sbit\+\_\+t} $\ast$}]{di }\end{DoxyParamCaption})}



De-\/\+Interleave MCS5 UL burst bits according to TS 05.\+03 5.\+1.\+9.\+2.\+4. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em hc} & caller-\/allocated output buffer for 136 soft coded header bits \\
\hline
\mbox{\texttt{ out}}  & {\em dc} & caller-\/allocated output buffer for 1248 soft coded data bits \\
\hline
\mbox{\texttt{ in}}  & {\em iB} & interleaved soft input bits \\
\hline
\end{DoxyParams}


References \textbf{ gsm0503\+\_\+interleave\+\_\+mcs5}, and \textbf{ k}.



Referenced by \textbf{ egprs\+\_\+type2\+\_\+unmap()}.

\mbox{\label{group__interleaving_ga5c5348f53242dedba6d7bcbaca0a33a6}} 
\index{Interleaving@{Interleaving}!gsm0503\_mcs5\_ul\_interleave@{gsm0503\_mcs5\_ul\_interleave}}
\index{gsm0503\_mcs5\_ul\_interleave@{gsm0503\_mcs5\_ul\_interleave}!Interleaving@{Interleaving}}
\doxysubsubsection{gsm0503\_mcs5\_ul\_interleave()}
{\footnotesize\ttfamily void gsm0503\+\_\+mcs5\+\_\+ul\+\_\+interleave (\begin{DoxyParamCaption}\item[{const \textbf{ ubit\+\_\+t} $\ast$}]{hc,  }\item[{const \textbf{ ubit\+\_\+t} $\ast$}]{dc,  }\item[{\textbf{ ubit\+\_\+t} $\ast$}]{hi,  }\item[{\textbf{ ubit\+\_\+t} $\ast$}]{di }\end{DoxyParamCaption})}



Interleave MCS5 UL burst bits according to TS 05.\+03 5.\+1.\+9.\+2.\+4. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em hc} & 136 soft coded header input bits \\
\hline
\mbox{\texttt{ in}}  & {\em dc} & 1248 soft coded data input bits \\
\hline
\mbox{\texttt{ out}}  & {\em hi} & 136 interleaved header output bits \\
\hline
\mbox{\texttt{ out}}  & {\em di} & 1248 interleaved data output bits \\
\hline
\end{DoxyParams}


References \textbf{ gsm0503\+\_\+interleave\+\_\+mcs5}, and \textbf{ k}.

\mbox{\label{group__interleaving_gabbfc984c6e557520dd6fec7a92e8cd13}} 
\index{Interleaving@{Interleaving}!gsm0503\_mcs7\_dl\_deinterleave@{gsm0503\_mcs7\_dl\_deinterleave}}
\index{gsm0503\_mcs7\_dl\_deinterleave@{gsm0503\_mcs7\_dl\_deinterleave}!Interleaving@{Interleaving}}
\doxysubsubsection{gsm0503\_mcs7\_dl\_deinterleave()}
{\footnotesize\ttfamily void gsm0503\+\_\+mcs7\+\_\+dl\+\_\+deinterleave (\begin{DoxyParamCaption}\item[{\textbf{ sbit\+\_\+t} $\ast$}]{hc,  }\item[{\textbf{ sbit\+\_\+t} $\ast$}]{c1,  }\item[{\textbf{ sbit\+\_\+t} $\ast$}]{c2,  }\item[{const \textbf{ sbit\+\_\+t} $\ast$}]{hi,  }\item[{const \textbf{ sbit\+\_\+t} $\ast$}]{di }\end{DoxyParamCaption})}



De-\/\+Interleave MCS7 DL burst bits according to TS 05.\+03 5.\+1.\+11.\+1.\+5. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em hc} & caller-\/allocated output buffer for 124 soft coded header bits \\
\hline
\mbox{\texttt{ out}}  & {\em c1} & caller-\/allocated output buffer for 612 soft coded data bits \\
\hline
\mbox{\texttt{ out}}  & {\em c2} & caller-\/allocated output buffer for 612 soft coded data bits \\
\hline
\mbox{\texttt{ in}}  & {\em hi} & interleaved soft input header bits \\
\hline
\mbox{\texttt{ in}}  & {\em di} & interleaved soft input data bits \\
\hline
\end{DoxyParams}


References \textbf{ k}.

\mbox{\label{group__interleaving_gadcce2f23545835ed75c896ffda3df2fb}} 
\index{Interleaving@{Interleaving}!gsm0503\_mcs7\_dl\_interleave@{gsm0503\_mcs7\_dl\_interleave}}
\index{gsm0503\_mcs7\_dl\_interleave@{gsm0503\_mcs7\_dl\_interleave}!Interleaving@{Interleaving}}
\doxysubsubsection{gsm0503\_mcs7\_dl\_interleave()}
{\footnotesize\ttfamily void gsm0503\+\_\+mcs7\+\_\+dl\+\_\+interleave (\begin{DoxyParamCaption}\item[{const \textbf{ ubit\+\_\+t} $\ast$}]{hc,  }\item[{const \textbf{ ubit\+\_\+t} $\ast$}]{c1,  }\item[{const \textbf{ ubit\+\_\+t} $\ast$}]{c2,  }\item[{\textbf{ ubit\+\_\+t} $\ast$}]{hi,  }\item[{\textbf{ ubit\+\_\+t} $\ast$}]{di }\end{DoxyParamCaption})}



Interleave MCS7 DL burst bits according to TS 05.\+03 5.\+1.\+11.\+1.\+5. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em hc} & 124 soft coded header input bits \\
\hline
\mbox{\texttt{ in}}  & {\em c1} & 612 soft coded data input bits \\
\hline
\mbox{\texttt{ in}}  & {\em c2} & 612 soft coded data input bits \\
\hline
\mbox{\texttt{ out}}  & {\em hi} & 124 interleaved header output bits \\
\hline
\mbox{\texttt{ out}}  & {\em di} & 1224 interleaved data output bits \\
\hline
\end{DoxyParams}


References \textbf{ k}.



Referenced by \textbf{ egprs\+\_\+type1\+\_\+map()}.

\mbox{\label{group__interleaving_ga3cf661a8b1cb18b1085e15a7b7334dfd}} 
\index{Interleaving@{Interleaving}!gsm0503\_mcs7\_ul\_deinterleave@{gsm0503\_mcs7\_ul\_deinterleave}}
\index{gsm0503\_mcs7\_ul\_deinterleave@{gsm0503\_mcs7\_ul\_deinterleave}!Interleaving@{Interleaving}}
\doxysubsubsection{gsm0503\_mcs7\_ul\_deinterleave()}
{\footnotesize\ttfamily void gsm0503\+\_\+mcs7\+\_\+ul\+\_\+deinterleave (\begin{DoxyParamCaption}\item[{\textbf{ sbit\+\_\+t} $\ast$}]{hc,  }\item[{\textbf{ sbit\+\_\+t} $\ast$}]{c1,  }\item[{\textbf{ sbit\+\_\+t} $\ast$}]{c2,  }\item[{const \textbf{ sbit\+\_\+t} $\ast$}]{hi,  }\item[{const \textbf{ sbit\+\_\+t} $\ast$}]{di }\end{DoxyParamCaption})}



De-\/\+Interleave MCS7 UL burst bits according to TS 05.\+03 5.\+1.\+11.\+2.\+4. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em hc} & caller-\/allocated output buffer for 160 soft coded header bits \\
\hline
\mbox{\texttt{ out}}  & {\em c1} & caller-\/allocated output buffer for 612 soft coded data bits \\
\hline
\mbox{\texttt{ out}}  & {\em c2} & caller-\/allocated output buffer for 612 soft coded data bits \\
\hline
\mbox{\texttt{ in}}  & {\em hi} & interleaved soft input header bits \\
\hline
\mbox{\texttt{ in}}  & {\em di} & interleaved soft input data bits \\
\hline
\end{DoxyParams}


References \textbf{ k}.



Referenced by \textbf{ egprs\+\_\+type1\+\_\+unmap()}.

\mbox{\label{group__interleaving_gad5a5d53070044ea1625420561d81a3d7}} 
\index{Interleaving@{Interleaving}!gsm0503\_mcs7\_ul\_interleave@{gsm0503\_mcs7\_ul\_interleave}}
\index{gsm0503\_mcs7\_ul\_interleave@{gsm0503\_mcs7\_ul\_interleave}!Interleaving@{Interleaving}}
\doxysubsubsection{gsm0503\_mcs7\_ul\_interleave()}
{\footnotesize\ttfamily void gsm0503\+\_\+mcs7\+\_\+ul\+\_\+interleave (\begin{DoxyParamCaption}\item[{const \textbf{ ubit\+\_\+t} $\ast$}]{hc,  }\item[{const \textbf{ ubit\+\_\+t} $\ast$}]{c1,  }\item[{const \textbf{ ubit\+\_\+t} $\ast$}]{c2,  }\item[{\textbf{ ubit\+\_\+t} $\ast$}]{hi,  }\item[{\textbf{ ubit\+\_\+t} $\ast$}]{di }\end{DoxyParamCaption})}



Interleave MCS7 UL burst bits according to TS 05.\+03 5.\+1.\+11.\+2.\+4. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em hc} & 124 soft coded header input bits \\
\hline
\mbox{\texttt{ in}}  & {\em c1} & 612 soft coded data input bits \\
\hline
\mbox{\texttt{ in}}  & {\em c2} & 612 soft coded data input bits \\
\hline
\mbox{\texttt{ out}}  & {\em hi} & 124 interleaved header output bits \\
\hline
\mbox{\texttt{ out}}  & {\em di} & 1224 interleaved data output bits \\
\hline
\end{DoxyParams}


References \textbf{ k}.

\mbox{\label{group__interleaving_gac2c40b91086207efa44cf2e6f93b168d}} 
\index{Interleaving@{Interleaving}!gsm0503\_mcs8\_dl\_deinterleave@{gsm0503\_mcs8\_dl\_deinterleave}}
\index{gsm0503\_mcs8\_dl\_deinterleave@{gsm0503\_mcs8\_dl\_deinterleave}!Interleaving@{Interleaving}}
\doxysubsubsection{gsm0503\_mcs8\_dl\_deinterleave()}
{\footnotesize\ttfamily void gsm0503\+\_\+mcs8\+\_\+dl\+\_\+deinterleave (\begin{DoxyParamCaption}\item[{\textbf{ sbit\+\_\+t} $\ast$}]{hc,  }\item[{\textbf{ sbit\+\_\+t} $\ast$}]{c1,  }\item[{\textbf{ sbit\+\_\+t} $\ast$}]{c2,  }\item[{const \textbf{ sbit\+\_\+t} $\ast$}]{hi,  }\item[{const \textbf{ sbit\+\_\+t} $\ast$}]{di }\end{DoxyParamCaption})}



De-\/\+Interleave MCS8 DL burst bits according to TS 05.\+03 5.\+1.\+12.\+1.\+5. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em hc} & caller-\/allocated output buffer for 124 soft coded header bits \\
\hline
\mbox{\texttt{ out}}  & {\em c1} & caller-\/allocated output buffer for 612 soft coded data bits \\
\hline
\mbox{\texttt{ out}}  & {\em c2} & caller-\/allocated output buffer for 612 soft coded data bits \\
\hline
\mbox{\texttt{ in}}  & {\em hi} & interleaved soft input header bits \\
\hline
\mbox{\texttt{ in}}  & {\em di} & interleaved soft input data bits \\
\hline
\end{DoxyParams}


References \textbf{ k}.

\mbox{\label{group__interleaving_ga795ad80e6073d8d62b369dcb9ff76861}} 
\index{Interleaving@{Interleaving}!gsm0503\_mcs8\_dl\_interleave@{gsm0503\_mcs8\_dl\_interleave}}
\index{gsm0503\_mcs8\_dl\_interleave@{gsm0503\_mcs8\_dl\_interleave}!Interleaving@{Interleaving}}
\doxysubsubsection{gsm0503\_mcs8\_dl\_interleave()}
{\footnotesize\ttfamily void gsm0503\+\_\+mcs8\+\_\+dl\+\_\+interleave (\begin{DoxyParamCaption}\item[{const \textbf{ ubit\+\_\+t} $\ast$}]{hc,  }\item[{const \textbf{ ubit\+\_\+t} $\ast$}]{c1,  }\item[{const \textbf{ ubit\+\_\+t} $\ast$}]{c2,  }\item[{\textbf{ ubit\+\_\+t} $\ast$}]{hi,  }\item[{\textbf{ ubit\+\_\+t} $\ast$}]{di }\end{DoxyParamCaption})}



Interleave MCS8 DL burst bits according to TS 05.\+03 5.\+1.\+12.\+1.\+5. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em hc} & 124 soft coded header input bits \\
\hline
\mbox{\texttt{ in}}  & {\em c1} & 612 soft coded data input bits \\
\hline
\mbox{\texttt{ in}}  & {\em c2} & 612 soft coded data input bits \\
\hline
\mbox{\texttt{ out}}  & {\em hi} & 124 interleaved header output bits \\
\hline
\mbox{\texttt{ out}}  & {\em di} & 1224 interleaved data output bits \\
\hline
\end{DoxyParams}


References \textbf{ k}.



Referenced by \textbf{ egprs\+\_\+type1\+\_\+map()}.

\mbox{\label{group__interleaving_gab43bb10f502a58e95d97960457c44826}} 
\index{Interleaving@{Interleaving}!gsm0503\_mcs8\_ul\_deinterleave@{gsm0503\_mcs8\_ul\_deinterleave}}
\index{gsm0503\_mcs8\_ul\_deinterleave@{gsm0503\_mcs8\_ul\_deinterleave}!Interleaving@{Interleaving}}
\doxysubsubsection{gsm0503\_mcs8\_ul\_deinterleave()}
{\footnotesize\ttfamily void gsm0503\+\_\+mcs8\+\_\+ul\+\_\+deinterleave (\begin{DoxyParamCaption}\item[{\textbf{ sbit\+\_\+t} $\ast$}]{hc,  }\item[{\textbf{ sbit\+\_\+t} $\ast$}]{c1,  }\item[{\textbf{ sbit\+\_\+t} $\ast$}]{c2,  }\item[{const \textbf{ sbit\+\_\+t} $\ast$}]{hi,  }\item[{const \textbf{ sbit\+\_\+t} $\ast$}]{di }\end{DoxyParamCaption})}



De-\/\+Interleave MCS8 UL burst bits according to TS 05.\+03 5.\+1.\+12.\+2.\+4. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em hc} & caller-\/allocated output buffer for 160 soft coded header bits \\
\hline
\mbox{\texttt{ out}}  & {\em c1} & caller-\/allocated output buffer for 612 soft coded data bits \\
\hline
\mbox{\texttt{ out}}  & {\em c2} & caller-\/allocated output buffer for 612 soft coded data bits \\
\hline
\mbox{\texttt{ in}}  & {\em hi} & interleaved soft input header bits \\
\hline
\mbox{\texttt{ in}}  & {\em di} & interleaved soft input data bits \\
\hline
\end{DoxyParams}


References \textbf{ k}.



Referenced by \textbf{ egprs\+\_\+type1\+\_\+unmap()}.

\mbox{\label{group__interleaving_ga00563a81cb2c0b9479ebaa6b31eaba3b}} 
\index{Interleaving@{Interleaving}!gsm0503\_mcs8\_ul\_interleave@{gsm0503\_mcs8\_ul\_interleave}}
\index{gsm0503\_mcs8\_ul\_interleave@{gsm0503\_mcs8\_ul\_interleave}!Interleaving@{Interleaving}}
\doxysubsubsection{gsm0503\_mcs8\_ul\_interleave()}
{\footnotesize\ttfamily void gsm0503\+\_\+mcs8\+\_\+ul\+\_\+interleave (\begin{DoxyParamCaption}\item[{const \textbf{ ubit\+\_\+t} $\ast$}]{hc,  }\item[{const \textbf{ ubit\+\_\+t} $\ast$}]{c1,  }\item[{const \textbf{ ubit\+\_\+t} $\ast$}]{c2,  }\item[{\textbf{ ubit\+\_\+t} $\ast$}]{hi,  }\item[{\textbf{ ubit\+\_\+t} $\ast$}]{di }\end{DoxyParamCaption})}



Interleave MCS8 UL burst bits according to TS 05.\+03 5.\+1.\+12.\+2.\+4. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em hc} & 160 soft coded header input bits \\
\hline
\mbox{\texttt{ in}}  & {\em c1} & 612 soft coded data input bits \\
\hline
\mbox{\texttt{ in}}  & {\em c2} & 612 soft coded data input bits \\
\hline
\mbox{\texttt{ out}}  & {\em hi} & 160 interleaved header output bits \\
\hline
\mbox{\texttt{ out}}  & {\em di} & 1224 interleaved data output bits \\
\hline
\end{DoxyParams}


References \textbf{ k}.

\mbox{\label{group__interleaving_gab303e72e8b0f9733c0f900eb0dec1b81}} 
\index{Interleaving@{Interleaving}!gsm0503\_tch\_f96\_deinterleave@{gsm0503\_tch\_f96\_deinterleave}}
\index{gsm0503\_tch\_f96\_deinterleave@{gsm0503\_tch\_f96\_deinterleave}!Interleaving@{Interleaving}}
\doxysubsubsection{gsm0503\_tch\_f96\_deinterleave()}
{\footnotesize\ttfamily void gsm0503\+\_\+tch\+\_\+f96\+\_\+deinterleave (\begin{DoxyParamCaption}\item[{\textbf{ sbit\+\_\+t} $\ast$}]{cB,  }\item[{const \textbf{ sbit\+\_\+t} $\ast$}]{iB }\end{DoxyParamCaption})}



References \textbf{ B}, and \textbf{ k}.



Referenced by \textbf{ gsm0503\+\_\+tch\+\_\+fr144\+\_\+decode()}, \textbf{ gsm0503\+\_\+tch\+\_\+fr48\+\_\+decode()}, \textbf{ gsm0503\+\_\+tch\+\_\+fr96\+\_\+decode()}, and \textbf{ gsm0503\+\_\+tch\+\_\+hr24\+\_\+decode()}.

\mbox{\label{group__interleaving_gad9641aee25f99282d315bed555f23cf2}} 
\index{Interleaving@{Interleaving}!gsm0503\_tch\_f96\_interleave@{gsm0503\_tch\_f96\_interleave}}
\index{gsm0503\_tch\_f96\_interleave@{gsm0503\_tch\_f96\_interleave}!Interleaving@{Interleaving}}
\doxysubsubsection{gsm0503\_tch\_f96\_interleave()}
{\footnotesize\ttfamily void gsm0503\+\_\+tch\+\_\+f96\+\_\+interleave (\begin{DoxyParamCaption}\item[{const \textbf{ ubit\+\_\+t} $\ast$}]{cB,  }\item[{\textbf{ ubit\+\_\+t} $\ast$}]{iB }\end{DoxyParamCaption})}



References \textbf{ B}, and \textbf{ k}.



Referenced by \textbf{ gsm0503\+\_\+tch\+\_\+fr144\+\_\+encode()}, \textbf{ gsm0503\+\_\+tch\+\_\+fr48\+\_\+encode()}, \textbf{ gsm0503\+\_\+tch\+\_\+fr96\+\_\+encode()}, and \textbf{ gsm0503\+\_\+tch\+\_\+hr24\+\_\+encode()}.

\mbox{\label{group__interleaving_ga00d38b38065aec4400266d4a2fac140b}} 
\index{Interleaving@{Interleaving}!gsm0503\_tch\_fr\_deinterleave@{gsm0503\_tch\_fr\_deinterleave}}
\index{gsm0503\_tch\_fr\_deinterleave@{gsm0503\_tch\_fr\_deinterleave}!Interleaving@{Interleaving}}
\doxysubsubsection{gsm0503\_tch\_fr\_deinterleave()}
{\footnotesize\ttfamily void gsm0503\+\_\+tch\+\_\+fr\+\_\+deinterleave (\begin{DoxyParamCaption}\item[{\textbf{ sbit\+\_\+t} $\ast$}]{cB,  }\item[{const \textbf{ sbit\+\_\+t} $\ast$}]{iB }\end{DoxyParamCaption})}



GSM TCH FR/\+EFR/\+AFS De-\/\+Interleaving and burst mapping. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em cB} & caller-\/allocated buffer for 456 unpacked output bits \\
\hline
\mbox{\texttt{ in}}  & {\em iB} & 456 unpacked interleaved input bits \\
\hline
\end{DoxyParams}


References \textbf{ B}, and \textbf{ k}.



Referenced by \textbf{ gsm0503\+\_\+tch\+\_\+afs\+\_\+decode\+\_\+dtx()}, \textbf{ gsm0503\+\_\+tch\+\_\+ahs\+\_\+decode\+\_\+dtx()}, \textbf{ gsm0503\+\_\+tch\+\_\+fr24\+\_\+decode()}, \textbf{ gsm0503\+\_\+tch\+\_\+fr\+\_\+decode()}, \textbf{ gsm0503\+\_\+tch\+\_\+fr\+\_\+facch\+\_\+decode()}, \textbf{ gsm0503\+\_\+tch\+\_\+hr\+\_\+decode2()}, and \textbf{ gsm0503\+\_\+tch\+\_\+hr\+\_\+facch\+\_\+decode()}.

\mbox{\label{group__interleaving_gaee87a7476a32559c695df46f828e7faf}} 
\index{Interleaving@{Interleaving}!gsm0503\_tch\_fr\_interleave@{gsm0503\_tch\_fr\_interleave}}
\index{gsm0503\_tch\_fr\_interleave@{gsm0503\_tch\_fr\_interleave}!Interleaving@{Interleaving}}
\doxysubsubsection{gsm0503\_tch\_fr\_interleave()}
{\footnotesize\ttfamily void gsm0503\+\_\+tch\+\_\+fr\+\_\+interleave (\begin{DoxyParamCaption}\item[{const \textbf{ ubit\+\_\+t} $\ast$}]{cB,  }\item[{\textbf{ ubit\+\_\+t} $\ast$}]{iB }\end{DoxyParamCaption})}



GSM TCH FR/\+EFR/\+AFS Interleaving and burst mapping. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em cB} & caller-\/allocated buffer for 456 unpacked input bits \\
\hline
\mbox{\texttt{ out}}  & {\em iB} & 456 unpacked interleaved output bits \\
\hline
\end{DoxyParams}


References \textbf{ B}, and \textbf{ k}.



Referenced by \textbf{ gsm0503\+\_\+tch\+\_\+afs\+\_\+encode()}, \textbf{ gsm0503\+\_\+tch\+\_\+ahs\+\_\+encode()}, \textbf{ gsm0503\+\_\+tch\+\_\+fr24\+\_\+encode()}, \textbf{ gsm0503\+\_\+tch\+\_\+fr\+\_\+encode()}, \textbf{ gsm0503\+\_\+tch\+\_\+fr\+\_\+facch\+\_\+encode()}, \textbf{ gsm0503\+\_\+tch\+\_\+hr\+\_\+encode()}, and \textbf{ gsm0503\+\_\+tch\+\_\+hr\+\_\+facch\+\_\+encode()}.

\mbox{\label{group__interleaving_gaf6cd37e61d516bda9c296a407360e5d1}} 
\index{Interleaving@{Interleaving}!gsm0503\_tch\_hr\_deinterleave@{gsm0503\_tch\_hr\_deinterleave}}
\index{gsm0503\_tch\_hr\_deinterleave@{gsm0503\_tch\_hr\_deinterleave}!Interleaving@{Interleaving}}
\doxysubsubsection{gsm0503\_tch\_hr\_deinterleave()}
{\footnotesize\ttfamily void gsm0503\+\_\+tch\+\_\+hr\+\_\+deinterleave (\begin{DoxyParamCaption}\item[{\textbf{ sbit\+\_\+t} $\ast$}]{cB,  }\item[{const \textbf{ sbit\+\_\+t} $\ast$}]{iB }\end{DoxyParamCaption})}



GSM TCH HR/\+AHS De-\/\+Interleaving and burst mapping. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em cB} & caller-\/allocated buffer for 228 unpacked output bits \\
\hline
\mbox{\texttt{ in}}  & {\em iB} & 228 unpacked interleaved input bits \\
\hline
\end{DoxyParams}


References \textbf{ B}, \textbf{ gsm0503\+\_\+tch\+\_\+hr\+\_\+interleaving}, and \textbf{ k}.



Referenced by \textbf{ gsm0503\+\_\+tch\+\_\+ahs\+\_\+decode\+\_\+dtx()}, and \textbf{ gsm0503\+\_\+tch\+\_\+hr\+\_\+decode2()}.

\mbox{\label{group__interleaving_ga3a9c72de9551de77b8892ba32a673f27}} 
\index{Interleaving@{Interleaving}!gsm0503\_tch\_hr\_interleave@{gsm0503\_tch\_hr\_interleave}}
\index{gsm0503\_tch\_hr\_interleave@{gsm0503\_tch\_hr\_interleave}!Interleaving@{Interleaving}}
\doxysubsubsection{gsm0503\_tch\_hr\_interleave()}
{\footnotesize\ttfamily void gsm0503\+\_\+tch\+\_\+hr\+\_\+interleave (\begin{DoxyParamCaption}\item[{const \textbf{ ubit\+\_\+t} $\ast$}]{cB,  }\item[{\textbf{ ubit\+\_\+t} $\ast$}]{iB }\end{DoxyParamCaption})}



GSM TCH HR/\+AHS Interleaving and burst mapping. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em cB} & caller-\/allocated buffer for 228 unpacked input bits \\
\hline
\mbox{\texttt{ out}}  & {\em iB} & 228 unpacked interleaved output bits \\
\hline
\end{DoxyParams}


References \textbf{ B}, \textbf{ gsm0503\+\_\+tch\+\_\+hr\+\_\+interleaving}, and \textbf{ k}.



Referenced by \textbf{ gsm0503\+\_\+tch\+\_\+ahs\+\_\+encode()}, and \textbf{ gsm0503\+\_\+tch\+\_\+hr\+\_\+encode()}.

\mbox{\label{group__interleaving_ga31dfd1a8d05a538c086ccd29fa68e2f5}} 
\index{Interleaving@{Interleaving}!gsm0503\_xcch\_deinterleave@{gsm0503\_xcch\_deinterleave}}
\index{gsm0503\_xcch\_deinterleave@{gsm0503\_xcch\_deinterleave}!Interleaving@{Interleaving}}
\doxysubsubsection{gsm0503\_xcch\_deinterleave()}
{\footnotesize\ttfamily void gsm0503\+\_\+xcch\+\_\+deinterleave (\begin{DoxyParamCaption}\item[{\textbf{ sbit\+\_\+t} $\ast$}]{cB,  }\item[{const \textbf{ sbit\+\_\+t} $\ast$}]{iB }\end{DoxyParamCaption})}



De-\/\+Interleave burst bits according to TS 05.\+03 4.\+1.\+4. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em cB} & caller-\/allocated output buffer for 456 soft coded bits \\
\hline
\mbox{\texttt{ in}}  & {\em iB} & 456 soft input bits \\
\hline
\end{DoxyParams}


References \textbf{ B}, and \textbf{ k}.



Referenced by \textbf{ gsm0503\+\_\+mcs1\+\_\+dl\+\_\+deinterleave()}, \textbf{ gsm0503\+\_\+mcs1\+\_\+ul\+\_\+deinterleave()}, \textbf{ gsm0503\+\_\+pdtch\+\_\+decode()}, and \textbf{ gsm0503\+\_\+xcch\+\_\+decode()}.

\mbox{\label{group__interleaving_gae8bf179792e7f2b4210a3732d171f999}} 
\index{Interleaving@{Interleaving}!gsm0503\_xcch\_interleave@{gsm0503\_xcch\_interleave}}
\index{gsm0503\_xcch\_interleave@{gsm0503\_xcch\_interleave}!Interleaving@{Interleaving}}
\doxysubsubsection{gsm0503\_xcch\_interleave()}
{\footnotesize\ttfamily void gsm0503\+\_\+xcch\+\_\+interleave (\begin{DoxyParamCaption}\item[{const \textbf{ ubit\+\_\+t} $\ast$}]{cB,  }\item[{\textbf{ ubit\+\_\+t} $\ast$}]{iB }\end{DoxyParamCaption})}



Interleave burst bits according to TS 05.\+03 4.\+1.\+4. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em iB} & caller-\/allocated output buffer for 456 soft interleaved bits \\
\hline
\mbox{\texttt{ in}}  & {\em cB} & 456 soft input coded bits \\
\hline
\end{DoxyParams}


References \textbf{ B}, and \textbf{ k}.



Referenced by \textbf{ gsm0503\+\_\+mcs1\+\_\+dl\+\_\+interleave()}, \textbf{ gsm0503\+\_\+mcs1\+\_\+ul\+\_\+interleave()}, \textbf{ gsm0503\+\_\+pdtch\+\_\+encode()}, and \textbf{ gsm0503\+\_\+xcch\+\_\+encode()}.

