Lines Matching defs:cw1200_common

91 struct cw1200_common {  struct
93 struct ieee80211_hw *hw;
94 struct ieee80211_vif *vif;
95 struct device *pdev;
98 struct ieee80211_low_level_stats stats;
101 u8 mac_addr[ETH_ALEN];
104 const struct hwbus_ops *hwbus_ops;
105 struct hwbus_priv *hwbus_priv;
108 enum {
112 } hw_type;
113 enum {
119 } hw_revision;
120 int hw_refclk;
121 bool hw_have_5ghz;
122 const struct firmware *sdd;
123 char *sdd_path;
125 struct cw1200_debug_priv *debug;
127 struct workqueue_struct *workqueue;
128 struct mutex conf_mutex;
130 struct cw1200_queue tx_queue[4];
131 struct cw1200_queue_stats tx_queue_stats;
132 int tx_burst_idx;
135 unsigned int tx_hdr_len;
138 int output_power;
141 struct ieee80211_rate *rates;
142 struct ieee80211_rate *mcs_rates;
143 struct ieee80211_channel *channel;
144 struct wsm_edca_params edca;
145 struct wsm_tx_queue_params tx_queue_params;
146 struct wsm_mib_association_mode association_mode;
147 struct wsm_set_bss_params bss_params;
148 struct cw1200_ht_info ht_info;
149 struct wsm_set_pm powersave_mode;
150 struct wsm_set_pm firmware_ps_mode;
151 int cqm_rssi_thold;
152 unsigned cqm_rssi_hyst;
153 bool cqm_use_rssi;
154 int cqm_beacon_loss_count;
155 int channel_switch_in_progress;
156 wait_queue_head_t channel_switch_done;
157 u8 long_frame_max_tx_count;
158 u8 short_frame_max_tx_count;
159 int mode;
160 bool enable_beacon;
161 int beacon_int;
162 bool listening;
163 struct wsm_rx_filter rx_filter;
164 struct wsm_mib_multicast_filter multicast_filter;
165 bool has_multicast_subscription;
166 bool disable_beacon_filter;
167 struct work_struct update_filtering_work;
168 struct work_struct set_beacon_wakeup_period_work;
170 u8 ba_rx_tid_mask;
171 u8 ba_tx_tid_mask;
173 struct cw1200_pm_state pm_state;
175 struct wsm_p2p_ps_modeinfo p2p_ps_modeinfo;
176 struct wsm_uapsd_info uapsd_info;
177 bool setbssparams_done;
178 bool bt_present;
179 u8 conf_listen_interval;
180 u32 listen_interval;
181 u32 erp_info;
182 u32 rts_threshold;
185 atomic_t bh_rx;
186 atomic_t bh_tx;
187 atomic_t bh_term;
188 atomic_t bh_suspend;
190 struct workqueue_struct *bh_workqueue;
191 struct work_struct bh_work;
193 int bh_error;
194 wait_queue_head_t bh_wq;
195 wait_queue_head_t bh_evt_wq;
196 u8 buf_id_tx;
197 u8 buf_id_rx;
198 u8 wsm_rx_seq;
199 u8 wsm_tx_seq;
200 int hw_bufs_used;
201 bool powersave_enabled;
202 bool device_can_sleep;
205 struct cw1200_scan scan;
209 atomic_t recent_scan;
210 struct delayed_work clear_recent_scan_work;
213 struct wsm_startup_ind wsm_caps;
214 struct mutex wsm_cmd_mux;
215 struct wsm_buf wsm_cmd_buf;
216 struct wsm_cmd wsm_cmd;
217 wait_queue_head_t wsm_cmd_wq;
218 wait_queue_head_t wsm_startup_done;
219 int firmware_ready;
220 atomic_t tx_lock;
223 int wsm_enable_wsm_dumps;
226 enum cw1200_join_status join_status;
227 u32 pending_frame_id;
228 bool join_pending;
229 struct delayed_work join_timeout;
230 struct work_struct unjoin_work;
231 struct work_struct join_complete_work;
232 int join_complete_status;
233 int join_dtim_period;
234 bool delayed_unjoin;
237 s8 wep_default_key_id;
238 struct work_struct wep_key_work;
239 u32 key_map;
240 struct wsm_add_key keys[WSM_KEY_MAX_INDEX + 1];
243 u32 link_id_map;
244 struct cw1200_link_entry link_id_db[CW1200_MAX_STA_IN_AP_MODE];
245 struct work_struct link_id_work;
246 struct delayed_work link_id_gc_work;
247 u32 sta_asleep_mask;
248 u32 pspoll_mask;
249 bool aid0_bit_set;
250 spinlock_t ps_state_lock; /* Protect power save state */
251 bool buffered_multicasts;
252 bool tx_multicast;
253 struct work_struct set_tim_work;
254 struct work_struct set_cts_work;
255 struct work_struct multicast_start_work;
256 struct work_struct multicast_stop_work;
257 struct timer_list mcast_timeout;
260 spinlock_t event_queue_lock; /* Protect event queue */
261 struct list_head event_queue;
262 struct work_struct event_handler;
264 struct delayed_work bss_loss_work;
265 spinlock_t bss_loss_lock; /* Protect BSS loss state */
266 int bss_loss_state;
267 u32 bss_loss_confirm_id;
268 int delayed_link_loss;
269 struct work_struct bss_params_work;
293 struct cw1200_common **pself, argument