Lines Matching defs:mt76_dev
573 struct mt76_dev { struct
574 struct mt76_phy phy; /* must be first */
576 struct mt76_phy *phy2;
578 struct ieee80211_hw *hw;
580 spinlock_t lock;
581 spinlock_t cc_lock;
583 u32 cur_cc_bss_rx;
585 struct mt76_rx_status rx_ampdu_status;
586 u32 rx_ampdu_len;
587 u32 rx_ampdu_ref;
589 struct mutex mutex;
591 const struct mt76_bus_ops *bus;
592 const struct mt76_driver_ops *drv;
593 const struct mt76_mcu_ops *mcu_ops;
594 struct device *dev;
596 struct mt76_mcu mcu;
598 struct net_device napi_dev;
599 spinlock_t rx_lock;
600 struct napi_struct napi[__MT_RXQ_MAX];
601 struct sk_buff_head rx_skb[__MT_RXQ_MAX];
603 struct list_head txwi_cache;
604 struct mt76_queue *q_tx[2 * __MT_TXQ_MAX];
605 struct mt76_queue q_rx[__MT_RXQ_MAX];
606 const struct mt76_queue_ops *queue_ops;
607 int tx_dma_idx[4];
609 struct mt76_worker tx_worker;
610 struct napi_struct tx_napi;
611 struct delayed_work mac_work;
613 wait_queue_head_t tx_wait;
614 struct sk_buff_head status_list;
616 u32 wcid_mask[DIV_ROUND_UP(MT76_N_WCIDS, 32)];
617 u32 wcid_phy_mask[DIV_ROUND_UP(MT76_N_WCIDS, 32)];
619 struct mt76_wcid global_wcid;
620 struct mt76_wcid __rcu *wcid[MT76_N_WCIDS];
622 u8 macaddr[ETH_ALEN];
623 u32 rev;
625 u32 aggr_stats[32];
627 struct tasklet_struct pre_tbtt_tasklet;
628 int beacon_int;
629 u8 beacon_mask;
631 struct debugfs_blob_wrapper eeprom;
632 struct debugfs_blob_wrapper otp;
633 struct mt76_hw_cap cap;
635 struct mt76_rate_power rate_power;
637 enum nl80211_dfs_regions region;
639 u32 debugfs_reg;
641 struct led_classdev led_cdev;
642 char led_name[32];
643 bool led_al;
644 u8 led_pin;
646 u8 csa_complete;
648 u32 rxfilter;
651 const struct mt76_testmode_ops *test_ops;
652 struct mt76_testmode_data test;
655 struct workqueue_struct *wq;
657 union {