Lines Matching defs:mt76_dev

772 struct mt76_dev {  struct
773 struct mt76_phy phy; /* must be first */
774 struct mt76_phy *phys[__MT_MAX_BAND];
776 struct ieee80211_hw *hw;
778 spinlock_t wed_lock;
779 spinlock_t lock;
780 spinlock_t cc_lock;
782 u32 cur_cc_bss_rx;
784 struct mt76_rx_status rx_ampdu_status;
785 u32 rx_ampdu_len;
786 u32 rx_ampdu_ref;
788 struct mutex mutex;
790 const struct mt76_bus_ops *bus;
791 const struct mt76_driver_ops *drv;
792 const struct mt76_mcu_ops *mcu_ops;
793 struct device *dev;
794 struct device *dma_dev;
796 struct mt76_mcu mcu;
798 struct net_device napi_dev;
799 struct net_device tx_napi_dev;
800 spinlock_t rx_lock;
801 struct napi_struct napi[__MT_RXQ_MAX];
802 struct sk_buff_head rx_skb[__MT_RXQ_MAX];
803 struct tasklet_struct irq_tasklet;
805 struct list_head txwi_cache;
806 struct list_head rxwi_cache;
807 struct mt76_queue *q_mcu[__MT_MCUQ_MAX];
808 struct mt76_queue q_rx[__MT_RXQ_MAX];
809 const struct mt76_queue_ops *queue_ops;
810 int tx_dma_idx[4];
812 struct mt76_worker tx_worker;
813 struct napi_struct tx_napi;
815 spinlock_t token_lock;
816 struct idr token;
817 u16 wed_token_count;
818 u16 token_count;
819 u16 token_size;
821 spinlock_t rx_token_lock;
822 struct idr rx_token;
823 u16 rx_token_size;
825 wait_queue_head_t tx_wait;
827 spinlock_t status_lock;
829 u32 wcid_mask[DIV_ROUND_UP(MT76_N_WCIDS, 32)];
830 u32 wcid_phy_mask[DIV_ROUND_UP(MT76_N_WCIDS, 32)];
832 u64 vif_mask;
834 struct mt76_wcid global_wcid;
835 struct mt76_wcid __rcu *wcid[MT76_N_WCIDS];
836 struct list_head wcid_list;
838 struct list_head sta_poll_list;
839 spinlock_t sta_poll_lock;
841 u32 rev;
843 struct tasklet_struct pre_tbtt_tasklet;
844 int beacon_int;
845 u8 beacon_mask;
847 struct debugfs_blob_wrapper eeprom;
848 struct debugfs_blob_wrapper otp;
850 char alpha2[3];
851 enum nl80211_dfs_regions region;
853 u32 debugfs_reg;
855 u8 csa_complete;
857 u32 rxfilter;
860 const struct mt76_testmode_ops *test_ops;
861 struct {
864 } test_mtd;
866 struct workqueue_struct *wq;
868 union {