Deleted Added
full compact
ah.h (224709) ah.h (224716)
1/*
2 * Copyright (c) 2002-2009 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-2009 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/ah.h 224709 2011-08-08 13:15:39Z adrian $
17 * $FreeBSD: head/sys/dev/ath/ath_hal/ah.h 224716 2011-08-08 16:22:42Z adrian $
18 */
19
20#ifndef _ATH_AH_H_
21#define _ATH_AH_H_
22/*
23 * Atheros Hardware Access Layer
24 *
25 * Clients of the HAL call ath_hal_attach to obtain a reference to an ath_hal

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

730 */
731 int32_t pe_extchannel; /* Enable DFS on ext channel */
732 int32_t pe_enabled; /* Whether radar detection is enabled */
733} HAL_PHYERR_PARAM;
734
735#define HAL_PHYERR_PARAM_NOVAL 65535
736#define HAL_PHYERR_PARAM_ENABLE 0x8000 /* Enable/Disable if applicable */
737
18 */
19
20#ifndef _ATH_AH_H_
21#define _ATH_AH_H_
22/*
23 * Atheros Hardware Access Layer
24 *
25 * Clients of the HAL call ath_hal_attach to obtain a reference to an ath_hal

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

730 */
731 int32_t pe_extchannel; /* Enable DFS on ext channel */
732 int32_t pe_enabled; /* Whether radar detection is enabled */
733} HAL_PHYERR_PARAM;
734
735#define HAL_PHYERR_PARAM_NOVAL 65535
736#define HAL_PHYERR_PARAM_ENABLE 0x8000 /* Enable/Disable if applicable */
737
738/*
739 * DFS operating mode flags.
740 */
741typedef enum {
742 HAL_DFS_UNINIT_DOMAIN = 0, /* Uninitialized dfs domain */
743 HAL_DFS_FCC_DOMAIN = 1, /* FCC3 dfs domain */
744 HAL_DFS_ETSI_DOMAIN = 2, /* ETSI dfs domain */
745 HAL_DFS_MKK4_DOMAIN = 3, /* Japan dfs domain */
746} HAL_DFS_DOMAIN;
738
739/*
740 * Flag for setting QUIET period
741 */
742typedef enum {
743 HAL_QUIET_DISABLE = 0x0,
744 HAL_QUIET_ENABLE = 0x1,
745 HAL_QUIET_ADD_CURRENT_TSF = 0x2, /* add current TSF to next_start offset */

--- 387 unchanged lines hidden ---
747
748/*
749 * Flag for setting QUIET period
750 */
751typedef enum {
752 HAL_QUIET_DISABLE = 0x0,
753 HAL_QUIET_ENABLE = 0x1,
754 HAL_QUIET_ADD_CURRENT_TSF = 0x2, /* add current TSF to next_start offset */

--- 387 unchanged lines hidden ---