Lines Matching defs:mt76_dev

749 struct mt76_dev {  struct
750 struct mt76_phy phy; /* must be first */
751 struct mt76_phy *phys[__MT_MAX_BAND];
753 struct ieee80211_hw *hw;
755 spinlock_t wed_lock;
756 spinlock_t lock;
757 spinlock_t cc_lock;
759 u32 cur_cc_bss_rx;
761 struct mt76_rx_status rx_ampdu_status;
762 u32 rx_ampdu_len;
763 u32 rx_ampdu_ref;
765 struct mutex mutex;
767 const struct mt76_bus_ops *bus;
768 const struct mt76_driver_ops *drv;
769 const struct mt76_mcu_ops *mcu_ops;
770 struct device *dev;
771 struct device *dma_dev;
773 struct mt76_mcu mcu;
775 struct net_device napi_dev;
776 struct net_device tx_napi_dev;
777 spinlock_t rx_lock;
778 struct napi_struct napi[__MT_RXQ_MAX];
779 struct sk_buff_head rx_skb[__MT_RXQ_MAX];
781 struct list_head txwi_cache;
782 struct list_head rxwi_cache;
783 struct mt76_queue *q_mcu[__MT_MCUQ_MAX];
784 struct mt76_queue q_rx[__MT_RXQ_MAX];
785 const struct mt76_queue_ops *queue_ops;
786 int tx_dma_idx[4];
788 struct mt76_worker tx_worker;
789 struct napi_struct tx_napi;
791 spinlock_t token_lock;
792 struct idr token;
793 u16 wed_token_count;
794 u16 token_count;
795 u16 token_size;
797 spinlock_t rx_token_lock;
798 struct idr rx_token;
799 u16 rx_token_size;
801 wait_queue_head_t tx_wait;
803 spinlock_t status_lock;
805 u32 wcid_mask[DIV_ROUND_UP(MT76_N_WCIDS, 32)];
806 u32 wcid_phy_mask[DIV_ROUND_UP(MT76_N_WCIDS, 32)];
808 u64 vif_mask;
810 struct mt76_wcid global_wcid;
811 struct mt76_wcid __rcu *wcid[MT76_N_WCIDS];
812 struct list_head wcid_list;
814 u32 rev;
816 struct tasklet_struct pre_tbtt_tasklet;
817 int beacon_int;
818 u8 beacon_mask;
820 struct debugfs_blob_wrapper eeprom;
821 struct debugfs_blob_wrapper otp;
823 char alpha2[3];
824 enum nl80211_dfs_regions region;
826 u32 debugfs_reg;
828 u8 csa_complete;
830 u32 rxfilter;
833 const struct mt76_testmode_ops *test_ops;
834 struct {
837 } test_mtd;
839 struct workqueue_struct *wq;
841 union {