FreeBSD kernel WPI device code
|
Go to the source code of this file.
Data Structures | |
struct | wpi_rx_radiotap_header |
struct | wpi_tx_radiotap_header |
struct | wpi_dma_info |
struct | wpi_tx_data |
struct | wpi_tx_ring |
struct | wpi_rx_data |
struct | wpi_rx_ring |
struct | wpi_node |
struct | wpi_power_sample |
struct | wpi_power_group |
struct | wpi_buf |
struct | wpi_vap |
struct | wpi_fw_part |
struct | wpi_fw_info |
struct | wpi_softc |
Macros | |
#define | WPI_RX_RADIOTAP_PRESENT |
#define | WPI_TX_RADIOTAP_PRESENT |
#define | WPI_NODE(ni) ((struct wpi_node *)(ni)) |
#define | WPI_SAMPLES_COUNT 5 |
#define | WPI_VAP_KEY(kid) (1 << kid) |
#define | WPI_VAP(vap) ((struct wpi_vap *)(vap)) |
#define | WPI_VAP_LOCK_INIT(_wvp) |
#define | WPI_VAP_LOCK(_wvp) mtx_lock(&(_wvp)->wv_mtx) |
#define | WPI_VAP_UNLOCK(_wvp) mtx_unlock(&(_wvp)->wv_mtx) |
#define | WPI_VAP_LOCK_ASSERT(_wvp) mtx_assert(&(_wvp)->wv_mtx, MA_OWNED) |
#define | WPI_VAP_LOCK_DESTROY(_wvp) mtx_destroy(&(_wvp)->wv_mtx) |
#define | WPI_LOCK_INIT(_sc) |
#define | WPI_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx) |
#define | WPI_UNLOCK(_sc) mtx_unlock(&(_sc)->sc_mtx) |
#define | WPI_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->sc_mtx, MA_OWNED) |
#define | WPI_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx) |
#define | WPI_RXON_LOCK_INIT(_sc) mtx_init(&(_sc)->rxon_mtx, "lock for wpi_rxon structure", NULL, MTX_DEF) |
#define | WPI_RXON_LOCK(_sc) mtx_lock(&(_sc)->rxon_mtx) |
#define | WPI_RXON_UNLOCK(_sc) mtx_unlock(&(_sc)->rxon_mtx) |
#define | WPI_RXON_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->rxon_mtx, MA_OWNED) |
#define | WPI_RXON_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->rxon_mtx) |
#define | WPI_TX_LOCK_INIT(_sc) mtx_init(&(_sc)->tx_mtx, "tx path lock", NULL, MTX_DEF) |
#define | WPI_TX_LOCK(_sc) mtx_lock(&(_sc)->tx_mtx) |
#define | WPI_TX_UNLOCK(_sc) mtx_unlock(&(_sc)->tx_mtx) |
#define | WPI_TX_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->tx_mtx) |
#define | WPI_NT_LOCK_INIT(_sc) mtx_init(&(_sc)->nt_mtx, "node table lock", NULL, MTX_DEF) |
#define | WPI_NT_LOCK(_sc) mtx_lock(&(_sc)->nt_mtx) |
#define | WPI_NT_UNLOCK(_sc) mtx_unlock(&(_sc)->nt_mtx) |
#define | WPI_NT_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->nt_mtx) |
#define | WPI_TXQ_LOCK_INIT(_sc) mtx_init(&(_sc)->txq_mtx, "txq/cmdq lock", NULL, MTX_DEF) |
#define | WPI_TXQ_LOCK(_sc) mtx_lock(&(_sc)->txq_mtx) |
#define | WPI_TXQ_UNLOCK(_sc) mtx_unlock(&(_sc)->txq_mtx) |
#define | WPI_TXQ_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->txq_mtx) |
#define | WPI_TXQ_STATE_LOCK_INIT(_sc) mtx_init(&(_sc)->txq_state_mtx, "txq state lock", NULL, MTX_DEF) |
#define | WPI_TXQ_STATE_LOCK(_sc) mtx_lock(&(_sc)->txq_state_mtx) |
#define | WPI_TXQ_STATE_UNLOCK(_sc) mtx_unlock(&(_sc)->txq_state_mtx) |
#define | WPI_TXQ_STATE_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->txq_state_mtx) |
Functions | |
struct wpi_rx_radiotap_header | __aligned (8) |
Variables | |
struct ieee80211_radiotap_header | wr_ihdr |
uint64_t | wr_tsft |
uint8_t | wr_flags |
uint8_t | wr_rate |
uint16_t | wr_chan_freq |
uint16_t | wr_chan_flags |
int8_t | wr_dbm_antsignal |
int8_t | wr_dbm_antnoise |
uint8_t | wr_antenna |
struct wpi_tx_radiotap_header | __packed |
#define WPI_LOCK | ( | _sc | ) | mtx_lock(&(_sc)->sc_mtx) |
Definition at line 260 of file if_wpivar.h.
#define WPI_LOCK_ASSERT | ( | _sc | ) | mtx_assert(&(_sc)->sc_mtx, MA_OWNED) |
Definition at line 262 of file if_wpivar.h.
#define WPI_LOCK_DESTROY | ( | _sc | ) | mtx_destroy(&(_sc)->sc_mtx) |
Definition at line 263 of file if_wpivar.h.
#define WPI_LOCK_INIT | ( | _sc | ) |
Definition at line 257 of file if_wpivar.h.
#define WPI_NODE | ( | ni | ) | ((struct wpi_node *)(ni)) |
Definition at line 101 of file if_wpivar.h.
#define WPI_NT_LOCK | ( | _sc | ) | mtx_lock(&(_sc)->nt_mtx) |
Definition at line 280 of file if_wpivar.h.
#define WPI_NT_LOCK_DESTROY | ( | _sc | ) | mtx_destroy(&(_sc)->nt_mtx) |
Definition at line 282 of file if_wpivar.h.
#define WPI_NT_LOCK_INIT | ( | _sc | ) | mtx_init(&(_sc)->nt_mtx, "node table lock", NULL, MTX_DEF) |
Definition at line 278 of file if_wpivar.h.
#define WPI_NT_UNLOCK | ( | _sc | ) | mtx_unlock(&(_sc)->nt_mtx) |
Definition at line 281 of file if_wpivar.h.
#define WPI_RX_RADIOTAP_PRESENT |
Definition at line 31 of file if_wpivar.h.
#define WPI_RXON_LOCK | ( | _sc | ) | mtx_lock(&(_sc)->rxon_mtx) |
Definition at line 267 of file if_wpivar.h.
#define WPI_RXON_LOCK_ASSERT | ( | _sc | ) | mtx_assert(&(_sc)->rxon_mtx, MA_OWNED) |
Definition at line 269 of file if_wpivar.h.
#define WPI_RXON_LOCK_DESTROY | ( | _sc | ) | mtx_destroy(&(_sc)->rxon_mtx) |
Definition at line 270 of file if_wpivar.h.
#define WPI_RXON_LOCK_INIT | ( | _sc | ) | mtx_init(&(_sc)->rxon_mtx, "lock for wpi_rxon structure", NULL, MTX_DEF) |
Definition at line 265 of file if_wpivar.h.
#define WPI_RXON_UNLOCK | ( | _sc | ) | mtx_unlock(&(_sc)->rxon_mtx) |
Definition at line 268 of file if_wpivar.h.
#define WPI_SAMPLES_COUNT 5 |
Definition at line 109 of file if_wpivar.h.
#define WPI_TX_LOCK | ( | _sc | ) | mtx_lock(&(_sc)->tx_mtx) |
Definition at line 274 of file if_wpivar.h.
#define WPI_TX_LOCK_DESTROY | ( | _sc | ) | mtx_destroy(&(_sc)->tx_mtx) |
Definition at line 276 of file if_wpivar.h.
#define WPI_TX_LOCK_INIT | ( | _sc | ) | mtx_init(&(_sc)->tx_mtx, "tx path lock", NULL, MTX_DEF) |
Definition at line 272 of file if_wpivar.h.
#define WPI_TX_RADIOTAP_PRESENT |
Definition at line 48 of file if_wpivar.h.
#define WPI_TX_UNLOCK | ( | _sc | ) | mtx_unlock(&(_sc)->tx_mtx) |
Definition at line 275 of file if_wpivar.h.
#define WPI_TXQ_LOCK | ( | _sc | ) | mtx_lock(&(_sc)->txq_mtx) |
Definition at line 286 of file if_wpivar.h.
#define WPI_TXQ_LOCK_DESTROY | ( | _sc | ) | mtx_destroy(&(_sc)->txq_mtx) |
Definition at line 288 of file if_wpivar.h.
#define WPI_TXQ_LOCK_INIT | ( | _sc | ) | mtx_init(&(_sc)->txq_mtx, "txq/cmdq lock", NULL, MTX_DEF) |
Definition at line 284 of file if_wpivar.h.
#define WPI_TXQ_STATE_LOCK | ( | _sc | ) | mtx_lock(&(_sc)->txq_state_mtx) |
Definition at line 292 of file if_wpivar.h.
#define WPI_TXQ_STATE_LOCK_DESTROY | ( | _sc | ) | mtx_destroy(&(_sc)->txq_state_mtx) |
Definition at line 294 of file if_wpivar.h.
#define WPI_TXQ_STATE_LOCK_INIT | ( | _sc | ) | mtx_init(&(_sc)->txq_state_mtx, "txq state lock", NULL, MTX_DEF) |
Definition at line 290 of file if_wpivar.h.
#define WPI_TXQ_STATE_UNLOCK | ( | _sc | ) | mtx_unlock(&(_sc)->txq_state_mtx) |
Definition at line 293 of file if_wpivar.h.
#define WPI_TXQ_UNLOCK | ( | _sc | ) | mtx_unlock(&(_sc)->txq_mtx) |
Definition at line 287 of file if_wpivar.h.
#define WPI_UNLOCK | ( | _sc | ) | mtx_unlock(&(_sc)->sc_mtx) |
Definition at line 261 of file if_wpivar.h.
#define WPI_VAP | ( | vap | ) | ((struct wpi_vap *)(vap)) |
Definition at line 141 of file if_wpivar.h.
#define WPI_VAP_KEY | ( | kid | ) | (1 << kid) |
Definition at line 132 of file if_wpivar.h.
#define WPI_VAP_LOCK | ( | _wvp | ) | mtx_lock(&(_wvp)->wv_mtx) |
Definition at line 146 of file if_wpivar.h.
#define WPI_VAP_LOCK_ASSERT | ( | _wvp | ) | mtx_assert(&(_wvp)->wv_mtx, MA_OWNED) |
Definition at line 148 of file if_wpivar.h.
#define WPI_VAP_LOCK_DESTROY | ( | _wvp | ) | mtx_destroy(&(_wvp)->wv_mtx) |
Definition at line 149 of file if_wpivar.h.
#define WPI_VAP_LOCK_INIT | ( | _wvp | ) |
Definition at line 143 of file if_wpivar.h.
#define WPI_VAP_UNLOCK | ( | _wvp | ) | mtx_unlock(&(_wvp)->wv_mtx) |
Definition at line 147 of file if_wpivar.h.
struct wpi_rx_radiotap_header __aligned | ( | 8 | ) |
struct wpi_tx_radiotap_header __packed |
uint8_t wr_antenna |
Definition at line 8 of file if_wpivar.h.
uint16_t wr_chan_flags |
Definition at line 5 of file if_wpivar.h.
uint16_t wr_chan_freq |
Definition at line 4 of file if_wpivar.h.
int8_t wr_dbm_antnoise |
Definition at line 7 of file if_wpivar.h.
int8_t wr_dbm_antsignal |
Definition at line 6 of file if_wpivar.h.
uint8_t wr_flags |
Definition at line 2 of file if_wpivar.h.
struct ieee80211_radiotap_header wr_ihdr |
Definition at line 0 of file if_wpivar.h.
uint8_t wr_rate |
Definition at line 3 of file if_wpivar.h.
uint64_t wr_tsft |
Definition at line 1 of file if_wpivar.h.