Deleted Added
full compact
ar5210.h (234873) ar5210.h (235206)
1/*
2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
3 * Copyright (c) 2002-2004 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-2004 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/ar5210/ar5210.h 234873 2012-05-01 14:48:51Z adrian $
17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar5210/ar5210.h 235206 2012-05-09 18:17:01Z adrian $
18 */
19#ifndef _ATH_AR5210_H_
20#define _ATH_AR5210_H_
21
22#define AR5210_MAGIC 0x19980124
23
24#if 0
25/*

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

247extern HAL_BOOL ar5210SetCapability(struct ath_hal *, HAL_CAPABILITY_TYPE,
248 uint32_t, uint32_t, HAL_STATUS *);
249extern HAL_BOOL ar5210GetDiagState(struct ath_hal *ah, int request,
250 const void *args, uint32_t argsize,
251 void **result, uint32_t *resultsize);
252extern uint32_t ar5210Get11nExtBusy(struct ath_hal *);
253extern HAL_BOOL ar5210GetMibCycleCounts(struct ath_hal *,
254 HAL_SURVEY_SAMPLE *);
18 */
19#ifndef _ATH_AR5210_H_
20#define _ATH_AR5210_H_
21
22#define AR5210_MAGIC 0x19980124
23
24#if 0
25/*

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

247extern HAL_BOOL ar5210SetCapability(struct ath_hal *, HAL_CAPABILITY_TYPE,
248 uint32_t, uint32_t, HAL_STATUS *);
249extern HAL_BOOL ar5210GetDiagState(struct ath_hal *ah, int request,
250 const void *args, uint32_t argsize,
251 void **result, uint32_t *resultsize);
252extern uint32_t ar5210Get11nExtBusy(struct ath_hal *);
253extern HAL_BOOL ar5210GetMibCycleCounts(struct ath_hal *,
254 HAL_SURVEY_SAMPLE *);
255extern void ar5210EnableDfs(struct ath_hal *, HAL_PHYERR_PARAM *);
256extern void ar5210GetDfsThresh(struct ath_hal *, HAL_PHYERR_PARAM *);
255
256extern u_int ar5210GetKeyCacheSize(struct ath_hal *);
257extern HAL_BOOL ar5210IsKeyCacheEntryValid(struct ath_hal *, uint16_t);
258extern HAL_BOOL ar5210ResetKeyCacheEntry(struct ath_hal *, uint16_t entry);
259extern HAL_BOOL ar5210SetKeyCacheEntry(struct ath_hal *, uint16_t entry,
260 const HAL_KEYVAL *, const uint8_t *mac, int xorKey);
261extern HAL_BOOL ar5210SetKeyCacheEntryMac(struct ath_hal *,
262 uint16_t, const uint8_t *);

--- 26 unchanged lines hidden ---
257
258extern u_int ar5210GetKeyCacheSize(struct ath_hal *);
259extern HAL_BOOL ar5210IsKeyCacheEntryValid(struct ath_hal *, uint16_t);
260extern HAL_BOOL ar5210ResetKeyCacheEntry(struct ath_hal *, uint16_t entry);
261extern HAL_BOOL ar5210SetKeyCacheEntry(struct ath_hal *, uint16_t entry,
262 const HAL_KEYVAL *, const uint8_t *mac, int xorKey);
263extern HAL_BOOL ar5210SetKeyCacheEntryMac(struct ath_hal *,
264 uint16_t, const uint8_t *);

--- 26 unchanged lines hidden ---