Deleted Added
full compact
if_athvar.h (220053) if_athvar.h (220324)
1/*-
2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

21 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
22 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 * THE POSSIBILITY OF SUCH DAMAGES.
28 *
1/*-
2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

21 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
22 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 * THE POSSIBILITY OF SUCH DAMAGES.
28 *
29 * $FreeBSD: head/sys/dev/ath/if_athvar.h 220053 2011-03-27 08:47:55Z adrian $
29 * $FreeBSD: head/sys/dev/ath/if_athvar.h 220324 2011-04-04 14:52:31Z adrian $
30 */
31
32/*
33 * Defintions for the Atheros Wireless LAN controller driver.
34 */
35#ifndef _DEV_ATH_ATHVAR_H
36#define _DEV_ATH_ATHVAR_H
37

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

248 sc_hastsfadd: 1,/* tsf adjust support */
249 sc_beacons : 1,/* beacons running */
250 sc_swbmiss : 1,/* sta mode using sw bmiss */
251 sc_stagbeacons:1,/* use staggered beacons */
252 sc_wmetkipmic:1,/* can do WME+TKIP MIC */
253 sc_resume_up: 1,/* on resume, start all vaps */
254 sc_tdma : 1,/* TDMA in use */
255 sc_setcca : 1,/* set/clr CCA with TDMA */
30 */
31
32/*
33 * Defintions for the Atheros Wireless LAN controller driver.
34 */
35#ifndef _DEV_ATH_ATHVAR_H
36#define _DEV_ATH_ATHVAR_H
37

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

248 sc_hastsfadd: 1,/* tsf adjust support */
249 sc_beacons : 1,/* beacons running */
250 sc_swbmiss : 1,/* sta mode using sw bmiss */
251 sc_stagbeacons:1,/* use staggered beacons */
252 sc_wmetkipmic:1,/* can do WME+TKIP MIC */
253 sc_resume_up: 1,/* on resume, start all vaps */
254 sc_tdma : 1,/* TDMA in use */
255 sc_setcca : 1,/* set/clr CCA with TDMA */
256 sc_resetcal : 1;/* reset cal state next trip */
256 sc_resetcal : 1,/* reset cal state next trip */
257 sc_rxslink : 1;/* do self-linked final descriptor */
257 uint32_t sc_eerd; /* regdomain from EEPROM */
258 uint32_t sc_eecc; /* country code from EEPROM */
259 /* rate tables */
260 const HAL_RATE_TABLE *sc_rates[IEEE80211_MODE_MAX];
261 const HAL_RATE_TABLE *sc_currates; /* current rate table */
262 enum ieee80211_phymode sc_curmode; /* current phy mode */
263 HAL_OPMODE sc_opmode; /* current operating mode */
264 u_int16_t sc_curtxpow; /* current tx power limit */

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

641#define ath_hal_getchannoise(_ah, _c) \
642 ((*(_ah)->ah_getChanNoise)((_ah), (_c)))
643#define ath_hal_getrxchainmask(_ah, _prxchainmask) \
644 (ath_hal_getcapability(_ah, HAL_CAP_RX_CHAINMASK, 0, _prxchainmask))
645#define ath_hal_gettxchainmask(_ah, _ptxchainmask) \
646 (ath_hal_getcapability(_ah, HAL_CAP_TX_CHAINMASK, 0, _ptxchainmask))
647#define ath_hal_split4ktrans(_ah) \
648 (ath_hal_getcapability(_ah, HAP_CAP_SPLIT_4KB_TRANS, 0, NULL) == HAL_OK)
258 uint32_t sc_eerd; /* regdomain from EEPROM */
259 uint32_t sc_eecc; /* country code from EEPROM */
260 /* rate tables */
261 const HAL_RATE_TABLE *sc_rates[IEEE80211_MODE_MAX];
262 const HAL_RATE_TABLE *sc_currates; /* current rate table */
263 enum ieee80211_phymode sc_curmode; /* current phy mode */
264 HAL_OPMODE sc_opmode; /* current operating mode */
265 u_int16_t sc_curtxpow; /* current tx power limit */

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

642#define ath_hal_getchannoise(_ah, _c) \
643 ((*(_ah)->ah_getChanNoise)((_ah), (_c)))
644#define ath_hal_getrxchainmask(_ah, _prxchainmask) \
645 (ath_hal_getcapability(_ah, HAL_CAP_RX_CHAINMASK, 0, _prxchainmask))
646#define ath_hal_gettxchainmask(_ah, _ptxchainmask) \
647 (ath_hal_getcapability(_ah, HAL_CAP_TX_CHAINMASK, 0, _ptxchainmask))
648#define ath_hal_split4ktrans(_ah) \
649 (ath_hal_getcapability(_ah, HAP_CAP_SPLIT_4KB_TRANS, 0, NULL) == HAL_OK)
650#define ath_hal_self_linked_final_rxdesc(_ah) \
651 (ath_hal_getcapability(_ah, HAL_CAP_RXDESC_SELFLINK, 0, NULL) == HAL_OK)
649
650#define ath_hal_setuprxdesc(_ah, _ds, _size, _intreq) \
651 ((*(_ah)->ah_setupRxDesc)((_ah), (_ds), (_size), (_intreq)))
652#define ath_hal_rxprocdesc(_ah, _ds, _dspa, _dsnext, _rs) \
653 ((*(_ah)->ah_procRxDesc)((_ah), (_ds), (_dspa), (_dsnext), 0, (_rs)))
654#define ath_hal_setuptxdesc(_ah, _ds, _plen, _hlen, _atype, _txpow, \
655 _txr0, _txtr0, _keyix, _ant, _flags, \
656 _rtsrate, _rtsdura) \

--- 48 unchanged lines hidden ---
652
653#define ath_hal_setuprxdesc(_ah, _ds, _size, _intreq) \
654 ((*(_ah)->ah_setupRxDesc)((_ah), (_ds), (_size), (_intreq)))
655#define ath_hal_rxprocdesc(_ah, _ds, _dspa, _dsnext, _rs) \
656 ((*(_ah)->ah_procRxDesc)((_ah), (_ds), (_dspa), (_dsnext), 0, (_rs)))
657#define ath_hal_setuptxdesc(_ah, _ds, _plen, _hlen, _atype, _txpow, \
658 _txr0, _txtr0, _keyix, _ant, _flags, \
659 _rtsrate, _rtsdura) \

--- 48 unchanged lines hidden ---