Deleted Added
full compact
ah.h (251483) ah.h (251655)
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/ah.h 251483 2013-06-07 05:17:58Z adrian $
17 * $FreeBSD: head/sys/dev/ath/ath_hal/ah.h 251655 2013-06-12 14:52:57Z adrian $
18 */
19
20#ifndef _ATH_AH_H_
21#define _ATH_AH_H_
22/*
23 * Atheros Hardware Access Layer
24 *
25 * Clients of the HAL call ath_hal_attach to obtain a reference to an ath_hal

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

1397 struct ath_rx_status *);
1398 void __ahdecl(*ah_rxMonitor)(struct ath_hal *,
1399 const HAL_NODE_STATS *,
1400 const struct ieee80211_channel *);
1401 void __ahdecl(*ah_aniPoll)(struct ath_hal *,
1402 const struct ieee80211_channel *);
1403 void __ahdecl(*ah_procMibEvent)(struct ath_hal *,
1404 const HAL_NODE_STATS *);
18 */
19
20#ifndef _ATH_AH_H_
21#define _ATH_AH_H_
22/*
23 * Atheros Hardware Access Layer
24 *
25 * Clients of the HAL call ath_hal_attach to obtain a reference to an ath_hal

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

1397 struct ath_rx_status *);
1398 void __ahdecl(*ah_rxMonitor)(struct ath_hal *,
1399 const HAL_NODE_STATS *,
1400 const struct ieee80211_channel *);
1401 void __ahdecl(*ah_aniPoll)(struct ath_hal *,
1402 const struct ieee80211_channel *);
1403 void __ahdecl(*ah_procMibEvent)(struct ath_hal *,
1404 const HAL_NODE_STATS *);
1405 void __ahdecl(*ah_rxAntCombDiversity)(struct ath_hal *,
1406 struct ath_rx_status *,
1407 unsigned long, int);
1408
1409 /* Misc Functions */
1410 HAL_STATUS __ahdecl(*ah_getCapability)(struct ath_hal *,
1411 HAL_CAPABILITY_TYPE, uint32_t capability,
1412 uint32_t *result);
1413 HAL_BOOL __ahdecl(*ah_setCapability)(struct ath_hal *,
1414 HAL_CAPABILITY_TYPE, uint32_t capability,
1415 uint32_t setting, HAL_STATUS *);

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

1580 void __ahdecl(*ah_btCoexSetWeights)(struct ath_hal *,
1581 uint32_t);
1582 void __ahdecl(*ah_btCoexSetBmissThresh)(struct ath_hal *,
1583 uint32_t);
1584 void __ahdecl(*ah_btCoexSetParameter)(struct ath_hal *,
1585 uint32_t, uint32_t);
1586 void __ahdecl(*ah_btCoexDisable)(struct ath_hal *);
1587 int __ahdecl(*ah_btCoexEnable)(struct ath_hal *);
1405
1406 /* Misc Functions */
1407 HAL_STATUS __ahdecl(*ah_getCapability)(struct ath_hal *,
1408 HAL_CAPABILITY_TYPE, uint32_t capability,
1409 uint32_t *result);
1410 HAL_BOOL __ahdecl(*ah_setCapability)(struct ath_hal *,
1411 HAL_CAPABILITY_TYPE, uint32_t capability,
1412 uint32_t setting, HAL_STATUS *);

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

1577 void __ahdecl(*ah_btCoexSetWeights)(struct ath_hal *,
1578 uint32_t);
1579 void __ahdecl(*ah_btCoexSetBmissThresh)(struct ath_hal *,
1580 uint32_t);
1581 void __ahdecl(*ah_btCoexSetParameter)(struct ath_hal *,
1582 uint32_t, uint32_t);
1583 void __ahdecl(*ah_btCoexDisable)(struct ath_hal *);
1584 int __ahdecl(*ah_btCoexEnable)(struct ath_hal *);
1585
1586 /* LNA diversity configuration */
1587 void __ahdecl(*ah_divLnaConfGet)(struct ath_hal *,
1588 HAL_ANT_COMB_CONFIG *);
1589 void __ahdecl(*ah_divLnaConfSet)(struct ath_hal *,
1590 HAL_ANT_COMB_CONFIG *);
1588};
1589
1590/*
1591 * Check the PCI vendor ID and device ID against Atheros' values
1592 * and return a printable description for any Atheros hardware.
1593 * AH_NULL is returned if the ID's do not describe Atheros hardware.
1594 */
1595extern const char *__ahdecl ath_hal_probe(uint16_t vendorid, uint16_t devid);

--- 141 unchanged lines hidden ---
1591};
1592
1593/*
1594 * Check the PCI vendor ID and device ID against Atheros' values
1595 * and return a printable description for any Atheros hardware.
1596 * AH_NULL is returned if the ID's do not describe Atheros hardware.
1597 */
1598extern const char *__ahdecl ath_hal_probe(uint16_t vendorid, uint16_t devid);

--- 141 unchanged lines hidden ---