ar5416.h (249580) | ar5416.h (290612) |
---|---|
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 249580 2013-04-17 07:31:53Z adrian $ | 17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar5416/ar5416.h 290612 2015-11-09 15:59:42Z 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 --- 162 unchanged lines hidden (view full) --- 188extern HAL_BOOL ar5416AniControl(struct ath_hal *, HAL_ANI_CMD cmd, int param); 189extern HAL_BOOL ar5416AniSetParams(struct ath_hal *, 190 const struct ar5212AniParams *, const struct ar5212AniParams *); 191extern void ar5416ProcessMibIntr(struct ath_hal *, const HAL_NODE_STATS *); 192extern void ar5416RxMonitor(struct ath_hal *, const HAL_NODE_STATS *, 193 const struct ieee80211_channel *); 194extern void ar5416AniPoll(struct ath_hal *, const struct ieee80211_channel *); 195extern void ar5416AniReset(struct ath_hal *, const struct ieee80211_channel *, | 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 --- 162 unchanged lines hidden (view full) --- 188extern HAL_BOOL ar5416AniControl(struct ath_hal *, HAL_ANI_CMD cmd, int param); 189extern HAL_BOOL ar5416AniSetParams(struct ath_hal *, 190 const struct ar5212AniParams *, const struct ar5212AniParams *); 191extern void ar5416ProcessMibIntr(struct ath_hal *, const HAL_NODE_STATS *); 192extern void ar5416RxMonitor(struct ath_hal *, const HAL_NODE_STATS *, 193 const struct ieee80211_channel *); 194extern void ar5416AniPoll(struct ath_hal *, const struct ieee80211_channel *); 195extern void ar5416AniReset(struct ath_hal *, const struct ieee80211_channel *, |
196 HAL_OPMODE, int); | 196 HAL_OPMODE, HAL_RESET_TYPE, int); |
197 198extern void ar5416SetBeaconTimers(struct ath_hal *, const HAL_BEACON_TIMERS *); 199extern void ar5416BeaconInit(struct ath_hal *ah, 200 uint32_t next_beacon, uint32_t beacon_period); 201extern void ar5416ResetStaBeaconTimers(struct ath_hal *ah); 202extern void ar5416SetStaBeaconTimers(struct ath_hal *ah, 203 const HAL_BEACON_STATE *); 204extern uint64_t ar5416GetNextTBTT(struct ath_hal *); --- 93 unchanged lines hidden (view full) --- 298extern HAL_BOOL ar5416SetupRxDesc(struct ath_hal *, 299 struct ath_desc *, uint32_t size, u_int flags); 300extern HAL_STATUS ar5416ProcRxDesc(struct ath_hal *ah, struct ath_desc *, 301 uint32_t, struct ath_desc *, uint64_t, 302 struct ath_rx_status *); 303 304extern HAL_BOOL ar5416Reset(struct ath_hal *ah, HAL_OPMODE opmode, 305 struct ieee80211_channel *chan, | 197 198extern void ar5416SetBeaconTimers(struct ath_hal *, const HAL_BEACON_TIMERS *); 199extern void ar5416BeaconInit(struct ath_hal *ah, 200 uint32_t next_beacon, uint32_t beacon_period); 201extern void ar5416ResetStaBeaconTimers(struct ath_hal *ah); 202extern void ar5416SetStaBeaconTimers(struct ath_hal *ah, 203 const HAL_BEACON_STATE *); 204extern uint64_t ar5416GetNextTBTT(struct ath_hal *); --- 93 unchanged lines hidden (view full) --- 298extern HAL_BOOL ar5416SetupRxDesc(struct ath_hal *, 299 struct ath_desc *, uint32_t size, u_int flags); 300extern HAL_STATUS ar5416ProcRxDesc(struct ath_hal *ah, struct ath_desc *, 301 uint32_t, struct ath_desc *, uint64_t, 302 struct ath_rx_status *); 303 304extern HAL_BOOL ar5416Reset(struct ath_hal *ah, HAL_OPMODE opmode, 305 struct ieee80211_channel *chan, |
306 HAL_BOOL bChannelChange, HAL_STATUS *status); | 306 HAL_BOOL bChannelChange, 307 HAL_RESET_TYPE, 308 HAL_STATUS *status); |
307extern HAL_BOOL ar5416PhyDisable(struct ath_hal *ah); 308extern HAL_RFGAIN ar5416GetRfgain(struct ath_hal *ah); 309extern HAL_BOOL ar5416Disable(struct ath_hal *ah); 310extern HAL_BOOL ar5416ChipReset(struct ath_hal *ah, 311 const struct ieee80211_channel *); 312extern int ar5416GetRegChainOffset(struct ath_hal *ah, int i); 313extern HAL_BOOL ar5416SetBoardValues(struct ath_hal *, 314 const struct ieee80211_channel *); --- 110 unchanged lines hidden --- | 309extern HAL_BOOL ar5416PhyDisable(struct ath_hal *ah); 310extern HAL_RFGAIN ar5416GetRfgain(struct ath_hal *ah); 311extern HAL_BOOL ar5416Disable(struct ath_hal *ah); 312extern HAL_BOOL ar5416ChipReset(struct ath_hal *ah, 313 const struct ieee80211_channel *); 314extern int ar5416GetRegChainOffset(struct ath_hal *ah, int i); 315extern HAL_BOOL ar5416SetBoardValues(struct ath_hal *, 316 const struct ieee80211_channel *); --- 110 unchanged lines hidden --- |