Deleted Added
full compact
ar5212.h (238278) ar5212.h (238607)
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 238278 2012-07-09 07:19:11Z adrian $
17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar5212/ar5212.h 238607 2012-07-19 02:25:14Z 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

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

597 u_int segLen, HAL_BOOL firstSeg, HAL_BOOL lastSeg,
598 const struct ath_desc *ds0);
599extern HAL_STATUS ar5212ProcTxDesc(struct ath_hal *ah,
600 struct ath_desc *, struct ath_tx_status *);
601extern void ar5212GetTxIntrQueue(struct ath_hal *ah, uint32_t *);
602extern void ar5212IntrReqTxDesc(struct ath_hal *ah, struct ath_desc *);
603extern HAL_BOOL ar5212GetTxCompletionRates(struct ath_hal *ah,
604 const struct ath_desc *ds0, int *rates, int *tries);
18 */
19#ifndef _ATH_AR5212_H_
20#define _ATH_AR5212_H_
21
22#include "ah_eeprom.h"
23
24#define AR5212_MAGIC 0x19541014
25

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

597 u_int segLen, HAL_BOOL firstSeg, HAL_BOOL lastSeg,
598 const struct ath_desc *ds0);
599extern HAL_STATUS ar5212ProcTxDesc(struct ath_hal *ah,
600 struct ath_desc *, struct ath_tx_status *);
601extern void ar5212GetTxIntrQueue(struct ath_hal *ah, uint32_t *);
602extern void ar5212IntrReqTxDesc(struct ath_hal *ah, struct ath_desc *);
603extern HAL_BOOL ar5212GetTxCompletionRates(struct ath_hal *ah,
604 const struct ath_desc *ds0, int *rates, int *tries);
605extern void ar5212SetTxDescLink(struct ath_hal *ah, void *ds,
606 uint32_t link);
607extern void ar5212GetTxDescLink(struct ath_hal *ah, void *ds,
608 uint32_t *link);
609extern void ar5212GetTxDescLinkPtr(struct ath_hal *ah, void *ds,
610 uint32_t **linkptr);
605
606extern const HAL_RATE_TABLE *ar5212GetRateTable(struct ath_hal *, u_int mode);
607
608extern void ar5212AniAttach(struct ath_hal *, const struct ar5212AniParams *,
609 const struct ar5212AniParams *, HAL_BOOL ena);
610extern void ar5212AniDetach(struct ath_hal *);
611extern struct ar5212AniState *ar5212AniGetCurrentState(struct ath_hal *);
612extern struct ar5212Stats *ar5212AniGetCurrentStats(struct ath_hal *);

--- 24 unchanged lines hidden ---
611
612extern const HAL_RATE_TABLE *ar5212GetRateTable(struct ath_hal *, u_int mode);
613
614extern void ar5212AniAttach(struct ath_hal *, const struct ar5212AniParams *,
615 const struct ar5212AniParams *, HAL_BOOL ena);
616extern void ar5212AniDetach(struct ath_hal *);
617extern struct ar5212AniState *ar5212AniGetCurrentState(struct ath_hal *);
618extern struct ar5212Stats *ar5212AniGetCurrentStats(struct ath_hal *);

--- 24 unchanged lines hidden ---