Lines Matching defs:mt7601u_dev
156 struct mt7601u_dev { struct
157 struct ieee80211_hw *hw;
158 struct device *dev;
160 unsigned long state;
162 struct mutex mutex;
164 unsigned long wcid_mask[N_WCIDS / BITS_PER_LONG];
166 struct cfg80211_chan_def chandef;
167 struct ieee80211_supported_band *sband_2g;
169 struct mt7601u_mcu mcu;
171 struct delayed_work cal_work;
172 struct delayed_work mac_work;
174 struct workqueue_struct *stat_wq;
175 struct delayed_work stat_work;
177 struct mt76_wcid *mon_wcid;
178 struct mt76_wcid __rcu *wcid[N_WCIDS];
180 spinlock_t lock;
181 spinlock_t mac_lock;
183 const u16 *beacon_offsets;
185 u8 macaddr[ETH_ALEN];
186 struct mt7601u_eeprom_params *ee;
188 struct mutex vendor_req_mutex;
189 void *vend_buf;
191 struct mutex reg_atomic_mutex;
192 struct mutex hw_atomic_mutex;
194 u32 rxfilter;
195 u32 debugfs_reg;
197 u8 out_eps[8];
198 u8 in_eps[8];
199 u16 out_max_packet;
200 u16 in_max_packet;
203 spinlock_t tx_lock;
204 struct tasklet_struct tx_tasklet;
205 struct mt7601u_tx_queue *tx_q;
206 struct sk_buff_head tx_skb_done;
208 atomic_t avg_ampdu_len;
211 spinlock_t rx_lock;
212 struct tasklet_struct rx_tasklet;
213 struct mt7601u_rx_queue rx_q;
216 spinlock_t con_mon_lock;
217 u8 ap_bssid[ETH_ALEN];
219 s8 bcn_freq_off;
220 u8 bcn_phy_mode;
222 int avg_rssi; /* starts at 0 and converges */
224 u8 agc_save;
226 struct mt7601u_freq_cal freq_cal;
228 bool tssi_read_trig;
230 s8 tssi_init;
231 s8 tssi_init_hvga;
232 s16 tssi_init_hvga_offset_db;
234 int prev_pwr_diff;
236 enum mt_temp_mode temp_mode;
237 int curr_temp;
238 int dpd_temp;
239 s8 raw_temp;
240 bool pll_lock_protect;
242 u8 bw;
243 bool chan_ext_below;
246 u32 rf_pa_mode[2];
248 struct mac_stats stats;