\hypertarget{ar5211__attach_8c}{}\doxysection{dev/ath/ath\+\_\+hal/ar5211/ar5211\+\_\+attach.c File Reference}
\label{ar5211__attach_8c}\index{dev/ath/ath\_hal/ar5211/ar5211\_attach.c@{dev/ath/ath\_hal/ar5211/ar5211\_attach.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`\"{}ah\+\_\+devid.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}ar5211/ar5211.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}ar5211/ar5211reg.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}ar5211/ar5211phy.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}ah\+\_\+eeprom\+\_\+v3.\+h\char`\"{}}\newline
Include dependency graph for ar5211\+\_\+attach.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d2/d6f/ar5211__attach_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{ar5211__attach_8c_af04f8faa08e13b16b70b52a56fbc9c53}{N}}(a)~(sizeof(a)/sizeof(a\mbox{[}0\mbox{]}))
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39a}{HAL\+\_\+\+BOOL}} \mbox{\hyperlink{ar5211__attach_8c_a8fc535d2bd28333beb275163e8103ee6}{ar5211\+Get\+Channel\+Edges}} (struct \mbox{\hyperlink{structath__hal}{ath\+\_\+hal}} $\ast$ah, uint16\+\_\+t flags, uint16\+\_\+t $\ast$low, uint16\+\_\+t $\ast$high)
\item 
static \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39a}{HAL\+\_\+\+BOOL}} \mbox{\hyperlink{ar5211__attach_8c_aac13b2e7c23a38358905dad13bbb83b2}{ar5211\+Get\+Chip\+Power\+Limits}} (struct \mbox{\hyperlink{structath__hal}{ath\+\_\+hal}} $\ast$ah, struct ieee80211\+\_\+channel $\ast$chan)
\item 
static void \mbox{\hyperlink{ar5211__attach_8c_a1da73a4f9d77bc6406a8adea764d9e43}{ar5211\+Config\+PCIE}} (struct \mbox{\hyperlink{structath__hal}{ath\+\_\+hal}} $\ast$ah, \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39a}{HAL\+\_\+\+BOOL}} restore, \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39a}{HAL\+\_\+\+BOOL}} power\+\_\+off)
\item 
static void \mbox{\hyperlink{ar5211__attach_8c_a0a6d2bae59c0c6e96cc2c88e8c761331}{ar5211\+Disable\+PCIE}} (struct \mbox{\hyperlink{structath__hal}{ath\+\_\+hal}} $\ast$ah)
\item 
static \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39a}{HAL\+\_\+\+BOOL}} \mbox{\hyperlink{ar5211__attach_8c_aee1a456a851b2b6dcfa3a3bf5dadd2fc}{ar5211\+Chip\+Test}} (struct \mbox{\hyperlink{structath__hal}{ath\+\_\+hal}} $\ast$)
\item 
static \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39a}{HAL\+\_\+\+BOOL}} \mbox{\hyperlink{ar5211__attach_8c_ad2b97efd5961f5168fe52fb993bc1589}{ar5211\+Fill\+Capability\+Info}} (struct \mbox{\hyperlink{structath__hal}{ath\+\_\+hal}} $\ast$ah)
\item 
static uint32\+\_\+t \mbox{\hyperlink{ar5211__attach_8c_a0cf053fdbfbcae9ae18f5445833ed7ba}{ar5211\+Get\+Radio\+Rev}} (struct \mbox{\hyperlink{structath__hal}{ath\+\_\+hal}} $\ast$ah)
\item 
static struct \mbox{\hyperlink{structath__hal}{ath\+\_\+hal}} $\ast$ \mbox{\hyperlink{ar5211__attach_8c_aebddee84010910150fcec40eed6ec7fc}{ar5211\+Attach}} (uint16\+\_\+t devid, \mbox{\hyperlink{ah__osdep_8h_a992b4d201fa7972b414c5dfeac3e18e5}{HAL\+\_\+\+SOFTC}} sc, \mbox{\hyperlink{ah__osdep_8h_a77249ffa9316d2580fbb830304c59d99}{HAL\+\_\+\+BUS\+\_\+\+TAG}} st, \mbox{\hyperlink{ah__osdep_8h_abcad28debd6fa3485fe27752662fb605}{HAL\+\_\+\+BUS\+\_\+\+HANDLE}} sh, uint16\+\_\+t $\ast$eepromdata, \mbox{\hyperlink{structHAL__OPS__CONFIG}{HAL\+\_\+\+OPS\+\_\+\+CONFIG}} $\ast$ah\+\_\+config, \mbox{\hyperlink{ah_8h_a064b8990700c1dbc7801f3eb616153b0}{HAL\+\_\+\+STATUS}} $\ast$status)
\item 
void \mbox{\hyperlink{ar5211__attach_8c_aa496b0b340ca4f00392d5dbde181e773}{ar5211\+Detach}} (struct \mbox{\hyperlink{structath__hal}{ath\+\_\+hal}} $\ast$ah)
\item 
static const char $\ast$ \mbox{\hyperlink{ar5211__attach_8c_a8d6b668fbdc3565ddc530c617b348dd1}{ar5211\+Probe}} (uint16\+\_\+t vendorid, uint16\+\_\+t devid)
\item 
\mbox{\hyperlink{ar5211__attach_8c_a6bfb51236a415701a3993745c4466aea}{AH\+\_\+\+CHIP}} (AR5211, \mbox{\hyperlink{ar5211__attach_8c_a8d6b668fbdc3565ddc530c617b348dd1}{ar5211\+Probe}}, \mbox{\hyperlink{ar5211__attach_8c_aebddee84010910150fcec40eed6ec7fc}{ar5211\+Attach}})
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
static const struct \mbox{\hyperlink{structath__hal__private}{ath\+\_\+hal\+\_\+private}} \mbox{\hyperlink{ar5211__attach_8c_a739be88f78268ea98030f167b718494d}{ar5211hal}}
\end{DoxyCompactItemize}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{ar5211__attach_8c_af04f8faa08e13b16b70b52a56fbc9c53}\label{ar5211__attach_8c_af04f8faa08e13b16b70b52a56fbc9c53}} 
\index{ar5211\_attach.c@{ar5211\_attach.c}!N@{N}}
\index{N@{N}!ar5211\_attach.c@{ar5211\_attach.c}}
\doxysubsubsection{\texorpdfstring{N}{N}}
{\footnotesize\ttfamily \#define N(\begin{DoxyParamCaption}\item[{}]{a }\end{DoxyParamCaption})~(sizeof(a)/sizeof(a\mbox{[}0\mbox{]}))}



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{ar5211__attach_8c_a6bfb51236a415701a3993745c4466aea}\label{ar5211__attach_8c_a6bfb51236a415701a3993745c4466aea}} 
\index{ar5211\_attach.c@{ar5211\_attach.c}!AH\_CHIP@{AH\_CHIP}}
\index{AH\_CHIP@{AH\_CHIP}!ar5211\_attach.c@{ar5211\_attach.c}}
\doxysubsubsection{\texorpdfstring{AH\_CHIP()}{AH\_CHIP()}}
{\footnotesize\ttfamily AH\+\_\+\+CHIP (\begin{DoxyParamCaption}\item[{AR5211}]{,  }\item[{\mbox{\hyperlink{ar5211__attach_8c_a8d6b668fbdc3565ddc530c617b348dd1}{ar5211\+Probe}}}]{,  }\item[{\mbox{\hyperlink{ar5211__attach_8c_aebddee84010910150fcec40eed6ec7fc}{ar5211\+Attach}}}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{ar5211__attach_8c_aebddee84010910150fcec40eed6ec7fc}\label{ar5211__attach_8c_aebddee84010910150fcec40eed6ec7fc}} 
\index{ar5211\_attach.c@{ar5211\_attach.c}!ar5211Attach@{ar5211Attach}}
\index{ar5211Attach@{ar5211Attach}!ar5211\_attach.c@{ar5211\_attach.c}}
\doxysubsubsection{\texorpdfstring{ar5211Attach()}{ar5211Attach()}}
{\footnotesize\ttfamily static struct \mbox{\hyperlink{structath__hal}{ath\+\_\+hal}} $\ast$ ar5211\+Attach (\begin{DoxyParamCaption}\item[{uint16\+\_\+t}]{devid,  }\item[{\mbox{\hyperlink{ah__osdep_8h_a992b4d201fa7972b414c5dfeac3e18e5}{HAL\+\_\+\+SOFTC}}}]{sc,  }\item[{\mbox{\hyperlink{ah__osdep_8h_a77249ffa9316d2580fbb830304c59d99}{HAL\+\_\+\+BUS\+\_\+\+TAG}}}]{st,  }\item[{\mbox{\hyperlink{ah__osdep_8h_abcad28debd6fa3485fe27752662fb605}{HAL\+\_\+\+BUS\+\_\+\+HANDLE}}}]{sh,  }\item[{uint16\+\_\+t $\ast$}]{eepromdata,  }\item[{\mbox{\hyperlink{structHAL__OPS__CONFIG}{HAL\+\_\+\+OPS\+\_\+\+CONFIG}} $\ast$}]{ah\+\_\+config,  }\item[{\mbox{\hyperlink{ah_8h_a064b8990700c1dbc7801f3eb616153b0}{HAL\+\_\+\+STATUS}} $\ast$}]{status }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{ar5211__attach_8c_source_l00209}{209}} of file \mbox{\hyperlink{ar5211__attach_8c_source}{ar5211\+\_\+attach.\+c}}.



References \mbox{\hyperlink{ar5211_8h_source_l00135}{ath\+\_\+hal\+\_\+5211\+::ah\+\_\+acktimeout}}, \mbox{\hyperlink{ah_8h_source_l01233}{ath\+\_\+hal\+::ah\+\_\+analog2\+Ghz\+Rev}}, \mbox{\hyperlink{ah_8h_source_l01232}{ath\+\_\+hal\+::ah\+\_\+analog5\+Ghz\+Rev}}, \mbox{\hyperlink{ar5211_8h_source_l00136}{ath\+\_\+hal\+\_\+5211\+::ah\+\_\+ctstimeout}}, \mbox{\hyperlink{ah_8h_source_l01221}{ath\+\_\+hal\+::ah\+\_\+devid}}, \mbox{\hyperlink{ar5211_8h_source_l00124}{ath\+\_\+hal\+\_\+5211\+::ah\+\_\+diversity\+Control}}, \mbox{\hyperlink{ah_8h_source_l00094}{AH\+\_\+\+FALSE}}, \mbox{\hyperlink{ar5211_8h_source_l00111}{ath\+\_\+hal\+\_\+5211\+::ah\+\_\+macaddr}}, \mbox{\hyperlink{ah_8h_source_l01228}{ath\+\_\+hal\+::ah\+\_\+mac\+Version}}, \mbox{\hyperlink{ah__internal_8h_source_l00028}{AH\+\_\+\+NULL}}, \mbox{\hyperlink{ar5211_8h_source_l00107}{ath\+\_\+hal\+\_\+5211\+::ah\+\_\+priv}}, \mbox{\hyperlink{ah__internal_8h_source_l00442}{AH\+\_\+\+PRIVATE}}, \mbox{\hyperlink{ar5211_8h_source_l00131}{ath\+\_\+hal\+\_\+5211\+::ah\+\_\+rssi\+Thr}}, \mbox{\hyperlink{ah_8h_source_l01223}{ath\+\_\+hal\+::ah\+\_\+sc}}, \mbox{\hyperlink{ah_8h_source_l01225}{ath\+\_\+hal\+::ah\+\_\+sh}}, \mbox{\hyperlink{ar5211_8h_source_l00133}{ath\+\_\+hal\+\_\+5211\+::ah\+\_\+sifstime}}, \mbox{\hyperlink{ar5211_8h_source_l00134}{ath\+\_\+hal\+\_\+5211\+::ah\+\_\+slottime}}, \mbox{\hyperlink{ah_8h_source_l01224}{ath\+\_\+hal\+::ah\+\_\+st}}, \mbox{\hyperlink{ar5211_8h_source_l00129}{ath\+\_\+hal\+\_\+5211\+::ah\+\_\+sta\+Id1\+Defaults}}, \mbox{\hyperlink{ah__devid_8h_source_l00044}{AR5211\+\_\+\+FPGA11B}}, \mbox{\hyperlink{ar5211phy_8h_source_l00089}{AR5211\+\_\+\+PHY\+\_\+\+MODE}}, \mbox{\hyperlink{ar5211phy_8h_source_l00090}{AR5211\+\_\+\+PHY\+\_\+\+MODE\+\_\+\+OFDM}}, \mbox{\hyperlink{ar5211__reset_8c_source_l00596}{ar5211\+Chip\+Reset()}}, \mbox{\hyperlink{ar5211__attach_8c_source_l00392}{ar5211\+Chip\+Test()}}, \mbox{\hyperlink{ar5211__attach_8c_source_l00380}{ar5211\+Detach()}}, \mbox{\hyperlink{ar5211__attach_8c_source_l00481}{ar5211\+Fill\+Capability\+Info()}}, \mbox{\hyperlink{ar5211__reset_8c_source_l01003}{ar5211\+Get\+Nf\+Adjust()}}, \mbox{\hyperlink{ar5211__attach_8c_source_l00192}{ar5211\+Get\+Radio\+Rev()}}, \mbox{\hyperlink{ar5211__attach_8c_source_l00042}{ar5211hal}}, \mbox{\hyperlink{ar5211__reset_8c_source_l01911}{ar5211\+Initialize\+Gain\+Values()}}, \mbox{\hyperlink{ah__eeprom_8h_source_l00071}{AR\+\_\+\+EEP\+\_\+\+BMODE}}, \mbox{\hyperlink{ah__eeprom_8h_source_l00077}{AR\+\_\+\+EEP\+\_\+\+MACADDR}}, \mbox{\hyperlink{ah__eeprom_8h_source_l00086}{AR\+\_\+\+EEP\+\_\+\+REGDMN\+\_\+0}}, \mbox{\hyperlink{ar5210reg_8h_source_l00059}{AR\+\_\+\+PCICFG}}, \mbox{\hyperlink{ar5211reg_8h_source_l00710}{AR\+\_\+\+PCICFG\+\_\+\+EEPROM\+\_\+\+SIZE\+\_\+16K}}, \mbox{\hyperlink{ar5211reg_8h_source_l00644}{AR\+\_\+\+PCICFG\+\_\+\+EEPROM\+\_\+\+SIZE\+\_\+M}}, \mbox{\hyperlink{ar5211reg_8h_source_l00645}{AR\+\_\+\+PCICFG\+\_\+\+EEPROM\+\_\+\+SIZE\+\_\+S}}, \mbox{\hyperlink{ar5210phy_8h_source_l00029}{AR\+\_\+\+PHY\+\_\+\+BASE}}, \mbox{\hyperlink{ar5211phy_8h_source_l00036}{AR\+\_\+\+PHY\+\_\+\+CHIP\+\_\+\+ID}}, \mbox{\hyperlink{ar5211phy_8h_source_l00046}{AR\+\_\+\+PHY\+\_\+\+PLL\+\_\+\+CTL}}, \mbox{\hyperlink{ar5211phy_8h_source_l00047}{AR\+\_\+\+PHY\+\_\+\+PLL\+\_\+\+CTL\+\_\+44}}, \mbox{\hyperlink{ar5210reg_8h_source_l00063}{AR\+\_\+\+SREV}}, \mbox{\hyperlink{ar5211reg_8h_source_l00709}{AR\+\_\+\+SREV\+\_\+\+ID\+\_\+M}}, \mbox{\hyperlink{ar5211reg_8h_source_l00711}{AR\+\_\+\+SREV\+\_\+\+ID\+\_\+S}}, \mbox{\hyperlink{ar5211reg_8h_source_l00712}{AR\+\_\+\+SREV\+\_\+\+REVISION\+\_\+M}}, \mbox{\hyperlink{ar5211reg_8h_source_l00723}{AR\+\_\+\+SREV\+\_\+\+VERSION\+\_\+\+MAUI\+\_\+2}}, \mbox{\hyperlink{ar5211reg_8h_source_l00725}{AR\+\_\+\+SREV\+\_\+\+VERSION\+\_\+\+OAHU}}, \mbox{\hyperlink{ah__internal_8h_source_l00486}{ath\+\_\+hal\+\_\+eeprom\+Get}}, \mbox{\hyperlink{ah__internal_8h_source_l00490}{ath\+\_\+hal\+\_\+eeprom\+Get\+Flag}}, \mbox{\hyperlink{ah__internal_8h_source_l00488}{ath\+\_\+hal\+\_\+eeprom\+Set}}, \mbox{\hyperlink{ah__eeprom__v3_8c_source_l01777}{ath\+\_\+hal\+\_\+legacy\+Eeprom\+Attach()}}, \mbox{\hyperlink{ah__internal_8h_a7f8ca8d72271b356d041c10bd5598ce1}{ath\+\_\+hal\+\_\+malloc()}}, \mbox{\hyperlink{ah__internal_8h_source_l00358}{ath\+\_\+hal\+\_\+private\+::h}}, \mbox{\hyperlink{ah_8h_source_l00759}{HAL\+\_\+\+ANT\+\_\+\+VARIABLE}}, \mbox{\hyperlink{ah__debug_8h_source_l00062}{HAL\+\_\+\+DEBUG\+\_\+\+ANY}}, \mbox{\hyperlink{ah__debug_8h_source_l00030}{HAL\+\_\+\+DEBUG\+\_\+\+ATTACH}}, \mbox{\hyperlink{ah_8h_source_l00082}{HAL\+\_\+\+EESIZE}}, \mbox{\hyperlink{ah_8h_source_l00075}{HAL\+\_\+\+EIO}}, \mbox{\hyperlink{ah_8h_source_l00074}{HAL\+\_\+\+ENOMEM}}, \mbox{\hyperlink{ah_8h_source_l00085}{HAL\+\_\+\+ENOTSUPP}}, \mbox{\hyperlink{ah_8h_source_l00086}{HAL\+\_\+\+ESELFTEST}}, \mbox{\hyperlink{ah_8h_source_l00072}{HAL\+\_\+\+OK}}, \mbox{\hyperlink{ah__internal_8h_source_l00067}{HAL\+\_\+\+TP\+\_\+\+SCALE\+\_\+\+MAX}}, \mbox{\hyperlink{ah__internal_8h_source_l00658}{HALDEBUG}}, \mbox{\hyperlink{ar5210_8h_source_l00084}{INIT\+\_\+\+RSSI\+\_\+\+THR}}, \mbox{\hyperlink{ah__eeprom_8h_source_l00163}{MAX\+\_\+\+RATE\+\_\+\+POWER}}, \mbox{\hyperlink{ah__osdep_8h_source_l00069}{OS\+\_\+\+DELAY}}, \mbox{\hyperlink{ah__osdep_8h_source_l00073}{OS\+\_\+\+MEMCPY}}, \mbox{\hyperlink{ah__osdep_8h_source_l00140}{OS\+\_\+\+REG\+\_\+\+READ}}, \mbox{\hyperlink{ah__osdep_8h_source_l00139}{OS\+\_\+\+REG\+\_\+\+WRITE}}, \mbox{\hyperlink{ar5211reg_8h_source_l00731}{RAD2\+\_\+\+SREV\+\_\+\+MAJOR}}, and \mbox{\hyperlink{ar5211reg_8h_source_l00729}{RAD5\+\_\+\+SREV\+\_\+\+MAJOR}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{da/dc8/ar5211__attach_8c_aebddee84010910150fcec40eed6ec7fc_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{ar5211__attach_8c_aee1a456a851b2b6dcfa3a3bf5dadd2fc}\label{ar5211__attach_8c_aee1a456a851b2b6dcfa3a3bf5dadd2fc}} 
\index{ar5211\_attach.c@{ar5211\_attach.c}!ar5211ChipTest@{ar5211ChipTest}}
\index{ar5211ChipTest@{ar5211ChipTest}!ar5211\_attach.c@{ar5211\_attach.c}}
\doxysubsubsection{\texorpdfstring{ar5211ChipTest()}{ar5211ChipTest()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39a}{HAL\+\_\+\+BOOL}} ar5211\+Chip\+Test (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structath__hal}{ath\+\_\+hal}} $\ast$}]{ah }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{ar5211__attach_8c_source_l00392}{392}} of file \mbox{\hyperlink{ar5211__attach_8c_source}{ar5211\+\_\+attach.\+c}}.



References \mbox{\hyperlink{ah_8h_source_l00094}{AH\+\_\+\+FALSE}}, \mbox{\hyperlink{ah_8h_source_l00095}{AH\+\_\+\+TRUE}}, \mbox{\hyperlink{ar5210phy_8h_source_l00029}{AR\+\_\+\+PHY\+\_\+\+BASE}}, \mbox{\hyperlink{ar5210reg_8h_source_l00070}{AR\+\_\+\+STA\+\_\+\+ID0}}, \mbox{\hyperlink{ah__debug_8h_source_l00062}{HAL\+\_\+\+DEBUG\+\_\+\+ANY}}, \mbox{\hyperlink{ah__internal_8h_source_l00658}{HALDEBUG}}, \mbox{\hyperlink{ah__osdep_8h_source_l00069}{OS\+\_\+\+DELAY}}, \mbox{\hyperlink{ah__osdep_8h_source_l00140}{OS\+\_\+\+REG\+\_\+\+READ}}, and \mbox{\hyperlink{ah__osdep_8h_source_l00139}{OS\+\_\+\+REG\+\_\+\+WRITE}}.



Referenced by \mbox{\hyperlink{ar5211__attach_8c_source_l00209}{ar5211\+Attach()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=290pt]{da/dc8/ar5211__attach_8c_aee1a456a851b2b6dcfa3a3bf5dadd2fc_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{ar5211__attach_8c_a1da73a4f9d77bc6406a8adea764d9e43}\label{ar5211__attach_8c_a1da73a4f9d77bc6406a8adea764d9e43}} 
\index{ar5211\_attach.c@{ar5211\_attach.c}!ar5211ConfigPCIE@{ar5211ConfigPCIE}}
\index{ar5211ConfigPCIE@{ar5211ConfigPCIE}!ar5211\_attach.c@{ar5211\_attach.c}}
\doxysubsubsection{\texorpdfstring{ar5211ConfigPCIE()}{ar5211ConfigPCIE()}}
{\footnotesize\ttfamily static void ar5211\+Config\+PCIE (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structath__hal}{ath\+\_\+hal}} $\ast$}]{ah,  }\item[{\mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39a}{HAL\+\_\+\+BOOL}}}]{restore,  }\item[{\mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39a}{HAL\+\_\+\+BOOL}}}]{power\+\_\+off }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{ar5211__attach_8c_source_l00468}{468}} of file \mbox{\hyperlink{ar5211__attach_8c_source}{ar5211\+\_\+attach.\+c}}.

\mbox{\Hypertarget{ar5211__attach_8c_aa496b0b340ca4f00392d5dbde181e773}\label{ar5211__attach_8c_aa496b0b340ca4f00392d5dbde181e773}} 
\index{ar5211\_attach.c@{ar5211\_attach.c}!ar5211Detach@{ar5211Detach}}
\index{ar5211Detach@{ar5211Detach}!ar5211\_attach.c@{ar5211\_attach.c}}
\doxysubsubsection{\texorpdfstring{ar5211Detach()}{ar5211Detach()}}
{\footnotesize\ttfamily void ar5211\+Detach (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structath__hal}{ath\+\_\+hal}} $\ast$}]{ah }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{ar5211__attach_8c_source_l00380}{380}} of file \mbox{\hyperlink{ar5211__attach_8c_source}{ar5211\+\_\+attach.\+c}}.



References \mbox{\hyperlink{ah_8h_source_l01220}{ath\+\_\+hal\+::ah\+\_\+magic}}, \mbox{\hyperlink{ah__internal_8h_source_l00028}{AH\+\_\+\+NULL}}, \mbox{\hyperlink{ar5211_8h_source_l00026}{AR5211\+\_\+\+MAGIC}}, \mbox{\hyperlink{ah__internal_8h_source_l00482}{ath\+\_\+hal\+\_\+eeprom\+Detach}}, \mbox{\hyperlink{ah__osdep_8c_source_l00116}{ath\+\_\+hal\+\_\+free()}}, \mbox{\hyperlink{ah__debug_8h_source_l00030}{HAL\+\_\+\+DEBUG\+\_\+\+ATTACH}}, \mbox{\hyperlink{ah__internal_8h_source_l00683}{HALASSERT}}, and \mbox{\hyperlink{ah__internal_8h_source_l00658}{HALDEBUG}}.



Referenced by \mbox{\hyperlink{ar5211__attach_8c_source_l00209}{ar5211\+Attach()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=278pt]{da/dc8/ar5211__attach_8c_aa496b0b340ca4f00392d5dbde181e773_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=283pt]{da/dc8/ar5211__attach_8c_aa496b0b340ca4f00392d5dbde181e773_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{ar5211__attach_8c_a0a6d2bae59c0c6e96cc2c88e8c761331}\label{ar5211__attach_8c_a0a6d2bae59c0c6e96cc2c88e8c761331}} 
\index{ar5211\_attach.c@{ar5211\_attach.c}!ar5211DisablePCIE@{ar5211DisablePCIE}}
\index{ar5211DisablePCIE@{ar5211DisablePCIE}!ar5211\_attach.c@{ar5211\_attach.c}}
\doxysubsubsection{\texorpdfstring{ar5211DisablePCIE()}{ar5211DisablePCIE()}}
{\footnotesize\ttfamily static void ar5211\+Disable\+PCIE (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structath__hal}{ath\+\_\+hal}} $\ast$}]{ah }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{ar5211__attach_8c_source_l00473}{473}} of file \mbox{\hyperlink{ar5211__attach_8c_source}{ar5211\+\_\+attach.\+c}}.

\mbox{\Hypertarget{ar5211__attach_8c_ad2b97efd5961f5168fe52fb993bc1589}\label{ar5211__attach_8c_ad2b97efd5961f5168fe52fb993bc1589}} 
\index{ar5211\_attach.c@{ar5211\_attach.c}!ar5211FillCapabilityInfo@{ar5211FillCapabilityInfo}}
\index{ar5211FillCapabilityInfo@{ar5211FillCapabilityInfo}!ar5211\_attach.c@{ar5211\_attach.c}}
\doxysubsubsection{\texorpdfstring{ar5211FillCapabilityInfo()}{ar5211FillCapabilityInfo()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39a}{HAL\+\_\+\+BOOL}} ar5211\+Fill\+Capability\+Info (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structath__hal}{ath\+\_\+hal}} $\ast$}]{ah }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{ar5211__attach_8c_source_l00481}{481}} of file \mbox{\hyperlink{ar5211__attach_8c_source}{ar5211\+\_\+attach.\+c}}.



References \mbox{\hyperlink{ah__internal_8h_source_l00402}{ath\+\_\+hal\+\_\+private\+::ah\+\_\+caps}}, \mbox{\hyperlink{ah_8h_source_l00094}{AH\+\_\+\+FALSE}}, \mbox{\hyperlink{ah__internal_8h_source_l00442}{AH\+\_\+\+PRIVATE}}, \mbox{\hyperlink{ah__internal_8h_source_l00426}{ath\+\_\+hal\+\_\+private\+::ah\+\_\+rfkill\+Enabled}}, \mbox{\hyperlink{ah__internal_8h_source_l00425}{ath\+\_\+hal\+\_\+private\+::ah\+\_\+rfsilent}}, \mbox{\hyperlink{ah__internal_8h_source_l00431}{ath\+\_\+hal\+\_\+private\+::ah\+\_\+rxorn\+Is\+Fatal}}, \mbox{\hyperlink{ah_8h_source_l00095}{AH\+\_\+\+TRUE}}, \mbox{\hyperlink{ah__eeprom_8h_source_l00070}{AR\+\_\+\+EEP\+\_\+\+AMODE}}, \mbox{\hyperlink{ah__eeprom_8h_source_l00071}{AR\+\_\+\+EEP\+\_\+\+BMODE}}, \mbox{\hyperlink{ah__eeprom_8h_source_l00069}{AR\+\_\+\+EEP\+\_\+\+RFKILL}}, \mbox{\hyperlink{ah__eeprom_8h_source_l00090}{AR\+\_\+\+EEP\+\_\+\+RFSILENT}}, \mbox{\hyperlink{ah__eeprom_8h_source_l00073}{AR\+\_\+\+EEP\+\_\+\+TURBO5\+DISABLE}}, \mbox{\hyperlink{ah__internal_8h_source_l00486}{ath\+\_\+hal\+\_\+eeprom\+Get}}, \mbox{\hyperlink{ah__internal_8h_source_l00490}{ath\+\_\+hal\+\_\+eeprom\+Get\+Flag}}, \mbox{\hyperlink{ah__internal_8h_source_l00268}{HAL\+\_\+\+CAPABILITIES\+::hal4kb\+Split\+Trans\+Support}}, \mbox{\hyperlink{ah_8h_source_l00493}{HAL\+\_\+\+INT\+\_\+\+BNR}}, \mbox{\hyperlink{ah_8h_source_l00514}{HAL\+\_\+\+INT\+\_\+\+COMMON}}, \mbox{\hyperlink{ah_8h_source_l00505}{HAL\+\_\+\+INT\+\_\+\+FATAL}}, \mbox{\hyperlink{ah_8h_source_l00473}{HAL\+\_\+\+INT\+\_\+\+RX}}, \mbox{\hyperlink{ah_8h_source_l00494}{HAL\+\_\+\+INT\+\_\+\+TIM}}, \mbox{\hyperlink{ah_8h_source_l00481}{HAL\+\_\+\+INT\+\_\+\+TX}}, \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}}, \mbox{\hyperlink{ah_8h_source_l00251}{HAL\+\_\+\+NUM\+\_\+\+TX\+\_\+\+QUEUES}}, \mbox{\hyperlink{ah_8h_source_l00072}{HAL\+\_\+\+OK}}, \mbox{\hyperlink{ah__internal_8h_source_l00243}{HAL\+\_\+\+CAPABILITIES\+::hal\+Chan\+Half\+Rate}}, \mbox{\hyperlink{ah__internal_8h_source_l00244}{HAL\+\_\+\+CAPABILITIES\+::hal\+Chan\+Quarter\+Rate}}, \mbox{\hyperlink{ah__internal_8h_source_l00223}{HAL\+\_\+\+CAPABILITIES\+::hal\+Chan\+Spread\+Support}}, \mbox{\hyperlink{ah__internal_8h_source_l00269}{HAL\+\_\+\+CAPABILITIES\+::hal\+Has\+Rx\+Self\+Linked\+Tail}}, \mbox{\hyperlink{ah__internal_8h_source_l00299}{HAL\+\_\+\+CAPABILITIES\+::hal\+High2\+Ghz\+Chan}}, \mbox{\hyperlink{ah__internal_8h_source_l00298}{HAL\+\_\+\+CAPABILITIES\+::hal\+High5\+Ghz\+Chan}}, \mbox{\hyperlink{ah__internal_8h_source_l00308}{HAL\+\_\+\+CAPABILITIES\+::hal\+Intr\+Mask}}, \mbox{\hyperlink{ah__internal_8h_source_l00297}{HAL\+\_\+\+CAPABILITIES\+::hal\+Key\+Cache\+Size}}, \mbox{\hyperlink{ah__internal_8h_source_l00299}{HAL\+\_\+\+CAPABILITIES\+::hal\+Low2\+Ghz\+Chan}}, \mbox{\hyperlink{ah__internal_8h_source_l00298}{HAL\+\_\+\+CAPABILITIES\+::hal\+Low5\+Ghz\+Chan}}, \mbox{\hyperlink{ah__internal_8h_source_l00324}{HAL\+\_\+\+CAPABILITIES\+::hal\+Num\+MRRetries}}, \mbox{\hyperlink{ah__internal_8h_source_l00317}{HAL\+\_\+\+CAPABILITIES\+::hal\+Num\+Tx\+Maps}}, \mbox{\hyperlink{ah__internal_8h_source_l00238}{HAL\+\_\+\+CAPABILITIES\+::hal\+PSPoll\+Broken}}, \mbox{\hyperlink{ah__internal_8h_source_l00247}{HAL\+\_\+\+CAPABILITIES\+::hal\+Rf\+Silent\+Support}}, \mbox{\hyperlink{ah__internal_8h_source_l00301}{HAL\+\_\+\+CAPABILITIES\+::hal\+Rx\+Tstamp\+Precision}}, \mbox{\hyperlink{ah__internal_8h_source_l00224}{HAL\+\_\+\+CAPABILITIES\+::hal\+Sleep\+After\+Beacon\+Broken}}, \mbox{\hyperlink{ah__internal_8h_source_l00296}{HAL\+\_\+\+CAPABILITIES\+::hal\+Total\+Queues}}, \mbox{\hyperlink{ah__internal_8h_source_l00300}{HAL\+\_\+\+CAPABILITIES\+::hal\+Tx\+Tstamp\+Precision}}, \mbox{\hyperlink{ah__internal_8h_source_l00262}{HAL\+\_\+\+CAPABILITIES\+::hal\+Use\+Combined\+Radar\+Rssi}}, \mbox{\hyperlink{ah__internal_8h_source_l00239}{HAL\+\_\+\+CAPABILITIES\+::hal\+VEOLSupport}}, and \mbox{\hyperlink{ah__internal_8h_source_l00295}{HAL\+\_\+\+CAPABILITIES\+::hal\+Wireless\+Modes}}.



Referenced by \mbox{\hyperlink{ar5211__attach_8c_source_l00209}{ar5211\+Attach()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=331pt]{da/dc8/ar5211__attach_8c_ad2b97efd5961f5168fe52fb993bc1589_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{ar5211__attach_8c_a8fc535d2bd28333beb275163e8103ee6}\label{ar5211__attach_8c_a8fc535d2bd28333beb275163e8103ee6}} 
\index{ar5211\_attach.c@{ar5211\_attach.c}!ar5211GetChannelEdges@{ar5211GetChannelEdges}}
\index{ar5211GetChannelEdges@{ar5211GetChannelEdges}!ar5211\_attach.c@{ar5211\_attach.c}}
\doxysubsubsection{\texorpdfstring{ar5211GetChannelEdges()}{ar5211GetChannelEdges()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39a}{HAL\+\_\+\+BOOL}} ar5211\+Get\+Channel\+Edges (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structath__hal}{ath\+\_\+hal}} $\ast$}]{ah,  }\item[{uint16\+\_\+t}]{flags,  }\item[{uint16\+\_\+t $\ast$}]{low,  }\item[{uint16\+\_\+t $\ast$}]{high }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{ar5211__attach_8c_source_l00438}{438}} of file \mbox{\hyperlink{ar5211__attach_8c_source}{ar5211\+\_\+attach.\+c}}.



References \mbox{\hyperlink{ah_8h_source_l00094}{AH\+\_\+\+FALSE}}, \mbox{\hyperlink{ah_8h_source_l00095}{AH\+\_\+\+TRUE}}, \mbox{\hyperlink{ah__eeprom_8h_source_l00071}{AR\+\_\+\+EEP\+\_\+\+BMODE}}, and \mbox{\hyperlink{ah__internal_8h_source_l00490}{ath\+\_\+hal\+\_\+eeprom\+Get\+Flag}}.

\mbox{\Hypertarget{ar5211__attach_8c_aac13b2e7c23a38358905dad13bbb83b2}\label{ar5211__attach_8c_aac13b2e7c23a38358905dad13bbb83b2}} 
\index{ar5211\_attach.c@{ar5211\_attach.c}!ar5211GetChipPowerLimits@{ar5211GetChipPowerLimits}}
\index{ar5211GetChipPowerLimits@{ar5211GetChipPowerLimits}!ar5211\_attach.c@{ar5211\_attach.c}}
\doxysubsubsection{\texorpdfstring{ar5211GetChipPowerLimits()}{ar5211GetChipPowerLimits()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39a}{HAL\+\_\+\+BOOL}} ar5211\+Get\+Chip\+Power\+Limits (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structath__hal}{ath\+\_\+hal}} $\ast$}]{ah,  }\item[{struct ieee80211\+\_\+channel $\ast$}]{chan }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{ar5211__attach_8c_source_l00456}{456}} of file \mbox{\hyperlink{ar5211__attach_8c_source}{ar5211\+\_\+attach.\+c}}.



References \mbox{\hyperlink{ah_8h_source_l00095}{AH\+\_\+\+TRUE}}, \mbox{\hyperlink{ah__debug_8h_source_l00030}{HAL\+\_\+\+DEBUG\+\_\+\+ATTACH}}, \mbox{\hyperlink{ah__internal_8h_source_l00658}{HALDEBUG}}, and \mbox{\hyperlink{ah__eeprom_8h_source_l00163}{MAX\+\_\+\+RATE\+\_\+\+POWER}}.

\mbox{\Hypertarget{ar5211__attach_8c_a0cf053fdbfbcae9ae18f5445833ed7ba}\label{ar5211__attach_8c_a0cf053fdbfbcae9ae18f5445833ed7ba}} 
\index{ar5211\_attach.c@{ar5211\_attach.c}!ar5211GetRadioRev@{ar5211GetRadioRev}}
\index{ar5211GetRadioRev@{ar5211GetRadioRev}!ar5211\_attach.c@{ar5211\_attach.c}}
\doxysubsubsection{\texorpdfstring{ar5211GetRadioRev()}{ar5211GetRadioRev()}}
{\footnotesize\ttfamily static uint32\+\_\+t ar5211\+Get\+Radio\+Rev (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structath__hal}{ath\+\_\+hal}} $\ast$}]{ah }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{ar5211__attach_8c_source_l00192}{192}} of file \mbox{\hyperlink{ar5211__attach_8c_source}{ar5211\+\_\+attach.\+c}}.



References \mbox{\hyperlink{ar5210phy_8h_source_l00029}{AR\+\_\+\+PHY\+\_\+\+BASE}}, \mbox{\hyperlink{ah_8c_source_l00333}{ath\+\_\+hal\+\_\+reverse\+Bits()}}, \mbox{\hyperlink{ah__osdep_8h_source_l00140}{OS\+\_\+\+REG\+\_\+\+READ}}, and \mbox{\hyperlink{ah__osdep_8h_source_l00139}{OS\+\_\+\+REG\+\_\+\+WRITE}}.



Referenced by \mbox{\hyperlink{ar5211__attach_8c_source_l00209}{ar5211\+Attach()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=343pt]{da/dc8/ar5211__attach_8c_a0cf053fdbfbcae9ae18f5445833ed7ba_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=312pt]{da/dc8/ar5211__attach_8c_a0cf053fdbfbcae9ae18f5445833ed7ba_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{ar5211__attach_8c_a8d6b668fbdc3565ddc530c617b348dd1}\label{ar5211__attach_8c_a8d6b668fbdc3565ddc530c617b348dd1}} 
\index{ar5211\_attach.c@{ar5211\_attach.c}!ar5211Probe@{ar5211Probe}}
\index{ar5211Probe@{ar5211Probe}!ar5211\_attach.c@{ar5211\_attach.c}}
\doxysubsubsection{\texorpdfstring{ar5211Probe()}{ar5211Probe()}}
{\footnotesize\ttfamily static const char $\ast$ ar5211\+Probe (\begin{DoxyParamCaption}\item[{uint16\+\_\+t}]{vendorid,  }\item[{uint16\+\_\+t}]{devid }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{ar5211__attach_8c_source_l00547}{547}} of file \mbox{\hyperlink{ar5211__attach_8c_source}{ar5211\+\_\+attach.\+c}}.



References \mbox{\hyperlink{ah__internal_8h_source_l00028}{AH\+\_\+\+NULL}}, \mbox{\hyperlink{ah__devid_8h_source_l00040}{AR5211\+\_\+\+DEFAULT}}, \mbox{\hyperlink{ah__devid_8h_source_l00042}{AR5211\+\_\+\+DEVID}}, \mbox{\hyperlink{ah__devid_8h_source_l00044}{AR5211\+\_\+\+FPGA11B}}, \mbox{\hyperlink{ah__devid_8h_source_l00041}{AR5311\+\_\+\+DEVID}}, and \mbox{\hyperlink{ah__devid_8h_source_l00025}{ATHEROS\+\_\+\+VENDOR\+\_\+\+ID}}.



\doxysubsection{Variable Documentation}
\mbox{\Hypertarget{ar5211__attach_8c_a739be88f78268ea98030f167b718494d}\label{ar5211__attach_8c_a739be88f78268ea98030f167b718494d}} 
\index{ar5211\_attach.c@{ar5211\_attach.c}!ar5211hal@{ar5211hal}}
\index{ar5211hal@{ar5211hal}!ar5211\_attach.c@{ar5211\_attach.c}}
\doxysubsubsection{\texorpdfstring{ar5211hal}{ar5211hal}}
{\footnotesize\ttfamily const struct \mbox{\hyperlink{structath__hal__private}{ath\+\_\+hal\+\_\+private}} ar5211hal\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{ar5211__attach_8c_source_l00042}{42}} of file \mbox{\hyperlink{ar5211__attach_8c_source}{ar5211\+\_\+attach.\+c}}.



Referenced by \mbox{\hyperlink{ar5211__attach_8c_source_l00209}{ar5211\+Attach()}}.

