FreeBSD kernel WPI device code
|
#include <if_wpivar.h>
Data Fields | |
device_t | sc_dev |
int | sc_debug |
int | sc_running |
struct mtx | sc_mtx |
struct ieee80211com | sc_ic |
struct ieee80211_ratectl_tx_status | sc_txs |
struct mtx | tx_mtx |
struct wpi_dma_info | shared_dma |
struct wpi_shared * | shared |
struct wpi_tx_ring | txq [WPI_DRV_NTXQUEUES] |
struct mtx | txq_mtx |
struct mtx | txq_state_mtx |
struct wpi_rx_ring | rxq |
uint64_t | rx_tstamp |
struct callout | calib_to |
struct callout | scan_timeout |
struct callout | tx_timeout |
struct callout | watchdog_rfkill |
struct wpi_fw_info | fw |
uint32_t | errptr |
struct resource * | irq |
struct resource * | mem |
bus_space_tag_t | sc_st |
bus_space_handle_t | sc_sh |
void * | sc_ih |
bus_size_t | sc_sz |
int | sc_cap_off |
struct wpi_rxon | rxon |
struct mtx | rxon_mtx |
int | temp |
uint32_t | nodesmsk |
struct mtx | nt_mtx |
void(* | sc_node_free )(struct ieee80211_node *) |
void(* | sc_update_rx_ring )(struct wpi_softc *) |
void(* | sc_update_tx_ring )(struct wpi_softc *, struct wpi_tx_ring *) |
struct wpi_rx_radiotap_header | sc_rxtap |
struct wpi_tx_radiotap_header | sc_txtap |
const struct firmware * | fw_fp |
struct wpi_dma_info | fw_dma |
struct task | sc_radiooff_task |
struct task | sc_radioon_task |
uint8_t | cap |
uint16_t | rev |
uint8_t | type |
struct wpi_eeprom_chan | eeprom_channels [WPI_CHAN_BANDS_COUNT][WPI_MAX_CHAN_PER_BAND] |
struct wpi_power_group | groups [WPI_POWER_GROUPS_COUNT] |
int8_t | maxpwr [IEEE80211_CHAN_MAX] |
char | domain [4] |
Definition at line 166 of file if_wpivar.h.
struct callout wpi_softc::calib_to |
Definition at line 190 of file if_wpivar.h.
Referenced by wpi_attach(), wpi_calib_timeout(), wpi_detach(), wpi_run(), and wpi_stop_locked().
uint8_t wpi_softc::cap |
Definition at line 237 of file if_wpivar.h.
Referenced by wpi_nic_config(), and wpi_read_eeprom().
char wpi_softc::domain[4] |
Definition at line 244 of file if_wpivar.h.
Referenced by wpi_attach(), and wpi_read_eeprom().
struct wpi_eeprom_chan wpi_softc::eeprom_channels[WPI_CHAN_BANDS_COUNT][WPI_MAX_CHAN_PER_BAND] |
Definition at line 241 of file if_wpivar.h.
Referenced by wpi_find_eeprom_channel(), wpi_read_eeprom_band(), and wpi_read_eeprom_channels().
uint32_t wpi_softc::errptr |
Definition at line 200 of file if_wpivar.h.
Referenced by wpi_fatal_intr(), and wpi_notif_intr().
struct wpi_fw_info wpi_softc::fw |
Definition at line 199 of file if_wpivar.h.
Referenced by wpi_load_firmware(), and wpi_read_firmware().
struct wpi_dma_info wpi_softc::fw_dma |
Definition at line 230 of file if_wpivar.h.
Referenced by wpi_alloc_fwmem(), wpi_detach(), wpi_free_fwmem(), and wpi_load_firmware().
const struct firmware* wpi_softc::fw_fp |
Definition at line 227 of file if_wpivar.h.
Referenced by wpi_read_firmware(), and wpi_unload_firmware().
struct wpi_power_group wpi_softc::groups[WPI_POWER_GROUPS_COUNT] |
Definition at line 242 of file if_wpivar.h.
Referenced by wpi_read_eeprom_group(), and wpi_set_txpower().
struct resource* wpi_softc::irq |
Definition at line 202 of file if_wpivar.h.
Referenced by wpi_attach(), and wpi_detach().
int8_t wpi_softc::maxpwr[IEEE80211_CHAN_MAX] |
Definition at line 243 of file if_wpivar.h.
Referenced by wpi_get_power_index(), and wpi_read_eeprom_band().
struct resource* wpi_softc::mem |
Definition at line 203 of file if_wpivar.h.
Referenced by wpi_attach(), and wpi_detach().
uint32_t wpi_softc::nodesmsk |
Definition at line 215 of file if_wpivar.h.
Referenced by wpi_add_node_entry_adhoc(), wpi_add_node_entry_sta(), wpi_check_node_entry(), wpi_clear_node_table(), and wpi_del_node_entry().
struct mtx wpi_softc::nt_mtx |
Definition at line 216 of file if_wpivar.h.
uint16_t wpi_softc::rev |
Definition at line 238 of file if_wpivar.h.
Referenced by wpi_attach(), wpi_nic_config(), and wpi_read_eeprom().
uint64_t wpi_softc::rx_tstamp |
Definition at line 187 of file if_wpivar.h.
Referenced by wpi_ibss_recv_mgmt(), and wpi_rx_done().
struct wpi_rxon wpi_softc::rxon |
Definition at line 210 of file if_wpivar.h.
Referenced by wpi_auth(), wpi_check_bss_filter(), wpi_config(), wpi_newstate(), wpi_run(), wpi_scan(), wpi_send_rxon(), wpi_set_channel(), wpi_set_promisc(), and wpi_set_txpower().
struct mtx wpi_softc::rxon_mtx |
Definition at line 211 of file if_wpivar.h.
Referenced by wpi_attach().
struct wpi_rx_ring wpi_softc::rxq |
Definition at line 186 of file if_wpivar.h.
Referenced by wpi_alloc_rx_ring(), wpi_fatal_intr(), wpi_free_rx_ring(), wpi_hw_init(), wpi_notif_intr(), wpi_reset_rx_ring(), wpi_rx_done(), wpi_update_rx_ring(), wpi_update_rx_ring_ps(), and wpi_wakeup_intr().
int wpi_softc::sc_cap_off |
Definition at line 208 of file if_wpivar.h.
Referenced by wpi_apm_init(), wpi_attach(), and wpi_set_pslevel().
int wpi_softc::sc_debug |
Definition at line 168 of file if_wpivar.h.
Referenced by wpi_attach(), wpi_scan(), and wpi_sysctlattach().
device_t wpi_softc::sc_dev |
Definition at line 167 of file if_wpivar.h.
Referenced by wpi_add_ibss_node(), wpi_add_node(), wpi_alloc_rx_ring(), wpi_alloc_tx_ring(), wpi_apm_init(), wpi_apm_stop_master(), wpi_attach(), wpi_auth(), wpi_clock_wait(), wpi_cmd2(), wpi_config(), wpi_config_beacon(), wpi_del_key(), wpi_del_key_cb(), wpi_del_node(), wpi_dma_contig_alloc(), wpi_hw_init(), wpi_init(), wpi_intr(), wpi_load_bootcode(), wpi_load_firmware(), wpi_load_key(), wpi_load_key_cb(), wpi_mrr_setup(), wpi_newassoc(), wpi_newstate(), wpi_nic_config(), wpi_nic_lock(), wpi_notif_intr(), wpi_post_alive(), wpi_power_calibration(), wpi_process_key(), wpi_radio_off(), wpi_radio_on(), wpi_read_eeprom(), wpi_read_firmware(), wpi_read_prom_data(), wpi_restore_node(), wpi_run(), wpi_rx_done(), wpi_scan(), wpi_send_rxon(), wpi_set_channel(), wpi_set_pslevel(), wpi_setup_beacon(), wpi_sysctlattach(), wpi_tx_data(), wpi_update_beacon(), and wpi_update_promisc().
struct ieee80211com wpi_softc::sc_ic |
Definition at line 173 of file if_wpivar.h.
Referenced by wpi_add_broadcast_node(), wpi_attach(), wpi_config(), wpi_detach(), wpi_intr(), wpi_limit_dwell(), wpi_mrr_setup(), wpi_notif_intr(), wpi_radio_off(), wpi_radio_on(), wpi_radiotap_attach(), wpi_read_eeprom_channels(), wpi_restore_node_table(), wpi_resume(), wpi_rx_done(), wpi_scan(), wpi_scan_timeout(), wpi_set_promisc(), wpi_suspend(), wpi_tx_timeout(), and wpi_watchdog_rfkill().
void* wpi_softc::sc_ih |
Definition at line 206 of file if_wpivar.h.
Referenced by wpi_attach(), and wpi_detach().
struct mtx wpi_softc::sc_mtx |
Definition at line 172 of file if_wpivar.h.
Referenced by wpi_attach(), wpi_cmd(), wpi_hw_init(), and wpi_load_firmware().
void(* wpi_softc::sc_node_free) (struct ieee80211_node *) |
Definition at line 218 of file if_wpivar.h.
Referenced by wpi_attach(), and wpi_node_free().
struct task wpi_softc::sc_radiooff_task |
Definition at line 233 of file if_wpivar.h.
Referenced by wpi_attach(), wpi_detach(), and wpi_notif_intr().
struct task wpi_softc::sc_radioon_task |
Definition at line 234 of file if_wpivar.h.
Referenced by wpi_attach(), wpi_detach(), and wpi_watchdog_rfkill().
int wpi_softc::sc_running |
Definition at line 170 of file if_wpivar.h.
Referenced by wpi_cmd(), wpi_cmd2(), wpi_init(), wpi_intr(), wpi_newstate(), wpi_notif_intr(), wpi_raw_xmit(), wpi_stop_locked(), wpi_transmit(), and wpi_update_promisc().
struct wpi_rx_radiotap_header wpi_softc::sc_rxtap |
Definition at line 223 of file if_wpivar.h.
Referenced by wpi_radiotap_attach(), wpi_rx_done(), and wpi_set_channel().
bus_space_handle_t wpi_softc::sc_sh |
Definition at line 205 of file if_wpivar.h.
Referenced by wpi_attach().
bus_space_tag_t wpi_softc::sc_st |
Definition at line 204 of file if_wpivar.h.
Referenced by wpi_attach().
bus_size_t wpi_softc::sc_sz |
Definition at line 207 of file if_wpivar.h.
struct ieee80211_ratectl_tx_status wpi_softc::sc_txs |
Definition at line 174 of file if_wpivar.h.
Referenced by wpi_attach(), and wpi_tx_done().
struct wpi_tx_radiotap_header wpi_softc::sc_txtap |
Definition at line 224 of file if_wpivar.h.
Referenced by wpi_radiotap_attach(), wpi_set_channel(), wpi_tx_data(), and wpi_tx_data_raw().
void(* wpi_softc::sc_update_rx_ring) (struct wpi_softc *) |
Definition at line 219 of file if_wpivar.h.
Referenced by wpi_attach(), wpi_cmd_done(), and wpi_notif_intr().
void(* wpi_softc::sc_update_tx_ring) (struct wpi_softc *, struct wpi_tx_ring *) |
Definition at line 220 of file if_wpivar.h.
Referenced by wpi_attach(), wpi_cmd(), wpi_cmd2(), and wpi_cmd_done().
struct callout wpi_softc::scan_timeout |
Definition at line 192 of file if_wpivar.h.
Referenced by wpi_attach(), wpi_detach(), wpi_notif_intr(), wpi_scan(), and wpi_stop_locked().
struct wpi_shared* wpi_softc::shared |
Definition at line 180 of file if_wpivar.h.
Referenced by wpi_alloc_shared(), wpi_alloc_tx_ring(), and wpi_notif_intr().
struct wpi_dma_info wpi_softc::shared_dma |
Definition at line 179 of file if_wpivar.h.
Referenced by wpi_alloc_shared(), wpi_alloc_tx_ring(), wpi_free_shared(), wpi_hw_init(), and wpi_notif_intr().
int wpi_softc::temp |
Definition at line 213 of file if_wpivar.h.
Referenced by wpi_get_power_index(), wpi_post_alive(), and wpi_power_calibration().
struct mtx wpi_softc::tx_mtx |
Definition at line 176 of file if_wpivar.h.
struct callout wpi_softc::tx_timeout |
Definition at line 193 of file if_wpivar.h.
Referenced by wpi_attach(), wpi_cmd2(), wpi_detach(), wpi_stop_locked(), and wpi_tx_done().
struct wpi_tx_ring wpi_softc::txq[WPI_DRV_NTXQUEUES] |
Definition at line 182 of file if_wpivar.h.
Referenced by wpi_attach(), wpi_cmd(), wpi_cmd2(), wpi_cmd_done(), wpi_detach(), wpi_fatal_intr(), wpi_free_txfrags(), wpi_hw_stop(), wpi_tx_done(), wpi_tx_ring_free_space(), and wpi_wakeup_intr().
struct mtx wpi_softc::txq_mtx |
Definition at line 183 of file if_wpivar.h.
struct mtx wpi_softc::txq_state_mtx |
Definition at line 184 of file if_wpivar.h.
Referenced by wpi_attach().
uint8_t wpi_softc::type |
Definition at line 239 of file if_wpivar.h.
Referenced by wpi_attach(), wpi_nic_config(), and wpi_read_eeprom().
struct callout wpi_softc::watchdog_rfkill |
Definition at line 196 of file if_wpivar.h.
Referenced by wpi_attach(), wpi_detach(), wpi_init(), wpi_radio_off(), wpi_radio_on(), and wpi_watchdog_rfkill().