Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/usb/wlan/if_rumvar.h
Show First 20 Lines • Show All 79 Lines • ▼ Show 20 Lines | |||||
enum { | enum { | ||||
RUM_BULK_WR, | RUM_BULK_WR, | ||||
RUM_BULK_RD, | RUM_BULK_RD, | ||||
RUM_N_TRANSFER = 2, | RUM_N_TRANSFER = 2, | ||||
}; | }; | ||||
struct rum_softc { | struct rum_softc { | ||||
struct ifnet *sc_ifp; | struct ieee80211com sc_ic; | ||||
struct mbufq sc_snd; | |||||
device_t sc_dev; | device_t sc_dev; | ||||
struct usb_device *sc_udev; | struct usb_device *sc_udev; | ||||
struct usb_xfer *sc_xfer[RUM_N_TRANSFER]; | struct usb_xfer *sc_xfer[RUM_N_TRANSFER]; | ||||
uint8_t rf_rev; | uint8_t rf_rev; | ||||
uint8_t rffreq; | uint8_t rffreq; | ||||
struct rum_tx_data tx_data[RUM_TX_LIST_COUNT]; | struct rum_tx_data tx_data[RUM_TX_LIST_COUNT]; | ||||
rum_txdhead tx_q; | rum_txdhead tx_q; | ||||
rum_txdhead tx_free; | rum_txdhead tx_free; | ||||
int tx_nfree; | int tx_nfree; | ||||
struct rum_rx_desc sc_rx_desc; | struct rum_rx_desc sc_rx_desc; | ||||
struct mtx sc_mtx; | struct mtx sc_mtx; | ||||
uint32_t sta[6]; | uint32_t sta[6]; | ||||
uint32_t rf_regs[4]; | uint32_t rf_regs[4]; | ||||
uint8_t txpow[44]; | uint8_t txpow[44]; | ||||
uint8_t sc_bssid[6]; | u_int sc_detached:1, | ||||
uint8_t sc_detached; | sc_running:1; | ||||
struct { | struct { | ||||
uint8_t val; | uint8_t val; | ||||
uint8_t reg; | uint8_t reg; | ||||
} __packed bbp_prom[16]; | } __packed bbp_prom[16]; | ||||
int hw_radio; | int hw_radio; | ||||
int rx_ant; | int rx_ant; | ||||
Show All 18 Lines |