Deleted Added
full compact
ar5212.h (188979) ar5212.h (204579)
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 188979 2009-02-24 01:07:06Z sam $
17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar5212/ar5212.h 204579 2010-03-02 12:59:42Z rpaulo $
18 */
19#ifndef _ATH_AR5212_H_
20#define _ATH_AR5212_H_
21
22#include "ah_eeprom.h"
23
24#define AR5212_MAGIC 0x19541014
25

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

322
323 /*
324 * Transmit power state. Note these are maintained
325 * here so they can be retrieved by diagnostic tools.
326 */
327 uint16_t *ah_pcdacTable;
328 u_int ah_pcdacTableSize;
329 uint16_t ah_ratesArray[16];
18 */
19#ifndef _ATH_AR5212_H_
20#define _ATH_AR5212_H_
21
22#include "ah_eeprom.h"
23
24#define AR5212_MAGIC 0x19541014
25

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

322
323 /*
324 * Transmit power state. Note these are maintained
325 * here so they can be retrieved by diagnostic tools.
326 */
327 uint16_t *ah_pcdacTable;
328 u_int ah_pcdacTableSize;
329 uint16_t ah_ratesArray[16];
330
331 uint8_t ah_txTrigLev; /* current Tx trigger level */
332 uint8_t ah_maxTxTrigLev; /* max tx trigger level */
330};
331#define AH5212(_ah) ((struct ath_hal_5212 *)(_ah))
332
333/*
334 * IS_XXXX macros test the MAC version
335 * IS_RADXXX macros test the radio/RF version (matching both 2G-only and 2/5G)
336 *
337 * Some single chip radios have equivalent radio/RF (e.g. 5112)

--- 271 unchanged lines hidden ---
333};
334#define AH5212(_ah) ((struct ath_hal_5212 *)(_ah))
335
336/*
337 * IS_XXXX macros test the MAC version
338 * IS_RADXXX macros test the radio/RF version (matching both 2G-only and 2/5G)
339 *
340 * Some single chip radios have equivalent radio/RF (e.g. 5112)

--- 271 unchanged lines hidden ---