Deleted Added
full compact
ar5212.h (234750) ar5212.h (234774)
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/ar5212/ar5212.h 234750 2012-04-28 08:15:40Z adrian $
17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar5212/ar5212.h 234774 2012-04-28 22:03:19Z adrian $
18 */
19#ifndef _ATH_AR5212_H_
20#define _ATH_AR5212_H_
21
22#include "ah_eeprom.h"
23
24#define AR5212_MAGIC 0x19541014
25

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

315 * ANI support.
316 */
317 uint32_t ah_procPhyErr; /* Process Phy errs */
318 HAL_BOOL ah_hasHwPhyCounters; /* Hardware has phy counters */
319 struct ar5212AniParams ah_aniParams24; /* 2.4GHz parameters */
320 struct ar5212AniParams ah_aniParams5; /* 5GHz parameters */
321 struct ar5212AniState *ah_curani; /* cached last reference */
322 struct ar5212AniState ah_ani[AH_MAXCHAN]; /* per-channel state */
18 */
19#ifndef _ATH_AR5212_H_
20#define _ATH_AR5212_H_
21
22#include "ah_eeprom.h"
23
24#define AR5212_MAGIC 0x19541014
25

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

315 * ANI support.
316 */
317 uint32_t ah_procPhyErr; /* Process Phy errs */
318 HAL_BOOL ah_hasHwPhyCounters; /* Hardware has phy counters */
319 struct ar5212AniParams ah_aniParams24; /* 2.4GHz parameters */
320 struct ar5212AniParams ah_aniParams5; /* 5GHz parameters */
321 struct ar5212AniState *ah_curani; /* cached last reference */
322 struct ar5212AniState ah_ani[AH_MAXCHAN]; /* per-channel state */
323 HAL_CHANNEL_SURVEY ah_chansurvey[AH_MAXCHAN]; /* channel survey */
323 HAL_CHANNEL_SURVEY ah_chansurvey; /* channel survey */
324
325 /* AR5416 uses some of the AR5212 ANI code; these are the ANI methods */
326 HAL_BOOL (*ah_aniControl) (struct ath_hal *, HAL_ANI_CMD cmd, int param);
327
328 /*
329 * Transmit power state. Note these are maintained
330 * here so they can be retrieved by diagnostic tools.
331 */

--- 303 unchanged lines hidden ---
324
325 /* AR5416 uses some of the AR5212 ANI code; these are the ANI methods */
326 HAL_BOOL (*ah_aniControl) (struct ath_hal *, HAL_ANI_CMD cmd, int param);
327
328 /*
329 * Transmit power state. Note these are maintained
330 * here so they can be retrieved by diagnostic tools.
331 */

--- 303 unchanged lines hidden ---