Lines Matching refs:iwl_priv
91 int (*rxon_assoc)(struct iwl_priv *priv);
92 int (*commit_rxon)(struct iwl_priv *priv);
93 void (*set_rxon_chain)(struct iwl_priv *priv);
94 int (*set_tx_ant)(struct iwl_priv *priv, u8 valid_tx_ant);
95 void (*send_bt_config)(struct iwl_priv *priv);
101 void (*gain_computation)(struct iwl_priv *priv,
106 void (*chain_noise_reset)(struct iwl_priv *priv);
107 void (*tx_cmd_protection)(struct iwl_priv *priv,
110 int (*calc_rssi)(struct iwl_priv *priv,
112 void (*request_scan)(struct iwl_priv *priv, struct ieee80211_vif *vif);
116 int (*init)(struct iwl_priv *priv);
117 void (*stop)(struct iwl_priv *priv);
118 void (*config)(struct iwl_priv *priv);
119 int (*set_pwr_src)(struct iwl_priv *priv, enum iwl_pwr_src src);
134 void (*temperature)(struct iwl_priv *priv);
135 void (*set_ct_kill)(struct iwl_priv *priv);
136 void (*set_calib_version)(struct iwl_priv *priv);
141 int (*set_hw_params)(struct iwl_priv *priv);
143 void (*txq_update_byte_cnt_tbl)(struct iwl_priv *priv,
146 void (*txq_inval_byte_cnt_tbl)(struct iwl_priv *priv,
148 void (*txq_set_sched)(struct iwl_priv *priv, u32 mask);
149 int (*txq_attach_buf_to_tfd)(struct iwl_priv *priv,
153 void (*txq_free_tfd)(struct iwl_priv *priv,
155 int (*txq_init)(struct iwl_priv *priv,
158 int (*txq_agg_enable)(struct iwl_priv *priv, int txq_id, int tx_fifo,
160 int (*txq_agg_disable)(struct iwl_priv *priv, u16 txq_id, u16 ssn_idx,
163 void (*rx_handler_setup)(struct iwl_priv *priv);
165 void (*setup_deferred_work)(struct iwl_priv *priv);
167 void (*cancel_deferred_work)(struct iwl_priv *priv);
169 void (*init_alive_start)(struct iwl_priv *priv);
171 int (*alive_notify)(struct iwl_priv *priv);
175 int (*load_ucode)(struct iwl_priv *priv);
176 int (*dump_nic_event_log)(struct iwl_priv *priv,
178 void (*dump_nic_error_log)(struct iwl_priv *priv);
179 void (*dump_csr)(struct iwl_priv *priv);
180 int (*dump_fh)(struct iwl_priv *priv, char **buf, bool display);
181 int (*set_channel_switch)(struct iwl_priv *priv,
187 int (*send_tx_power) (struct iwl_priv *priv);
188 void (*update_chain_flags)(struct iwl_priv *priv);
189 void (*post_associate)(struct iwl_priv *priv,
191 void (*config_ap)(struct iwl_priv *priv, struct ieee80211_vif *vif);
200 int (*manage_ibss_station)(struct iwl_priv *priv,
202 int (*update_bcast_station)(struct iwl_priv *priv);
206 bool (*check_plcp_health)(struct iwl_priv *priv,
209 bool (*check_ack_health)(struct iwl_priv *priv,
211 int (*txfifo_flush)(struct iwl_priv *priv, u16 flush_control);
212 void (*dev_txfifo_flush)(struct iwl_priv *priv, u16 flush_control);
218 int (*cmd)(struct iwl_priv *priv, struct iwl_led_cmd *led_cmd);
219 int (*on)(struct iwl_priv *priv);
220 int (*off)(struct iwl_priv *priv);
277 * stored in @iwl_priv, enabling the driver to make runtime changes based
350 void iwl_hw_detect(struct iwl_priv *priv);
351 void iwl_activate_qos(struct iwl_priv *priv);
354 void iwl_set_rxon_hwcrypto(struct iwl_priv *priv, int hw_decrypt);
355 int iwl_check_rxon_cmd(struct iwl_priv *priv);
356 int iwl_full_rxon_required(struct iwl_priv *priv);
357 void iwl_set_rxon_chain(struct iwl_priv *priv);
358 int iwl_set_rxon_channel(struct iwl_priv *priv, struct ieee80211_channel *ch);
359 void iwl_set_flags_for_band(struct iwl_priv *priv,
362 u8 iwl_get_single_channel_number(struct iwl_priv *priv,
364 void iwl_set_rxon_ht(struct iwl_priv *priv, struct iwl_ht_config *ht_conf);
365 u8 iwl_is_ht40_tx_allowed(struct iwl_priv *priv,
367 void iwl_connection_init_rx_config(struct iwl_priv *priv,
369 void iwl_set_rate(struct iwl_priv *priv);
370 int iwl_set_decrypted_flag(struct iwl_priv *priv,
374 void iwl_irq_handle_error(struct iwl_priv *priv);
375 int iwl_set_hw_params(struct iwl_priv *priv);
376 void iwl_post_associate(struct iwl_priv *priv, struct ieee80211_vif *vif);
381 int iwl_commit_rxon(struct iwl_priv *priv);
387 void iwl_config_ap(struct iwl_priv *priv, struct ieee80211_vif *vif);
389 int iwl_alloc_txq_mem(struct iwl_priv *priv);
390 void iwl_free_txq_mem(struct iwl_priv *priv);
391 void iwlcore_tx_cmd_protection(struct iwl_priv *priv,
395 int iwl_alloc_traffic_mem(struct iwl_priv *priv);
396 void iwl_free_traffic_mem(struct iwl_priv *priv);
397 void iwl_reset_traffic_log(struct iwl_priv *priv);
398 void iwl_dbg_log_tx_data_frame(struct iwl_priv *priv,
400 void iwl_dbg_log_rx_data_frame(struct iwl_priv *priv,
404 void iwl_clear_traffic_stats(struct iwl_priv *priv);
405 void iwl_update_stats(struct iwl_priv *priv, bool is_tx, __le16 fc,
408 static inline int iwl_alloc_traffic_mem(struct iwl_priv *priv)
412 static inline void iwl_free_traffic_mem(struct iwl_priv *priv)
415 static inline void iwl_reset_traffic_log(struct iwl_priv *priv)
418 static inline void iwl_dbg_log_tx_data_frame(struct iwl_priv *priv,
422 static inline void iwl_dbg_log_rx_data_frame(struct iwl_priv *priv,
426 static inline void iwl_update_stats(struct iwl_priv *priv, bool is_tx,
446 void iwl_rx_pm_sleep_notif(struct iwl_priv *priv,
448 void iwl_rx_pm_debug_statistics_notif(struct iwl_priv *priv,
450 void iwl_rx_reply_error(struct iwl_priv *priv,
456 void iwl_cmd_queue_free(struct iwl_priv *priv);
457 int iwl_rx_queue_alloc(struct iwl_priv *priv);
458 void iwl_rx_handle(struct iwl_priv *priv);
459 void iwl_rx_queue_update_write_ptr(struct iwl_priv *priv,
462 void iwl_tx_cmd_complete(struct iwl_priv *priv, struct iwl_rx_mem_buffer *rxb);
464 void iwl_rx_spectrum_measure_notif(struct iwl_priv *priv,
466 void iwl_recover_from_statistics(struct iwl_priv *priv,
468 void iwl_chswitch_done(struct iwl_priv *priv, bool is_success);
469 void iwl_rx_csa(struct iwl_priv *priv, struct iwl_rx_mem_buffer *rxb);
476 void iwl_hw_txq_free_tfd(struct iwl_priv *priv, struct iwl_tx_queue *txq);
477 int iwl_hw_txq_attach_buf_to_tfd(struct iwl_priv *priv,
480 int iwl_hw_tx_queue_init(struct iwl_priv *priv,
482 void iwl_txq_update_write_ptr(struct iwl_priv *priv, struct iwl_tx_queue *txq);
483 int iwl_tx_queue_init(struct iwl_priv *priv, struct iwl_tx_queue *txq,
485 void iwl_tx_queue_reset(struct iwl_priv *priv, struct iwl_tx_queue *txq,
487 void iwl_tx_queue_free(struct iwl_priv *priv, int txq_id);
491 int iwl_set_tx_power(struct iwl_priv *priv, s8 tx_power, bool force);
499 u8 iwl_rate_get_lowest_plcp(struct iwl_priv *priv);
501 u8 iwl_toggle_tx_ant(struct iwl_priv *priv, u8 ant_idx, u8 valid);
524 void iwl_init_scan_params(struct iwl_priv *priv);
525 int iwl_scan_cancel(struct iwl_priv *priv);
526 int iwl_scan_cancel_timeout(struct iwl_priv *priv, unsigned long ms);
531 void iwl_internal_short_hw_scan(struct iwl_priv *priv);
532 int iwl_force_reset(struct iwl_priv *priv, int mode, bool external);
533 u16 iwl_fill_probe_req(struct iwl_priv *priv, struct ieee80211_mgmt *frame,
535 void iwl_setup_rx_scan_handlers(struct iwl_priv *priv);
536 u16 iwl_get_active_dwell_time(struct iwl_priv *priv,
539 u16 iwl_get_passive_dwell_time(struct iwl_priv *priv,
545 void iwl_setup_scan_deferred_work(struct iwl_priv *priv);
561 int iwl_send_calib_results(struct iwl_priv *priv);
563 void iwl_calib_free_results(struct iwl_priv *priv);
570 int __must_check iwl_send_cmd_sync(struct iwl_priv *priv,
572 int iwl_send_cmd(struct iwl_priv *priv, struct iwl_host_cmd *cmd);
573 int __must_check iwl_send_cmd_pdu(struct iwl_priv *priv, u8 id,
575 int iwl_send_cmd_pdu_async(struct iwl_priv *priv, u8 id, u16 len,
577 void (*callback)(struct iwl_priv *priv,
581 int iwl_enqueue_hcmd(struct iwl_priv *priv, struct iwl_host_cmd *cmd);
583 int iwl_send_card_state(struct iwl_priv *priv, u32 flags,
591 static inline u16 iwl_pcie_link_ctl(struct iwl_priv *priv)
601 u32 iwl_usecs_to_beacons(struct iwl_priv *priv, u32 usec, u32 beacon_interval);
602 __le32 iwl_add_beacon_time(struct iwl_priv *priv, u32 base,
613 void iwl_dump_nic_error_log(struct iwl_priv *priv);
614 int iwl_dump_nic_event_log(struct iwl_priv *priv,
616 void iwl_dump_csr(struct iwl_priv *priv);
617 int iwl_dump_fh(struct iwl_priv *priv, char **buf, bool display);
619 void iwl_print_rx_config_cmd(struct iwl_priv *priv);
621 static inline void iwl_print_rx_config_cmd(struct iwl_priv *priv)
626 void iwl_clear_isr_stats(struct iwl_priv *priv);
631 int iwlcore_init_geos(struct iwl_priv *priv);
632 void iwlcore_free_geos(struct iwl_priv *priv);
655 static inline int iwl_is_ready(struct iwl_priv *priv)
664 static inline int iwl_is_alive(struct iwl_priv *priv)
669 static inline int iwl_is_init(struct iwl_priv *priv)
674 static inline int iwl_is_rfkill_hw(struct iwl_priv *priv)
679 static inline int iwl_is_rfkill(struct iwl_priv *priv)
684 static inline int iwl_is_ctkill(struct iwl_priv *priv)
689 static inline int iwl_is_ready_rf(struct iwl_priv *priv)
698 extern void iwl_rf_kill_ct_config(struct iwl_priv *priv);
699 extern void iwl_send_bt_config(struct iwl_priv *priv);
700 extern int iwl_send_statistics_request(struct iwl_priv *priv,
702 extern int iwl_send_lq_cmd(struct iwl_priv *priv,
704 void iwl_apm_stop(struct iwl_priv *priv);
705 int iwl_apm_init(struct iwl_priv *priv);
707 void iwl_setup_rxon_timing(struct iwl_priv *priv, struct ieee80211_vif *vif);
708 static inline int iwl_send_rxon_assoc(struct iwl_priv *priv)
712 static inline int iwlcore_commit_rxon(struct iwl_priv *priv)
716 static inline void iwlcore_config_ap(struct iwl_priv *priv,
722 struct iwl_priv *priv, enum ieee80211_band band)