Lines Matching defs:mt76_dev
641 struct mt76_dev { struct
642 struct mt76_phy phy; /* must be first */
644 struct mt76_phy *phy2;
646 struct ieee80211_hw *hw;
648 spinlock_t lock;
649 spinlock_t cc_lock;
651 u32 cur_cc_bss_rx;
653 struct mt76_rx_status rx_ampdu_status;
654 u32 rx_ampdu_len;
655 u32 rx_ampdu_ref;
657 struct mutex mutex;
659 const struct mt76_bus_ops *bus;
660 const struct mt76_driver_ops *drv;
661 const struct mt76_mcu_ops *mcu_ops;
662 struct device *dev;
664 struct mt76_mcu mcu;
666 struct net_device napi_dev;
667 struct net_device tx_napi_dev;
668 spinlock_t rx_lock;
669 struct napi_struct napi[__MT_RXQ_MAX];
670 struct sk_buff_head rx_skb[__MT_RXQ_MAX];
672 struct list_head txwi_cache;
673 struct mt76_queue *q_mcu[__MT_MCUQ_MAX];
674 struct mt76_queue q_rx[__MT_RXQ_MAX];
675 const struct mt76_queue_ops *queue_ops;
676 int tx_dma_idx[4];
678 struct mt76_worker tx_worker;
679 struct napi_struct tx_napi;
681 spinlock_t token_lock;
682 struct idr token;
683 int token_count;
685 wait_queue_head_t tx_wait;
686 struct sk_buff_head status_list;
688 u32 wcid_mask[DIV_ROUND_UP(MT76_N_WCIDS, 32)];
689 u32 wcid_phy_mask[DIV_ROUND_UP(MT76_N_WCIDS, 32)];
691 u32 vif_mask;
693 struct mt76_wcid global_wcid;
694 struct mt76_wcid __rcu *wcid[MT76_N_WCIDS];
696 u32 rev;
698 u32 aggr_stats[32];
700 struct tasklet_struct pre_tbtt_tasklet;
701 int beacon_int;
702 u8 beacon_mask;
704 struct debugfs_blob_wrapper eeprom;
705 struct debugfs_blob_wrapper otp;
707 struct mt76_rate_power rate_power;
709 char alpha2[3];
710 enum nl80211_dfs_regions region;
712 u32 debugfs_reg;
714 struct led_classdev led_cdev;
715 char led_name[32];
716 bool led_al;
717 u8 led_pin;
719 u8 csa_complete;
721 u32 rxfilter;
724 const struct mt76_testmode_ops *test_ops;
725 struct {
728 } test_mtd;
730 struct workqueue_struct *wq;
732 union {