/* * Copyright (c) 2008-2011 Atheros Communications Inc. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #ifndef PHY_H #define PHY_H #define CHANSEL_DIV … #define CHANSEL_2G(_freq) … #define CHANSEL_5G(_freq) … #define AR_PHY_BASE … #define AR_PHY(_n) … #define AR_PHY_TX_PWRCTRL_TX_GAIN_TAB_MAX … #define AR_PHY_TX_PWRCTRL_TX_GAIN_TAB_MAX_S … #define AR_PHY_TX_GAIN_CLC … #define AR_PHY_TX_GAIN_CLC_S … #define AR_PHY_TX_GAIN … #define AR_PHY_TX_GAIN_S … #define AR_PHY_CLC_TBL1 … #define AR_PHY_CLC_I0 … #define AR_PHY_CLC_I0_S … #define AR_PHY_CLC_Q0 … #define AR_PHY_CLC_Q0_S … #define ANTSWAP_AB … #define REDUCE_CHAIN_0 … #define REDUCE_CHAIN_1 … #define AR_PHY_CHIP_ID … #define AR_PHY_TIMING11_SPUR_FREQ_SD … #define AR_PHY_TIMING11_SPUR_FREQ_SD_S … #define AR_PHY_PLL_CONTROL … #define AR_PHY_PLL_MODE … enum ath9k_ant_div_comb_lna_conf { … }; #endif