FreeBSD kernel MWL device code
|
#include <if_mwlvar.h>
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_hal * | sc_mh |
struct mwl_hal_vap * | sc_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_rxbuf * | sc_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_txq * | sc_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 |
Definition at line 249 of file if_mwlvar.h.
struct mwl_txq* mwl_softc::sc_ac2q[5] |
Definition at line 327 of file if_mwlvar.h.
Referenced by mwl_announce(), mwl_attach(), mwl_raw_xmit(), mwl_start(), mwl_tx_setup(), and mwl_txq_update().
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().
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().
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().
int mwl_softc::sc_ageinterval |
Definition at line 336 of file if_mwlvar.h.
Referenced by mwl_agestations(), mwl_attach(), and mwl_newstate().
struct mbuf* mwl_softc::sc_aggrq |
Definition at line 328 of file if_mwlvar.h.
struct task mwl_softc::sc_bawatchdogtask |
Definition at line 330 of file if_mwlvar.h.
Referenced by mwl_attach(), and mwl_intr().
uint32_t mwl_softc::sc_bssidmask |
Definition at line 289 of file if_mwlvar.h.
Referenced by assign_address(), and reclaim_address().
struct task mwl_softc::sc_chanswitchtask |
Definition at line 333 of file if_mwlvar.h.
Referenced by mwl_attach(), and mwl_intr().
unsigned int mwl_softc::sc_csapending |
Definition at line 267 of file if_mwlvar.h.
Referenced by mwl_chanswitch_proc(), and mwl_startcsa().
u_int16_t mwl_softc::sc_curaid |
Definition at line 278 of file if_mwlvar.h.
u_int8_t mwl_softc::sc_curbssid[IEEE80211_ADDR_LEN] |
Definition at line 279 of file if_mwlvar.h.
MWL_HAL_CHANNEL mwl_softc::sc_curchan |
Definition at line 280 of file if_mwlvar.h.
Referenced by mwl_chan_set().
enum ieee80211_phymode mwl_softc::sc_curmode |
Definition at line 277 of file if_mwlvar.h.
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().
device_t mwl_softc::sc_dev |
Definition at line 254 of file if_mwlvar.h.
Referenced by mwl_announce(), mwl_attach(), mwl_desc_setup(), mwl_init(), mwl_pci_attach(), mwl_rxdma_setup(), mwl_setregdomain(), mwl_setupdma(), mwl_sysctlattach(), mwl_tx_setup(), mwl_tx_start(), mwl_txdma_setup(), mwl_txq_update(), and mwl_watchdog().
bus_dma_tag_t mwl_softc::sc_dmat |
Definition at line 255 of file if_mwlvar.h.
Referenced by mwl_attach(), mwl_pci_attach(), mwl_pci_detach(), mwl_rxdma_setup(), mwl_tx_dmasetup(), mwl_tx_draintxq(), mwl_tx_processq(), mwl_txdma_cleanup(), and mwl_txdma_setup().
uint32_t mwl_softc::sc_fwrelease |
Definition at line 274 of file if_mwlvar.h.
Referenced by mwl_announce().
struct mwl_hal_vap* mwl_softc::sc_hvap |
Definition at line 272 of file if_mwlvar.h.
struct mwl_hal_txrxdma mwl_softc::sc_hwdma |
Definition at line 275 of file if_mwlvar.h.
Referenced by mwl_setupdma().
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().
struct ieee80211com mwl_softc::sc_ic |
Definition at line 250 of file if_mwlvar.h.
Referenced by mwl_attach(), mwl_chan_set(), mwl_chanswitch_proc(), mwl_detach(), mwl_getchannels(), mwl_hal_reset(), mwl_mode_init(), mwl_radar_proc(), mwl_resume(), mwl_rx_proc(), mwl_setcurchanrates(), mwl_tx_draintxq(), mwl_tx_processq(), mwl_tx_start(), mwl_txq_update(), and mwl_watchdog().
uint32_t mwl_softc::sc_imask |
Definition at line 276 of file if_mwlvar.h.
Referenced by mwl_chan_set(), mwl_ext_free(), mwl_init(), mwl_intr(), mwl_reset(), mwl_rx_proc(), and mwl_vap_delete().
unsigned int mwl_softc::sc_invalid |
Definition at line 265 of file if_mwlvar.h.
Referenced by mwl_attach(), mwl_intr(), mwl_parent(), mwl_pci_attach(), mwl_pci_detach(), mwl_raw_xmit(), mwl_start(), and mwl_watchdog().
bus_space_handle_t mwl_softc::sc_io0h |
Definition at line 256 of file if_mwlvar.h.
Referenced by mwl_pci_attach(), and WR4().
bus_space_tag_t mwl_softc::sc_io0t |
Definition at line 257 of file if_mwlvar.h.
Referenced by mwl_pci_attach(), and WR4().
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().
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().
struct mwl_hal* mwl_softc::sc_mh |
Definition at line 271 of file if_mwlvar.h.
Referenced by assign_address(), getchannels(), mwl_addba_request(), mwl_addba_response(), mwl_addba_stop(), mwl_agestations(), mwl_announce(), mwl_attach(), mwl_bawatchdog_proc(), mwl_chan_set(), mwl_detach(), mwl_ext_free(), mwl_hal_reset(), mwl_init(), mwl_intr(), mwl_ioctl(), mwl_mode_init(), mwl_newstate(), mwl_raw_xmit(), mwl_recv_action(), mwl_reset(), mwl_rx_proc(), mwl_setcurchanrates(), mwl_setmcastfilter(), mwl_setregdomain(), mwl_setupdma(), mwl_start(), mwl_startcsa(), mwl_tx_proc(), mwl_txq_update(), mwl_update_promisc(), mwl_updateslot(), mwl_vap_create(), mwl_vap_delete(), and mwl_watchdog().
struct mtx mwl_softc::sc_mtx |
Definition at line 260 of file if_mwlvar.h.
Referenced by mwl_attach().
uint8_t mwl_softc::sc_napvaps |
Definition at line 284 of file if_mwlvar.h.
Referenced by mwl_vap_create(), and mwl_vap_delete().
uint8_t mwl_softc::sc_nbssid0 |
Definition at line 288 of file if_mwlvar.h.
Referenced by assign_address(), and reclaim_address().
uint8_t mwl_softc::sc_ndwdsvaps |
Definition at line 287 of file if_mwlvar.h.
Referenced by mwl_newstate().
int(* mwl_softc::sc_newstate) (struct ieee80211com *, enum ieee80211_state, int) |
Definition at line 295 of file if_mwlvar.h.
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().
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().
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().
uint8_t mwl_softc::sc_nstavaps |
Definition at line 286 of file if_mwlvar.h.
Referenced by mwl_vap_create(), and mwl_vap_delete().
uint8_t mwl_softc::sc_nwdsvaps |
Definition at line 285 of file if_mwlvar.h.
Referenced by mwl_vap_create(), and mwl_vap_delete().
unsigned int mwl_softc::sc_radarena |
Definition at line 268 of file if_mwlvar.h.
Referenced by mwl_newstate().
struct task mwl_softc::sc_radartask |
Definition at line 332 of file if_mwlvar.h.
Referenced by mwl_attach(), and mwl_intr().
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().
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.
unsigned int mwl_softc::sc_recvsetup |
Definition at line 266 of file if_mwlvar.h.
Referenced by mwl_startrecv().
unsigned int mwl_softc::sc_running |
Definition at line 264 of file if_mwlvar.h.
Referenced by mwl_init(), mwl_parent(), mwl_raw_xmit(), mwl_start(), mwl_stop(), mwl_transmit(), mwl_updateslot(), mwl_vap_delete(), and mwl_watchdog().
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().
u_int16_t mwl_softc::sc_rxantenna |
Definition at line 282 of file if_mwlvar.h.
Referenced by mwl_attach(), and mwl_hal_reset().
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().
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().
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().
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().
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().
struct mtx mwl_softc::sc_rxlock |
Definition at line 324 of file if_mwlvar.h.
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().
void* mwl_softc::sc_rxmem |
Definition at line 317 of file if_mwlvar.h.
Referenced by mwl_rxdma_cleanup(), and mwl_rxdma_setup().
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().
bus_size_t mwl_softc::sc_rxmemsize |
Definition at line 319 of file if_mwlvar.h.
Referenced by mwl_rxdma_setup().
struct mwl_rxbuf* mwl_softc::sc_rxnext |
Definition at line 315 of file if_mwlvar.h.
Referenced by mwl_rx_proc().
struct task mwl_softc::sc_rxtask |
Definition at line 316 of file if_mwlvar.h.
Referenced by mwl_attach(), and mwl_intr().
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().
uint8_t mwl_softc::sc_staid[MWL_MAXSTAID/NBBY] |
Definition at line 335 of file if_mwlvar.h.
Referenced by allocstaid(), and delstaid().
struct mwl_stats mwl_softc::sc_stats |
Definition at line 252 of file if_mwlvar.h.
Referenced by mwl_addba_request(), mwl_addba_response(), mwl_bawatchdog_proc(), mwl_getrxdma(), mwl_intr(), mwl_ioctl(), mwl_radar_proc(), mwl_raw_xmit(), mwl_rx_proc(), mwl_rxbuf_init(), mwl_start(), mwl_tx_dmasetup(), mwl_tx_processq(), mwl_tx_start(), and mwl_watchdog().
struct callout mwl_softc::sc_timer |
Definition at line 337 of file if_mwlvar.h.
Referenced by mwl_agestations(), mwl_attach(), and mwl_newstate().
struct taskqueue* mwl_softc::sc_tq |
Definition at line 261 of file if_mwlvar.h.
Referenced by mwl_attach(), and mwl_intr().
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().
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().
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().
struct mwl_txq mwl_softc::sc_txq[MWL_NUM_TX_QUEUES] |
Definition at line 326 of file if_mwlvar.h.
Referenced by mwl_cleartxq(), mwl_dma_cleanup(), mwl_dma_setup(), mwl_draintxq(), mwl_setupdma(), mwl_tx_cleanup(), mwl_tx_proc(), mwl_tx_setup(), and mwl_watchdog().
MWL_HAL_TXRATE_HANDLING mwl_softc::sc_txratehandling |
Definition at line 281 of file if_mwlvar.h.
struct task mwl_softc::sc_txtask |
Definition at line 329 of file if_mwlvar.h.
Referenced by mwl_attach(), and mwl_intr().
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().