Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ral/rt2661var.h
Show First 20 Lines • Show All 91 Lines • ▼ Show 20 Lines | struct rt2661_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 RT2661_VAP(vap) ((struct rt2661_vap *)(vap)) | #define RT2661_VAP(vap) ((struct rt2661_vap *)(vap)) | ||||
struct rt2661_softc { | struct rt2661_softc { | ||||
struct ifnet *sc_ifp; | struct ieee80211com sc_ic; | ||||
struct mtx sc_mtx; | |||||
struct mbufq sc_snd; | |||||
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_tx_timer; | int sc_tx_timer; | ||||
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 | ||||
* ------------------------------------------------ | * ------------------------------------------------ | ||||
*/ | */ | ||||
int sc_flags; | int sc_flags; | ||||
#define RAL_FW_LOADED 0x1 | #define RAL_FW_LOADED 0x1 | ||||
#define RAL_INPUT_RUNNING 0x2 | #define RAL_INPUT_RUNNING 0x2 | ||||
#define RAL_RUNNING 0x4 | |||||
int sc_id; | int sc_id; | ||||
struct ieee80211_channel *sc_curchan; | struct ieee80211_channel *sc_curchan; | ||||
uint8_t rf_rev; | uint8_t rf_rev; | ||||
uint8_t rfprog; | uint8_t rfprog; | ||||
uint8_t rffreq; | uint8_t rffreq; | ||||
▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines |