\hypertarget{ar5211__phy_8c}{}\doxysection{dev/ath/ath\+\_\+hal/ar5211/ar5211\+\_\+phy.c File Reference}
\label{ar5211__phy_8c}\index{dev/ath/ath\_hal/ar5211/ar5211\_phy.c@{dev/ath/ath\_hal/ar5211/ar5211\_phy.c}}
{\ttfamily \#include \char`\"{}opt\+\_\+ah.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}ah.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}ah\+\_\+internal.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}ar5211/ar5211.\+h\char`\"{}}\newline
Include dependency graph for ar5211\+\_\+phy.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/d15/ar5211__phy_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{ar5211__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}}~IEEE80211\+\_\+\+T\+\_\+\+OFDM
\item 
\#define \mbox{\hyperlink{ar5211__phy_8c_a2b0071a000c7834915152060508074e7}{CCK}}~IEEE80211\+\_\+\+T\+\_\+\+CCK
\item 
\#define \mbox{\hyperlink{ar5211__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}}~IEEE80211\+\_\+\+T\+\_\+\+TURBO
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
const \mbox{\hyperlink{structHAL__RATE__TABLE}{HAL\+\_\+\+RATE\+\_\+\+TABLE}} $\ast$ \mbox{\hyperlink{ar5211__phy_8c_a1258ca8b8e6e88a10fa3a852f5b1a950}{ar5211\+Get\+Rate\+Table}} (struct \mbox{\hyperlink{structath__hal}{ath\+\_\+hal}} $\ast$ah, u\+\_\+int mode)
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{structHAL__RATE__TABLE}{HAL\+\_\+\+RATE\+\_\+\+TABLE}} \mbox{\hyperlink{ar5211__phy_8c_af6e3de9df06432c5601bfbd51cfe06a1}{ar5211\+\_\+11a\+\_\+table}}
\item 
\mbox{\hyperlink{structHAL__RATE__TABLE}{HAL\+\_\+\+RATE\+\_\+\+TABLE}} \mbox{\hyperlink{ar5211__phy_8c_a7e94376f85f12f1dedef245f46e1f380}{ar5211\+\_\+turbo\+\_\+table}}
\item 
\mbox{\hyperlink{structHAL__RATE__TABLE}{HAL\+\_\+\+RATE\+\_\+\+TABLE}} \mbox{\hyperlink{ar5211__phy_8c_ae58d823168014c11d8574334f149098e}{ar5211\+\_\+11b\+\_\+table}}
\end{DoxyCompactItemize}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{ar5211__phy_8c_a2b0071a000c7834915152060508074e7}\label{ar5211__phy_8c_a2b0071a000c7834915152060508074e7}} 
\index{ar5211\_phy.c@{ar5211\_phy.c}!CCK@{CCK}}
\index{CCK@{CCK}!ar5211\_phy.c@{ar5211\_phy.c}}
\doxysubsubsection{\texorpdfstring{CCK}{CCK}}
{\footnotesize\ttfamily \#define CCK~IEEE80211\+\_\+\+T\+\_\+\+CCK}



Definition at line \mbox{\hyperlink{ar5211__phy_8c_source_l00030}{30}} of file \mbox{\hyperlink{ar5211__phy_8c_source}{ar5211\+\_\+phy.\+c}}.

\mbox{\Hypertarget{ar5211__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}\label{ar5211__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}} 
\index{ar5211\_phy.c@{ar5211\_phy.c}!OFDM@{OFDM}}
\index{OFDM@{OFDM}!ar5211\_phy.c@{ar5211\_phy.c}}
\doxysubsubsection{\texorpdfstring{OFDM}{OFDM}}
{\footnotesize\ttfamily \#define OFDM~IEEE80211\+\_\+\+T\+\_\+\+OFDM}



Definition at line \mbox{\hyperlink{ar5211__phy_8c_source_l00029}{29}} of file \mbox{\hyperlink{ar5211__phy_8c_source}{ar5211\+\_\+phy.\+c}}.

\mbox{\Hypertarget{ar5211__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}\label{ar5211__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}} 
\index{ar5211\_phy.c@{ar5211\_phy.c}!TURBO@{TURBO}}
\index{TURBO@{TURBO}!ar5211\_phy.c@{ar5211\_phy.c}}
\doxysubsubsection{\texorpdfstring{TURBO}{TURBO}}
{\footnotesize\ttfamily \#define TURBO~IEEE80211\+\_\+\+T\+\_\+\+TURBO}



Definition at line \mbox{\hyperlink{ar5211__phy_8c_source_l00031}{31}} of file \mbox{\hyperlink{ar5211__phy_8c_source}{ar5211\+\_\+phy.\+c}}.



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{ar5211__phy_8c_a1258ca8b8e6e88a10fa3a852f5b1a950}\label{ar5211__phy_8c_a1258ca8b8e6e88a10fa3a852f5b1a950}} 
\index{ar5211\_phy.c@{ar5211\_phy.c}!ar5211GetRateTable@{ar5211GetRateTable}}
\index{ar5211GetRateTable@{ar5211GetRateTable}!ar5211\_phy.c@{ar5211\_phy.c}}
\doxysubsubsection{\texorpdfstring{ar5211GetRateTable()}{ar5211GetRateTable()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{structHAL__RATE__TABLE}{HAL\+\_\+\+RATE\+\_\+\+TABLE}} $\ast$ ar5211\+Get\+Rate\+Table (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structath__hal}{ath\+\_\+hal}} $\ast$}]{ah,  }\item[{u\+\_\+int}]{mode }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{ar5211__phy_8c_source_l00085}{85}} of file \mbox{\hyperlink{ar5211__phy_8c_source}{ar5211\+\_\+phy.\+c}}.



References \mbox{\hyperlink{ah__internal_8h_source_l00028}{AH\+\_\+\+NULL}}, \mbox{\hyperlink{ar5211__phy_8c_source_l00033}{ar5211\+\_\+11a\+\_\+table}}, \mbox{\hyperlink{ar5211__phy_8c_source_l00067}{ar5211\+\_\+11b\+\_\+table}}, \mbox{\hyperlink{ar5211__phy_8c_source_l00050}{ar5211\+\_\+turbo\+\_\+table}}, \mbox{\hyperlink{ah_8c_source_l00669}{ath\+\_\+hal\+\_\+setupratetable()}}, \mbox{\hyperlink{ah__debug_8h_source_l00062}{HAL\+\_\+\+DEBUG\+\_\+\+ANY}}, \mbox{\hyperlink{ah_8h_source_l00657}{HAL\+\_\+\+MODE\+\_\+11A}}, \mbox{\hyperlink{ah_8h_source_l00659}{HAL\+\_\+\+MODE\+\_\+11B}}, \mbox{\hyperlink{ah_8h_source_l00658}{HAL\+\_\+\+MODE\+\_\+\+TURBO}}, and \mbox{\hyperlink{ah__internal_8h_source_l00658}{HALDEBUG}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{de/d2b/ar5211__phy_8c_a1258ca8b8e6e88a10fa3a852f5b1a950_cgraph}
\end{center}
\end{figure}


\doxysubsection{Variable Documentation}
\mbox{\Hypertarget{ar5211__phy_8c_af6e3de9df06432c5601bfbd51cfe06a1}\label{ar5211__phy_8c_af6e3de9df06432c5601bfbd51cfe06a1}} 
\index{ar5211\_phy.c@{ar5211\_phy.c}!ar5211\_11a\_table@{ar5211\_11a\_table}}
\index{ar5211\_11a\_table@{ar5211\_11a\_table}!ar5211\_phy.c@{ar5211\_phy.c}}
\doxysubsubsection{\texorpdfstring{ar5211\_11a\_table}{ar5211\_11a\_table}}
{\footnotesize\ttfamily \mbox{\hyperlink{structHAL__RATE__TABLE}{HAL\+\_\+\+RATE\+\_\+\+TABLE}} ar5211\+\_\+11a\+\_\+table}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{        8,  }
\DoxyCodeLine{        \{ 0 \},}
\DoxyCodeLine{        \{}
\DoxyCodeLine{}
\DoxyCodeLine{}
\DoxyCodeLine{ \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},    6000,     0x0b,    0x00, (0x80|12),   0 \},}
\DoxyCodeLine{ \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},    9000,     0x0f,    0x00,        18,   0 \},}
\DoxyCodeLine{ \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},   12000,     0x0a,    0x00, (0x80|24),   2 \},}
\DoxyCodeLine{ \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},   18000,     0x0e,    0x00,        36,   2 \},}
\DoxyCodeLine{ \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},   24000,     0x09,    0x00, (0x80|48),   4 \},}
\DoxyCodeLine{ \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},   36000,     0x0d,    0x00,        72,   4 \},}
\DoxyCodeLine{ \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},   48000,     0x08,    0x00,        96,   4 \},}
\DoxyCodeLine{ \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},   54000,     0x0c,    0x00,       108,   4 \}}
\DoxyCodeLine{        \},}
\DoxyCodeLine{\}}

\end{DoxyCode}


Definition at line \mbox{\hyperlink{ar5211__phy_8c_source_l00033}{33}} of file \mbox{\hyperlink{ar5211__phy_8c_source}{ar5211\+\_\+phy.\+c}}.



Referenced by \mbox{\hyperlink{ar5211__phy_8c_source_l00085}{ar5211\+Get\+Rate\+Table()}}.

\mbox{\Hypertarget{ar5211__phy_8c_ae58d823168014c11d8574334f149098e}\label{ar5211__phy_8c_ae58d823168014c11d8574334f149098e}} 
\index{ar5211\_phy.c@{ar5211\_phy.c}!ar5211\_11b\_table@{ar5211\_11b\_table}}
\index{ar5211\_11b\_table@{ar5211\_11b\_table}!ar5211\_phy.c@{ar5211\_phy.c}}
\doxysubsubsection{\texorpdfstring{ar5211\_11b\_table}{ar5211\_11b\_table}}
{\footnotesize\ttfamily \mbox{\hyperlink{structHAL__RATE__TABLE}{HAL\+\_\+\+RATE\+\_\+\+TABLE}} ar5211\+\_\+11b\+\_\+table}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{        4,  }
\DoxyCodeLine{        \{ 0 \},}
\DoxyCodeLine{        \{}
\DoxyCodeLine{}
\DoxyCodeLine{}
\DoxyCodeLine{ \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}},  \mbox{\hyperlink{ar5211__phy_8c_a2b0071a000c7834915152060508074e7}{CCK}},    1000,    0x0b,    0x00, (0x80| 2),   0 \},}
\DoxyCodeLine{ \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}},  \mbox{\hyperlink{ar5211__phy_8c_a2b0071a000c7834915152060508074e7}{CCK}},    2000,    0x0a,    0x04, (0x80| 4),   1 \},}
\DoxyCodeLine{ \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}},  \mbox{\hyperlink{ar5211__phy_8c_a2b0071a000c7834915152060508074e7}{CCK}},    5500,    0x09,    0x04, (0x80|11),   1 \},}
\DoxyCodeLine{ \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}},  \mbox{\hyperlink{ar5211__phy_8c_a2b0071a000c7834915152060508074e7}{CCK}},   11000,    0x08,    0x04, (0x80|22),   1 \}}
\DoxyCodeLine{        \},}
\DoxyCodeLine{\}}

\end{DoxyCode}


Definition at line \mbox{\hyperlink{ar5211__phy_8c_source_l00067}{67}} of file \mbox{\hyperlink{ar5211__phy_8c_source}{ar5211\+\_\+phy.\+c}}.



Referenced by \mbox{\hyperlink{ar5211__phy_8c_source_l00085}{ar5211\+Get\+Rate\+Table()}}.

\mbox{\Hypertarget{ar5211__phy_8c_a7e94376f85f12f1dedef245f46e1f380}\label{ar5211__phy_8c_a7e94376f85f12f1dedef245f46e1f380}} 
\index{ar5211\_phy.c@{ar5211\_phy.c}!ar5211\_turbo\_table@{ar5211\_turbo\_table}}
\index{ar5211\_turbo\_table@{ar5211\_turbo\_table}!ar5211\_phy.c@{ar5211\_phy.c}}
\doxysubsubsection{\texorpdfstring{ar5211\_turbo\_table}{ar5211\_turbo\_table}}
{\footnotesize\ttfamily \mbox{\hyperlink{structHAL__RATE__TABLE}{HAL\+\_\+\+RATE\+\_\+\+TABLE}} ar5211\+\_\+turbo\+\_\+table}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{        8,  }
\DoxyCodeLine{        \{ 0 \},}
\DoxyCodeLine{        \{}
\DoxyCodeLine{}
\DoxyCodeLine{}
\DoxyCodeLine{ \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  12000,    0x0b,    0x00, (0x80|12),   0 \},}
\DoxyCodeLine{ \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  18000,    0x0f,    0x00,        18,   0 \},}
\DoxyCodeLine{ \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  24000,    0x0a,    0x00, (0x80|24),   2 \},}
\DoxyCodeLine{ \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  36000,    0x0e,    0x00,        36,   2 \},}
\DoxyCodeLine{ \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  48000,    0x09,    0x00, (0x80|48),   4 \},}
\DoxyCodeLine{ \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  72000,    0x0d,    0x00,        72,   4 \},}
\DoxyCodeLine{ \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  96000,    0x08,    0x00,        96,   4 \},}
\DoxyCodeLine{ \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}}, 108000,    0x0c,    0x00,       108,   4 \}}
\DoxyCodeLine{        \},}
\DoxyCodeLine{\}}

\end{DoxyCode}


Definition at line \mbox{\hyperlink{ar5211__phy_8c_source_l00050}{50}} of file \mbox{\hyperlink{ar5211__phy_8c_source}{ar5211\+\_\+phy.\+c}}.



Referenced by \mbox{\hyperlink{ar5211__phy_8c_source_l00085}{ar5211\+Get\+Rate\+Table()}}.

