ar5416.h (244943) | ar5416.h (247286) |
---|---|
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 244943 2013-01-02 00:38:01Z adrian $ | 17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar5416/ar5416.h 247286 2013-02-25 22:42:43Z 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 --- 208 unchanged lines hidden (view full) --- 234extern void ar5416SetTsf64(struct ath_hal *ah, uint64_t tsf64); 235extern void ar5416ResetTsf(struct ath_hal *ah); 236extern uint32_t ar5416GetCurRssi(struct ath_hal *ah); 237extern HAL_BOOL ar5416SetAntennaSwitch(struct ath_hal *, HAL_ANT_SETTING); 238extern HAL_BOOL ar5416SetDecompMask(struct ath_hal *, uint16_t, int); 239extern void ar5416SetCoverageClass(struct ath_hal *, uint8_t, int); 240extern HAL_BOOL ar5416GetMibCycleCounts(struct ath_hal *ah, 241 HAL_SURVEY_SAMPLE *hsample); | 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 --- 208 unchanged lines hidden (view full) --- 234extern void ar5416SetTsf64(struct ath_hal *ah, uint64_t tsf64); 235extern void ar5416ResetTsf(struct ath_hal *ah); 236extern uint32_t ar5416GetCurRssi(struct ath_hal *ah); 237extern HAL_BOOL ar5416SetAntennaSwitch(struct ath_hal *, HAL_ANT_SETTING); 238extern HAL_BOOL ar5416SetDecompMask(struct ath_hal *, uint16_t, int); 239extern void ar5416SetCoverageClass(struct ath_hal *, uint8_t, int); 240extern HAL_BOOL ar5416GetMibCycleCounts(struct ath_hal *ah, 241 HAL_SURVEY_SAMPLE *hsample); |
242extern void ar5416SetChainMasks(struct ath_hal *ah, uint32_t, uint32_t); |
|
242extern uint32_t ar5416Get11nExtBusy(struct ath_hal *ah); 243extern void ar5416Set11nMac2040(struct ath_hal *ah, HAL_HT_MACMODE mode); 244extern HAL_HT_RXCLEAR ar5416Get11nRxClear(struct ath_hal *ah); 245extern void ar5416Set11nRxClear(struct ath_hal *ah, HAL_HT_RXCLEAR rxclear); 246extern HAL_STATUS ar5416SetQuiet(struct ath_hal *ah, uint32_t period, 247 uint32_t duration, uint32_t nextStart, HAL_QUIET_FLAG flag); 248extern HAL_STATUS ar5416GetCapability(struct ath_hal *ah, 249 HAL_CAPABILITY_TYPE type, uint32_t capability, uint32_t *result); --- 168 unchanged lines hidden --- | 243extern uint32_t ar5416Get11nExtBusy(struct ath_hal *ah); 244extern void ar5416Set11nMac2040(struct ath_hal *ah, HAL_HT_MACMODE mode); 245extern HAL_HT_RXCLEAR ar5416Get11nRxClear(struct ath_hal *ah); 246extern void ar5416Set11nRxClear(struct ath_hal *ah, HAL_HT_RXCLEAR rxclear); 247extern HAL_STATUS ar5416SetQuiet(struct ath_hal *ah, uint32_t period, 248 uint32_t duration, uint32_t nextStart, HAL_QUIET_FLAG flag); 249extern HAL_STATUS ar5416GetCapability(struct ath_hal *ah, 250 HAL_CAPABILITY_TYPE type, uint32_t capability, uint32_t *result); --- 168 unchanged lines hidden --- |