Deleted Added
full compact
ar5416.h (243843) ar5416.h (244943)
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/ar5416/ar5416.h 243843 2012-12-04 00:02:46Z adrian $
17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar5416/ar5416.h 244943 2013-01-02 00:38:01Z adrian $
18 */
19#ifndef _ATH_AR5416_H_
20#define _ATH_AR5416_H_
21
22#include "ar5212/ar5212.h"
23#include "ar5416_cal.h"
24#include "ah_eeprom_v14.h" /* for CAL_TARGET_POWER_* */
25

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

260extern HAL_BOOL ar5416GetDfsDefaultThresh(struct ath_hal *ah,
261 HAL_PHYERR_PARAM *pe);
262extern void ar5416GetDfsThresh(struct ath_hal *ah, HAL_PHYERR_PARAM *pe);
263extern HAL_BOOL ar5416ProcessRadarEvent(struct ath_hal *ah,
264 struct ath_rx_status *rxs, uint64_t fulltsf, const char *buf,
265 HAL_DFS_EVENT *event);
266extern HAL_BOOL ar5416IsFastClockEnabled(struct ath_hal *ah);
267
18 */
19#ifndef _ATH_AR5416_H_
20#define _ATH_AR5416_H_
21
22#include "ar5212/ar5212.h"
23#include "ar5416_cal.h"
24#include "ah_eeprom_v14.h" /* for CAL_TARGET_POWER_* */
25

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

260extern HAL_BOOL ar5416GetDfsDefaultThresh(struct ath_hal *ah,
261 HAL_PHYERR_PARAM *pe);
262extern void ar5416GetDfsThresh(struct ath_hal *ah, HAL_PHYERR_PARAM *pe);
263extern HAL_BOOL ar5416ProcessRadarEvent(struct ath_hal *ah,
264 struct ath_rx_status *rxs, uint64_t fulltsf, const char *buf,
265 HAL_DFS_EVENT *event);
266extern HAL_BOOL ar5416IsFastClockEnabled(struct ath_hal *ah);
267
268/* ar9280_spectral.c */
269extern void ar5416ConfigureSpectralScan(struct ath_hal *ah, HAL_SPECTRAL_PARAM *ss);
270extern void ar5416GetSpectralParams(struct ath_hal *ah, HAL_SPECTRAL_PARAM *ss);
271extern HAL_BOOL ar5416IsSpectralActive(struct ath_hal *ah);
272extern HAL_BOOL ar5416IsSpectralEnabled(struct ath_hal *ah);
273extern void ar5416StartSpectralScan(struct ath_hal *ah);
274extern void ar5416StopSpectralScan(struct ath_hal *ah);
275extern uint32_t ar5416GetSpectralConfig(struct ath_hal *ah);
276extern void ar5416RestoreSpectralConfig(struct ath_hal *ah, uint32_t restoreval);
277
268extern HAL_BOOL ar5416SetPowerMode(struct ath_hal *ah, HAL_POWER_MODE mode,
269 int setChip);
270extern HAL_POWER_MODE ar5416GetPowerMode(struct ath_hal *ah);
271extern HAL_BOOL ar5416GetPowerStatus(struct ath_hal *ah);
272
273extern HAL_BOOL ar5416ResetKeyCacheEntry(struct ath_hal *ah, uint16_t entry);
274extern HAL_BOOL ar5416SetKeyCacheEntry(struct ath_hal *ah, uint16_t entry,
275 const HAL_KEYVAL *k, const uint8_t *mac, int xorKey);

--- 132 unchanged lines hidden ---
278extern HAL_BOOL ar5416SetPowerMode(struct ath_hal *ah, HAL_POWER_MODE mode,
279 int setChip);
280extern HAL_POWER_MODE ar5416GetPowerMode(struct ath_hal *ah);
281extern HAL_BOOL ar5416GetPowerStatus(struct ath_hal *ah);
282
283extern HAL_BOOL ar5416ResetKeyCacheEntry(struct ath_hal *ah, uint16_t entry);
284extern HAL_BOOL ar5416SetKeyCacheEntry(struct ath_hal *ah, uint16_t entry,
285 const HAL_KEYVAL *k, const uint8_t *mac, int xorKey);

--- 132 unchanged lines hidden ---