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);
129 bool iwl_check_for_ct_kill(struct iwl_priv *priv);
131 void iwlagn_lift_passive_no_rx(struct iwl_priv *priv);
135 int iwlagn_mac_setup_register(struct iwl_priv *priv,
137 void iwlagn_mac_unregister(struct iwl_priv *priv);
140 int iwl_dvm_send_cmd(struct iwl_priv *priv, struct iwl_host_cmd *cmd);
141 int iwl_dvm_send_cmd_pdu(struct iwl_priv *priv, u8 id,
145 void iwl_connection_init_rx_config(struct iwl_priv *priv,
147 int iwlagn_set_pan_params(struct iwl_priv *priv);
148 int iwlagn_commit_rxon(struct iwl_priv *priv, struct iwl_rxon_context *ctx);
149 void iwlagn_set_rxon_chain(struct iwl_priv *priv, struct iwl_rxon_context *ctx);
157 void iwl_set_rxon_ht(struct iwl_priv *priv, struct iwl_ht_config *ht_conf);
158 void iwl_set_rxon_channel(struct iwl_priv *priv, struct ieee80211_channel *ch,
160 void iwl_set_flags_for_band(struct iwl_priv *priv,
166 int iwl_send_bt_env(struct iwl_priv *priv, u8 action, u8 type);
167 void iwl_send_prio_tbl(struct iwl_priv *priv);
168 int iwl_init_alive_start(struct iwl_priv *priv);
169 int iwl_run_init_ucode(struct iwl_priv *priv);
170 int iwl_load_ucode_wait_alive(struct iwl_priv *priv,
172 int iwl_send_calib_results(struct iwl_priv *priv);
173 int iwl_calib_set(struct iwl_priv *priv,
175 void iwl_calib_free_results(struct iwl_priv *priv);
176 int iwl_dump_nic_event_log(struct iwl_priv *priv, bool full_log,
181 int iwlagn_send_tx_power(struct iwl_priv *priv);
182 void iwlagn_temperature(struct iwl_priv *priv);
183 int iwlagn_txfifo_flush(struct iwl_priv *priv, u32 scd_q_msk);
184 void iwlagn_dev_txfifo_flush(struct iwl_priv *priv);
185 int iwlagn_send_beacon_cmd(struct iwl_priv *priv);
186 int iwl_send_statistics_request(struct iwl_priv *priv,
190 struct iwl_priv *priv, enum ieee80211_band band) in iwl_get_hw_mode() argument
192 return priv->hw->wiphy->bands[band]; in iwl_get_hw_mode()
196 int iwlagn_send_patterns(struct iwl_priv *priv,
198 int iwlagn_suspend(struct iwl_priv *priv, struct cfg80211_wowlan *wowlan);
203 void iwl_setup_rx_handlers(struct iwl_priv *priv);
204 void iwl_chswitch_done(struct iwl_priv *priv, bool is_success);
208 int iwlagn_tx_skb(struct iwl_priv *priv,
211 int iwlagn_tx_agg_start(struct iwl_priv *priv, struct ieee80211_vif *vif,
213 int iwlagn_tx_agg_oper(struct iwl_priv *priv, struct ieee80211_vif *vif,
215 int iwlagn_tx_agg_stop(struct iwl_priv *priv, struct ieee80211_vif *vif,
217 int iwlagn_tx_agg_flush(struct iwl_priv *priv, struct ieee80211_vif *vif,
219 int iwlagn_rx_reply_compressed_ba(struct iwl_priv *priv,
222 int iwlagn_rx_reply_tx(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb,
248 u8 iwl_toggle_tx_ant(struct iwl_priv *priv, u8 ant_idx, u8 valid);
251 void iwlagn_post_scan(struct iwl_priv *priv);
252 int iwl_force_rf_reset(struct iwl_priv *priv, bool external);
253 void iwl_init_scan_params(struct iwl_priv *priv);
254 int iwl_scan_cancel(struct iwl_priv *priv);
255 void iwl_scan_cancel_timeout(struct iwl_priv *priv, unsigned long ms);
256 void iwl_force_scan_end(struct iwl_priv *priv);
257 void iwl_internal_short_hw_scan(struct iwl_priv *priv);
258 void iwl_setup_rx_scan_handlers(struct iwl_priv *priv);
259 void iwl_setup_scan_deferred_work(struct iwl_priv *priv);
260 void iwl_cancel_scan_deferred_work(struct iwl_priv *priv);
261 int __must_check iwl_scan_initiate(struct iwl_priv *priv,
279 void iwlagn_send_advance_bt_config(struct iwl_priv *priv);
280 int iwlagn_bt_coex_profile_notif(struct iwl_priv *priv,
283 void iwlagn_bt_rx_handler_setup(struct iwl_priv *priv);
284 void iwlagn_bt_setup_deferred_work(struct iwl_priv *priv);
285 void iwlagn_bt_cancel_deferred_work(struct iwl_priv *priv);
286 void iwlagn_bt_coex_rssi_monitor(struct iwl_priv *priv);
287 void iwlagn_bt_adjust_rssi_monitor(struct iwl_priv *priv, bool rssi_ena);
289 static inline bool iwl_advanced_bt_coexist(struct iwl_priv *priv) in iwl_advanced_bt_coexist() argument
291 return priv->lib->bt_params && in iwl_advanced_bt_coexist()
292 priv->lib->bt_params->advanced_bt_coexist; in iwl_advanced_bt_coexist()
305 int iwlagn_manage_ibss_station(struct iwl_priv *priv,
316 void iwl_restore_stations(struct iwl_priv *priv, struct iwl_rxon_context *ctx);
317 void iwl_clear_ucode_stations(struct iwl_priv *priv,
319 void iwl_dealloc_bcast_stations(struct iwl_priv *priv);
320 int iwl_get_free_ucode_key_offset(struct iwl_priv *priv);
321 int iwl_send_add_sta(struct iwl_priv *priv,
323 int iwl_add_station_common(struct iwl_priv *priv, struct iwl_rxon_context *ctx,
326 int iwl_remove_station(struct iwl_priv *priv, const u8 sta_id,
328 void iwl_deactivate_station(struct iwl_priv *priv, const u8 sta_id,
330 u8 iwl_prep_station(struct iwl_priv *priv, struct iwl_rxon_context *ctx,
333 int iwl_send_lq_cmd(struct iwl_priv *priv, struct iwl_rxon_context *ctx,
335 int iwl_add_sta_callback(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb,
337 int iwl_sta_update_ht(struct iwl_priv *priv, struct iwl_rxon_context *ctx,
340 bool iwl_is_ht40_tx_allowed(struct iwl_priv *priv,
352 int iwlagn_alloc_bcast_station(struct iwl_priv *priv,
354 int iwlagn_add_bssid_station(struct iwl_priv *priv, struct iwl_rxon_context *ctx,
356 int iwl_remove_default_wep_key(struct iwl_priv *priv,
359 int iwl_set_default_wep_key(struct iwl_priv *priv,
362 int iwl_restore_default_wep_keys(struct iwl_priv *priv,
364 int iwl_set_dynamic_key(struct iwl_priv *priv, struct iwl_rxon_context *ctx,
367 int iwl_remove_dynamic_key(struct iwl_priv *priv, struct iwl_rxon_context *ctx,
370 void iwl_update_tkip_key(struct iwl_priv *priv,
374 int iwl_sta_tx_modify_enable_tid(struct iwl_priv *priv, int sta_id, int tid);
375 int iwl_sta_rx_agg_start(struct iwl_priv *priv, struct ieee80211_sta *sta,
377 int iwl_sta_rx_agg_stop(struct iwl_priv *priv, struct ieee80211_sta *sta,
379 void iwl_sta_modify_sleep_tx_count(struct iwl_priv *priv, int sta_id, int cnt);
380 int iwl_update_bcast_station(struct iwl_priv *priv,
382 int iwl_update_bcast_stations(struct iwl_priv *priv);
400 int iwl_alive_start(struct iwl_priv *priv);
403 void iwl_print_rx_config_cmd(struct iwl_priv *priv,
406 static inline void iwl_print_rx_config_cmd(struct iwl_priv *priv, in iwl_print_rx_config_cmd() argument
414 static inline int iwl_is_ready(struct iwl_priv *priv) in iwl_is_ready() argument
417 return test_bit(STATUS_READY, &priv->status) && in iwl_is_ready()
418 !test_bit(STATUS_EXIT_PENDING, &priv->status); in iwl_is_ready()
421 static inline int iwl_is_alive(struct iwl_priv *priv) in iwl_is_alive() argument
423 return test_bit(STATUS_ALIVE, &priv->status); in iwl_is_alive()
426 static inline int iwl_is_rfkill(struct iwl_priv *priv) in iwl_is_rfkill() argument
428 return test_bit(STATUS_RF_KILL_HW, &priv->status); in iwl_is_rfkill()
431 static inline int iwl_is_ctkill(struct iwl_priv *priv) in iwl_is_ctkill() argument
433 return test_bit(STATUS_CT_KILL, &priv->status); in iwl_is_ctkill()
436 static inline int iwl_is_ready_rf(struct iwl_priv *priv) in iwl_is_ready_rf() argument
438 if (iwl_is_rfkill(priv)) in iwl_is_ready_rf()
441 return iwl_is_ready(priv); in iwl_is_ready_rf()
444 static inline void iwl_dvm_set_pmi(struct iwl_priv *priv, bool state) in iwl_dvm_set_pmi() argument
447 set_bit(STATUS_POWER_PMI, &priv->status); in iwl_dvm_set_pmi()
449 clear_bit(STATUS_POWER_PMI, &priv->status); in iwl_dvm_set_pmi()
450 iwl_trans_set_pmi(priv->trans, state); in iwl_dvm_set_pmi()
454 int iwl_dbgfs_register(struct iwl_priv *priv, struct dentry *dbgfs_dir);
456 static inline int iwl_dbgfs_register(struct iwl_priv *priv, in iwl_dbgfs_register() argument