Lines Matching defs:wi_softc

80 struct wi_softc	{  struct
88 void (*sc_reset)(struct wi_softc *); argument
90 int (*sc_newstate)(struct ieee80211com *,
92 void (*sc_set_tim)(struct ieee80211_node *, int);
94 int sc_attached;
95 int sc_enabled;
96 int sc_invalid;
97 int sc_firmware_type;
102 int sc_pri_firmware_ver; /* Primary firm vers */
103 int sc_sta_firmware_ver; /* Station firm vers */
104 int sc_pci; /* attach to PCI-Bus */
106 bus_space_tag_t sc_iot; /* bus cookie */
107 bus_space_handle_t sc_ioh; /* bus i/o handle */
109 struct bpf_if * sc_drvbpf;
110 int sc_flags;
111 int sc_bap_id;
112 int sc_bap_off;
114 u_int16_t sc_portnum;
117 u_int16_t sc_dbm_offset; /* dBm ~ RSSI - sc_dbm_offset */
118 u_int16_t sc_max_datalen;
119 u_int16_t sc_frag_thresh;
120 u_int16_t sc_rts_thresh;
121 u_int16_t sc_system_scale;
122 u_int16_t sc_tx_rate;
123 u_int16_t sc_cnfauthmode;
124 u_int16_t sc_roaming_mode;
125 u_int16_t sc_microwave_oven;
127 int sc_nodelen;
128 char sc_nodename[IEEE80211_NWID_LEN];
130 int sc_buflen;
133 struct {
135 } sc_txd[WI_NTXBUF];
136 int sc_txalloc; /* next FID to allocate */
137 int sc_txalloced; /* FIDs currently allocated */
138 int sc_txqueue; /* next FID to queue */
139 int sc_txqueued; /* FIDs currently queued */
140 int sc_txstart; /* next FID to start */
141 int sc_txstarted; /* FIDs currently started */
142 int sc_txcmds;
144 int sc_status;
146 struct wi_rssdesc sc_rssd[WI_NTXRSS];
147 wi_rssdescq_t sc_rssdfree;
148 int sc_tx_timer;
149 int sc_scan_timer;
150 int sc_syn_timer;
152 struct wi_counters sc_stats;
153 u_int16_t sc_ibss_port;
155 struct wi_apinfo sc_aps[MAXAPINFO];
156 int sc_naps;
158 struct timeval sc_last_syn;
159 int sc_false_syns;
160 int sc_alt_retry;
162 union {
165 } sc_rxtapu;
166 union {
169 } sc_txtapu;
170 u_int16_t sc_txbuf[IEEE80211_MAX_LEN/2];
172 u_int8_t sc_txpending[IEEE80211_RATE_MAXSIZE];
173 struct callout sc_rssadapt_ch;
174 kmutex_t sc_ioctl_mtx;
175 kcondvar_t sc_ioctl_cv;
176 bool sc_ioctl_gone;
177 unsigned int sc_ioctl_nwait;
178 unsigned int sc_ioctl_depth;
179 lwp_t *sc_ioctl_lwp;