Deleted Added
full compact
ar5416reg.h (219217) ar5416reg.h (219978)
1/*
2 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
3 * Copyright (c) 2002-2008 Atheros Communications, Inc.
4 *
5 * Permission to use, copy, modify, and/or distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 *
1/*
2 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
3 * Copyright (c) 2002-2008 Atheros Communications, Inc.
4 *
5 * Permission to use, copy, modify, and/or distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 *
17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h 219217 2011-03-03 08:30:28Z adrian $
17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h 219978 2011-03-25 00:06:58Z adrian $
18 */
19#ifndef _DEV_ATH_AR5416REG_H
20#define _DEV_ATH_AR5416REG_H
21
22#include <dev/ath/ath_hal/ar5212/ar5212reg.h>
23
24/*
25 * Register added starting with the AR5416

--- 473 unchanged lines hidden (view full) ---

499#define AR_PCU_TXOP_TBTT_LIMIT_ENA 0x00001000 /* enforce txop / tbtt */
500#define AR_PCU_MISS_BCN_IN_SLEEP 0x00004000 /* count bmiss's when sleeping */
501#define AR_PCU_BUG_12306_FIX_ENA 0x00020000 /* use rx_clear to count sifs */
502#define AR_PCU_FORCE_QUIET_COLL 0x00040000 /* kill xmit for channel change */
503#define AR_PCU_TBTT_PROTECT 0x00200000 /* no xmit upto tbtt+20 uS */
504#define AR_PCU_CLEAR_VMF 0x01000000 /* clear vmf mode (fast cc)*/
505#define AR_PCU_CLEAR_BA_VALID 0x04000000 /* clear ba state */
506
18 */
19#ifndef _DEV_ATH_AR5416REG_H
20#define _DEV_ATH_AR5416REG_H
21
22#include <dev/ath/ath_hal/ar5212/ar5212reg.h>
23
24/*
25 * Register added starting with the AR5416

--- 473 unchanged lines hidden (view full) ---

499#define AR_PCU_TXOP_TBTT_LIMIT_ENA 0x00001000 /* enforce txop / tbtt */
500#define AR_PCU_MISS_BCN_IN_SLEEP 0x00004000 /* count bmiss's when sleeping */
501#define AR_PCU_BUG_12306_FIX_ENA 0x00020000 /* use rx_clear to count sifs */
502#define AR_PCU_FORCE_QUIET_COLL 0x00040000 /* kill xmit for channel change */
503#define AR_PCU_TBTT_PROTECT 0x00200000 /* no xmit upto tbtt+20 uS */
504#define AR_PCU_CLEAR_VMF 0x01000000 /* clear vmf mode (fast cc)*/
505#define AR_PCU_CLEAR_BA_VALID 0x04000000 /* clear ba state */
506
507#define AR_PCU_MISC_MODE2_MGMT_CRYPTO_ENABLE 0x00000002
508#define AR_PCU_MISC_MODE2_NO_CRYPTO_FOR_NON_DATA_PKT 0x00000004
507#define AR_PCU_MISC_MODE2_HWWAR1 0x00100000
508#define AR_PCU_MISC_MODE2_HWWAR2 0x02000000
509
510/* GPIO Interrupt */
511#define AR_INTR_GPIO 0x3FF00000 /* gpio interrupted */
512#define AR_INTR_GPIO_S 20
513
514#define AR_GPIO_OUT_CTRL 0x000003FF /* 0 = out, 1 = in */

--- 138 unchanged lines hidden ---
509#define AR_PCU_MISC_MODE2_HWWAR1 0x00100000
510#define AR_PCU_MISC_MODE2_HWWAR2 0x02000000
511
512/* GPIO Interrupt */
513#define AR_INTR_GPIO 0x3FF00000 /* gpio interrupted */
514#define AR_INTR_GPIO_S 20
515
516#define AR_GPIO_OUT_CTRL 0x000003FF /* 0 = out, 1 = in */

--- 138 unchanged lines hidden ---