Deleted Added
full compact
ar5416.h (231368) ar5416.h (231927)
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 231368 2012-02-10 09:58:20Z adrian $
17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar5416/ar5416.h 231927 2012-02-20 03:07:07Z 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

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

210extern HAL_BOOL ar5416SetCapability(struct ath_hal *ah,
211 HAL_CAPABILITY_TYPE type, uint32_t capability, uint32_t val,
212 HAL_STATUS *status);
213extern HAL_BOOL ar5416GetDiagState(struct ath_hal *ah, int request,
214 const void *args, uint32_t argsize,
215 void **result, uint32_t *resultsize);
216extern HAL_BOOL ar5416SetRifsDelay(struct ath_hal *ah,
217 const struct ieee80211_channel *chan, HAL_BOOL enable);
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

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

210extern HAL_BOOL ar5416SetCapability(struct ath_hal *ah,
211 HAL_CAPABILITY_TYPE type, uint32_t capability, uint32_t val,
212 HAL_STATUS *status);
213extern HAL_BOOL ar5416GetDiagState(struct ath_hal *ah, int request,
214 const void *args, uint32_t argsize,
215 void **result, uint32_t *resultsize);
216extern HAL_BOOL ar5416SetRifsDelay(struct ath_hal *ah,
217 const struct ieee80211_channel *chan, HAL_BOOL enable);
218
218extern void ar5416EnableDfs(struct ath_hal *ah, HAL_PHYERR_PARAM *pe);
219extern void ar5416GetDfsThresh(struct ath_hal *ah, HAL_PHYERR_PARAM *pe);
220extern HAL_BOOL ar5416ProcessRadarEvent(struct ath_hal *ah,
221 struct ath_rx_status *rxs, uint64_t fulltsf, const char *buf,
222 HAL_DFS_EVENT *event);
223extern HAL_BOOL ar5416IsFastClockEnabled(struct ath_hal *ah);
224
225extern HAL_BOOL ar5416SetPowerMode(struct ath_hal *ah, HAL_POWER_MODE mode,

--- 136 unchanged lines hidden ---
219extern void ar5416EnableDfs(struct ath_hal *ah, HAL_PHYERR_PARAM *pe);
220extern void ar5416GetDfsThresh(struct ath_hal *ah, HAL_PHYERR_PARAM *pe);
221extern HAL_BOOL ar5416ProcessRadarEvent(struct ath_hal *ah,
222 struct ath_rx_status *rxs, uint64_t fulltsf, const char *buf,
223 HAL_DFS_EVENT *event);
224extern HAL_BOOL ar5416IsFastClockEnabled(struct ath_hal *ah);
225
226extern HAL_BOOL ar5416SetPowerMode(struct ath_hal *ah, HAL_POWER_MODE mode,

--- 136 unchanged lines hidden ---