\doxysection{include/osmocom/gsm/meas\+\_\+rep.h File Reference}
\label{meas__rep_8h}\index{include/osmocom/gsm/meas\_rep.h@{include/osmocom/gsm/meas\_rep.h}}
{\ttfamily \#include $<$stdint.\+h$>$}\newline
{\ttfamily \#include $<$stdbool.\+h$>$}\newline
\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ gsm\+\_\+rx\+\_\+lev\+\_\+qual}
\item 
struct \textbf{ gsm\+\_\+meas\+\_\+rep\+\_\+unidir}
\end{DoxyCompactItemize}
\doxysubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \textbf{ meas\+\_\+rep\+\_\+field} \{ \newline
\textbf{ MEAS\+\_\+\+REP\+\_\+\+DL\+\_\+\+RXLEV\+\_\+\+FULL}
, \newline
\textbf{ MEAS\+\_\+\+REP\+\_\+\+DL\+\_\+\+RXLEV\+\_\+\+SUB}
, \newline
\textbf{ MEAS\+\_\+\+REP\+\_\+\+DL\+\_\+\+RXQUAL\+\_\+\+FULL}
, \newline
\textbf{ MEAS\+\_\+\+REP\+\_\+\+DL\+\_\+\+RXQUAL\+\_\+\+SUB}
, \newline
\textbf{ MEAS\+\_\+\+REP\+\_\+\+UL\+\_\+\+RXLEV\+\_\+\+FULL}
, \newline
\textbf{ MEAS\+\_\+\+REP\+\_\+\+UL\+\_\+\+RXLEV\+\_\+\+SUB}
, \newline
\textbf{ MEAS\+\_\+\+REP\+\_\+\+UL\+\_\+\+RXQUAL\+\_\+\+FULL}
, \newline
\textbf{ MEAS\+\_\+\+REP\+\_\+\+UL\+\_\+\+RXQUAL\+\_\+\+SUB}
 \}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
size\+\_\+t \textbf{ gsm0858\+\_\+rsl\+\_\+ul\+\_\+meas\+\_\+enc} (const struct \textbf{ gsm\+\_\+meas\+\_\+rep\+\_\+unidir} $\ast$mru, bool dtxd\+\_\+used, uint8\+\_\+t $\ast$buf)
\begin{DoxyCompactList}\small\item\em Build the RSL uplink measurement IE (3GPP TS 08.\+58 § 9.\+3.\+25) \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Enumeration Type Documentation}
\mbox{\label{meas__rep_8h_ad34b48ba3d519020f12e98b253e18fbd}} 
\index{meas\_rep.h@{meas\_rep.h}!meas\_rep\_field@{meas\_rep\_field}}
\index{meas\_rep\_field@{meas\_rep\_field}!meas\_rep.h@{meas\_rep.h}}
\doxysubsubsection{meas\_rep\_field}
{\footnotesize\ttfamily enum \textbf{ meas\+\_\+rep\+\_\+field}}

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{MEAS\_REP\_DL\_RXLEV\_FULL@{MEAS\_REP\_DL\_RXLEV\_FULL}!meas\_rep.h@{meas\_rep.h}}\index{meas\_rep.h@{meas\_rep.h}!MEAS\_REP\_DL\_RXLEV\_FULL@{MEAS\_REP\_DL\_RXLEV\_FULL}}}\mbox{\label{meas__rep_8h_ad34b48ba3d519020f12e98b253e18fbdabb535de7df81e3df5d101ab9efede23e}} 
MEAS\+\_\+\+REP\+\_\+\+DL\+\_\+\+RXLEV\+\_\+\+FULL&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MEAS\_REP\_DL\_RXLEV\_SUB@{MEAS\_REP\_DL\_RXLEV\_SUB}!meas\_rep.h@{meas\_rep.h}}\index{meas\_rep.h@{meas\_rep.h}!MEAS\_REP\_DL\_RXLEV\_SUB@{MEAS\_REP\_DL\_RXLEV\_SUB}}}\mbox{\label{meas__rep_8h_ad34b48ba3d519020f12e98b253e18fbda8a9a98e3441a543ac8c53cbec056ab2a}} 
MEAS\+\_\+\+REP\+\_\+\+DL\+\_\+\+RXLEV\+\_\+\+SUB&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MEAS\_REP\_DL\_RXQUAL\_FULL@{MEAS\_REP\_DL\_RXQUAL\_FULL}!meas\_rep.h@{meas\_rep.h}}\index{meas\_rep.h@{meas\_rep.h}!MEAS\_REP\_DL\_RXQUAL\_FULL@{MEAS\_REP\_DL\_RXQUAL\_FULL}}}\mbox{\label{meas__rep_8h_ad34b48ba3d519020f12e98b253e18fbdac09090dea8a8e178c391f00bf73405d6}} 
MEAS\+\_\+\+REP\+\_\+\+DL\+\_\+\+RXQUAL\+\_\+\+FULL&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MEAS\_REP\_DL\_RXQUAL\_SUB@{MEAS\_REP\_DL\_RXQUAL\_SUB}!meas\_rep.h@{meas\_rep.h}}\index{meas\_rep.h@{meas\_rep.h}!MEAS\_REP\_DL\_RXQUAL\_SUB@{MEAS\_REP\_DL\_RXQUAL\_SUB}}}\mbox{\label{meas__rep_8h_ad34b48ba3d519020f12e98b253e18fbda200d2d3d5faedcb7a69415a4fbe2351f}} 
MEAS\+\_\+\+REP\+\_\+\+DL\+\_\+\+RXQUAL\+\_\+\+SUB&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MEAS\_REP\_UL\_RXLEV\_FULL@{MEAS\_REP\_UL\_RXLEV\_FULL}!meas\_rep.h@{meas\_rep.h}}\index{meas\_rep.h@{meas\_rep.h}!MEAS\_REP\_UL\_RXLEV\_FULL@{MEAS\_REP\_UL\_RXLEV\_FULL}}}\mbox{\label{meas__rep_8h_ad34b48ba3d519020f12e98b253e18fbdaa0e64933dd18253043cc8e5babde6634}} 
MEAS\+\_\+\+REP\+\_\+\+UL\+\_\+\+RXLEV\+\_\+\+FULL&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MEAS\_REP\_UL\_RXLEV\_SUB@{MEAS\_REP\_UL\_RXLEV\_SUB}!meas\_rep.h@{meas\_rep.h}}\index{meas\_rep.h@{meas\_rep.h}!MEAS\_REP\_UL\_RXLEV\_SUB@{MEAS\_REP\_UL\_RXLEV\_SUB}}}\mbox{\label{meas__rep_8h_ad34b48ba3d519020f12e98b253e18fbdadb8aced4a911672bd3c27fd2d9b91e2d}} 
MEAS\+\_\+\+REP\+\_\+\+UL\+\_\+\+RXLEV\+\_\+\+SUB&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MEAS\_REP\_UL\_RXQUAL\_FULL@{MEAS\_REP\_UL\_RXQUAL\_FULL}!meas\_rep.h@{meas\_rep.h}}\index{meas\_rep.h@{meas\_rep.h}!MEAS\_REP\_UL\_RXQUAL\_FULL@{MEAS\_REP\_UL\_RXQUAL\_FULL}}}\mbox{\label{meas__rep_8h_ad34b48ba3d519020f12e98b253e18fbdadec10cdbcab67b8b808c2e273ee4b494}} 
MEAS\+\_\+\+REP\+\_\+\+UL\+\_\+\+RXQUAL\+\_\+\+FULL&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MEAS\_REP\_UL\_RXQUAL\_SUB@{MEAS\_REP\_UL\_RXQUAL\_SUB}!meas\_rep.h@{meas\_rep.h}}\index{meas\_rep.h@{meas\_rep.h}!MEAS\_REP\_UL\_RXQUAL\_SUB@{MEAS\_REP\_UL\_RXQUAL\_SUB}}}\mbox{\label{meas__rep_8h_ad34b48ba3d519020f12e98b253e18fbda7f148efe4b72a6eaf5c0ab347224f254}} 
MEAS\+\_\+\+REP\+\_\+\+UL\+\_\+\+RXQUAL\+\_\+\+SUB&\\
\hline

\end{DoxyEnumFields}


\doxysubsection{Function Documentation}
\mbox{\label{meas__rep_8h_a89ad196372ac923893b2119900303bab}} 
\index{meas\_rep.h@{meas\_rep.h}!gsm0858\_rsl\_ul\_meas\_enc@{gsm0858\_rsl\_ul\_meas\_enc}}
\index{gsm0858\_rsl\_ul\_meas\_enc@{gsm0858\_rsl\_ul\_meas\_enc}!meas\_rep.h@{meas\_rep.h}}
\doxysubsubsection{gsm0858\_rsl\_ul\_meas\_enc()}
{\footnotesize\ttfamily size\+\_\+t gsm0858\+\_\+rsl\+\_\+ul\+\_\+meas\+\_\+enc (\begin{DoxyParamCaption}\item[{const struct \textbf{ gsm\+\_\+meas\+\_\+rep\+\_\+unidir} $\ast$}]{mru,  }\item[{bool}]{dtxd\+\_\+used,  }\item[{uint8\+\_\+t $\ast$}]{buf }\end{DoxyParamCaption})}



Build the RSL uplink measurement IE (3GPP TS 08.\+58 § 9.\+3.\+25) 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em mru} & Unidirectional measurement report structure \\
\hline
\mbox{\texttt{ in}}  & {\em dtxd\+\_\+used} & Indicates if DTXd was used during measurement report period \\
\hline
\mbox{\texttt{ out}}  & {\em buf} & Pre-\/allocated bufer for storing IE \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Number of bytes filled in buf 
\end{DoxyReturn}


References \textbf{ gsm\+\_\+meas\+\_\+rep\+\_\+unidir\+::full}, \textbf{ gsm\+\_\+rx\+\_\+lev\+\_\+qual\+::rx\+\_\+lev}, \textbf{ gsm\+\_\+rx\+\_\+lev\+\_\+qual\+::rx\+\_\+qual}, and \textbf{ gsm\+\_\+meas\+\_\+rep\+\_\+unidir\+::sub}.

