\hypertarget{ar5212__phy_8c_source}{}\doxysection{ar5212\+\_\+phy.\+c}
\label{ar5212__phy_8c_source}\index{dev/ath/ath\_hal/ar5212/ar5212\_phy.c@{dev/ath/ath\_hal/ar5212/ar5212\_phy.c}}
\mbox{\hyperlink{ar5212__phy_8c}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00001}00001 \textcolor{comment}{/*-\/}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00002}00002 \textcolor{comment}{ * SPDX-\/License-\/Identifier: ISC}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00003}00003 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00004}00004 \textcolor{comment}{ * Copyright (c) 2002-\/2008 Sam Leffler, Errno Consulting}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00005}00005 \textcolor{comment}{ * Copyright (c) 2002-\/2008 Atheros Communications, Inc.}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00006}00006 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00007}00007 \textcolor{comment}{ * Permission to use, copy, modify, and/or distribute this software for any}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00008}00008 \textcolor{comment}{ * purpose with or without fee is hereby granted, provided that the above}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00009}00009 \textcolor{comment}{ * copyright notice and this permission notice appear in all copies.}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00010}00010 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00011}00011 \textcolor{comment}{ * THE SOFTWARE IS PROVIDED "{}AS IS"{} AND THE AUTHOR DISCLAIMS ALL WARRANTIES}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00012}00012 \textcolor{comment}{ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00013}00013 \textcolor{comment}{ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00014}00014 \textcolor{comment}{ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00015}00015 \textcolor{comment}{ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00016}00016 \textcolor{comment}{ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00017}00017 \textcolor{comment}{ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00018}00018 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00019}00019 \textcolor{comment}{ * \$FreeBSD\$}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00020}00020 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00021}00021 \textcolor{preprocessor}{\#include "{}opt\_ah.h"{}}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00022}00022 }
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00023}00023 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{ah_8h}{ah.h}}"{}}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00024}00024 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{ah__internal_8h}{ah\_internal.h}}"{}}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00025}00025 }
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00026}00026 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{ar5212_8h}{ar5212/ar5212.h}}"{}}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00027}00027 }
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00028}00028 \textcolor{comment}{/* shorthands to compact tables for readability */}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00029}\mbox{\hyperlink{ar5212__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{00029}} \textcolor{preprocessor}{\#define OFDM    IEEE80211\_T\_OFDM}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00030}\mbox{\hyperlink{ar5212__phy_8c_a2b0071a000c7834915152060508074e7}{00030}} \textcolor{preprocessor}{\#define CCK     IEEE80211\_T\_CCK}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00031}\mbox{\hyperlink{ar5212__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{00031}} \textcolor{preprocessor}{\#define TURBO   IEEE80211\_T\_TURBO}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00032}\mbox{\hyperlink{ar5212__phy_8c_a37c4c48ff47f0838f64b5a1fb3c803b2}{00032}} \textcolor{preprocessor}{\#define HALF    IEEE80211\_T\_OFDM\_HALF}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00033}\mbox{\hyperlink{ar5212__phy_8c_a01077c01fc71e9fd665ca8166ac66541}{00033}} \textcolor{preprocessor}{\#define QUART   IEEE80211\_T\_OFDM\_QUARTER}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00034}00034 }
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00035}\mbox{\hyperlink{ar5212__phy_8c_ade552825e34ace11e1fc271cc8364bb3}{00035}} \mbox{\hyperlink{structHAL__RATE__TABLE}{HAL\_RATE\_TABLE}} \mbox{\hyperlink{ar5212__phy_8c_ade552825e34ace11e1fc271cc8364bb3}{ar5212\_11a\_table}} = \{}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00036}00036         8,  \textcolor{comment}{/* number of rates */}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00037}00037         \{ 0 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00038}00038         \{}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00039}00039 \textcolor{comment}{/*                                                  short            ctrl  */}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00040}00040 \textcolor{comment}{/*                valid                 rateCode Preamble  dot11Rate Rate */}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00041}00041 \textcolor{comment}{/*   6 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},    6000,     0x0b,    0x00, (0x80|12),   0 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00042}00042 \textcolor{comment}{/*   9 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},    9000,     0x0f,    0x00,        18,   0 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00043}00043 \textcolor{comment}{/*  12 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},   12000,     0x0a,    0x00, (0x80|24),   2 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00044}00044 \textcolor{comment}{/*  18 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},   18000,     0x0e,    0x00,        36,   2 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00045}00045 \textcolor{comment}{/*  24 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},   24000,     0x09,    0x00, (0x80|48),   4 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00046}00046 \textcolor{comment}{/*  36 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},   36000,     0x0d,    0x00,        72,   4 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00047}00047 \textcolor{comment}{/*  48 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},   48000,     0x08,    0x00,        96,   4 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00048}00048 \textcolor{comment}{/*  54 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},   54000,     0x0c,    0x00,       108,   4 \}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00049}00049         \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00050}00050 \};}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00051}00051 }
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00052}\mbox{\hyperlink{ar5212__phy_8c_ae0074f5fa718450266d2e856afc0efcf}{00052}} \mbox{\hyperlink{structHAL__RATE__TABLE}{HAL\_RATE\_TABLE}} \mbox{\hyperlink{ar5212__phy_8c_ae0074f5fa718450266d2e856afc0efcf}{ar5212\_half\_table}} = \{}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00053}00053         8,  \textcolor{comment}{/* number of rates */}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00054}00054         \{ 0 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00055}00055         \{}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00056}00056 \textcolor{comment}{/*                                                  short            ctrl  */}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00057}00057 \textcolor{comment}{/*                valid                 rateCode Preamble  dot11Rate Rate */}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00058}00058 \textcolor{comment}{/*   3 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a37c4c48ff47f0838f64b5a1fb3c803b2}{HALF}},    3000,     0x0b,    0x00, (0x80|6),   0 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00059}00059 \textcolor{comment}{/* 4.5 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a37c4c48ff47f0838f64b5a1fb3c803b2}{HALF}},    4500,     0x0f,    0x00,        9,   0 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00060}00060 \textcolor{comment}{/*   6 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a37c4c48ff47f0838f64b5a1fb3c803b2}{HALF}},    6000,     0x0a,    0x00, (0x80|12),  2 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00061}00061 \textcolor{comment}{/*   9 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a37c4c48ff47f0838f64b5a1fb3c803b2}{HALF}},    9000,     0x0e,    0x00,       18,   2 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00062}00062 \textcolor{comment}{/*  12 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a37c4c48ff47f0838f64b5a1fb3c803b2}{HALF}},   12000,     0x09,    0x00, (0x80|24),  4 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00063}00063 \textcolor{comment}{/*  18 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a37c4c48ff47f0838f64b5a1fb3c803b2}{HALF}},   18000,     0x0d,    0x00,       36,   4 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00064}00064 \textcolor{comment}{/*  24 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a37c4c48ff47f0838f64b5a1fb3c803b2}{HALF}},   24000,     0x08,    0x00,       48,   4 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00065}00065 \textcolor{comment}{/*  27 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a37c4c48ff47f0838f64b5a1fb3c803b2}{HALF}},   27000,     0x0c,    0x00,       54,   4 \}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00066}00066         \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00067}00067 \};}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00068}00068 }
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00069}\mbox{\hyperlink{ar5212__phy_8c_ad25360932a12c4eb773d96e66fb16ec1}{00069}} \mbox{\hyperlink{structHAL__RATE__TABLE}{HAL\_RATE\_TABLE}} \mbox{\hyperlink{ar5212__phy_8c_ad25360932a12c4eb773d96e66fb16ec1}{ar5212\_quarter\_table}} = \{}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00070}00070         8,  \textcolor{comment}{/* number of rates */}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00071}00071         \{ 0 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00072}00072         \{}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00073}00073 \textcolor{comment}{/*                                                  short            ctrl  */}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00074}00074 \textcolor{comment}{/*                valid                 rateCode Preamble  dot11Rate Rate */}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00075}00075 \textcolor{comment}{/* 1.5 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a01077c01fc71e9fd665ca8166ac66541}{QUART}},   1500,     0x0b,    0x00, (0x80|3),   0 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00076}00076 \textcolor{comment}{/*   2 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a01077c01fc71e9fd665ca8166ac66541}{QUART}},   2250,     0x0f,    0x00,        4,   0 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00077}00077 \textcolor{comment}{/*   3 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a01077c01fc71e9fd665ca8166ac66541}{QUART}},   3000,     0x0a,    0x00, (0x80|6),   2 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00078}00078 \textcolor{comment}{/* 4.5 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a01077c01fc71e9fd665ca8166ac66541}{QUART}},   4500,     0x0e,    0x00,        9,   2 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00079}00079 \textcolor{comment}{/*   6 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a01077c01fc71e9fd665ca8166ac66541}{QUART}},   6000,     0x09,    0x00, (0x80|12),  4 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00080}00080 \textcolor{comment}{/*   9 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a01077c01fc71e9fd665ca8166ac66541}{QUART}},   9000,     0x0d,    0x00,       18,   4 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00081}00081 \textcolor{comment}{/*  12 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a01077c01fc71e9fd665ca8166ac66541}{QUART}},  12000,     0x08,    0x00,       24,   4 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00082}00082 \textcolor{comment}{/*13.5 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a01077c01fc71e9fd665ca8166ac66541}{QUART}},  13500,     0x0c,    0x00,       27,   4 \}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00083}00083         \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00084}00084 \};}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00085}00085 }
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00086}\mbox{\hyperlink{ar5212__phy_8c_a5679e5221ed92b78db23933363122156}{00086}} \mbox{\hyperlink{structHAL__RATE__TABLE}{HAL\_RATE\_TABLE}} \mbox{\hyperlink{ar5212__phy_8c_a5679e5221ed92b78db23933363122156}{ar5212\_turbog\_table}} = \{}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00087}00087         7,  \textcolor{comment}{/* number of rates */}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00088}00088         \{ 0 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00089}00089         \{}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00090}00090 \textcolor{comment}{/*                                                 short            ctrl  */}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00091}00091 \textcolor{comment}{/*                valid                rateCode Preamble  dot11Rate Rate */}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00092}00092 \textcolor{comment}{/*   6 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  12000,    0x0b,    0x00, (0x80|12),   0 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00093}00093 \textcolor{comment}{/*  12 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  24000,    0x0a,    0x00, (0x80|24),   1 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00094}00094 \textcolor{comment}{/*  18 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  36000,    0x0e,    0x00,        36,   1 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00095}00095 \textcolor{comment}{/*  24 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  48000,    0x09,    0x00, (0x80|48),   2 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00096}00096 \textcolor{comment}{/*  36 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  72000,    0x0d,    0x00,        72,   2 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00097}00097 \textcolor{comment}{/*  48 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  96000,    0x08,    0x00,        96,   2 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00098}00098 \textcolor{comment}{/*  54 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}}, 108000,    0x0c,    0x00,       108,   2 \}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00099}00099         \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00100}00100 \};}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00101}00101 }
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00102}\mbox{\hyperlink{ar5212__phy_8c_a7a0dc735f31e20897c13cd65b5a065a0}{00102}} \mbox{\hyperlink{structHAL__RATE__TABLE}{HAL\_RATE\_TABLE}} \mbox{\hyperlink{ar5212__phy_8c_a7a0dc735f31e20897c13cd65b5a065a0}{ar5212\_turboa\_table}} = \{}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00103}00103         8,  \textcolor{comment}{/* number of rates */}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00104}00104         \{ 0 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00105}00105         \{}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00106}00106 \textcolor{comment}{/*                                                 short            ctrl  */}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00107}00107 \textcolor{comment}{/*                valid                rateCode Preamble  dot11Rate Rate */}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00108}00108 \textcolor{comment}{/*   6 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  12000,    0x0b,    0x00, (0x80|12),   0 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00109}00109 \textcolor{comment}{/*   9 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  18000,    0x0f,    0x00,        18,   0 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00110}00110 \textcolor{comment}{/*  12 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  24000,    0x0a,    0x00, (0x80|24),   2 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00111}00111 \textcolor{comment}{/*  18 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  36000,    0x0e,    0x00,        36,   2 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00112}00112 \textcolor{comment}{/*  24 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  48000,    0x09,    0x00, (0x80|48),   4 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00113}00113 \textcolor{comment}{/*  36 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  72000,    0x0d,    0x00,        72,   4 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00114}00114 \textcolor{comment}{/*  48 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}},  96000,    0x08,    0x00,        96,   4 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00115}00115 \textcolor{comment}{/*  54 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a0a305887de8e1a6b972a5d8edbafcb88}{TURBO}}, 108000,    0x0c,    0x00,       108,   4 \}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00116}00116         \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00117}00117 \};}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00118}00118 }
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00119}\mbox{\hyperlink{ar5212__phy_8c_a843064de69a19a22a4c31edda3bccaa7}{00119}} \mbox{\hyperlink{structHAL__RATE__TABLE}{HAL\_RATE\_TABLE}} \mbox{\hyperlink{ar5212__phy_8c_a843064de69a19a22a4c31edda3bccaa7}{ar5212\_11b\_table}} = \{}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00120}00120         4,  \textcolor{comment}{/* number of rates */}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00121}00121         \{ 0 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00122}00122         \{}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00123}00123 \textcolor{comment}{/*                                                 short            ctrl  */}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00124}00124 \textcolor{comment}{/*                valid                rateCode Preamble  dot11Rate Rate */}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00125}00125 \textcolor{comment}{/*   1 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}},  \mbox{\hyperlink{ar5212__phy_8c_a2b0071a000c7834915152060508074e7}{CCK}},    1000,    0x1b,    0x00, (0x80| 2),   0 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00126}00126 \textcolor{comment}{/*   2 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}},  \mbox{\hyperlink{ar5212__phy_8c_a2b0071a000c7834915152060508074e7}{CCK}},    2000,    0x1a,    0x04, (0x80| 4),   1 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00127}00127 \textcolor{comment}{/* 5.5 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}},  \mbox{\hyperlink{ar5212__phy_8c_a2b0071a000c7834915152060508074e7}{CCK}},    5500,    0x19,    0x04, (0x80|11),   1 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00128}00128 \textcolor{comment}{/*  11 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}},  \mbox{\hyperlink{ar5212__phy_8c_a2b0071a000c7834915152060508074e7}{CCK}},   11000,    0x18,    0x04, (0x80|22),   1 \}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00129}00129         \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00130}00130 \};}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00131}00131 }
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00132}00132 \textcolor{comment}{/* Venice TODO: roundUpRate() is broken when the rate table does not represent rates}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00133}00133 \textcolor{comment}{ * in increasing order  e.g.  5.5, 11, 6, 9.    }}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00134}00134 \textcolor{comment}{ * An average rate of 6 Mbps will currently map to 11 Mbps. }}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00135}00135 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00136}\mbox{\hyperlink{ar5212__phy_8c_a53eda3e551c8cff4c8c378c2f70c4c12}{00136}} \mbox{\hyperlink{structHAL__RATE__TABLE}{HAL\_RATE\_TABLE}} \mbox{\hyperlink{ar5212__phy_8c_a53eda3e551c8cff4c8c378c2f70c4c12}{ar5212\_11g\_table}} = \{}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00137}00137         12,  \textcolor{comment}{/* number of rates */}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00138}00138         \{ 0 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00139}00139         \{}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00140}00140 \textcolor{comment}{/*                                                 short            ctrl  */}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00141}00141 \textcolor{comment}{/*                valid                rateCode Preamble  dot11Rate Rate */}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00142}00142 \textcolor{comment}{/*   1 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a2b0071a000c7834915152060508074e7}{CCK}},     1000,    0x1b,    0x00, (0x80| 2),   0 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00143}00143 \textcolor{comment}{/*   2 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a2b0071a000c7834915152060508074e7}{CCK}},     2000,    0x1a,    0x04, (0x80| 4),   1 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00144}00144 \textcolor{comment}{/* 5.5 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a2b0071a000c7834915152060508074e7}{CCK}},     5500,    0x19,    0x04, (0x80|11),   2 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00145}00145 \textcolor{comment}{/*  11 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a2b0071a000c7834915152060508074e7}{CCK}},    11000,    0x18,    0x04, (0x80|22),   3 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00146}00146 \textcolor{comment}{/* remove rates 6, 9 from rate ctrl */}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00147}00147 \textcolor{comment}{/*   6 Mb */} \{ \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aa46085f3e46cbceb46c46b0bde64a6c20}{AH\_FALSE}}, \mbox{\hyperlink{ar5212__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},    6000,    0x0b,    0x00,        12,   4 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00148}00148 \textcolor{comment}{/*   9 Mb */} \{ \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aa46085f3e46cbceb46c46b0bde64a6c20}{AH\_FALSE}}, \mbox{\hyperlink{ar5212__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},    9000,    0x0f,    0x00,        18,   4 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00149}00149 \textcolor{comment}{/*  12 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},   12000,    0x0a,    0x00,        24,   6 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00150}00150 \textcolor{comment}{/*  18 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},   18000,    0x0e,    0x00,        36,   6 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00151}00151 \textcolor{comment}{/*  24 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},   24000,    0x09,    0x00,        48,   8 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00152}00152 \textcolor{comment}{/*  36 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},   36000,    0x0d,    0x00,        72,   8 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00153}00153 \textcolor{comment}{/*  48 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},   48000,    0x08,    0x00,        96,   8 \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00154}00154 \textcolor{comment}{/*  54 Mb */} \{  \mbox{\hyperlink{ah_8h_ae8793e83d29537653565625006f5c39aadc898cbb91e577b40c005576c51e8fdb}{AH\_TRUE}}, \mbox{\hyperlink{ar5212__phy_8c_a80a6b703ee482905c67ec47d6c0b2555}{OFDM}},   54000,    0x0c,    0x00,       108,   8 \}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00155}00155         \},}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00156}00156 \};}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00157}00157 }
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00158}00158 \textcolor{preprocessor}{\#undef  OFDM}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00159}00159 \textcolor{preprocessor}{\#undef  CCK}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00160}00160 \textcolor{preprocessor}{\#undef  TURBO}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00161}00161 \textcolor{preprocessor}{\#undef  XR}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00162}00162 }
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00163}00163 \textcolor{keyword}{const} \mbox{\hyperlink{structHAL__RATE__TABLE}{HAL\_RATE\_TABLE}} *}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00164}\mbox{\hyperlink{ar5212_8h_aaed63c090c9db4e65b7285319c643758}{00164}} \mbox{\hyperlink{ar5212__phy_8c_a90eb30c5d6ecfa31e5741542ad032b72}{ar5212GetRateTable}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structath__hal}{ath\_hal}} *ah, u\_int mode)}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00165}00165 \{}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00166}00166         \mbox{\hyperlink{structHAL__RATE__TABLE}{HAL\_RATE\_TABLE}} *rt;}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00167}00167         \textcolor{keywordflow}{switch} (mode) \{}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00168}00168         \textcolor{keywordflow}{case} \mbox{\hyperlink{ah_8h_a06fc87d81c62e9abb8790b6e5713c55bae80ef4550a7e672baf48dbbcb80d4bfd}{HAL\_MODE\_11A}}:}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00169}00169                 rt = \&\mbox{\hyperlink{ar5212__phy_8c_ade552825e34ace11e1fc271cc8364bb3}{ar5212\_11a\_table}};}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00170}00170                 \textcolor{keywordflow}{break};}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00171}00171         \textcolor{keywordflow}{case} \mbox{\hyperlink{ah_8h_a06fc87d81c62e9abb8790b6e5713c55baf143b2e5066c834d107d32a204d45584}{HAL\_MODE\_11B}}:}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00172}00172                 rt = \&\mbox{\hyperlink{ar5212__phy_8c_a843064de69a19a22a4c31edda3bccaa7}{ar5212\_11b\_table}};}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00173}00173                 \textcolor{keywordflow}{break};}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00174}00174         \textcolor{keywordflow}{case} \mbox{\hyperlink{ah_8h_a06fc87d81c62e9abb8790b6e5713c55babe71acb74465638223e2c17a9468c6e4}{HAL\_MODE\_11G}}:}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00175}00175 \textcolor{preprocessor}{\#ifdef notdef}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00176}00176         \textcolor{keywordflow}{case} \mbox{\hyperlink{ah_8h_a06fc87d81c62e9abb8790b6e5713c55ba2ef56475c12aff110f4a5038368c58aa}{HAL\_MODE\_PUREG}}:}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00177}00177 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00178}00178                 rt =  \&\mbox{\hyperlink{ar5212__phy_8c_a53eda3e551c8cff4c8c378c2f70c4c12}{ar5212\_11g\_table}};}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00179}00179                 \textcolor{keywordflow}{break};}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00180}00180         \textcolor{keywordflow}{case} \mbox{\hyperlink{ah_8h_a06fc87d81c62e9abb8790b6e5713c55bac8e097f0a76b1d95cd66a01240ee2b84}{HAL\_MODE\_108A}}:}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00181}00181         \textcolor{keywordflow}{case} \mbox{\hyperlink{ah_8h_a06fc87d81c62e9abb8790b6e5713c55bab433f5e17303cfc159f417e0cd40fde3}{HAL\_MODE\_TURBO}}:}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00182}00182                 rt =  \&\mbox{\hyperlink{ar5212__phy_8c_a7a0dc735f31e20897c13cd65b5a065a0}{ar5212\_turboa\_table}};}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00183}00183                 \textcolor{keywordflow}{break};}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00184}00184         \textcolor{keywordflow}{case} \mbox{\hyperlink{ah_8h_a06fc87d81c62e9abb8790b6e5713c55ba28b363dd7a3afaf6197b7b0ce56b8dcb}{HAL\_MODE\_108G}}:}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00185}00185                 rt =  \&\mbox{\hyperlink{ar5212__phy_8c_a5679e5221ed92b78db23933363122156}{ar5212\_turbog\_table}};}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00186}00186                 \textcolor{keywordflow}{break};}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00187}00187         \textcolor{keywordflow}{case} \mbox{\hyperlink{ah_8h_a06fc87d81c62e9abb8790b6e5713c55ba053d74d336f0bb6ea476aab5d80e6538}{HAL\_MODE\_11A\_HALF\_RATE}}:}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00188}00188         \textcolor{keywordflow}{case} \mbox{\hyperlink{ah_8h_a06fc87d81c62e9abb8790b6e5713c55ba65785bf206d3c0712e6fe4a0d8b81168}{HAL\_MODE\_11G\_HALF\_RATE}}:}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00189}00189                 rt = \&\mbox{\hyperlink{ar5212__phy_8c_ae0074f5fa718450266d2e856afc0efcf}{ar5212\_half\_table}};}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00190}00190                 \textcolor{keywordflow}{break};}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00191}00191         \textcolor{keywordflow}{case} \mbox{\hyperlink{ah_8h_a06fc87d81c62e9abb8790b6e5713c55ba56fc03ecdf413236edf0ba8b8370c801}{HAL\_MODE\_11A\_QUARTER\_RATE}}:}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00192}00192         \textcolor{keywordflow}{case} \mbox{\hyperlink{ah_8h_a06fc87d81c62e9abb8790b6e5713c55ba25d082634d0c19389a843c812a3cb75b}{HAL\_MODE\_11G\_QUARTER\_RATE}}:}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00193}00193                 rt = \&\mbox{\hyperlink{ar5212__phy_8c_ad25360932a12c4eb773d96e66fb16ec1}{ar5212\_quarter\_table}};}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00194}00194                 \textcolor{keywordflow}{break};}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00195}00195         \textcolor{keywordflow}{default}:}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00196}00196                 \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{ar5212__phy_8c_source_l00197}00197                     \_\_func\_\_, mode);}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00198}00198                 \textcolor{keywordflow}{return} \mbox{\hyperlink{ah__internal_8h_ab933afbd431099f80d5e58c5a6271b4a}{AH\_NULL}};}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00199}00199         \}}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00200}00200         \mbox{\hyperlink{ah_8c_a26bc76fda67c12b5420d15b418efe340}{ath\_hal\_setupratetable}}(ah, rt);}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00201}00201         \textcolor{keywordflow}{return} rt;}
\DoxyCodeLine{\Hypertarget{ar5212__phy_8c_source_l00202}00202 \}}

\end{DoxyCode}
