Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/wpi/if_wpivar.h
Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Lines | |||||
struct wpi_tx_ring { | struct wpi_tx_ring { | ||||
struct wpi_dma_info desc_dma; | struct wpi_dma_info desc_dma; | ||||
struct wpi_dma_info cmd_dma; | struct wpi_dma_info cmd_dma; | ||||
struct wpi_tx_desc *desc; | struct wpi_tx_desc *desc; | ||||
struct wpi_tx_cmd *cmd; | struct wpi_tx_cmd *cmd; | ||||
struct wpi_tx_data data[WPI_TX_RING_COUNT]; | struct wpi_tx_data data[WPI_TX_RING_COUNT]; | ||||
bus_dma_tag_t data_dmat; | bus_dma_tag_t data_dmat; | ||||
struct mbufq snd; | |||||
int qid; | int qid; | ||||
int queued; | int queued; | ||||
int cur; | int cur; | ||||
int update; | int update; | ||||
}; | }; | ||||
struct wpi_rx_data { | struct wpi_rx_data { | ||||
struct mbuf *m; | struct mbuf *m; | ||||
▲ Show 20 Lines • Show All 99 Lines • ▼ Show 20 Lines | #define WPI_PS_PATH (1 << 0) | ||||
struct mtx txq_mtx; | struct mtx txq_mtx; | ||||
struct mtx txq_state_mtx; | struct mtx txq_state_mtx; | ||||
struct wpi_rx_ring rxq; | struct wpi_rx_ring rxq; | ||||
uint64_t rx_tstamp; | uint64_t rx_tstamp; | ||||
/* TX Thermal Callibration. */ | /* TX Thermal Callibration. */ | ||||
struct callout calib_to; | struct callout calib_to; | ||||
int calib_cnt; | |||||
struct callout scan_timeout; | struct callout scan_timeout; | ||||
struct callout tx_timeout; | struct callout tx_timeout; | ||||
/* Watch dog timer. */ | /* Watch dog timer. */ | ||||
struct callout watchdog_rfkill; | struct callout watchdog_rfkill; | ||||
/* Firmware image. */ | /* Firmware image. */ | ||||
struct wpi_fw_info fw; | struct wpi_fw_info fw; | ||||
uint32_t errptr; | uint32_t errptr; | ||||
struct resource *irq; | struct resource *irq; | ||||
struct resource *mem; | struct resource *mem; | ||||
bus_space_tag_t sc_st; | bus_space_tag_t sc_st; | ||||
bus_space_handle_t sc_sh; | bus_space_handle_t sc_sh; | ||||
void *sc_ih; | void *sc_ih; | ||||
bus_size_t sc_sz; | bus_size_t sc_sz; | ||||
int sc_cap_off; /* PCIe Capabilities. */ | int sc_cap_off; /* PCIe Capabilities. */ | ||||
struct wpi_rxon rxon; | struct wpi_rxon rxon; | ||||
struct mtx rxon_mtx; | struct mtx rxon_mtx; | ||||
int temp; | int temp; | ||||
uint32_t qfullmsk; | |||||
uint32_t nodesmsk; | uint32_t nodesmsk; | ||||
struct mtx nt_mtx; | struct mtx nt_mtx; | ||||
void (*sc_node_free)(struct ieee80211_node *); | void (*sc_node_free)(struct ieee80211_node *); | ||||
void (*sc_update_rx_ring)(struct wpi_softc *); | void (*sc_update_rx_ring)(struct wpi_softc *); | ||||
void (*sc_update_tx_ring)(struct wpi_softc *, | void (*sc_update_tx_ring)(struct wpi_softc *, | ||||
struct wpi_tx_ring *); | struct wpi_tx_ring *); | ||||
struct wpi_rx_radiotap_header sc_rxtap; | struct wpi_rx_radiotap_header sc_rxtap; | ||||
struct wpi_tx_radiotap_header sc_txtap; | struct wpi_tx_radiotap_header sc_txtap; | ||||
/* Firmware image. */ | /* Firmware image. */ | ||||
const struct firmware *fw_fp; | const struct firmware *fw_fp; | ||||
/* Firmware DMA transfer. */ | /* Firmware DMA transfer. */ | ||||
struct wpi_dma_info fw_dma; | struct wpi_dma_info fw_dma; | ||||
/* Tasks used by the driver. */ | /* Tasks used by the driver. */ | ||||
struct task sc_reinittask; | struct task sc_reinittask; | ||||
struct task sc_radiooff_task; | struct task sc_radiooff_task; | ||||
struct task sc_radioon_task; | struct task sc_radioon_task; | ||||
struct task sc_start_task; | |||||
/* Taskqueue */ | /* Taskqueue */ | ||||
struct taskqueue *sc_tq; | struct taskqueue *sc_tq; | ||||
/* Eeprom info. */ | /* Eeprom info. */ | ||||
uint8_t cap; | uint8_t cap; | ||||
uint16_t rev; | uint16_t rev; | ||||
uint8_t type; | uint8_t type; | ||||
▲ Show 20 Lines • Show All 55 Lines • Show Last 20 Lines |