if_athvar.h (238709) | if_athvar.h (238710) |
---|---|
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 238709 2012-07-23 02:49:25Z adrian $ | 29 * $FreeBSD: head/sys/dev/ath/if_athvar.h 238710 2012-07-23 03:52:18Z 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 --- 354 unchanged lines hidden (view full) --- 392 struct ath_buf **m_fifo; 393 int m_fifolen; 394 int m_fifo_head; 395 int m_fifo_tail; 396 int m_fifo_depth; 397 struct mbuf *m_rxpending; 398}; 399 | 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 --- 354 unchanged lines hidden (view full) --- 392 struct ath_buf **m_fifo; 393 int m_fifolen; 394 int m_fifo_head; 395 int m_fifo_tail; 396 int m_fifo_depth; 397 struct mbuf *m_rxpending; 398}; 399 |
400struct ath_tx_methods { 401 int (*xmit_setup)(struct ath_softc *sc); 402 int (*xmit_teardown)(struct ath_softc *sc); 403}; 404 |
|
400struct ath_softc { 401 struct ifnet *sc_ifp; /* interface common */ 402 struct ath_stats sc_stats; /* interface statistics */ 403 struct ath_tx_aggr_stats sc_aggr_stats; 404 struct ath_intr_stats sc_intr_stats; 405 uint64_t sc_debug; 406 int sc_nvaps; /* # vaps */ 407 int sc_nstavaps; /* # station vaps */ 408 int sc_nmeshvaps; /* # mbss vaps */ 409 u_int8_t sc_hwbssidmask[IEEE80211_ADDR_LEN]; 410 u_int8_t sc_nbssid0; /* # vap's using base mac */ 411 uint32_t sc_bssidmask; /* bssid mask */ 412 413 struct ath_rx_methods sc_rx; 414 struct ath_rx_edma sc_rxedma[HAL_NUM_RX_QUEUES]; /* HP/LP queues */ | 405struct ath_softc { 406 struct ifnet *sc_ifp; /* interface common */ 407 struct ath_stats sc_stats; /* interface statistics */ 408 struct ath_tx_aggr_stats sc_aggr_stats; 409 struct ath_intr_stats sc_intr_stats; 410 uint64_t sc_debug; 411 int sc_nvaps; /* # vaps */ 412 int sc_nstavaps; /* # station vaps */ 413 int sc_nmeshvaps; /* # mbss vaps */ 414 u_int8_t sc_hwbssidmask[IEEE80211_ADDR_LEN]; 415 u_int8_t sc_nbssid0; /* # vap's using base mac */ 416 uint32_t sc_bssidmask; /* bssid mask */ 417 418 struct ath_rx_methods sc_rx; 419 struct ath_rx_edma sc_rxedma[HAL_NUM_RX_QUEUES]; /* HP/LP queues */ |
420 struct ath_tx_methods sc_tx; 421 |
|
415 int sc_rx_statuslen; 416 int sc_tx_desclen; 417 int sc_tx_statuslen; 418 int sc_tx_nmaps; /* Number of TX maps */ 419 int sc_edma_bufsize; 420 421 void (*sc_node_cleanup)(struct ieee80211_node *); 422 void (*sc_node_free)(struct ieee80211_node *); --- 741 unchanged lines hidden --- | 422 int sc_rx_statuslen; 423 int sc_tx_desclen; 424 int sc_tx_statuslen; 425 int sc_tx_nmaps; /* Number of TX maps */ 426 int sc_edma_bufsize; 427 428 void (*sc_node_cleanup)(struct ieee80211_node *); 429 void (*sc_node_free)(struct ieee80211_node *); --- 741 unchanged lines hidden --- |