Lines Matching defs:mt7601u_dev
160 struct mt7601u_dev { struct
161 struct ieee80211_hw *hw;
162 struct device *dev;
164 unsigned long state;
166 struct mutex mutex;
168 unsigned long wcid_mask[N_WCIDS / BITS_PER_LONG];
170 struct cfg80211_chan_def chandef;
171 struct ieee80211_supported_band *sband_2g;
173 struct mt7601u_mcu mcu;
175 struct delayed_work cal_work;
176 struct delayed_work mac_work;
178 struct workqueue_struct *stat_wq;
179 struct delayed_work stat_work;
181 struct mt76_wcid *mon_wcid;
182 struct mt76_wcid __rcu *wcid[N_WCIDS];
184 spinlock_t lock;
185 spinlock_t mac_lock;
187 const u16 *beacon_offsets;
189 u8 macaddr[ETH_ALEN];
190 struct mt7601u_eeprom_params *ee;
192 struct mutex vendor_req_mutex;
193 void *vend_buf;
195 struct mutex reg_atomic_mutex;
196 struct mutex hw_atomic_mutex;
198 u32 rxfilter;
199 u32 debugfs_reg;
201 u8 out_eps[8];
202 u8 in_eps[8];
203 u16 out_max_packet;
204 u16 in_max_packet;
207 spinlock_t tx_lock;
208 struct tasklet_struct tx_tasklet;
209 struct mt7601u_tx_queue *tx_q;
210 struct sk_buff_head tx_skb_done;
212 atomic_t avg_ampdu_len;
215 spinlock_t rx_lock;
216 struct tasklet_struct rx_tasklet;
217 struct mt7601u_rx_queue rx_q;
220 spinlock_t con_mon_lock;
221 u8 ap_bssid[ETH_ALEN];
223 s8 bcn_freq_off;
224 u8 bcn_phy_mode;
226 struct ewma_rssi avg_rssi;
228 u8 agc_save;
230 struct mt7601u_freq_cal freq_cal;
232 bool tssi_read_trig;
234 s8 tssi_init;
235 s8 tssi_init_hvga;
236 s16 tssi_init_hvga_offset_db;
238 int prev_pwr_diff;
240 enum mt_temp_mode temp_mode;
241 int curr_temp;
242 int dpd_temp;
243 s8 raw_temp;
244 bool pll_lock_protect;
246 u8 bw;
247 bool chan_ext_below;
250 u32 rf_pa_mode[2];
252 struct mac_stats stats;