FreeBSD kernel usb device Code
|
Go to the source code of this file.
Data Structures | |
struct | run_rx_radiotap_header |
struct | run_tx_radiotap_header |
struct | run_tx_data |
struct | run_node |
struct | run_cmdq |
struct | run_vap |
struct | run_endpoint_queue |
struct | run_softc |
Macros | |
#define | RUN_MAX_RXSZ MIN(4096, MJUMPAGESIZE) |
#define | RUN_MAX_TXSZ |
#define | RUN_TX_TIMEOUT 5000 /* ms */ |
#define | RUN_TX_RING_COUNT 32 |
#define | RUN_RX_RING_COUNT 1 |
#define | RT2870_WCID_MAX 64 |
#define | RUN_AID2WCID(aid) ((aid) & 0xff) |
#define | RUN_VAP_MAX 8 |
#define | RUN_RX_RADIOTAP_PRESENT |
#define | IEEE80211_RADIOTAP_HWQUEUE 15 |
#define | RUN_TX_RADIOTAP_PRESENT |
#define | RUN_NODE(ni) ((struct run_node *)(ni)) |
#define | RUN_VAP(vap) ((struct run_vap *)(vap)) |
#define | RUN_EP_QUEUES RUN_BULK_RX |
#define | RUN_FLAG_FWLOAD_NEEDED 0x01 |
#define | RUN_RUNNING 0x02 |
#define | RUN_TXCNT 0 |
#define | RUN_SUCCESS 1 |
#define | RUN_RETRY 2 |
#define | RUN_RATECTL_OFF 0 |
#define | RUN_CMDQ_MAX 16 |
#define | RUN_CMDQ_MASQ (RUN_CMDQ_MAX - 1) |
#define | RUN_CMDQ_ABORT 0 |
#define | RUN_CMDQ_GO 1 |
#define | sc_rxtap sc_rxtapu.th |
#define | sc_txtap sc_txtapu.th |
#define | RUN_LOCK(sc) mtx_lock(&(sc)->sc_mtx) |
#define | RUN_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx) |
#define | RUN_LOCK_ASSERT(sc, t) mtx_assert(&(sc)->sc_mtx, t) |
Enumerations | |
enum | { RUN_BULK_TX_BE , RUN_BULK_TX_BK , RUN_BULK_TX_VI , RUN_BULK_TX_VO , RUN_BULK_TX_HCCA , RUN_BULK_TX_PRIO , RUN_BULK_RX , RUN_N_XFER } |
Functions | |
struct run_rx_radiotap_header | __aligned (8) |
STAILQ_HEAD (run_tx_data_head, run_tx_data) | |
Variables | |
struct ieee80211_radiotap_header | wr_ihdr |
uint64_t | wr_tsf |
uint8_t | wr_flags |
uint8_t | wr_rate |
uint16_t | wr_chan_freq |
uint16_t | wr_chan_flags |
int8_t | wr_dbm_antsignal |
uint8_t | wr_antenna |
uint8_t | wr_antsignal |
struct run_tx_radiotap_header | __packed |
#define IEEE80211_RADIOTAP_HWQUEUE 15 |
Definition at line 77 of file if_runvar.h.
#define RT2870_WCID_MAX 64 |
Definition at line 42 of file if_runvar.h.
#define RUN_AID2WCID | ( | aid | ) | ((aid) & 0xff) |
Definition at line 43 of file if_runvar.h.
#define RUN_CMDQ_ABORT 0 |
Definition at line 231 of file if_runvar.h.
#define RUN_CMDQ_GO 1 |
Definition at line 232 of file if_runvar.h.
#define RUN_CMDQ_MASQ (RUN_CMDQ_MAX - 1) |
Definition at line 224 of file if_runvar.h.
#define RUN_CMDQ_MAX 16 |
Definition at line 223 of file if_runvar.h.
#define RUN_EP_QUEUES RUN_BULK_RX |
Definition at line 149 of file if_runvar.h.
#define RUN_FLAG_FWLOAD_NEEDED 0x01 |
Definition at line 168 of file if_runvar.h.
#define RUN_LOCK | ( | sc | ) | mtx_lock(&(sc)->sc_mtx) |
Definition at line 264 of file if_runvar.h.
#define RUN_LOCK_ASSERT | ( | sc, | |
t | |||
) | mtx_assert(&(sc)->sc_mtx, t) |
Definition at line 266 of file if_runvar.h.
#define RUN_MAX_RXSZ MIN(4096, MJUMPAGESIZE) |
Definition at line 27 of file if_runvar.h.
#define RUN_MAX_TXSZ |
Definition at line 31 of file if_runvar.h.
#define RUN_NODE | ( | ni | ) | ((struct run_node *)(ni)) |
Definition at line 105 of file if_runvar.h.
#define RUN_RATECTL_OFF 0 |
Definition at line 220 of file if_runvar.h.
#define RUN_RETRY 2 |
Definition at line 174 of file if_runvar.h.
#define RUN_RUNNING 0x02 |
Definition at line 169 of file if_runvar.h.
#define RUN_RX_RADIOTAP_PRESENT |
Definition at line 59 of file if_runvar.h.
#define RUN_RX_RING_COUNT 1 |
Definition at line 40 of file if_runvar.h.
#define RUN_SUCCESS 1 |
Definition at line 173 of file if_runvar.h.
#define RUN_TX_RADIOTAP_PRESENT |
Definition at line 79 of file if_runvar.h.
#define RUN_TX_RING_COUNT 32 |
Definition at line 39 of file if_runvar.h.
#define RUN_TX_TIMEOUT 5000 /* ms */ |
Definition at line 36 of file if_runvar.h.
#define RUN_TXCNT 0 |
Definition at line 172 of file if_runvar.h.
#define RUN_UNLOCK | ( | sc | ) | mtx_unlock(&(sc)->sc_mtx) |
Definition at line 265 of file if_runvar.h.
#define RUN_VAP | ( | vap | ) | ((struct run_vap *)(vap)) |
Definition at line 130 of file if_runvar.h.
#define RUN_VAP_MAX 8 |
Definition at line 45 of file if_runvar.h.
#define sc_rxtap sc_rxtapu.th |
Definition at line 255 of file if_runvar.h.
#define sc_txtap sc_txtapu.th |
Definition at line 261 of file if_runvar.h.
anonymous enum |
Enumerator | |
---|---|
RUN_BULK_TX_BE | |
RUN_BULK_TX_BK | |
RUN_BULK_TX_VI | |
RUN_BULK_TX_VO | |
RUN_BULK_TX_HCCA | |
RUN_BULK_TX_PRIO | |
RUN_BULK_RX | |
RUN_N_XFER |
Definition at line 138 of file if_runvar.h.
struct run_rx_radiotap_header __aligned | ( | 8 | ) |
STAILQ_HEAD | ( | run_tx_data_head | , |
run_tx_data | |||
) |
struct run_tx_radiotap_header __packed |
uint8_t wr_antenna |
Definition at line 7 of file if_runvar.h.
uint8_t wr_antsignal |
Definition at line 8 of file if_runvar.h.
uint16_t wr_chan_flags |
Definition at line 5 of file if_runvar.h.
uint16_t wr_chan_freq |
Definition at line 4 of file if_runvar.h.
int8_t wr_dbm_antsignal |
Definition at line 6 of file if_runvar.h.
uint8_t wr_flags |
Definition at line 2 of file if_runvar.h.
struct ieee80211_radiotap_header wr_ihdr |
Definition at line 0 of file if_runvar.h.
uint8_t wr_rate |
Definition at line 3 of file if_runvar.h.
uint64_t wr_tsf |
Definition at line 1 of file if_runvar.h.