Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ral/rt2860var.h
Show First 20 Lines • Show All 109 Lines • ▼ Show 20 Lines | struct rt2860_vap { | ||||
struct ieee80211vap ral_vap; | struct ieee80211vap ral_vap; | ||||
int (*ral_newstate)(struct ieee80211vap *, | int (*ral_newstate)(struct ieee80211vap *, | ||||
enum ieee80211_state, int); | enum ieee80211_state, int); | ||||
}; | }; | ||||
#define RT2860_VAP(vap) ((struct rt2860_vap *)(vap)) | #define RT2860_VAP(vap) ((struct rt2860_vap *)(vap)) | ||||
struct rt2860_softc { | struct rt2860_softc { | ||||
struct ifnet *sc_ifp; | struct ieee80211com sc_ic; | ||||
struct mbufq sc_snd; | |||||
struct mtx sc_mtx; | |||||
device_t sc_dev; | device_t sc_dev; | ||||
bus_space_tag_t sc_st; | bus_space_tag_t sc_st; | ||||
bus_space_handle_t sc_sh; | bus_space_handle_t sc_sh; | ||||
struct mtx sc_mtx; | |||||
struct callout watchdog_ch; | struct callout watchdog_ch; | ||||
int sc_invalid; | int sc_invalid; | ||||
int sc_debug; | int sc_debug; | ||||
/* | /* | ||||
* The same in both up to here | * The same in both up to here | ||||
* ------------------------------------------------ | * ------------------------------------------------ | ||||
*/ | */ | ||||
uint16_t (*sc_srom_read)(struct rt2860_softc *, | uint16_t (*sc_srom_read)(struct rt2860_softc *, | ||||
uint16_t); | uint16_t); | ||||
void (*sc_node_free)(struct ieee80211_node *); | void (*sc_node_free)(struct ieee80211_node *); | ||||
int sc_flags; | int sc_flags; | ||||
#define RT2860_ENABLED (1 << 0) | #define RT2860_ENABLED (1 << 0) | ||||
#define RT2860_ADVANCED_PS (1 << 1) | #define RT2860_ADVANCED_PS (1 << 1) | ||||
#define RT2860_PCIE (1 << 2) | #define RT2860_PCIE (1 << 2) | ||||
#define RT2860_RUNNNING (1 << 3) | |||||
struct ieee80211_node *wcid2ni[RT2860_WCID_MAX]; | struct ieee80211_node *wcid2ni[RT2860_WCID_MAX]; | ||||
struct rt2860_tx_ring txq[6]; | struct rt2860_tx_ring txq[6]; | ||||
struct rt2860_rx_ring rxq; | struct rt2860_rx_ring rxq; | ||||
SLIST_HEAD(, rt2860_tx_data) data_pool; | SLIST_HEAD(, rt2860_tx_data) data_pool; | ||||
struct rt2860_tx_data data[RT2860_TX_POOL_COUNT]; | struct rt2860_tx_data data[RT2860_TX_POOL_COUNT]; | ||||
▲ Show 20 Lines • Show All 61 Lines • Show Last 20 Lines |