Deleted Added
full compact
ar5210.h (225444) ar5210.h (234873)
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 225444 2011-09-08 01:23:05Z adrian $
17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar5210/ar5210.h 234873 2012-05-01 14:48:51Z adrian $
18 */
19#ifndef _ATH_AR5210_H_
20#define _ATH_AR5210_H_
21
22#define AR5210_MAGIC 0x19980124
23
24#if 0
25/*

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

244void ar5210SetCoverageClass(struct ath_hal *, uint8_t, int);
245extern HAL_STATUS ar5210GetCapability(struct ath_hal *, HAL_CAPABILITY_TYPE,
246 uint32_t, uint32_t *);
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);
18 */
19#ifndef _ATH_AR5210_H_
20#define _ATH_AR5210_H_
21
22#define AR5210_MAGIC 0x19980124
23
24#if 0
25/*

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

244void ar5210SetCoverageClass(struct ath_hal *, uint8_t, int);
245extern HAL_STATUS ar5210GetCapability(struct ath_hal *, HAL_CAPABILITY_TYPE,
246 uint32_t, uint32_t *);
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 *);
252
253extern u_int ar5210GetKeyCacheSize(struct ath_hal *);
254extern HAL_BOOL ar5210IsKeyCacheEntryValid(struct ath_hal *, uint16_t);
255extern HAL_BOOL ar5210ResetKeyCacheEntry(struct ath_hal *, uint16_t entry);
256extern HAL_BOOL ar5210SetKeyCacheEntry(struct ath_hal *, uint16_t entry,
257 const HAL_KEYVAL *, const uint8_t *mac, int xorKey);
258extern HAL_BOOL ar5210SetKeyCacheEntryMac(struct ath_hal *,
259 uint16_t, const uint8_t *);

--- 26 unchanged lines hidden ---
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 ---