Lines Matching defs:ath_softc

182 struct ath_softc {  struct
189 void (*sc_power)(struct ath_softc *, int); argument
207 void (*sc_setdefantenna)(struct ath_softc *, u_int); argument
208 unsigned int sc_mrretry : 1, /* multi-rate retry support */
209 sc_softled : 1, /* enable LED gpio status */
210 sc_splitmic: 1, /* split TKIP MIC keys */
211 sc_needmib : 1, /* enable MIB stats intr */
212 sc_diversity : 1,/* enable rx diversity */
213 sc_hasveol : 1, /* tx VEOL support */
214 sc_ledstate: 1, /* LED on/off state */
215 sc_blinking: 1, /* LED blink operation active */
216 sc_mcastkey: 1, /* mcast key cache search */
217 sc_syncbeacon:1,/* sync/resync beacon timers */
218 sc_hasclrkey:1; /* CLR key supported */
220 const HAL_RATE_TABLE *sc_rates[IEEE80211_MODE_MAX];
221 const HAL_RATE_TABLE *sc_currates; /* current rate table */
222 enum ieee80211_phymode sc_curmode; /* current phy mode */
223 u_int16_t sc_curtxpow; /* current tx power limit */
224 HAL_CHANNEL sc_curchan; /* current h/w channel */
225 u_int8_t sc_rixmap[256]; /* IEEE to h/w rate table ix */
226 struct {
232 } sc_hwmap[32]; /* h/w rate ix mappings */
233 u_int8_t sc_minrateix; /* min h/w rate index */
234 u_int8_t sc_mcastrix; /* mcast h/w rate index */
235 u_int8_t sc_protrix; /* protection rate index */
236 u_int sc_mcastrate; /* ieee rate for mcastrateix */
237 u_int sc_txantenna; /* tx antenna (fixed or auto) */
238 HAL_INT sc_imask; /* interrupt mask copy */
239 u_int sc_keymax; /* size of key cache */
240 u_int8_t sc_keymap[ATH_KEYBYTES];/* key use bit map */
242 u_int sc_ledpin; /* GPIO pin for driving LED */
243 u_int sc_ledon; /* pin setting for LED on */
244 u_int sc_ledidle; /* idle polling interval */
245 int sc_ledevent; /* time of last LED event */
246 u_int8_t sc_rxrate; /* current rx rate for LED */
247 u_int8_t sc_txrate; /* current tx rate for LED */
248 u_int16_t sc_ledoff; /* off time for current blink */
249 struct callout sc_ledtimer; /* led off timer */
251 struct bpf_if * sc_drvbpf;
252 union {
255 } u_tx_rt;
256 int sc_tx_th_len;
257 union {
260 } u_rx_rt;
261 int sc_rx_th_len;
263 ath_task_t sc_fataltask; /* fatal int processing */
265 struct ath_descdma sc_rxdma; /* RX descriptos */
266 ath_bufhead sc_rxbuf; /* receive buffer */
267 u_int32_t *sc_rxlink; /* link ptr in last RX desc */
268 ath_task_t sc_rxtask; /* rx int processing */
269 ath_task_t sc_rxorntask; /* rxorn int processing */
270 ath_task_t sc_radartask; /* radar processing */
271 u_int8_t sc_defant; /* current default antenna */
272 u_int8_t sc_rxotherant; /* rx's on non-default antenna*/
273 u_int64_t sc_lastrx; /* tsf of last rx'd frame */
275 struct ath_descdma sc_txdma; /* TX descriptors */
276 ath_bufhead sc_txbuf; /* transmit buffer */
277 ath_txbuf_lock_t sc_txbuflock; /* txbuf lock */
278 u_int sc_txqsetup; /* h/w queues setup */
279 u_int sc_txintrperiod;/* tx interrupt batching */
280 struct ath_txq sc_txq[HAL_NUM_TX_QUEUES];
281 struct ath_txq *sc_ac2q[5]; /* WME AC -> h/w q map */
282 ath_task_t sc_txtask; /* tx int processing */
284 struct ath_descdma sc_bdma; /* beacon descriptors */
285 ath_bufhead sc_bbuf; /* beacon buffers */
286 u_int sc_bhalq; /* HAL q for outgoing beacons */
287 u_int sc_bmisscount; /* missed beacon transmits */
288 u_int32_t sc_ant_tx[8]; /* recent tx frames/antenna */
289 struct ath_txq *sc_cabq; /* tx q for cab frames */
290 struct ieee80211_beacon_offsets sc_boff;/* dynamic update state */
291 ath_task_t sc_bmisstask; /* bmiss int processing */
292 ath_task_t sc_bstucktask; /* stuck beacon processing */
316 int ath_attach(u_int16_t, struct ath_softc *); argument