Lines Matching defs:mt76_dev
860 struct mt76_dev { struct
861 struct mt76_phy phy; /* must be first */
862 struct mt76_phy *phys[__MT_MAX_BAND];
863 struct mt76_phy *band_phys[NUM_NL80211_BANDS];
865 struct ieee80211_hw *hw;
867 spinlock_t wed_lock;
868 spinlock_t lock;
869 spinlock_t cc_lock;
871 u32 cur_cc_bss_rx;
873 struct mt76_rx_status rx_ampdu_status;
874 u32 rx_ampdu_len;
875 u32 rx_ampdu_ref;
877 struct mutex mutex;
879 const struct mt76_bus_ops *bus;
880 const struct mt76_driver_ops *drv;
881 const struct mt76_mcu_ops *mcu_ops;
882 struct device *dev;
883 struct device *dma_dev;
885 struct mt76_mcu mcu;
887 struct net_device *napi_dev;
888 struct net_device *tx_napi_dev;
889 spinlock_t rx_lock;
890 struct napi_struct napi[__MT_RXQ_MAX];
891 struct sk_buff_head rx_skb[__MT_RXQ_MAX];
892 struct tasklet_struct irq_tasklet;
894 struct list_head txwi_cache;
895 struct list_head rxwi_cache;
896 struct mt76_queue *q_mcu[__MT_MCUQ_MAX];
897 struct mt76_queue q_rx[__MT_RXQ_MAX];
898 const struct mt76_queue_ops *queue_ops;
899 int tx_dma_idx[4];
901 struct mt76_worker tx_worker;
902 struct napi_struct tx_napi;
904 spinlock_t token_lock;
905 struct idr token;
906 u16 wed_token_count;
907 u16 token_count;
908 u16 token_size;
910 spinlock_t rx_token_lock;
911 struct idr rx_token;
912 u16 rx_token_size;
914 wait_queue_head_t tx_wait;
916 spinlock_t status_lock;
918 u32 wcid_mask[DIV_ROUND_UP(MT76_N_WCIDS, 32)];
920 u64 vif_mask;
922 struct mt76_wcid global_wcid;
923 struct mt76_wcid __rcu *wcid[MT76_N_WCIDS];
924 struct list_head wcid_list;
926 struct list_head sta_poll_list;
927 spinlock_t sta_poll_lock;
929 u32 rev;
931 struct tasklet_struct pre_tbtt_tasklet;
932 int beacon_int;
933 u8 beacon_mask;
935 struct debugfs_blob_wrapper eeprom;
936 struct debugfs_blob_wrapper otp;
938 char alpha2[3];
939 enum nl80211_dfs_regions region;
941 u32 debugfs_reg;
943 u8 csa_complete;
945 u32 rxfilter;
947 struct delayed_work scan_work;
948 struct {
955 } scan;
958 const struct mt76_testmode_ops *test_ops;
959 struct {
962 } test_mtd;
964 struct workqueue_struct *wq;
966 union {