Deleted Added
full compact
ar5416.h (222815) ar5416.h (224512)
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 222815 2011-06-07 09:03:28Z adrian $
17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar5416/ar5416.h 224512 2011-07-30 13:25:11Z 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

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

213 int setChip);
214extern HAL_POWER_MODE ar5416GetPowerMode(struct ath_hal *ah);
215extern HAL_BOOL ar5416GetPowerStatus(struct ath_hal *ah);
216
217extern HAL_BOOL ar5416ResetKeyCacheEntry(struct ath_hal *ah, uint16_t entry);
218extern HAL_BOOL ar5416SetKeyCacheEntry(struct ath_hal *ah, uint16_t entry,
219 const HAL_KEYVAL *k, const uint8_t *mac, int xorKey);
220
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

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

213 int setChip);
214extern HAL_POWER_MODE ar5416GetPowerMode(struct ath_hal *ah);
215extern HAL_BOOL ar5416GetPowerStatus(struct ath_hal *ah);
216
217extern HAL_BOOL ar5416ResetKeyCacheEntry(struct ath_hal *ah, uint16_t entry);
218extern HAL_BOOL ar5416SetKeyCacheEntry(struct ath_hal *ah, uint16_t entry,
219 const HAL_KEYVAL *k, const uint8_t *mac, int xorKey);
220
221extern uint32_t ar5416GetRxFilter(struct ath_hal *ah);
222extern void ar5416SetRxFilter(struct ath_hal *ah, uint32_t bits);
221extern void ar5416StartPcuReceive(struct ath_hal *ah);
222extern void ar5416StopPcuReceive(struct ath_hal *ah);
223extern HAL_BOOL ar5416SetupRxDesc(struct ath_hal *,
224 struct ath_desc *, uint32_t size, u_int flags);
225extern HAL_STATUS ar5416ProcRxDesc(struct ath_hal *ah, struct ath_desc *,
226 uint32_t, struct ath_desc *, uint64_t,
227 struct ath_rx_status *);
228

--- 112 unchanged lines hidden ---
223extern void ar5416StartPcuReceive(struct ath_hal *ah);
224extern void ar5416StopPcuReceive(struct ath_hal *ah);
225extern HAL_BOOL ar5416SetupRxDesc(struct ath_hal *,
226 struct ath_desc *, uint32_t size, u_int flags);
227extern HAL_STATUS ar5416ProcRxDesc(struct ath_hal *ah, struct ath_desc *,
228 uint32_t, struct ath_desc *, uint64_t,
229 struct ath_rx_status *);
230

--- 112 unchanged lines hidden ---