FreeBSD kernel WPI device code
wpi_softc Struct Reference

#include <if_wpivar.h>

Collaboration diagram for wpi_softc:

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_sharedshared
 
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]
 

Detailed Description

Definition at line 166 of file if_wpivar.h.

Field Documentation

◆ calib_to

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().

◆ cap

uint8_t wpi_softc::cap

Definition at line 237 of file if_wpivar.h.

Referenced by wpi_nic_config(), and wpi_read_eeprom().

◆ domain

char wpi_softc::domain[4]

Definition at line 244 of file if_wpivar.h.

Referenced by wpi_attach(), and wpi_read_eeprom().

◆ eeprom_channels

◆ errptr

uint32_t wpi_softc::errptr

Definition at line 200 of file if_wpivar.h.

Referenced by wpi_fatal_intr(), and wpi_notif_intr().

◆ fw

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().

◆ fw_dma

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().

◆ fw_fp

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().

◆ groups

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().

◆ irq

struct resource* wpi_softc::irq

Definition at line 202 of file if_wpivar.h.

Referenced by wpi_attach(), and wpi_detach().

◆ maxpwr

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().

◆ mem

struct resource* wpi_softc::mem

Definition at line 203 of file if_wpivar.h.

Referenced by wpi_attach(), and wpi_detach().

◆ nodesmsk

uint32_t wpi_softc::nodesmsk

◆ nt_mtx

struct mtx wpi_softc::nt_mtx

Definition at line 216 of file if_wpivar.h.

◆ rev

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().

◆ rx_tstamp

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().

◆ rxon

◆ rxon_mtx

struct mtx wpi_softc::rxon_mtx

Definition at line 211 of file if_wpivar.h.

Referenced by wpi_attach().

◆ rxq

◆ sc_cap_off

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().

◆ sc_debug

int wpi_softc::sc_debug

Definition at line 168 of file if_wpivar.h.

Referenced by wpi_attach(), wpi_scan(), and wpi_sysctlattach().

◆ sc_dev

◆ sc_ic

◆ sc_ih

void* wpi_softc::sc_ih

Definition at line 206 of file if_wpivar.h.

Referenced by wpi_attach(), and wpi_detach().

◆ sc_mtx

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().

◆ sc_node_free

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().

◆ sc_radiooff_task

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().

◆ sc_radioon_task

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().

◆ sc_running

◆ sc_rxtap

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().

◆ sc_sh

bus_space_handle_t wpi_softc::sc_sh

Definition at line 205 of file if_wpivar.h.

Referenced by wpi_attach().

◆ sc_st

bus_space_tag_t wpi_softc::sc_st

Definition at line 204 of file if_wpivar.h.

Referenced by wpi_attach().

◆ sc_sz

bus_size_t wpi_softc::sc_sz

Definition at line 207 of file if_wpivar.h.

◆ sc_txs

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().

◆ sc_txtap

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().

◆ sc_update_rx_ring

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().

◆ sc_update_tx_ring

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().

◆ scan_timeout

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().

◆ shared

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().

◆ shared_dma

struct wpi_dma_info wpi_softc::shared_dma

◆ temp

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().

◆ tx_mtx

struct mtx wpi_softc::tx_mtx

Definition at line 176 of file if_wpivar.h.

◆ tx_timeout

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().

◆ txq

◆ txq_mtx

struct mtx wpi_softc::txq_mtx

Definition at line 183 of file if_wpivar.h.

◆ txq_state_mtx

struct mtx wpi_softc::txq_state_mtx

Definition at line 184 of file if_wpivar.h.

Referenced by wpi_attach().

◆ type

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().

◆ watchdog_rfkill

struct callout wpi_softc::watchdog_rfkill

The documentation for this struct was generated from the following file: