Lines Matching refs:priv
122 void iwl_down(struct iwl_priv *priv);
123 void iwl_cancel_deferred_work(struct iwl_priv *priv);
124 void iwlagn_prepare_restart(struct iwl_priv *priv);
128 bool iwl_check_for_ct_kill(struct iwl_priv *priv);
130 void iwlagn_lift_passive_no_rx(struct iwl_priv *priv);
134 int iwlagn_mac_setup_register(struct iwl_priv *priv,
136 void iwlagn_mac_unregister(struct iwl_priv *priv);
139 int iwl_dvm_send_cmd(struct iwl_priv *priv, struct iwl_host_cmd *cmd);
140 int iwl_dvm_send_cmd_pdu(struct iwl_priv *priv, u8 id,
144 void iwl_connection_init_rx_config(struct iwl_priv *priv,
146 int iwlagn_set_pan_params(struct iwl_priv *priv);
147 int iwlagn_commit_rxon(struct iwl_priv *priv, struct iwl_rxon_context *ctx);
148 void iwlagn_set_rxon_chain(struct iwl_priv *priv, struct iwl_rxon_context *ctx);
156 void iwl_set_rxon_ht(struct iwl_priv *priv, struct iwl_ht_config *ht_conf);
157 void iwl_set_rxon_channel(struct iwl_priv *priv, struct ieee80211_channel *ch,
159 void iwl_set_flags_for_band(struct iwl_priv *priv,
165 int iwl_send_bt_env(struct iwl_priv *priv, u8 action, u8 type);
166 void iwl_send_prio_tbl(struct iwl_priv *priv);
167 int iwl_init_alive_start(struct iwl_priv *priv);
168 int iwl_run_init_ucode(struct iwl_priv *priv);
169 int iwl_load_ucode_wait_alive(struct iwl_priv *priv,
171 int iwl_send_calib_results(struct iwl_priv *priv);
172 int iwl_calib_set(struct iwl_priv *priv,
174 void iwl_calib_free_results(struct iwl_priv *priv);
175 int iwl_dump_nic_event_log(struct iwl_priv *priv, bool full_log,
180 int iwlagn_send_tx_power(struct iwl_priv *priv);
181 void iwlagn_temperature(struct iwl_priv *priv);
182 int iwlagn_txfifo_flush(struct iwl_priv *priv, u32 scd_q_msk);
183 void iwlagn_dev_txfifo_flush(struct iwl_priv *priv);
184 int iwlagn_send_beacon_cmd(struct iwl_priv *priv);
185 int iwl_send_statistics_request(struct iwl_priv *priv,
189 struct iwl_priv *priv, enum ieee80211_band band) in iwl_get_hw_mode() argument
191 return priv->hw->wiphy->bands[band]; in iwl_get_hw_mode()
195 int iwlagn_send_patterns(struct iwl_priv *priv,
197 int iwlagn_suspend(struct iwl_priv *priv, struct cfg80211_wowlan *wowlan);
202 void iwl_setup_rx_handlers(struct iwl_priv *priv);
203 void iwl_chswitch_done(struct iwl_priv *priv, bool is_success);
207 int iwlagn_tx_skb(struct iwl_priv *priv,
210 int iwlagn_tx_agg_start(struct iwl_priv *priv, struct ieee80211_vif *vif,
212 int iwlagn_tx_agg_oper(struct iwl_priv *priv, struct ieee80211_vif *vif,
214 int iwlagn_tx_agg_stop(struct iwl_priv *priv, struct ieee80211_vif *vif,
216 int iwlagn_tx_agg_flush(struct iwl_priv *priv, struct ieee80211_vif *vif,
218 void iwlagn_rx_reply_compressed_ba(struct iwl_priv *priv,
220 void iwlagn_rx_reply_tx(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb);
245 u8 iwl_toggle_tx_ant(struct iwl_priv *priv, u8 ant_idx, u8 valid);
248 void iwlagn_post_scan(struct iwl_priv *priv);
249 int iwl_force_rf_reset(struct iwl_priv *priv, bool external);
250 void iwl_init_scan_params(struct iwl_priv *priv);
251 int iwl_scan_cancel(struct iwl_priv *priv);
252 void iwl_scan_cancel_timeout(struct iwl_priv *priv, unsigned long ms);
253 void iwl_force_scan_end(struct iwl_priv *priv);
254 void iwl_internal_short_hw_scan(struct iwl_priv *priv);
255 void iwl_setup_rx_scan_handlers(struct iwl_priv *priv);
256 void iwl_setup_scan_deferred_work(struct iwl_priv *priv);
257 void iwl_cancel_scan_deferred_work(struct iwl_priv *priv);
258 int __must_check iwl_scan_initiate(struct iwl_priv *priv,
276 void iwlagn_send_advance_bt_config(struct iwl_priv *priv);
277 void iwlagn_bt_rx_handler_setup(struct iwl_priv *priv);
278 void iwlagn_bt_setup_deferred_work(struct iwl_priv *priv);
279 void iwlagn_bt_cancel_deferred_work(struct iwl_priv *priv);
280 void iwlagn_bt_coex_rssi_monitor(struct iwl_priv *priv);
281 void iwlagn_bt_adjust_rssi_monitor(struct iwl_priv *priv, bool rssi_ena);
283 static inline bool iwl_advanced_bt_coexist(struct iwl_priv *priv) in iwl_advanced_bt_coexist() argument
285 return priv->lib->bt_params && in iwl_advanced_bt_coexist()
286 priv->lib->bt_params->advanced_bt_coexist; in iwl_advanced_bt_coexist()
299 int iwlagn_manage_ibss_station(struct iwl_priv *priv,
310 void iwl_restore_stations(struct iwl_priv *priv, struct iwl_rxon_context *ctx);
311 void iwl_clear_ucode_stations(struct iwl_priv *priv,
313 void iwl_dealloc_bcast_stations(struct iwl_priv *priv);
314 int iwl_get_free_ucode_key_offset(struct iwl_priv *priv);
315 int iwl_send_add_sta(struct iwl_priv *priv,
317 int iwl_add_station_common(struct iwl_priv *priv, struct iwl_rxon_context *ctx,
320 int iwl_remove_station(struct iwl_priv *priv, const u8 sta_id,
322 void iwl_deactivate_station(struct iwl_priv *priv, const u8 sta_id,
324 u8 iwl_prep_station(struct iwl_priv *priv, struct iwl_rxon_context *ctx,
327 int iwl_send_lq_cmd(struct iwl_priv *priv, struct iwl_rxon_context *ctx,
329 void iwl_add_sta_callback(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb);
330 int iwl_sta_update_ht(struct iwl_priv *priv, struct iwl_rxon_context *ctx,
333 bool iwl_is_ht40_tx_allowed(struct iwl_priv *priv,
345 int iwlagn_alloc_bcast_station(struct iwl_priv *priv,
347 int iwlagn_add_bssid_station(struct iwl_priv *priv, struct iwl_rxon_context *ctx,
349 int iwl_remove_default_wep_key(struct iwl_priv *priv,
352 int iwl_set_default_wep_key(struct iwl_priv *priv,
355 int iwl_restore_default_wep_keys(struct iwl_priv *priv,
357 int iwl_set_dynamic_key(struct iwl_priv *priv, struct iwl_rxon_context *ctx,
360 int iwl_remove_dynamic_key(struct iwl_priv *priv, struct iwl_rxon_context *ctx,
363 void iwl_update_tkip_key(struct iwl_priv *priv,
367 int iwl_sta_tx_modify_enable_tid(struct iwl_priv *priv, int sta_id, int tid);
368 int iwl_sta_rx_agg_start(struct iwl_priv *priv, struct ieee80211_sta *sta,
370 int iwl_sta_rx_agg_stop(struct iwl_priv *priv, struct ieee80211_sta *sta,
372 void iwl_sta_modify_sleep_tx_count(struct iwl_priv *priv, int sta_id, int cnt);
373 int iwl_update_bcast_station(struct iwl_priv *priv,
375 int iwl_update_bcast_stations(struct iwl_priv *priv);
393 int iwl_alive_start(struct iwl_priv *priv);
396 void iwl_print_rx_config_cmd(struct iwl_priv *priv,
399 static inline void iwl_print_rx_config_cmd(struct iwl_priv *priv, in iwl_print_rx_config_cmd() argument
407 static inline int iwl_is_ready(struct iwl_priv *priv) in iwl_is_ready() argument
410 return test_bit(STATUS_READY, &priv->status) && in iwl_is_ready()
411 !test_bit(STATUS_EXIT_PENDING, &priv->status); in iwl_is_ready()
414 static inline int iwl_is_alive(struct iwl_priv *priv) in iwl_is_alive() argument
416 return test_bit(STATUS_ALIVE, &priv->status); in iwl_is_alive()
419 static inline int iwl_is_rfkill(struct iwl_priv *priv) in iwl_is_rfkill() argument
421 return test_bit(STATUS_RF_KILL_HW, &priv->status); in iwl_is_rfkill()
424 static inline int iwl_is_ctkill(struct iwl_priv *priv) in iwl_is_ctkill() argument
426 return test_bit(STATUS_CT_KILL, &priv->status); in iwl_is_ctkill()
429 static inline int iwl_is_ready_rf(struct iwl_priv *priv) in iwl_is_ready_rf() argument
431 if (iwl_is_rfkill(priv)) in iwl_is_ready_rf()
434 return iwl_is_ready(priv); in iwl_is_ready_rf()
437 static inline void iwl_dvm_set_pmi(struct iwl_priv *priv, bool state) in iwl_dvm_set_pmi() argument
440 set_bit(STATUS_POWER_PMI, &priv->status); in iwl_dvm_set_pmi()
442 clear_bit(STATUS_POWER_PMI, &priv->status); in iwl_dvm_set_pmi()
443 iwl_trans_set_pmi(priv->trans, state); in iwl_dvm_set_pmi()
447 int iwl_dbgfs_register(struct iwl_priv *priv, struct dentry *dbgfs_dir);
449 static inline int iwl_dbgfs_register(struct iwl_priv *priv, in iwl_dbgfs_register() argument