Lines Matching defs:mt76x0_dev
146 struct mt76x0_dev { struct
147 struct mt76_dev mt76; /* must be first */
149 struct mutex mutex;
151 struct mutex usb_ctrl_mtx;
152 u8 data[32];
154 struct tasklet_struct rx_tasklet;
155 struct tasklet_struct tx_tasklet;
157 u8 out_ep[__MT_EP_OUT_MAX];
158 u16 out_max_packet;
159 u8 in_ep[__MT_EP_IN_MAX];
160 u16 in_max_packet;
162 unsigned long wcid_mask[DIV_ROUND_UP(N_WCIDS, BITS_PER_LONG)];
163 unsigned long vif_mask;
165 struct mt76x0_mcu mcu;
167 struct delayed_work cal_work;
168 struct delayed_work mac_work;
170 struct workqueue_struct *stat_wq;
171 struct delayed_work stat_work;
173 struct mt76_wcid *mon_wcid;
174 struct mt76_wcid __rcu *wcid[N_WCIDS];
176 spinlock_t mac_lock;
178 const u16 *beacon_offsets;
180 u8 macaddr[ETH_ALEN];
181 struct mt76x0_eeprom_params *ee;
183 struct mutex reg_atomic_mutex;
184 struct mutex hw_atomic_mutex;
186 u32 rxfilter;
187 u32 debugfs_reg;
190 spinlock_t tx_lock;
191 struct mt76x0_tx_queue *tx_q;
192 struct sk_buff_head tx_skb_done;
194 atomic_t avg_ampdu_len;
197 spinlock_t rx_lock;
198 struct mt76x0_rx_queue rx_q;
201 spinlock_t con_mon_lock;
202 u8 ap_bssid[ETH_ALEN];
204 s8 bcn_freq_off;
205 u8 bcn_phy_mode;
207 int avg_rssi; /* starts at 0 and converges */
209 u8 agc_save;
210 u16 chainmask;
212 struct mac_stats stats;