Lines Matching defs:iwn_softc

239 struct iwn_softc {  struct
240 device_t sc_dev;
241 int sc_debug;
242 struct cdev *sc_cdev;
243 struct mtx sc_mtx;
244 struct ieee80211com sc_ic;
245 struct ieee80211_ratectl_tx_status sc_txs;
247 u_int sc_flags;
259 uint8_t hw_type;
261 uint16_t subdevice_id;
263 struct iwn_ops ops;
264 const char *fwname;
266 *limits;
267 int ntxqs;
268 int firstaggqueue;
269 int ndmachnls;
270 uint8_t broadcast_id;
271 int rxonsz;
272 int schedsz;
273 uint32_t fw_text_maxsz;
274 uint32_t fw_data_maxsz;
275 uint32_t fwsz;
276 bus_size_t sched_txfact_addr;
277 uint32_t reset_noise_gain;
278 uint32_t noise_gain;
281 struct iwn_dma_info sched_dma;
282 uint16_t *sched;
283 uint32_t sched_base;
286 struct iwn_dma_info kw_dma;
289 const struct firmware *fw_fp;
292 struct iwn_dma_info fw_dma;
295 struct iwn_dma_info ict_dma;
296 uint32_t *ict;
297 int ict_cur;
300 struct iwn_tx_ring txq[IWN5000_NTXQUEUES];
301 struct iwn_rx_ring rxq;
303 struct resource *mem;
304 bus_space_tag_t sc_st;
305 bus_space_handle_t sc_sh;
306 struct resource *irq;
307 void *sc_ih;
308 bus_size_t sc_sz;
309 int sc_cap_off; /* PCIe Capabilities. */
312 struct task sc_rftoggle_task;
313 struct task sc_panic_task;
314 struct task sc_xmit_task;
317 struct taskqueue *sc_tq;
320 struct callout calib_to;
321 int calib_cnt;
322 struct iwn_calib_state calib;
323 int last_calib_ticks;
324 struct callout scan_timeout;
325 struct callout watchdog_to;
326 struct iwn_fw_info fw;
327 struct iwn_calib_info calibcmd[IWN5000_PHY_CALIB_MAX_RESULT];
328 uint32_t errptr;
330 struct iwn_rx_stat last_rx_stat;
331 int last_rx_valid;
332 struct iwn_ucode_info ucode_info;
333 struct iwn_rxon rx_on[IWN_NUM_RXON_CTX];
334 struct iwn_rxon *rxon;
335 int ctx;
336 struct ieee80211vap *ivap[IWN_NUM_RXON_CTX];
351 struct iwn_stats last_stat;
352 int last_stat_valid;
354 uint8_t uc_scan_progress;
355 uint32_t rawtemp;
356 int temp;
357 int noise;
358 uint32_t qfullmsk;
360 uint32_t prom_base;
362 bands[IWN_NBANDS];
363 struct iwn_eeprom_chan eeprom_channels[IWN_NBANDS][IWN_MAX_CHAN_PER_BAND];
364 uint16_t rfcfg;
365 uint8_t calib_ver;
366 char eeprom_domain[4];
367 uint32_t eeprom_crystal;
368 int16_t eeprom_temp;
369 int16_t eeprom_temp_high;
370 int16_t eeprom_voltage;
371 int8_t maxpwr2GHz;
372 int8_t maxpwr5GHz;
373 int8_t maxpwr[IEEE80211_CHAN_MAX];
375 uint32_t tlv_feature_flags;
377 int32_t temp_off;
378 uint32_t int_mask;
379 uint8_t ntxchains;
380 uint8_t nrxchains;
381 uint8_t txchainmask;
382 uint8_t rxchainmask;
383 uint8_t chainmask;
385 int sc_tx_timer;
388 int sc_is_scanning;
391 int sc_beacon_wait;
393 struct ieee80211_tx_ampdu *qid2tap[IWN5000_NTXQUEUES];
395 int (*sc_ampdu_rx_start)(struct ieee80211_node *,
397 void (*sc_ampdu_rx_stop)(struct ieee80211_node *,
399 int (*sc_addba_request)(struct ieee80211_node *,
401 int (*sc_addba_response)(struct ieee80211_node *,
403 void (*sc_addba_stop)(struct ieee80211_node *,
406 struct iwn_led_mode sc_led;
408 struct iwn_rx_radiotap_header sc_rxtap;
409 struct iwn_tx_radiotap_header sc_txtap;
412 int desired_pwrsave_level;
418 int current_pwrsave_level;
421 const struct iwn_base_params *base_params;
424 uint32_t ucode_rev;
431 struct mbufq sc_xmit_queue;