Lines Matching defs:mt76_dev
735 struct mt76_dev { struct
736 struct mt76_phy phy; /* must be first */
737 struct mt76_phy *phys[__MT_MAX_BAND];
739 struct ieee80211_hw *hw;
741 spinlock_t lock;
742 spinlock_t cc_lock;
744 u32 cur_cc_bss_rx;
746 struct mt76_rx_status rx_ampdu_status;
747 u32 rx_ampdu_len;
748 u32 rx_ampdu_ref;
750 struct mutex mutex;
752 const struct mt76_bus_ops *bus;
753 const struct mt76_driver_ops *drv;
754 const struct mt76_mcu_ops *mcu_ops;
755 struct device *dev;
756 struct device *dma_dev;
758 struct mt76_mcu mcu;
760 struct net_device napi_dev;
761 struct net_device tx_napi_dev;
762 spinlock_t rx_lock;
763 struct napi_struct napi[__MT_RXQ_MAX];
764 struct sk_buff_head rx_skb[__MT_RXQ_MAX];
766 struct list_head txwi_cache;
767 struct mt76_queue *q_mcu[__MT_MCUQ_MAX];
768 struct mt76_queue q_rx[__MT_RXQ_MAX];
769 const struct mt76_queue_ops *queue_ops;
770 int tx_dma_idx[4];
772 struct mt76_worker tx_worker;
773 struct napi_struct tx_napi;
775 spinlock_t token_lock;
776 struct idr token;
777 u16 wed_token_count;
778 u16 token_count;
779 u16 token_size;
781 wait_queue_head_t tx_wait;
783 spinlock_t status_lock;
785 u32 wcid_mask[DIV_ROUND_UP(MT76_N_WCIDS, 32)];
786 u32 wcid_phy_mask[DIV_ROUND_UP(MT76_N_WCIDS, 32)];
788 u64 vif_mask;
790 struct mt76_wcid global_wcid;
791 struct mt76_wcid __rcu *wcid[MT76_N_WCIDS];
792 struct list_head wcid_list;
794 u32 rev;
796 u32 aggr_stats[32];
798 struct tasklet_struct pre_tbtt_tasklet;
799 int beacon_int;
800 u8 beacon_mask;
802 struct debugfs_blob_wrapper eeprom;
803 struct debugfs_blob_wrapper otp;
805 struct mt76_rate_power rate_power;
807 char alpha2[3];
808 enum nl80211_dfs_regions region;
810 u32 debugfs_reg;
812 struct led_classdev led_cdev;
813 char led_name[32];
814 bool led_al;
815 u8 led_pin;
817 u8 csa_complete;
819 u32 rxfilter;
822 const struct mt76_testmode_ops *test_ops;
823 struct {
826 } test_mtd;
828 struct workqueue_struct *wq;
830 union {