FreeBSD kernel MWL device code
mwl_softc Struct Reference

#include <if_mwlvar.h>

Collaboration diagram for mwl_softc:

Data Fields

struct ieee80211com sc_ic
 
struct mbufq sc_snd
 
struct mwl_stats sc_stats
 
int sc_debug
 
device_t sc_dev
 
bus_dma_tag_t sc_dmat
 
bus_space_handle_t sc_io0h
 
bus_space_tag_t sc_io0t
 
bus_space_handle_t sc_io1h
 
bus_space_tag_t sc_io1t
 
struct mtx sc_mtx
 
struct taskqueue * sc_tq
 
struct callout sc_watchdog
 
int sc_tx_timer
 
unsigned int sc_running: 1
 
unsigned int sc_invalid: 1
 
unsigned int sc_recvsetup:1
 
unsigned int sc_csapending:1
 
unsigned int sc_radarena: 1
 
unsigned int sc_rxblocked: 1
 
struct mwl_halsc_mh
 
struct mwl_hal_vapsc_hvap
 
struct mwl_hal_hwspec sc_hwspecs
 
uint32_t sc_fwrelease
 
struct mwl_hal_txrxdma sc_hwdma
 
uint32_t sc_imask
 
enum ieee80211_phymode sc_curmode
 
u_int16_t sc_curaid
 
u_int8_t sc_curbssid [IEEE80211_ADDR_LEN]
 
MWL_HAL_CHANNEL sc_curchan
 
MWL_HAL_TXRATE_HANDLING sc_txratehandling
 
u_int16_t sc_rxantenna
 
u_int16_t sc_txantenna
 
uint8_t sc_napvaps
 
uint8_t sc_nwdsvaps
 
uint8_t sc_nstavaps
 
uint8_t sc_ndwdsvaps
 
uint8_t sc_nbssid0
 
uint32_t sc_bssidmask
 
void(* sc_recv_mgmt )(struct ieee80211com *, struct mbuf *, struct ieee80211_node *, int, int, int, u_int32_t)
 
int(* sc_newstate )(struct ieee80211com *, enum ieee80211_state, int)
 
void(* sc_node_cleanup )(struct ieee80211_node *)
 
void(* sc_node_drain )(struct ieee80211_node *)
 
int(* sc_recv_action )(struct ieee80211_node *, const struct ieee80211_frame *, const uint8_t *, const uint8_t *)
 
int(* sc_addba_request )(struct ieee80211_node *, struct ieee80211_tx_ampdu *, int dialogtoken, int baparamset, int batimeout)
 
int(* sc_addba_response )(struct ieee80211_node *, struct ieee80211_tx_ampdu *, int status, int baparamset, int batimeout)
 
void(* sc_addba_stop )(struct ieee80211_node *, struct ieee80211_tx_ampdu *)
 
struct mwl_descdma sc_rxdma
 
mwl_rxbufhead sc_rxbuf
 
struct mwl_rxbufsc_rxnext
 
struct task sc_rxtask
 
void * sc_rxmem
 
bus_dma_tag_t sc_rxdmat
 
bus_size_t sc_rxmemsize
 
bus_dmamap_t sc_rxmap
 
bus_addr_t sc_rxmem_paddr
 
mwl_jumbohead sc_rxfree
 
int sc_nrxfree
 
struct mtx sc_rxlock
 
struct mwl_txq sc_txq [MWL_NUM_TX_QUEUES]
 
struct mwl_txqsc_ac2q [5]
 
struct mbuf * sc_aggrq
 
struct task sc_txtask
 
struct task sc_bawatchdogtask
 
struct task sc_radartask
 
struct task sc_chanswitchtask
 
uint8_t sc_staid [MWL_MAXSTAID/NBBY]
 
int sc_ageinterval
 
struct callout sc_timer
 
struct mwl_tx_radiotap_header sc_tx_th
 
struct mwl_rx_radiotap_header sc_rx_th
 

Detailed Description

Definition at line 249 of file if_mwlvar.h.

Field Documentation

◆ sc_ac2q

struct mwl_txq* mwl_softc::sc_ac2q[5]

◆ sc_addba_request

int(* mwl_softc::sc_addba_request) (struct ieee80211_node *, struct ieee80211_tx_ampdu *, int dialogtoken, int baparamset, int batimeout)

Definition at line 302 of file if_mwlvar.h.

Referenced by mwl_addba_request(), and mwl_attach().

◆ sc_addba_response

int(* mwl_softc::sc_addba_response) (struct ieee80211_node *, struct ieee80211_tx_ampdu *, int status, int baparamset, int batimeout)

Definition at line 306 of file if_mwlvar.h.

Referenced by mwl_addba_response(), and mwl_attach().

◆ sc_addba_stop

void(* mwl_softc::sc_addba_stop) (struct ieee80211_node *, struct ieee80211_tx_ampdu *)

Definition at line 310 of file if_mwlvar.h.

Referenced by mwl_addba_stop(), and mwl_attach().

◆ sc_ageinterval

int mwl_softc::sc_ageinterval

Definition at line 336 of file if_mwlvar.h.

Referenced by mwl_agestations(), mwl_attach(), and mwl_newstate().

◆ sc_aggrq

struct mbuf* mwl_softc::sc_aggrq

Definition at line 328 of file if_mwlvar.h.

◆ sc_bawatchdogtask

struct task mwl_softc::sc_bawatchdogtask

Definition at line 330 of file if_mwlvar.h.

Referenced by mwl_attach(), and mwl_intr().

◆ sc_bssidmask

uint32_t mwl_softc::sc_bssidmask

Definition at line 289 of file if_mwlvar.h.

Referenced by assign_address(), and reclaim_address().

◆ sc_chanswitchtask

struct task mwl_softc::sc_chanswitchtask

Definition at line 333 of file if_mwlvar.h.

Referenced by mwl_attach(), and mwl_intr().

◆ sc_csapending

unsigned int mwl_softc::sc_csapending

Definition at line 267 of file if_mwlvar.h.

Referenced by mwl_chanswitch_proc(), and mwl_startcsa().

◆ sc_curaid

u_int16_t mwl_softc::sc_curaid

Definition at line 278 of file if_mwlvar.h.

◆ sc_curbssid

u_int8_t mwl_softc::sc_curbssid[IEEE80211_ADDR_LEN]

Definition at line 279 of file if_mwlvar.h.

◆ sc_curchan

MWL_HAL_CHANNEL mwl_softc::sc_curchan

Definition at line 280 of file if_mwlvar.h.

Referenced by mwl_chan_set().

◆ sc_curmode

enum ieee80211_phymode mwl_softc::sc_curmode

Definition at line 277 of file if_mwlvar.h.

◆ sc_debug

int mwl_softc::sc_debug

Definition at line 253 of file if_mwlvar.h.

Referenced by mwl_rx_proc(), mwl_sysctlattach(), mwl_tx_draintxq(), and mwl_tx_processq().

◆ sc_dev

◆ sc_dmat

◆ sc_fwrelease

uint32_t mwl_softc::sc_fwrelease

Definition at line 274 of file if_mwlvar.h.

Referenced by mwl_announce().

◆ sc_hvap

struct mwl_hal_vap* mwl_softc::sc_hvap

Definition at line 272 of file if_mwlvar.h.

◆ sc_hwdma

struct mwl_hal_txrxdma mwl_softc::sc_hwdma

Definition at line 275 of file if_mwlvar.h.

Referenced by mwl_setupdma().

◆ sc_hwspecs

struct mwl_hal_hwspec mwl_softc::sc_hwspecs

Definition at line 273 of file if_mwlvar.h.

Referenced by mwl_announce(), mwl_attach(), mwl_rx_proc(), and mwl_setupdma().

◆ sc_ic

◆ sc_imask

uint32_t mwl_softc::sc_imask

◆ sc_invalid

unsigned int mwl_softc::sc_invalid

◆ sc_io0h

bus_space_handle_t mwl_softc::sc_io0h

Definition at line 256 of file if_mwlvar.h.

Referenced by mwl_pci_attach(), and WR4().

◆ sc_io0t

bus_space_tag_t mwl_softc::sc_io0t

Definition at line 257 of file if_mwlvar.h.

Referenced by mwl_pci_attach(), and WR4().

◆ sc_io1h

bus_space_handle_t mwl_softc::sc_io1h

Definition at line 258 of file if_mwlvar.h.

Referenced by mwl_attach(), and mwl_pci_attach().

◆ sc_io1t

bus_space_tag_t mwl_softc::sc_io1t

Definition at line 259 of file if_mwlvar.h.

Referenced by mwl_attach(), and mwl_pci_attach().

◆ sc_mh

◆ sc_mtx

struct mtx mwl_softc::sc_mtx

Definition at line 260 of file if_mwlvar.h.

Referenced by mwl_attach().

◆ sc_napvaps

uint8_t mwl_softc::sc_napvaps

Definition at line 284 of file if_mwlvar.h.

Referenced by mwl_vap_create(), and mwl_vap_delete().

◆ sc_nbssid0

uint8_t mwl_softc::sc_nbssid0

Definition at line 288 of file if_mwlvar.h.

Referenced by assign_address(), and reclaim_address().

◆ sc_ndwdsvaps

uint8_t mwl_softc::sc_ndwdsvaps

Definition at line 287 of file if_mwlvar.h.

Referenced by mwl_newstate().

◆ sc_newstate

int(* mwl_softc::sc_newstate) (struct ieee80211com *, enum ieee80211_state, int)

Definition at line 295 of file if_mwlvar.h.

◆ sc_node_cleanup

void(* mwl_softc::sc_node_cleanup) (struct ieee80211_node *)

Definition at line 297 of file if_mwlvar.h.

Referenced by mwl_attach(), and mwl_node_cleanup().

◆ sc_node_drain

void(* mwl_softc::sc_node_drain) (struct ieee80211_node *)

Definition at line 298 of file if_mwlvar.h.

Referenced by mwl_attach(), and mwl_node_drain().

◆ sc_nrxfree

int mwl_softc::sc_nrxfree

Definition at line 323 of file if_mwlvar.h.

Referenced by mwl_ext_free(), mwl_getrxdma(), mwl_putrxdma(), and mwl_rxdma_setup().

◆ sc_nstavaps

uint8_t mwl_softc::sc_nstavaps

Definition at line 286 of file if_mwlvar.h.

Referenced by mwl_vap_create(), and mwl_vap_delete().

◆ sc_nwdsvaps

uint8_t mwl_softc::sc_nwdsvaps

Definition at line 285 of file if_mwlvar.h.

Referenced by mwl_vap_create(), and mwl_vap_delete().

◆ sc_radarena

unsigned int mwl_softc::sc_radarena

Definition at line 268 of file if_mwlvar.h.

Referenced by mwl_newstate().

◆ sc_radartask

struct task mwl_softc::sc_radartask

Definition at line 332 of file if_mwlvar.h.

Referenced by mwl_attach(), and mwl_intr().

◆ sc_recv_action

int(* mwl_softc::sc_recv_action) (struct ieee80211_node *, const struct ieee80211_frame *, const uint8_t *, const uint8_t *)

Definition at line 299 of file if_mwlvar.h.

Referenced by mwl_attach(), and mwl_recv_action().

◆ sc_recv_mgmt

void(* mwl_softc::sc_recv_mgmt) (struct ieee80211com *, struct mbuf *, struct ieee80211_node *, int, int, int, u_int32_t)

Definition at line 291 of file if_mwlvar.h.

◆ sc_recvsetup

unsigned int mwl_softc::sc_recvsetup

Definition at line 266 of file if_mwlvar.h.

Referenced by mwl_startrecv().

◆ sc_running

unsigned int mwl_softc::sc_running

◆ sc_rx_th

struct mwl_rx_radiotap_header mwl_softc::sc_rx_th

Definition at line 340 of file if_mwlvar.h.

Referenced by mwl_attach(), mwl_chan_set(), and mwl_rx_proc().

◆ sc_rxantenna

u_int16_t mwl_softc::sc_rxantenna

Definition at line 282 of file if_mwlvar.h.

Referenced by mwl_attach(), and mwl_hal_reset().

◆ sc_rxblocked

unsigned int mwl_softc::sc_rxblocked

Definition at line 269 of file if_mwlvar.h.

Referenced by mwl_ext_free(), mwl_node_drain(), and mwl_rx_proc().

◆ sc_rxbuf

mwl_rxbufhead mwl_softc::sc_rxbuf

Definition at line 314 of file if_mwlvar.h.

Referenced by mwl_rx_proc(), mwl_rxdma_setup(), and mwl_startrecv().

◆ sc_rxdma

struct mwl_descdma mwl_softc::sc_rxdma

Definition at line 313 of file if_mwlvar.h.

Referenced by mwl_rxdma_cleanup(), mwl_rxdma_setup(), and mwl_setupdma().

◆ sc_rxdmat

bus_dma_tag_t mwl_softc::sc_rxdmat

Definition at line 318 of file if_mwlvar.h.

Referenced by mwl_rx_proc(), mwl_rxdma_cleanup(), and mwl_rxdma_setup().

◆ sc_rxfree

mwl_jumbohead mwl_softc::sc_rxfree

Definition at line 322 of file if_mwlvar.h.

Referenced by mwl_getrxdma(), mwl_putrxdma(), and mwl_rxdma_setup().

◆ sc_rxlock

struct mtx mwl_softc::sc_rxlock

Definition at line 324 of file if_mwlvar.h.

◆ sc_rxmap

bus_dmamap_t mwl_softc::sc_rxmap

Definition at line 320 of file if_mwlvar.h.

Referenced by mwl_rx_proc(), mwl_rxdma_cleanup(), and mwl_rxdma_setup().

◆ sc_rxmem

void* mwl_softc::sc_rxmem

Definition at line 317 of file if_mwlvar.h.

Referenced by mwl_rxdma_cleanup(), and mwl_rxdma_setup().

◆ sc_rxmem_paddr

bus_addr_t mwl_softc::sc_rxmem_paddr

Definition at line 321 of file if_mwlvar.h.

Referenced by mwl_rxdma_cleanup(), and mwl_rxdma_setup().

◆ sc_rxmemsize

bus_size_t mwl_softc::sc_rxmemsize

Definition at line 319 of file if_mwlvar.h.

Referenced by mwl_rxdma_setup().

◆ sc_rxnext

struct mwl_rxbuf* mwl_softc::sc_rxnext

Definition at line 315 of file if_mwlvar.h.

Referenced by mwl_rx_proc().

◆ sc_rxtask

struct task mwl_softc::sc_rxtask

Definition at line 316 of file if_mwlvar.h.

Referenced by mwl_attach(), and mwl_intr().

◆ sc_snd

struct mbufq mwl_softc::sc_snd

Definition at line 251 of file if_mwlvar.h.

Referenced by mwl_attach(), mwl_detach(), mwl_rx_proc(), mwl_start(), mwl_transmit(), and mwl_tx_proc().

◆ sc_staid

uint8_t mwl_softc::sc_staid[MWL_MAXSTAID/NBBY]

Definition at line 335 of file if_mwlvar.h.

Referenced by allocstaid(), and delstaid().

◆ sc_stats

◆ sc_timer

struct callout mwl_softc::sc_timer

Definition at line 337 of file if_mwlvar.h.

Referenced by mwl_agestations(), mwl_attach(), and mwl_newstate().

◆ sc_tq

struct taskqueue* mwl_softc::sc_tq

Definition at line 261 of file if_mwlvar.h.

Referenced by mwl_attach(), and mwl_intr().

◆ sc_tx_th

struct mwl_tx_radiotap_header mwl_softc::sc_tx_th

Definition at line 339 of file if_mwlvar.h.

Referenced by mwl_attach(), mwl_chan_set(), and mwl_tx_start().

◆ sc_tx_timer

int mwl_softc::sc_tx_timer

Definition at line 263 of file if_mwlvar.h.

Referenced by mwl_draintxq(), mwl_stop(), mwl_tx_proc(), mwl_tx_start(), and mwl_watchdog().

◆ sc_txantenna

u_int16_t mwl_softc::sc_txantenna

Definition at line 283 of file if_mwlvar.h.

Referenced by mwl_attach(), mwl_hal_reset(), and mwl_tx_start().

◆ sc_txq

◆ sc_txratehandling

MWL_HAL_TXRATE_HANDLING mwl_softc::sc_txratehandling

Definition at line 281 of file if_mwlvar.h.

◆ sc_txtask

struct task mwl_softc::sc_txtask

Definition at line 329 of file if_mwlvar.h.

Referenced by mwl_attach(), and mwl_intr().

◆ sc_watchdog

struct callout mwl_softc::sc_watchdog

Definition at line 262 of file if_mwlvar.h.

Referenced by mwl_attach(), mwl_detach(), mwl_init(), mwl_stop(), and mwl_watchdog().


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