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

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

274extern HAL_BOOL ar5211SetCapability(struct ath_hal *, HAL_CAPABILITY_TYPE,
275 uint32_t, uint32_t, HAL_STATUS *);
276extern HAL_BOOL ar5211GetDiagState(struct ath_hal *ah, int request,
277 const void *args, uint32_t argsize,
278 void **result, uint32_t *resultsize);
279extern uint32_t ar5211Get11nExtBusy(struct ath_hal *);
280extern HAL_BOOL ar5211GetMibCycleCounts(struct ath_hal *,
281 HAL_SURVEY_SAMPLE *);
18 */
19#ifndef _ATH_AR5211_H_
20#define _ATH_AR5211_H_
21
22#include "ah_eeprom.h"
23
24#define AR5211_MAGIC 0x19570405
25

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

274extern HAL_BOOL ar5211SetCapability(struct ath_hal *, HAL_CAPABILITY_TYPE,
275 uint32_t, uint32_t, HAL_STATUS *);
276extern HAL_BOOL ar5211GetDiagState(struct ath_hal *ah, int request,
277 const void *args, uint32_t argsize,
278 void **result, uint32_t *resultsize);
279extern uint32_t ar5211Get11nExtBusy(struct ath_hal *);
280extern HAL_BOOL ar5211GetMibCycleCounts(struct ath_hal *,
281 HAL_SURVEY_SAMPLE *);
282extern void ar5211EnableDfs(struct ath_hal *, HAL_PHYERR_PARAM *);
283extern void ar5211GetDfsThresh(struct ath_hal *, HAL_PHYERR_PARAM *);
282
283extern u_int ar5211GetKeyCacheSize(struct ath_hal *);
284extern HAL_BOOL ar5211IsKeyCacheEntryValid(struct ath_hal *, uint16_t);
285extern HAL_BOOL ar5211ResetKeyCacheEntry(struct ath_hal *, uint16_t entry);
286extern HAL_BOOL ar5211SetKeyCacheEntry(struct ath_hal *, uint16_t entry,
287 const HAL_KEYVAL *, const uint8_t *mac,
288 int xorKey);
289extern HAL_BOOL ar5211SetKeyCacheEntryMac(struct ath_hal *,

--- 27 unchanged lines hidden ---
284
285extern u_int ar5211GetKeyCacheSize(struct ath_hal *);
286extern HAL_BOOL ar5211IsKeyCacheEntryValid(struct ath_hal *, uint16_t);
287extern HAL_BOOL ar5211ResetKeyCacheEntry(struct ath_hal *, uint16_t entry);
288extern HAL_BOOL ar5211SetKeyCacheEntry(struct ath_hal *, uint16_t entry,
289 const HAL_KEYVAL *, const uint8_t *mac,
290 int xorKey);
291extern HAL_BOOL ar5211SetKeyCacheEntryMac(struct ath_hal *,

--- 27 unchanged lines hidden ---