\hypertarget{ar5211__phy_8c_source}{}\doxysection{ar5211\+\_\+phy.\+c}
\label{ar5211__phy_8c_source}\index{dev/ath/ath\_hal/ar5211/ar5211\_phy.c@{dev/ath/ath\_hal/ar5211/ar5211\_phy.c}}
\mbox{\hyperlink{ar5211__phy_8c}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00001}00001 \textcolor{comment}{/*-\/}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00002}00002 \textcolor{comment}{ * SPDX-\/License-\/Identifier: ISC}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00003}00003 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00004}00004 \textcolor{comment}{ * Copyright (c) 2002-\/2008 Sam Leffler, Errno Consulting}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00005}00005 \textcolor{comment}{ * Copyright (c) 2002-\/2006 Atheros Communications, Inc.}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00006}00006 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00007}00007 \textcolor{comment}{ * Permission to use, copy, modify, and/or distribute this software for any}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00008}00008 \textcolor{comment}{ * purpose with or without fee is hereby granted, provided that the above}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00009}00009 \textcolor{comment}{ * copyright notice and this permission notice appear in all copies.}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00010}00010 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00011}00011 \textcolor{comment}{ * THE SOFTWARE IS PROVIDED "{}AS IS"{} AND THE AUTHOR DISCLAIMS ALL WARRANTIES}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00012}00012 \textcolor{comment}{ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00013}00013 \textcolor{comment}{ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00014}00014 \textcolor{comment}{ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00015}00015 \textcolor{comment}{ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00016}00016 \textcolor{comment}{ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00017}00017 \textcolor{comment}{ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00018}00018 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00019}00019 \textcolor{comment}{ * \$FreeBSD\$}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00020}00020 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00021}00021 \textcolor{preprocessor}{\#include "{}opt\_ah.h"{}}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00022}00022 }
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00023}00023 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{ah_8h}{ah.h}}"{}}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00024}00024 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{ah__internal_8h}{ah\_internal.h}}"{}}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00025}00025 }
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00026}00026 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{ar5211_8h}{ar5211/ar5211.h}}"{}}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00027}00027 }
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00028}00028 \textcolor{comment}{/* shorthands to compact tables for readability */}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00029}\mbox{\hyperlink{ar5211__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{00029}} \textcolor{preprocessor}{\#define OFDM    IEEE80211\_T\_OFDM}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00030}\mbox{\hyperlink{ar5211__phy_8c_a2b0071a000c7834915152060508074e7}{00030}} \textcolor{preprocessor}{\#define CCK     IEEE80211\_T\_CCK}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00031}\mbox{\hyperlink{ar5211__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{00031}} \textcolor{preprocessor}{\#define TURBO   IEEE80211\_T\_TURBO}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00032}00032 }
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00033}\mbox{\hyperlink{ar5211__phy_8c_af6e3de9df06432c5601bfbd51cfe06a1}{00033}} \mbox{\hyperlink{structHAL__RATE__TABLE}{HAL\_RATE\_TABLE}} \mbox{\hyperlink{ar5211__phy_8c_af6e3de9df06432c5601bfbd51cfe06a1}{ar5211\_11a\_table}} = \{}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00034}00034         8,  \textcolor{comment}{/* number of rates */}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00035}00035         \{ 0 \},}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00036}00036         \{}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00037}00037 \textcolor{comment}{/*                                                  short            ctrl  */}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00038}00038 \textcolor{comment}{/*                valid                 rateCode Preamble  dot11Rate Rate */}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00039}00039 \textcolor{comment}{/*   6 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},    6000,     0x0b,    0x00, (0x80|12),   0 \},}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00040}00040 \textcolor{comment}{/*   9 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},    9000,     0x0f,    0x00,        18,   0 \},}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00041}00041 \textcolor{comment}{/*  12 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},   12000,     0x0a,    0x00, (0x80|24),   2 \},}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00042}00042 \textcolor{comment}{/*  18 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},   18000,     0x0e,    0x00,        36,   2 \},}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00043}00043 \textcolor{comment}{/*  24 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},   24000,     0x09,    0x00, (0x80|48),   4 \},}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00044}00044 \textcolor{comment}{/*  36 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},   36000,     0x0d,    0x00,        72,   4 \},}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00045}00045 \textcolor{comment}{/*  48 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},   48000,     0x08,    0x00,        96,   4 \},}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00046}00046 \textcolor{comment}{/*  54 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},   54000,     0x0c,    0x00,       108,   4 \}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00047}00047         \},}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00048}00048 \};}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00049}00049 }
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00050}\mbox{\hyperlink{ar5211__phy_8c_a7e94376f85f12f1dedef245f46e1f380}{00050}} \mbox{\hyperlink{structHAL__RATE__TABLE}{HAL\_RATE\_TABLE}} \mbox{\hyperlink{ar5211__phy_8c_a7e94376f85f12f1dedef245f46e1f380}{ar5211\_turbo\_table}} = \{}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00051}00051         8,  \textcolor{comment}{/* number of rates */}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00052}00052         \{ 0 \},}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00053}00053         \{}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00054}00054 \textcolor{comment}{/*                                                 short            ctrl  */}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00055}00055 \textcolor{comment}{/*                valid                rateCode Preamble  dot11Rate Rate */}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00056}00056 \textcolor{comment}{/*   6 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  12000,    0x0b,    0x00, (0x80|12),   0 \},}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00057}00057 \textcolor{comment}{/*   9 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  18000,    0x0f,    0x00,        18,   0 \},}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00058}00058 \textcolor{comment}{/*  12 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  24000,    0x0a,    0x00, (0x80|24),   2 \},}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00059}00059 \textcolor{comment}{/*  18 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  36000,    0x0e,    0x00,        36,   2 \},}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00060}00060 \textcolor{comment}{/*  24 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  48000,    0x09,    0x00, (0x80|48),   4 \},}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00061}00061 \textcolor{comment}{/*  36 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  72000,    0x0d,    0x00,        72,   4 \},}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00062}00062 \textcolor{comment}{/*  48 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  96000,    0x08,    0x00,        96,   4 \},}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00063}00063 \textcolor{comment}{/*  54 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5211__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}}, 108000,    0x0c,    0x00,       108,   4 \}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00064}00064         \},}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00065}00065 \};}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00066}00066 }
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00067}\mbox{\hyperlink{ar5211__phy_8c_ae58d823168014c11d8574334f149098e}{00067}} \mbox{\hyperlink{structHAL__RATE__TABLE}{HAL\_RATE\_TABLE}} \mbox{\hyperlink{ar5211__phy_8c_ae58d823168014c11d8574334f149098e}{ar5211\_11b\_table}} = \{}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00068}00068         4,  \textcolor{comment}{/* number of rates */}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00069}00069         \{ 0 \},}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00070}00070         \{}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00071}00071 \textcolor{comment}{/*                                                 short            ctrl  */}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00072}00072 \textcolor{comment}{/*                valid                rateCode Preamble  dot11Rate Rate */}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00073}00073 \textcolor{comment}{/*   1 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}},  \mbox{\hyperlink{ar5211__phy_8c_a2b0071a000c7834915152060508074e7}{CCK}},    1000,    0x0b,    0x00, (0x80| 2),   0 \},}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00074}00074 \textcolor{comment}{/*   2 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}},  \mbox{\hyperlink{ar5211__phy_8c_a2b0071a000c7834915152060508074e7}{CCK}},    2000,    0x0a,    0x04, (0x80| 4),   1 \},}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00075}00075 \textcolor{comment}{/* 5.5 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}},  \mbox{\hyperlink{ar5211__phy_8c_a2b0071a000c7834915152060508074e7}{CCK}},    5500,    0x09,    0x04, (0x80|11),   1 \},}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00076}00076 \textcolor{comment}{/*  11 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}},  \mbox{\hyperlink{ar5211__phy_8c_a2b0071a000c7834915152060508074e7}{CCK}},   11000,    0x08,    0x04, (0x80|22),   1 \}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00077}00077         \},}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00078}00078 \};}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00079}00079 }
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00080}00080 \textcolor{preprocessor}{\#undef  OFDM}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00081}00081 \textcolor{preprocessor}{\#undef  CCK}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00082}00082 \textcolor{preprocessor}{\#undef  TURBO}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00083}00083 }
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00084}00084 \textcolor{keyword}{const} \mbox{\hyperlink{structHAL__RATE__TABLE}{HAL\_RATE\_TABLE}} *}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00085}\mbox{\hyperlink{ar5211_8h_a352b0eabc149a4ba262a48172ab06883}{00085}} \mbox{\hyperlink{ar5211__phy_8c_a1258ca8b8e6e88a10fa3a852f5b1a950}{ar5211GetRateTable}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structath__hal}{ath\_hal}} *ah, u\_int mode)}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00086}00086 \{}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00087}00087         \mbox{\hyperlink{structHAL__RATE__TABLE}{HAL\_RATE\_TABLE}} *rt;}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00088}00088         \textcolor{keywordflow}{switch} (mode) \{}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00089}00089         \textcolor{keywordflow}{case} \mbox{\hyperlink{ah_8h_a06fc87d81c62e9abb8790b6e5713c55bae80ef4550a7e672baf48dbbcb80d4bfd}{HAL\_MODE\_11A}}:}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00090}00090                 rt = \&\mbox{\hyperlink{ar5211__phy_8c_af6e3de9df06432c5601bfbd51cfe06a1}{ar5211\_11a\_table}};}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00091}00091                 \textcolor{keywordflow}{break};}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00092}00092         \textcolor{keywordflow}{case} \mbox{\hyperlink{ah_8h_a06fc87d81c62e9abb8790b6e5713c55baf143b2e5066c834d107d32a204d45584}{HAL\_MODE\_11B}}:}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00093}00093                 rt = \&\mbox{\hyperlink{ar5211__phy_8c_ae58d823168014c11d8574334f149098e}{ar5211\_11b\_table}};}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00094}00094                 \textcolor{keywordflow}{break};}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00095}00095         \textcolor{keywordflow}{case} \mbox{\hyperlink{ah_8h_a06fc87d81c62e9abb8790b6e5713c55bab433f5e17303cfc159f417e0cd40fde3}{HAL\_MODE\_TURBO}}:}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00096}00096                 rt =  \&\mbox{\hyperlink{ar5211__phy_8c_a7e94376f85f12f1dedef245f46e1f380}{ar5211\_turbo\_table}};}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00097}00097                 \textcolor{keywordflow}{break};}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00098}00098         \textcolor{keywordflow}{default}:}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00099}00099                 \mbox{\hyperlink{ah__internal_8h_ac09ac07206a85dc5f4079553a0520c4e}{HALDEBUG}}(ah, \mbox{\hyperlink{ah__debug_8h_a61dadd085c1777f559549e05962b2c9ea35506ea938627da4c44204d0895d0bf8}{HAL\_DEBUG\_ANY}}, \textcolor{stringliteral}{"{}\%s: invalid mode 0x\%x\(\backslash\)n"{}},}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00100}00100                     \_\_func\_\_, mode);}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00101}00101                 \textcolor{keywordflow}{return} \mbox{\hyperlink{ah__internal_8h_ab933afbd431099f80d5e58c5a6271b4a}{AH\_NULL}};}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00102}00102         \}}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00103}00103         \mbox{\hyperlink{ah_8c_a26bc76fda67c12b5420d15b418efe340}{ath\_hal\_setupratetable}}(ah, rt);}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00104}00104         \textcolor{keywordflow}{return} rt;}
\DoxyCodeLine{\Hypertarget{ar5211__phy_8c_source_l00105}00105 \}}

\end{DoxyCode}
