FreeBSD kernel usb device Code
run_softc Struct Reference

#include <if_runvar.h>

Collaboration diagram for run_softc:

Data Fields

struct mtx sc_mtx
 
struct ieee80211com sc_ic
 
struct ieee80211_ratectl_tx_stats sc_txs
 
struct mbufq sc_snd
 
device_t sc_dev
 
struct usb_devicesc_udev
 
int sc_need_fwload
 
int sc_flags
 
uint16_t wcid_stats [RT2870_WCID_MAX+1][3]
 
int(* sc_srom_read )(struct run_softc *, uint16_t, uint16_t *)
 
uint16_t mac_ver
 
uint16_t mac_rev
 
uint16_t rf_rev
 
uint8_t freq
 
uint8_t ntxchains
 
uint8_t nrxchains
 
uint8_t bbp25
 
uint8_t bbp26
 
uint8_t rf24_20mhz
 
uint8_t rf24_40mhz
 
uint8_t patch_dac
 
uint8_t rfswitch
 
uint8_t ext_2ghz_lna
 
uint8_t ext_5ghz_lna
 
uint8_t calib_2ghz
 
uint8_t calib_5ghz
 
uint8_t txmixgain_2ghz
 
uint8_t txmixgain_5ghz
 
int8_t txpow1 [54]
 
int8_t txpow2 [54]
 
int8_t txpow3 [54]
 
int8_t rssi_2ghz [3]
 
int8_t rssi_5ghz [3]
 
uint8_t lna [4]
 
struct {
   uint8_t   reg
 
   uint8_t   val
 
bbp [10]
 
struct {
   uint8_t   reg
 
   uint8_t   val
 
rf [10]
 
uint8_t leds
 
uint16_t led [3]
 
uint32_t txpow20mhz [5]
 
uint32_t txpow40mhz_2ghz [5]
 
uint32_t txpow40mhz_5ghz [5]
 
struct run_endpoint_queue sc_epq [RUN_EP_QUEUES]
 
struct task ratectl_task
 
struct usb_callout ratectl_ch
 
uint8_t ratectl_run
 
struct run_cmdq cmdq [RUN_CMDQ_MAX]
 
struct task cmdq_task
 
uint32_t cmdq_store
 
uint8_t cmdq_exec
 
uint8_t cmdq_run
 
uint8_t cmdq_key_set
 
struct usb_xfersc_xfer [RUN_N_XFER]
 
struct mbuf * rx_m
 
uint8_t fifo_cnt
 
uint8_t running
 
uint8_t runbmap
 
uint8_t ap_running
 
uint8_t adhoc_running
 
uint8_t sta_running
 
uint8_t rvp_cnt
 
uint8_t rvp_bmap
 
uint8_t sc_detached
 
uint8_t sc_bssid [IEEE80211_ADDR_LEN]
 
union {
   struct run_rx_radiotap_header   th
 
   uint8_t   pad [64]
 
sc_rxtapu
 
union {
   struct run_tx_radiotap_header   th
 
   uint8_t   pad [64]
 
sc_txtapu
 

Detailed Description

Definition at line 158 of file if_runvar.h.

Field Documentation

◆ adhoc_running

uint8_t run_softc::adhoc_running

Definition at line 243 of file if_runvar.h.

Referenced by run_newstate().

◆ ap_running

uint8_t run_softc::ap_running

Definition at line 242 of file if_runvar.h.

Referenced by run_newstate().

◆ 

struct { ... } run_softc::bbp[10]

◆ bbp25

uint8_t run_softc::bbp25

◆ bbp26

uint8_t run_softc::bbp26

◆ calib_2ghz

uint8_t run_softc::calib_2ghz

Definition at line 194 of file if_runvar.h.

Referenced by run_read_eeprom().

◆ calib_5ghz

uint8_t run_softc::calib_5ghz

Definition at line 195 of file if_runvar.h.

Referenced by run_read_eeprom().

◆ cmdq

◆ cmdq_exec

uint8_t run_softc::cmdq_exec

Definition at line 228 of file if_runvar.h.

Referenced by run_cmdq_cb().

◆ cmdq_key_set

uint8_t run_softc::cmdq_key_set

Definition at line 230 of file if_runvar.h.

Referenced by run_detach(), run_init_locked(), run_key_set(), and run_stop().

◆ cmdq_run

uint8_t run_softc::cmdq_run

Definition at line 229 of file if_runvar.h.

Referenced by run_cmdq_cb(), run_detach(), run_init_locked(), run_stop(), and run_vap_create().

◆ cmdq_store

uint32_t run_softc::cmdq_store

◆ cmdq_task

◆ ext_2ghz_lna

uint8_t run_softc::ext_2ghz_lna

Definition at line 192 of file if_runvar.h.

Referenced by run_read_eeprom(), run_rt3070_rf_init(), and run_select_chan_group().

◆ ext_5ghz_lna

uint8_t run_softc::ext_5ghz_lna

Definition at line 193 of file if_runvar.h.

Referenced by run_read_eeprom(), and run_select_chan_group().

◆ fifo_cnt

uint8_t run_softc::fifo_cnt

Definition at line 238 of file if_runvar.h.

Referenced by run_drain_fifo(), and run_tx().

◆ freq

uint8_t run_softc::freq

◆ led

uint16_t run_softc::led[3]

Definition at line 210 of file if_runvar.h.

Referenced by run_init_locked(), and run_read_eeprom().

◆ leds

uint8_t run_softc::leds

Definition at line 209 of file if_runvar.h.

Referenced by run_read_eeprom(), and run_set_leds().

◆ lna

uint8_t run_softc::lna[4]

Definition at line 203 of file if_runvar.h.

Referenced by run_read_eeprom(), run_rssi2dbm(), and run_select_chan_group().

◆ mac_rev

◆ mac_ver

◆ nrxchains

◆ ntxchains

◆ pad

uint8_t run_softc::pad[64]

Definition at line 253 of file if_runvar.h.

◆ patch_dac

uint8_t run_softc::patch_dac

◆ ratectl_ch

struct usb_callout run_softc::ratectl_ch

Definition at line 218 of file if_runvar.h.

Referenced by run_attach(), run_detach(), run_newassoc(), run_newstate(), and run_ratectl_cb().

◆ ratectl_run

uint8_t run_softc::ratectl_run

◆ ratectl_task

struct task run_softc::ratectl_task

Definition at line 217 of file if_runvar.h.

Referenced by run_attach(), run_detach(), and run_ratectl_to().

◆ reg

uint8_t run_softc::reg

Definition at line 206 of file if_runvar.h.

Referenced by run_init_locked(), run_read_eeprom(), and run_rt3070_rf_setup().

◆ 

struct { ... } run_softc::rf[10]

◆ rf24_20mhz

◆ rf24_40mhz

uint8_t run_softc::rf24_40mhz

Definition at line 189 of file if_runvar.h.

Referenced by run_rt3070_rf_init(), run_rt3593_rf_init(), and run_rt5390_rf_init().

◆ rf_rev

uint16_t run_softc::rf_rev

◆ rfswitch

uint8_t run_softc::rfswitch

Definition at line 191 of file if_runvar.h.

Referenced by run_read_eeprom().

◆ rssi_2ghz

int8_t run_softc::rssi_2ghz[3]

Definition at line 201 of file if_runvar.h.

Referenced by run_read_eeprom(), and run_rssi2dbm().

◆ rssi_5ghz

int8_t run_softc::rssi_5ghz[3]

Definition at line 202 of file if_runvar.h.

Referenced by run_read_eeprom(), and run_rssi2dbm().

◆ runbmap

uint8_t run_softc::runbmap

Definition at line 241 of file if_runvar.h.

Referenced by run_newstate().

◆ running

uint8_t run_softc::running

Definition at line 240 of file if_runvar.h.

Referenced by run_newstate().

◆ rvp_bmap

uint8_t run_softc::rvp_bmap

Definition at line 246 of file if_runvar.h.

Referenced by run_vap_create(), and run_vap_delete().

◆ rvp_cnt

uint8_t run_softc::rvp_cnt

◆ rx_m

struct mbuf* run_softc::rx_m

Definition at line 236 of file if_runvar.h.

Referenced by run_bulk_rx_callback(), and run_stop().

◆ sc_bssid

uint8_t run_softc::sc_bssid[IEEE80211_ADDR_LEN]

Definition at line 249 of file if_runvar.h.

Referenced by run_newstate(), and run_scan_end().

◆ sc_detached

uint8_t run_softc::sc_detached

Definition at line 247 of file if_runvar.h.

Referenced by run_detach(), and run_parent().

◆ sc_dev

◆ sc_epq

◆ sc_flags

◆ sc_ic

◆ sc_mtx

struct mtx run_softc::sc_mtx

◆ sc_need_fwload

int run_softc::sc_need_fwload

Definition at line 165 of file if_runvar.h.

◆ 

union { ... } run_softc::sc_rxtapu

◆ sc_snd

struct mbufq run_softc::sc_snd

Definition at line 162 of file if_runvar.h.

Referenced by run_attach(), run_drain_mbufq(), run_start(), and run_transmit().

◆ sc_srom_read

int(* run_softc::sc_srom_read) (struct run_softc *, uint16_t, uint16_t *)

Definition at line 176 of file if_runvar.h.

Referenced by run_read_eeprom(), and run_srom_read().

◆ sc_txs

struct ieee80211_ratectl_tx_stats run_softc::sc_txs

Definition at line 161 of file if_runvar.h.

Referenced by run_iter_func().

◆ 

union { ... } run_softc::sc_txtapu

◆ sc_udev

struct usb_device* run_softc::sc_udev

◆ sc_xfer

struct usb_xfer* run_softc::sc_xfer[RUN_N_XFER]

◆ sta_running

uint8_t run_softc::sta_running

Definition at line 244 of file if_runvar.h.

Referenced by run_newstate().

◆ th [1/2]

struct run_rx_radiotap_header run_softc::th

Definition at line 252 of file if_runvar.h.

◆ th [2/2]

struct run_tx_radiotap_header run_softc::th

Definition at line 258 of file if_runvar.h.

◆ txmixgain_2ghz

uint8_t run_softc::txmixgain_2ghz

◆ txmixgain_5ghz

uint8_t run_softc::txmixgain_5ghz

Definition at line 197 of file if_runvar.h.

Referenced by run_read_eeprom(), and run_rt3572_set_chan().

◆ txpow1

◆ txpow2

◆ txpow20mhz

uint32_t run_softc::txpow20mhz[5]

Definition at line 211 of file if_runvar.h.

Referenced by run_init_locked(), and run_read_eeprom().

◆ txpow3

int8_t run_softc::txpow3[54]

Definition at line 200 of file if_runvar.h.

Referenced by run_rt3593_get_txpower(), and run_rt3593_set_chan().

◆ txpow40mhz_2ghz

uint32_t run_softc::txpow40mhz_2ghz[5]

Definition at line 212 of file if_runvar.h.

Referenced by run_read_eeprom().

◆ txpow40mhz_5ghz

uint32_t run_softc::txpow40mhz_5ghz[5]

Definition at line 213 of file if_runvar.h.

Referenced by run_read_eeprom().

◆ val

uint8_t run_softc::val

Definition at line 207 of file if_runvar.h.

Referenced by run_init_locked(), run_read_eeprom(), and run_rt3070_rf_setup().

◆ wcid_stats

uint16_t run_softc::wcid_stats[RT2870_WCID_MAX+1][3]

Definition at line 171 of file if_runvar.h.

Referenced by run_drain_fifo(), run_iter_func(), and run_newassoc_cb().


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