Path: blob/main/sys/dev/ath/ath_hal/ar9002/ar9287an.h
39566 views
/*-1* SPDX-License-Identifier: ISC2*3* Copyright (c) 2010 Atheros Communications, Inc.4*5* Permission to use, copy, modify, and/or distribute this software for any6* purpose with or without fee is hereby granted, provided that the above7* copyright notice and this permission notice appear in all copies.8*9* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES10* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF11* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR12* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES13* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN14* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF15* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.16*/1718#ifndef __AR9287AN_H__19#define __AR9287AN_H__2021#define AR9287_AN_RF2G3_CH0 0x780822#define AR9287_AN_RF2G3_CH1 0x785c23#define AR9287_AN_RF2G3_DB1 0xE000000024#define AR9287_AN_RF2G3_DB1_S 2925#define AR9287_AN_RF2G3_DB2 0x1C00000026#define AR9287_AN_RF2G3_DB2_S 2627#define AR9287_AN_RF2G3_OB_CCK 0x0380000028#define AR9287_AN_RF2G3_OB_CCK_S 2329#define AR9287_AN_RF2G3_OB_PSK 0x0070000030#define AR9287_AN_RF2G3_OB_PSK_S 2031#define AR9287_AN_RF2G3_OB_QAM 0x000E000032#define AR9287_AN_RF2G3_OB_QAM_S 1733#define AR9287_AN_RF2G3_OB_PAL_OFF 0x0001C00034#define AR9287_AN_RF2G3_OB_PAL_OFF_S 143536#define AR9287_AN_TXPC0 0x789837#define AR9287_AN_TXPC0_TXPCMODE 0x0000C00038#define AR9287_AN_TXPC0_TXPCMODE_S 1439#define AR9287_AN_TXPC0_TXPCMODE_NORMAL 040#define AR9287_AN_TXPC0_TXPCMODE_TEST 141#define AR9287_AN_TXPC0_TXPCMODE_TEMPSENSE 242#define AR9287_AN_TXPC0_TXPCMODE_ATBTEST 34344#define AR9287_AN_TOP2 0x78b445#define AR9287_AN_TOP2_XPABIAS_LVL 0xC000000046#define AR9287_AN_TOP2_XPABIAS_LVL_S 304748#endif495051