ar5212.h (234774) | ar5212.h (234873) |
---|---|
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/ar5212/ar5212.h 234774 2012-04-28 22:03:19Z adrian $ | 17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar5212/ar5212.h 234873 2012-05-01 14:48:51Z adrian $ |
18 */ 19#ifndef _ATH_AR5212_H_ 20#define _ATH_AR5212_H_ 21 22#include "ah_eeprom.h" 23 24#define AR5212_MAGIC 0x19541014 25 --- 480 unchanged lines hidden (view full) --- 506 uint32_t, uint32_t *); 507extern HAL_BOOL ar5212SetCapability(struct ath_hal *, HAL_CAPABILITY_TYPE, 508 uint32_t, uint32_t, HAL_STATUS *); 509extern HAL_BOOL ar5212GetDiagState(struct ath_hal *ah, int request, 510 const void *args, uint32_t argsize, 511 void **result, uint32_t *resultsize); 512extern HAL_STATUS ar5212SetQuiet(struct ath_hal *ah, uint32_t period, 513 uint32_t duration, uint32_t nextStart, HAL_QUIET_FLAG flag); | 18 */ 19#ifndef _ATH_AR5212_H_ 20#define _ATH_AR5212_H_ 21 22#include "ah_eeprom.h" 23 24#define AR5212_MAGIC 0x19541014 25 --- 480 unchanged lines hidden (view full) --- 506 uint32_t, uint32_t *); 507extern HAL_BOOL ar5212SetCapability(struct ath_hal *, HAL_CAPABILITY_TYPE, 508 uint32_t, uint32_t, HAL_STATUS *); 509extern HAL_BOOL ar5212GetDiagState(struct ath_hal *ah, int request, 510 const void *args, uint32_t argsize, 511 void **result, uint32_t *resultsize); 512extern HAL_STATUS ar5212SetQuiet(struct ath_hal *ah, uint32_t period, 513 uint32_t duration, uint32_t nextStart, HAL_QUIET_FLAG flag); |
514extern HAL_BOOL ar5212GetMibCycleCounts(struct ath_hal *, 515 HAL_SURVEY_SAMPLE *); |
|
514 515extern HAL_BOOL ar5212SetPowerMode(struct ath_hal *ah, HAL_POWER_MODE mode, 516 int setChip); 517extern HAL_POWER_MODE ar5212GetPowerMode(struct ath_hal *ah); 518extern HAL_BOOL ar5212GetPowerStatus(struct ath_hal *ah); 519 520extern uint32_t ar5212GetRxDP(struct ath_hal *ath); 521extern void ar5212SetRxDP(struct ath_hal *ah, uint32_t rxdp); --- 113 unchanged lines hidden --- | 516 517extern HAL_BOOL ar5212SetPowerMode(struct ath_hal *ah, HAL_POWER_MODE mode, 518 int setChip); 519extern HAL_POWER_MODE ar5212GetPowerMode(struct ath_hal *ah); 520extern HAL_BOOL ar5212GetPowerStatus(struct ath_hal *ah); 521 522extern uint32_t ar5212GetRxDP(struct ath_hal *ath); 523extern void ar5212SetRxDP(struct ath_hal *ah, uint32_t rxdp); --- 113 unchanged lines hidden --- |