Lines Matching defs:athn_softc

428 struct athn_softc {  struct
432 int (*sc_enable)(struct athn_softc *); argument
433 void (*sc_disable)(struct athn_softc *); argument
434 void (*sc_power)(struct athn_softc *, int); argument
435 void (*sc_disable_aspm)(struct athn_softc *); argument
437 struct athn_softc *); argument
439 int (*sc_newstate)(struct ieee80211com *,
442 bus_dma_tag_t sc_dmat;
444 struct timeout scan_to;
445 struct timeout calib_to;
446 struct ieee80211_amrr amrr;
448 u_int flags;
467 uint8_t ngpiopins;
468 int led_pin;
469 int rfsilent_pin;
470 int led_state;
471 uint32_t isync;
472 uint32_t imask;
474 uint16_t mac_ver;
475 uint8_t mac_rev;
476 uint8_t rf_rev;
477 uint16_t eep_rev;
479 uint8_t txchainmask;
480 uint8_t rxchainmask;
481 uint8_t ntxchains;
482 uint8_t nrxchains;
484 uint8_t sup_calib_mask;
485 uint8_t cur_calib_mask;
491 struct ieee80211_channel *curchan;
492 struct ieee80211_channel *curchanext;
495 int8_t tx_gain_tbl[AR9280_TX_GAIN_TABLE_SIZE];
496 int8_t pdadc;
497 int8_t tcomp;
498 int olpc_ticks;
499 int iqcal_ticks;
502 uint16_t gain1[AR_MAX_CHAINS];
503 uint32_t txgain[AR9003_TX_GAIN_TABLE_SIZE];
504 int16_t pa_in[AR_MAX_CHAINS]
506 int16_t angle[AR_MAX_CHAINS]
508 int32_t trainpow;
509 uint8_t paprd_curchain;
511 uint32_t rwbuf[64];
513 int kc_entries;
515 void *eep;
516 const void *eep_def;
517 uint32_t eep_base;
518 uint32_t eep_size;
520 struct athn_rxq rxq[2];
521 struct athn_txq txq[31];
523 void *descs;
524 bus_dmamap_t map;
525 bus_dma_segment_t seg;
527 struct athn_tx_buf *bcnbuf;
528 struct athn_tx_buf txpool[ATHN_NTXBUFS];
530 bus_dmamap_t txsmap;
531 bus_dma_segment_t txsseg;
532 void *txsring;
533 int txscur;
535 int sc_if_flags;
536 int sc_tx_timer;
538 const struct athn_ini *ini;
539 const struct athn_gain *rx_gain;
540 const struct athn_gain *tx_gain;
541 const struct athn_addac *addac;
542 const struct athn_serdes *serdes;
543 uint32_t workaround;
544 uint32_t obs_off;
545 uint32_t gpio_input_en_off;
547 struct athn_ops ops;
549 int fixed_ridx;
551 int16_t cca_min_2g;
552 int16_t cca_max_2g;
553 int16_t cca_min_5g;
554 int16_t cca_max_5g;
555 struct {
558 } nf_hist[ATHN_NF_CAL_HIST_MAX];
559 int nf_hist_cur;
560 int nf_hist_nvalid;
561 int16_t nf_priv[AR_MAX_CHAINS];
562 int16_t nf_ext_priv[AR_MAX_CHAINS];
563 int nf_calib_pending;
564 int nf_calib_ticks;
565 int pa_calib_ticks;
589 extern int athn_attach(struct athn_softc *); argument