FreeBSD kernel usb device Code
urtw_softc Struct Reference

#include <if_urtwvar.h>

Collaboration diagram for urtw_softc:

Data Fields

struct ieee80211com sc_ic
 
struct mbufq sc_snd
 
device_t sc_dev
 
struct usb_devicesc_udev
 
struct mtx sc_mtx
 
void * sc_tx_dma_buf
 
int sc_debug
 
int sc_flags
 
enum ieee80211_state sc_state
 
int sc_epromtype
 
uint8_t sc_crcmon
 
struct ieee80211_channel * sc_curchan
 
usb_error_t(* sc_rf_init )(struct urtw_softc *)
 
usb_error_t(* sc_rf_set_chan )(struct urtw_softc *, int)
 
usb_error_t(* sc_rf_set_sens )(struct urtw_softc *, int)
 
usb_error_t(* sc_rf_stop )(struct urtw_softc *)
 
uint8_t sc_rfchip
 
uint32_t sc_max_sens
 
uint32_t sc_sens
 
struct usb_callout sc_led_ch
 
struct task sc_led_task
 
uint8_t sc_psr
 
uint8_t sc_strategy
 
uint8_t sc_gpio_ledon
 
uint8_t sc_gpio_ledinprogress
 
uint8_t sc_gpio_ledstate
 
uint8_t sc_gpio_ledpin
 
uint8_t sc_gpio_blinktime
 
uint8_t sc_gpio_blinkstate
 
struct usb_xfersc_xfer [URTW_8187B_N_XFERS]
 
struct urtw_data sc_rx [URTW_RX_DATA_LIST_COUNT]
 
urtw_datahead sc_rx_active
 
urtw_datahead sc_rx_inactive
 
struct urtw_data sc_tx [URTW_TX_DATA_LIST_COUNT]
 
urtw_datahead sc_tx_active
 
urtw_datahead sc_tx_inactive
 
urtw_datahead sc_tx_pending
 
uint8_t sc_rts_retry
 
uint8_t sc_tx_retry
 
uint8_t sc_preamble_mode
 
struct callout sc_watchdog_ch
 
int sc_txtimer
 
int sc_currate
 
uint8_t sc_txpwr_cck [URTW_MAX_CHANNELS]
 
uint8_t sc_txpwr_cck_base
 
uint8_t sc_txpwr_ofdm [URTW_MAX_CHANNELS]
 
uint8_t sc_txpwr_ofdm_base
 
uint8_t sc_acmctl
 
uint64_t sc_txstatus
 
struct task sc_updateslot_task
 
struct urtw_stats sc_stats
 
struct urtw_rx_radiotap_header sc_rxtap
 
struct urtw_tx_radiotap_header sc_txtap
 

Detailed Description

Definition at line 95 of file if_urtwvar.h.

Field Documentation

◆ sc_acmctl

uint8_t urtw_softc::sc_acmctl

Definition at line 174 of file if_urtwvar.h.

Referenced by urtw_8225v2b_rf_init().

◆ sc_crcmon

uint8_t urtw_softc::sc_crcmon

Definition at line 117 of file if_urtwvar.h.

Referenced by urtw_rx_setconf().

◆ sc_curchan

struct ieee80211_channel* urtw_softc::sc_curchan

Definition at line 119 of file if_urtwvar.h.

Referenced by urtw_set_channel().

◆ sc_currate

int urtw_softc::sc_currate

Definition at line 167 of file if_urtwvar.h.

Referenced by urtw_attach(), urtw_rxeof(), and urtw_tx_start().

◆ sc_debug

int urtw_softc::sc_debug

Definition at line 103 of file if_urtwvar.h.

Referenced by urtw_attach().

◆ sc_dev

◆ sc_epromtype

int urtw_softc::sc_epromtype

Definition at line 114 of file if_urtwvar.h.

Referenced by urtw_attach(), and urtw_eprom_read32().

◆ sc_flags

◆ sc_gpio_blinkstate

uint8_t urtw_softc::sc_gpio_blinkstate

Definition at line 142 of file if_urtwvar.h.

Referenced by urtw_led_blink(), and urtw_led_mode0().

◆ sc_gpio_blinktime

uint8_t urtw_softc::sc_gpio_blinktime

Definition at line 141 of file if_urtwvar.h.

Referenced by urtw_led_blink(), and urtw_led_mode0().

◆ sc_gpio_ledinprogress

uint8_t urtw_softc::sc_gpio_ledinprogress

Definition at line 138 of file if_urtwvar.h.

Referenced by urtw_led_blink(), and urtw_led_mode0().

◆ sc_gpio_ledon

uint8_t urtw_softc::sc_gpio_ledon

Definition at line 137 of file if_urtwvar.h.

Referenced by urtw_led_blink(), urtw_led_mode0(), urtw_led_off(), and urtw_led_on().

◆ sc_gpio_ledpin

uint8_t urtw_softc::sc_gpio_ledpin

Definition at line 140 of file if_urtwvar.h.

Referenced by urtw_led_init(), urtw_led_off(), and urtw_led_on().

◆ sc_gpio_ledstate

uint8_t urtw_softc::sc_gpio_ledstate

Definition at line 139 of file if_urtwvar.h.

Referenced by urtw_led_blink(), and urtw_led_mode0().

◆ sc_ic

◆ sc_led_ch

struct usb_callout urtw_softc::sc_led_ch

◆ sc_led_task

struct task urtw_softc::sc_led_task

Definition at line 133 of file if_urtwvar.h.

Referenced by urtw_attach(), urtw_detach(), and urtw_led_ch().

◆ sc_max_sens

uint32_t urtw_softc::sc_max_sens

Definition at line 129 of file if_urtwvar.h.

Referenced by urtw_get_rfchip().

◆ sc_mtx

◆ sc_preamble_mode

uint8_t urtw_softc::sc_preamble_mode

Definition at line 162 of file if_urtwvar.h.

Referenced by urtw_attach(), and urtw_tx_start().

◆ sc_psr

uint8_t urtw_softc::sc_psr

Definition at line 134 of file if_urtwvar.h.

Referenced by urtw_led_init().

◆ sc_rf_init

usb_error_t(* urtw_softc::sc_rf_init) (struct urtw_softc *)

Definition at line 122 of file if_urtwvar.h.

Referenced by urtw_adapter_start(), urtw_adapter_start_b(), and urtw_get_rfchip().

◆ sc_rf_set_chan

usb_error_t(* urtw_softc::sc_rf_set_chan) (struct urtw_softc *, int)

Definition at line 123 of file if_urtwvar.h.

Referenced by urtw_get_rfchip(), and urtw_set_channel().

◆ sc_rf_set_sens

usb_error_t(* urtw_softc::sc_rf_set_sens) (struct urtw_softc *, int)

Definition at line 125 of file if_urtwvar.h.

Referenced by urtw_adapter_start(), and urtw_get_rfchip().

◆ sc_rf_stop

usb_error_t(* urtw_softc::sc_rf_stop) (struct urtw_softc *)

Definition at line 127 of file if_urtwvar.h.

Referenced by urtw_get_rfchip(), and urtw_stop().

◆ sc_rfchip

uint8_t urtw_softc::sc_rfchip

Definition at line 128 of file if_urtwvar.h.

◆ sc_rts_retry

uint8_t urtw_softc::sc_rts_retry

Definition at line 160 of file if_urtwvar.h.

Referenced by urtw_attach(), and urtw_tx_enable().

◆ sc_rx

struct urtw_data urtw_softc::sc_rx[URTW_RX_DATA_LIST_COUNT]

Definition at line 153 of file if_urtwvar.h.

Referenced by urtw_alloc_rx_data_list(), and urtw_free_rx_data_list().

◆ sc_rx_active

urtw_datahead urtw_softc::sc_rx_active

Definition at line 154 of file if_urtwvar.h.

Referenced by urtw_alloc_rx_data_list(), urtw_bulk_rx_callback(), and urtw_detach().

◆ sc_rx_inactive

urtw_datahead urtw_softc::sc_rx_inactive

Definition at line 155 of file if_urtwvar.h.

Referenced by urtw_alloc_rx_data_list(), urtw_bulk_rx_callback(), and urtw_detach().

◆ sc_rxtap

struct urtw_rx_radiotap_header urtw_softc::sc_rxtap

Definition at line 180 of file if_urtwvar.h.

Referenced by urtw_attach(), and urtw_rxeof().

◆ sc_sens

uint32_t urtw_softc::sc_sens

Definition at line 130 of file if_urtwvar.h.

Referenced by urtw_adapter_start(), and urtw_get_rfchip().

◆ sc_snd

struct mbufq urtw_softc::sc_snd

Definition at line 97 of file if_urtwvar.h.

Referenced by urtw_attach(), urtw_detach(), urtw_start(), and urtw_transmit().

◆ sc_state

enum ieee80211_state urtw_softc::sc_state

Definition at line 112 of file if_urtwvar.h.

Referenced by urtw_newstate(), urtw_update_msr(), and urtw_updateslottask().

◆ sc_stats

struct urtw_stats urtw_softc::sc_stats

Definition at line 178 of file if_urtwvar.h.

Referenced by urtw_sysctl_node(), and urtw_tx_start().

◆ sc_strategy

uint8_t urtw_softc::sc_strategy

Definition at line 135 of file if_urtwvar.h.

Referenced by urtw_led_ctl(), urtw_led_init(), and urtw_ledtask().

◆ sc_tx

struct urtw_data urtw_softc::sc_tx[URTW_TX_DATA_LIST_COUNT]

Definition at line 156 of file if_urtwvar.h.

Referenced by urtw_alloc_tx_data_list(), and urtw_free_tx_data_list().

◆ sc_tx_active

urtw_datahead urtw_softc::sc_tx_active

Definition at line 157 of file if_urtwvar.h.

Referenced by urtw_alloc_tx_data_list(), urtw_bulk_tx_callback(), and urtw_detach().

◆ sc_tx_dma_buf

void* urtw_softc::sc_tx_dma_buf

Definition at line 101 of file if_urtwvar.h.

Referenced by urtw_alloc_tx_data_list(), and urtw_attach().

◆ sc_tx_inactive

urtw_datahead urtw_softc::sc_tx_inactive

◆ sc_tx_pending

urtw_datahead urtw_softc::sc_tx_pending

◆ sc_tx_retry

uint8_t urtw_softc::sc_tx_retry

Definition at line 161 of file if_urtwvar.h.

Referenced by urtw_attach(), and urtw_tx_enable().

◆ sc_txpwr_cck

uint8_t urtw_softc::sc_txpwr_cck[URTW_MAX_CHANNELS]

◆ sc_txpwr_cck_base

uint8_t urtw_softc::sc_txpwr_cck_base

◆ sc_txpwr_ofdm

uint8_t urtw_softc::sc_txpwr_ofdm[URTW_MAX_CHANNELS]

◆ sc_txpwr_ofdm_base

uint8_t urtw_softc::sc_txpwr_ofdm_base

◆ sc_txstatus

uint64_t urtw_softc::sc_txstatus

Definition at line 175 of file if_urtwvar.h.

Referenced by urtw_bulk_tx_status_callback(), and urtw_txstatus_eof().

◆ sc_txtap

struct urtw_tx_radiotap_header urtw_softc::sc_txtap

Definition at line 181 of file if_urtwvar.h.

Referenced by urtw_attach(), and urtw_tx_start().

◆ sc_txtimer

int urtw_softc::sc_txtimer

Definition at line 166 of file if_urtwvar.h.

Referenced by urtw_init(), urtw_raw_xmit(), urtw_start(), urtw_txeof(), and urtw_watchdog().

◆ sc_udev

struct usb_device* urtw_softc::sc_udev

Definition at line 99 of file if_urtwvar.h.

Referenced by urtw_attach(), and urtw_do_request().

◆ sc_updateslot_task

struct task urtw_softc::sc_updateslot_task

Definition at line 176 of file if_urtwvar.h.

Referenced by urtw_attach(), urtw_detach(), and urtw_updateslot().

◆ sc_watchdog_ch

struct callout urtw_softc::sc_watchdog_ch

◆ sc_xfer

struct usb_xfer* urtw_softc::sc_xfer[URTW_8187B_N_XFERS]

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