FreeBSD kernel usb device Code
upgt_softc Struct Reference

#include <if_upgtvar.h>

Collaboration diagram for upgt_softc:

Public Member Functions

uint8_t sc_eeprom[2 *UPGT_EEPROM_SIZE__aligned (4)
 

Data Fields

struct ieee80211com sc_ic
 
struct mbufq sc_snd
 
device_t sc_dev
 
struct usb_devicesc_udev
 
void * sc_rx_dma_buf
 
void * sc_tx_dma_buf
 
struct mtx sc_mtx
 
struct upgt_stat sc_stat
 
int sc_flags
 
int sc_debug
 
enum ieee80211_state sc_state
 
int sc_arg
 
int sc_led_blink
 
struct callout sc_led_ch
 
uint8_t sc_cur_rateset [8]
 
int sc_tx_timer
 
struct callout sc_watchdog_ch
 
int sc_fw_type
 
uint32_t sc_memaddr_frame_start
 
uint32_t sc_memaddr_frame_end
 
uint32_t sc_memaddr_rx_start
 
struct upgt_memory sc_memory
 
uint16_t sc_eeprom_hwrx
 
struct upgt_lmac_freq3 sc_eeprom_freq3 [IEEE80211_CHAN_MAX]
 
struct upgt_lmac_freq4 sc_eeprom_freq4 [IEEE80211_CHAN_MAX][8]
 
struct upgt_lmac_freq6 sc_eeprom_freq6 [IEEE80211_CHAN_MAX]
 
uint8_t sc_eeprom_freq6_settings
 
struct usb_xfersc_xfer [UPGT_N_XFERS]
 
int sc_rx_no
 
int sc_tx_no
 
struct upgt_data sc_rx_data [UPGT_RX_MAXCOUNT]
 
upgt_datahead sc_rx_active
 
upgt_datahead sc_rx_inactive
 
struct upgt_data sc_tx_data [UPGT_TX_MAXCOUNT]
 
upgt_datahead sc_tx_active
 
upgt_datahead sc_tx_inactive
 
upgt_datahead sc_tx_pending
 
struct upgt_rx_radiotap_header sc_rxtap
 
struct upgt_tx_radiotap_header sc_txtap
 

Detailed Description

Definition at line 420 of file if_upgtvar.h.

Member Function Documentation

◆ __aligned()

uint8_t sc_eeprom[2 *UPGT_EEPROM_SIZE] upgt_softc::__aligned ( )

Field Documentation

◆ sc_arg

int upgt_softc::sc_arg

Definition at line 436 of file if_upgtvar.h.

◆ sc_cur_rateset

uint8_t upgt_softc::sc_cur_rateset[8]

Definition at line 439 of file if_upgtvar.h.

Referenced by upgt_setup_rates(), and upgt_tx_start().

◆ sc_debug

int upgt_softc::sc_debug

Definition at line 433 of file if_upgtvar.h.

Referenced by upgt_attach().

◆ sc_dev

◆ sc_eeprom_freq3

struct upgt_lmac_freq3 upgt_softc::sc_eeprom_freq3[IEEE80211_CHAN_MAX]

Definition at line 456 of file if_upgtvar.h.

Referenced by upgt_eeprom_parse_freq3(), and upgt_set_chan().

◆ sc_eeprom_freq4

struct upgt_lmac_freq4 upgt_softc::sc_eeprom_freq4[IEEE80211_CHAN_MAX][8]

Definition at line 457 of file if_upgtvar.h.

Referenced by upgt_eeprom_parse_freq4(), and upgt_set_chan().

◆ sc_eeprom_freq6

struct upgt_lmac_freq6 upgt_softc::sc_eeprom_freq6[IEEE80211_CHAN_MAX]

Definition at line 458 of file if_upgtvar.h.

Referenced by upgt_eeprom_parse_freq6(), and upgt_set_chan().

◆ sc_eeprom_freq6_settings

uint8_t upgt_softc::sc_eeprom_freq6_settings

Definition at line 459 of file if_upgtvar.h.

Referenced by upgt_eeprom_parse_freq4(), and upgt_set_chan().

◆ sc_eeprom_hwrx

uint16_t upgt_softc::sc_eeprom_hwrx

Definition at line 455 of file if_upgtvar.h.

Referenced by upgt_eeprom_parse_hwrx(), and upgt_set_macfilter().

◆ sc_flags

int upgt_softc::sc_flags

◆ sc_fw_type

int upgt_softc::sc_fw_type

Definition at line 446 of file if_upgtvar.h.

Referenced by upgt_fw_verify().

◆ sc_ic

struct ieee80211com upgt_softc::sc_ic

◆ sc_led_blink

int upgt_softc::sc_led_blink

Definition at line 437 of file if_upgtvar.h.

Referenced by upgt_set_led(), and upgt_set_led_blink().

◆ sc_led_ch

struct callout upgt_softc::sc_led_ch

Definition at line 438 of file if_upgtvar.h.

Referenced by upgt_attach(), upgt_detach(), upgt_newstate(), and upgt_set_led().

◆ sc_memaddr_frame_end

uint32_t upgt_softc::sc_memaddr_frame_end

Definition at line 449 of file if_upgtvar.h.

Referenced by upgt_attach(), upgt_fw_verify(), and upgt_mem_init().

◆ sc_memaddr_frame_start

uint32_t upgt_softc::sc_memaddr_frame_start

◆ sc_memaddr_rx_start

uint32_t upgt_softc::sc_memaddr_rx_start

Definition at line 450 of file if_upgtvar.h.

Referenced by upgt_attach(), and upgt_set_macfilter().

◆ sc_memory

struct upgt_memory upgt_softc::sc_memory

Definition at line 451 of file if_upgtvar.h.

Referenced by upgt_mem_alloc(), upgt_mem_free(), and upgt_mem_init().

◆ sc_mtx

struct mtx upgt_softc::sc_mtx

◆ sc_rx_active

upgt_datahead upgt_softc::sc_rx_active

Definition at line 466 of file if_upgtvar.h.

Referenced by upgt_alloc_rx(), upgt_bulk_rx_callback(), and upgt_detach().

◆ sc_rx_data

struct upgt_data upgt_softc::sc_rx_data[UPGT_RX_MAXCOUNT]

Definition at line 465 of file if_upgtvar.h.

Referenced by upgt_alloc_rx(), and upgt_free_rx().

◆ sc_rx_dma_buf

void* upgt_softc::sc_rx_dma_buf

Definition at line 425 of file if_upgtvar.h.

Referenced by upgt_alloc_rx(), and upgt_attach().

◆ sc_rx_inactive

upgt_datahead upgt_softc::sc_rx_inactive

Definition at line 467 of file if_upgtvar.h.

Referenced by upgt_alloc_rx(), upgt_bulk_rx_callback(), and upgt_detach().

◆ sc_rx_no

int upgt_softc::sc_rx_no

Definition at line 463 of file if_upgtvar.h.

◆ sc_rxtap

struct upgt_rx_radiotap_header upgt_softc::sc_rxtap

Definition at line 474 of file if_upgtvar.h.

Referenced by upgt_attach(), and upgt_rx().

◆ sc_snd

struct mbufq upgt_softc::sc_snd

Definition at line 422 of file if_upgtvar.h.

Referenced by upgt_attach(), upgt_detach(), upgt_start(), and upgt_transmit().

◆ sc_stat

struct upgt_stat upgt_softc::sc_stat

Definition at line 428 of file if_upgtvar.h.

Referenced by upgt_sysctl_node().

◆ sc_state

enum ieee80211_state upgt_softc::sc_state

Definition at line 435 of file if_upgtvar.h.

Referenced by upgt_newstate(), and upgt_set_led().

◆ sc_tx_active

upgt_datahead upgt_softc::sc_tx_active

Definition at line 469 of file if_upgtvar.h.

Referenced by upgt_alloc_tx(), upgt_bulk_tx_callback(), and upgt_detach().

◆ sc_tx_data

struct upgt_data upgt_softc::sc_tx_data[UPGT_TX_MAXCOUNT]

Definition at line 468 of file if_upgtvar.h.

Referenced by upgt_alloc_tx(), upgt_free_tx(), and upgt_tx_done().

◆ sc_tx_dma_buf

void* upgt_softc::sc_tx_dma_buf

Definition at line 426 of file if_upgtvar.h.

Referenced by upgt_alloc_tx(), and upgt_attach().

◆ sc_tx_inactive

upgt_datahead upgt_softc::sc_tx_inactive

◆ sc_tx_no

int upgt_softc::sc_tx_no

Definition at line 464 of file if_upgtvar.h.

◆ sc_tx_pending

upgt_datahead upgt_softc::sc_tx_pending

Definition at line 471 of file if_upgtvar.h.

Referenced by upgt_alloc_tx(), upgt_bulk_tx(), upgt_bulk_tx_callback(), and upgt_detach().

◆ sc_tx_timer

int upgt_softc::sc_tx_timer

Definition at line 442 of file if_upgtvar.h.

Referenced by upgt_raw_xmit(), upgt_start(), upgt_stop(), upgt_tx_done(), and upgt_watchdog().

◆ sc_txtap

struct upgt_tx_radiotap_header upgt_softc::sc_txtap

Definition at line 475 of file if_upgtvar.h.

Referenced by upgt_attach(), and upgt_tx_start().

◆ sc_udev

struct usb_device* upgt_softc::sc_udev

Definition at line 424 of file if_upgtvar.h.

Referenced by upgt_attach().

◆ sc_watchdog_ch

struct callout upgt_softc::sc_watchdog_ch

Definition at line 443 of file if_upgtvar.h.

Referenced by upgt_attach(), upgt_detach(), upgt_init(), upgt_newstate(), and upgt_watchdog().

◆ sc_xfer

struct usb_xfer* upgt_softc::sc_xfer[UPGT_N_XFERS]

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