/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | agn.h | 64 void iwl_down(struct iwl_priv *priv); 65 void iwl_cancel_deferred_work(struct iwl_priv *priv); 66 void iwlagn_prepare_restart(struct iwl_priv *priv); 70 bool iwl_check_for_ct_kill(struct iwl_priv *priv); 72 void iwlagn_lift_passive_no_rx(struct iwl_priv *priv); 76 int iwlagn_mac_setup_register(struct iwl_priv *priv, 78 void iwlagn_mac_unregister(struct iwl_priv *priv); 81 int iwl_dvm_send_cmd(struct iwl_priv *priv, struct iwl_host_cmd *cmd); 82 int iwl_dvm_send_cmd_pdu(struct iwl_priv *priv, u8 id, 86 void iwl_connection_init_rx_config(struct iwl_priv *priv, [all …]
|
D | tt.h | 98 u8 iwl_tt_current_power_mode(struct iwl_priv *priv); 99 bool iwl_tt_is_low_power_state(struct iwl_priv *priv); 100 bool iwl_ht_enabled(struct iwl_priv *priv); 101 enum iwl_antenna_ok iwl_tx_ant_restriction(struct iwl_priv *priv); 102 enum iwl_antenna_ok iwl_rx_ant_restriction(struct iwl_priv *priv); 103 void iwl_tt_enter_ct_kill(struct iwl_priv *priv); 104 void iwl_tt_exit_ct_kill(struct iwl_priv *priv); 105 void iwl_tt_handler(struct iwl_priv *priv); 106 void iwl_tt_initialize(struct iwl_priv *priv); 107 void iwl_tt_exit(struct iwl_priv *priv);
|
D | led.h | 11 struct iwl_priv; 20 void iwlagn_led_enable(struct iwl_priv *priv); 21 void iwl_leds_init(struct iwl_priv *priv); 22 void iwl_leds_exit(struct iwl_priv *priv); 24 static inline void iwlagn_led_enable(struct iwl_priv *priv) in iwlagn_led_enable() 27 static inline void iwl_leds_init(struct iwl_priv *priv) in iwl_leds_init() 30 static inline void iwl_leds_exit(struct iwl_priv *priv) in iwl_leds_exit()
|
D | tt.c | 64 bool iwl_tt_is_low_power_state(struct iwl_priv *priv) in iwl_tt_is_low_power_state() 73 u8 iwl_tt_current_power_mode(struct iwl_priv *priv) in iwl_tt_current_power_mode() 80 bool iwl_ht_enabled(struct iwl_priv *priv) in iwl_ht_enabled() 91 static bool iwl_within_ct_kill_margin(struct iwl_priv *priv) in iwl_within_ct_kill_margin() 105 bool iwl_check_for_ct_kill(struct iwl_priv *priv) in iwl_check_for_ct_kill() 116 enum iwl_antenna_ok iwl_tx_ant_restriction(struct iwl_priv *priv) in iwl_tx_ant_restriction() 127 enum iwl_antenna_ok iwl_rx_ant_restriction(struct iwl_priv *priv) in iwl_rx_ant_restriction() 151 struct iwl_priv *priv = from_timer(priv, t, in iwl_tt_check_exit_ct_kill() 181 static void iwl_perform_ct_kill_task(struct iwl_priv *priv, in iwl_perform_ct_kill_task() 201 struct iwl_priv *priv = from_timer(priv, t, in iwl_tt_ready_for_ct_kill() [all …]
|
D | led.c | 50 void iwlagn_led_enable(struct iwl_priv *priv) in iwlagn_led_enable() 66 static inline u8 iwl_blink_compensation(struct iwl_priv *priv, in iwl_blink_compensation() 78 static int iwl_send_led_cmd(struct iwl_priv *priv, struct iwl_led_cmd *led_cmd) in iwl_send_led_cmd() 97 static int iwl_led_cmd(struct iwl_priv *priv, in iwl_led_cmd() 134 struct iwl_priv *priv = container_of(led_cdev, struct iwl_priv, led); in iwl_led_brightness_set() 150 struct iwl_priv *priv = container_of(led_cdev, struct iwl_priv, led); in iwl_led_blink_set() 155 void iwl_leds_init(struct iwl_priv *priv) in iwl_leds_init() 201 void iwl_leds_exit(struct iwl_priv *priv) in iwl_leds_exit()
|
D | devices.c | 37 static void iwl1000_set_ct_threshold(struct iwl_priv *priv) in iwl1000_set_ct_threshold() 45 static void iwl1000_nic_config(struct iwl_priv *priv) in iwl1000_nic_config() 59 static inline u32 iwl_beacon_time_mask_low(struct iwl_priv *priv, in iwl_beacon_time_mask_low() 70 static inline u32 iwl_beacon_time_mask_high(struct iwl_priv *priv, in iwl_beacon_time_mask_high() 82 static u32 iwl_usecs_to_beacons(struct iwl_priv *priv, u32 usec, in iwl_usecs_to_beacons() 104 static __le32 iwl_add_beacon_time(struct iwl_priv *priv, u32 base, in iwl_add_beacon_time() 152 static void iwl1000_hw_set_hw_params(struct iwl_priv *priv) in iwl1000_hw_set_hw_params() 175 static void iwl2000_set_ct_threshold(struct iwl_priv *priv) in iwl2000_set_ct_threshold() 183 static void iwl2000_nic_config(struct iwl_priv *priv) in iwl2000_nic_config() 213 static void iwl2000_hw_set_hw_params(struct iwl_priv *priv) in iwl2000_hw_set_hw_params() [all …]
|
D | scan.c | 36 static int iwl_send_scan_abort(struct iwl_priv *priv) in iwl_send_scan_abort() 74 static void iwl_complete_scan(struct iwl_priv *priv, bool aborted) in iwl_complete_scan() 91 static void iwl_process_scan_complete(struct iwl_priv *priv) in iwl_process_scan_complete() 144 void iwl_force_scan_end(struct iwl_priv *priv) in iwl_force_scan_end() 161 static void iwl_do_scan_abort(struct iwl_priv *priv) in iwl_do_scan_abort() 188 int iwl_scan_cancel(struct iwl_priv *priv) in iwl_scan_cancel() 199 void iwl_scan_cancel_timeout(struct iwl_priv *priv, unsigned long ms) in iwl_scan_cancel_timeout() 232 static void iwl_rx_reply_scan(struct iwl_priv *priv, in iwl_rx_reply_scan() 244 static void iwl_rx_scan_start_notif(struct iwl_priv *priv, in iwl_rx_scan_start_notif() 262 static void iwl_rx_scan_results_notif(struct iwl_priv *priv, in iwl_rx_scan_results_notif() [all …]
|
D | ucode.c | 29 static int iwl_set_Xtal_calib(struct iwl_priv *priv) in iwl_set_Xtal_calib() 40 static int iwl_set_temperature_offset_calib(struct iwl_priv *priv) in iwl_set_temperature_offset_calib() 55 static int iwl_set_temperature_offset_calib_v2(struct iwl_priv *priv) in iwl_set_temperature_offset_calib_v2() 80 static int iwl_send_calib_cfg(struct iwl_priv *priv) in iwl_send_calib_cfg() 99 int iwl_init_alive_start(struct iwl_priv *priv) in iwl_init_alive_start() 136 static int iwl_send_wimax_coex(struct iwl_priv *priv) in iwl_send_wimax_coex() 170 void iwl_send_prio_tbl(struct iwl_priv *priv) in iwl_send_prio_tbl() 182 int iwl_send_bt_env(struct iwl_priv *priv, u8 action, u8 type) in iwl_send_bt_env() 218 static int iwl_alive_notify(struct iwl_priv *priv) in iwl_alive_notify() 265 struct iwl_priv *priv = in iwl_alive_fn() [all …]
|
D | calib.h | 11 void iwl_chain_noise_calibration(struct iwl_priv *priv); 12 void iwl_sensitivity_calibration(struct iwl_priv *priv); 14 void iwl_init_sensitivity(struct iwl_priv *priv); 15 void iwl_reset_run_time_calib(struct iwl_priv *priv);
|
D | sta.c | 17 static int iwl_sta_ucode_activate(struct iwl_priv *priv, u8 sta_id) in iwl_sta_ucode_activate() 43 static void iwl_process_add_sta_resp(struct iwl_priv *priv, in iwl_process_add_sta_resp() 75 void iwl_add_sta_callback(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb) in iwl_add_sta_callback() 82 int iwl_send_add_sta(struct iwl_priv *priv, in iwl_send_add_sta() 126 bool iwl_is_ht40_tx_allowed(struct iwl_priv *priv, in iwl_is_ht40_tx_allowed() 145 static void iwl_sta_calc_ht_flags(struct iwl_priv *priv, in iwl_sta_calc_ht_flags() 193 int iwl_sta_update_ht(struct iwl_priv *priv, struct iwl_rxon_context *ctx, in iwl_sta_update_ht() 219 static void iwl_set_ht_add_station(struct iwl_priv *priv, u8 index, in iwl_set_ht_add_station() 237 u8 iwl_prep_station(struct iwl_priv *priv, struct iwl_rxon_context *ctx, in iwl_prep_station() 324 int iwl_add_station_common(struct iwl_priv *priv, struct iwl_rxon_context *ctx, in iwl_add_station_common() [all …]
|
D | main.c | 142 void iwl_update_chain_flags(struct iwl_priv *priv) in iwl_update_chain_flags() 154 static void iwl_set_beacon_tim(struct iwl_priv *priv, in iwl_set_beacon_tim() 180 int iwlagn_send_beacon_cmd(struct iwl_priv *priv) in iwlagn_send_beacon_cmd() 266 struct iwl_priv *priv = in iwl_bg_beacon_update() 267 container_of(work, struct iwl_priv, beacon_update); in iwl_bg_beacon_update() 305 struct iwl_priv *priv = in iwl_bg_bt_runtime_config() 306 container_of(work, struct iwl_priv, bt_runtime_config); in iwl_bg_bt_runtime_config() 323 struct iwl_priv *priv = in iwl_bg_bt_full_concurrency() 324 container_of(work, struct iwl_priv, bt_full_concurrency); in iwl_bg_bt_full_concurrency() 354 int iwl_send_statistics_request(struct iwl_priv *priv, u8 flags, bool clear) in iwl_send_statistics_request() [all …]
|
D | rx.c | 30 static void iwlagn_rx_reply_error(struct iwl_priv *priv, in iwlagn_rx_reply_error() 44 static void iwlagn_rx_csa(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb) in iwlagn_rx_csa() 72 static void iwlagn_rx_spectrum_measure_notif(struct iwl_priv *priv, in iwlagn_rx_spectrum_measure_notif() 88 static void iwlagn_rx_pm_sleep_notif(struct iwl_priv *priv, in iwlagn_rx_pm_sleep_notif() 99 static void iwlagn_rx_pm_debug_statistics_notif(struct iwl_priv *priv, in iwlagn_rx_pm_debug_statistics_notif() 109 static void iwlagn_rx_beacon_notif(struct iwl_priv *priv, in iwlagn_rx_beacon_notif() 136 static bool iwlagn_good_plcp_health(struct iwl_priv *priv, in iwlagn_good_plcp_health() 168 int iwl_force_rf_reset(struct iwl_priv *priv, bool external) in iwl_force_rf_reset() 207 static void iwlagn_recover_from_statistics(struct iwl_priv *priv, in iwlagn_recover_from_statistics() 235 static void iwlagn_rx_calc_noise(struct iwl_priv *priv) in iwlagn_rx_calc_noise() [all …]
|
D | mac80211.c | 78 int iwlagn_mac_setup_register(struct iwl_priv *priv, in iwlagn_mac_setup_register() 211 void iwlagn_mac_unregister(struct iwl_priv *priv) in iwlagn_mac_unregister() 220 static int __iwl_up(struct iwl_priv *priv) in __iwl_up() 280 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); in iwlagn_mac_start() 307 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); in iwlagn_mac_stop() 331 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); in iwlagn_mac_set_rekey_data() 358 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); in iwlagn_mac_suspend() 399 struct iwl_priv *priv; 408 struct iwl_priv *priv = resume_data->priv; in iwl_resume_status_fn() 422 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); in iwlagn_mac_resume() [all …]
|
D | lib.c | 26 int iwlagn_send_tx_power(struct iwl_priv *priv) in iwlagn_send_tx_power() 65 void iwlagn_temperature(struct iwl_priv *priv) in iwlagn_temperature() 95 int iwlagn_manage_ibss_station(struct iwl_priv *priv, in iwlagn_manage_ibss_station() 115 int iwlagn_txfifo_flush(struct iwl_priv *priv, u32 scd_q_msk) in iwlagn_txfifo_flush() 151 void iwlagn_dev_txfifo_flush(struct iwl_priv *priv) in iwlagn_dev_txfifo_flush() 201 void iwlagn_send_advance_bt_config(struct iwl_priv *priv) in iwlagn_send_advance_bt_config() 308 void iwlagn_bt_adjust_rssi_monitor(struct iwl_priv *priv, bool rssi_ena) in iwlagn_bt_adjust_rssi_monitor() 388 struct iwl_priv *priv = in iwlagn_bt_traffic_change_work() 389 container_of(work, struct iwl_priv, bt_traffic_change_work); in iwlagn_bt_traffic_change_work() 462 void iwlagn_bt_coex_rssi_monitor(struct iwl_priv *priv) in iwlagn_bt_coex_rssi_monitor() [all …]
|
D | power.h | 21 int iwl_power_set_mode(struct iwl_priv *priv, struct iwl_powertable_cmd *cmd, 23 int iwl_power_update_mode(struct iwl_priv *priv, bool force); 24 void iwl_power_initialize(struct iwl_priv *priv);
|
D | rxon.c | 18 void iwl_connection_init_rx_config(struct iwl_priv *priv, in iwl_connection_init_rx_config() 79 static int iwlagn_disable_bss(struct iwl_priv *priv, in iwlagn_disable_bss() 99 static int iwlagn_disable_pan(struct iwl_priv *priv, in iwlagn_disable_pan() 136 static int iwlagn_disconn_pan(struct iwl_priv *priv, in iwlagn_disconn_pan() 152 static void iwlagn_update_qos(struct iwl_priv *priv, in iwlagn_update_qos() 180 static int iwlagn_update_beacon(struct iwl_priv *priv, in iwlagn_update_beacon() 192 static int iwlagn_send_rxon_assoc(struct iwl_priv *priv, in iwlagn_send_rxon_assoc() 272 static int iwl_send_rxon_timing(struct iwl_priv *priv, in iwl_send_rxon_timing() 340 static int iwlagn_rxon_disconn(struct iwl_priv *priv, in iwlagn_rxon_disconn() 382 static int iwl_set_tx_power(struct iwl_priv *priv, s8 tx_power, bool force) in iwl_set_tx_power() [all …]
|
D | dev.h | 248 void iwl_update_chain_flags(struct iwl_priv *priv); 581 void (*set_hw_params)(struct iwl_priv *priv); 582 int (*set_channel_switch)(struct iwl_priv *priv, 584 void (*nic_config)(struct iwl_priv *priv); 585 void (*temperature)(struct iwl_priv *priv); 618 ((struct iwl_priv *) ((_iwl_op_mode)->op_mode_specific)) 621 ((struct iwl_priv *) ((struct iwl_op_mode *) \ 624 struct iwl_priv { struct 658 void (*rx_handlers[REPLY_MAX])(struct iwl_priv *priv, argument 909 static inline int iwl_is_associated(struct iwl_priv *priv, in iwl_is_associated() [all …]
|
D | tx.c | 30 static void iwlagn_tx_cmd_protection(struct iwl_priv *priv, in iwlagn_tx_cmd_protection() 43 static void iwlagn_tx_cmd_build_basic(struct iwl_priv *priv, in iwlagn_tx_cmd_build_basic() 105 static void iwlagn_tx_cmd_build_rate(struct iwl_priv *priv, in iwlagn_tx_cmd_build_rate() 187 static void iwlagn_tx_cmd_build_hwcrypto(struct iwl_priv *priv, in iwlagn_tx_cmd_build_hwcrypto() 258 int iwlagn_tx_skb(struct iwl_priv *priv, in iwlagn_tx_skb() 461 static int iwlagn_alloc_agg_txq(struct iwl_priv *priv, int mq) in iwlagn_alloc_agg_txq() 476 static void iwlagn_dealloc_agg_txq(struct iwl_priv *priv, int q) in iwlagn_dealloc_agg_txq() 482 int iwlagn_tx_agg_stop(struct iwl_priv *priv, struct ieee80211_vif *vif, in iwlagn_tx_agg_stop() 573 int iwlagn_tx_agg_start(struct iwl_priv *priv, struct ieee80211_vif *vif, in iwlagn_tx_agg_start() 632 int iwlagn_tx_agg_flush(struct iwl_priv *priv, struct ieee80211_vif *vif, in iwlagn_tx_agg_flush() [all …]
|
D | debugfs.c | 64 struct iwl_priv *priv = file->private_data; in iwl_dbgfs_sram_read() 145 struct iwl_priv *priv = file->private_data; in iwl_dbgfs_sram_write() 173 struct iwl_priv *priv = file->private_data; in iwl_dbgfs_wowlan_sram_read() 186 struct iwl_priv *priv = file->private_data; in iwl_dbgfs_stations_read() 245 struct iwl_priv *priv = file->private_data; in iwl_dbgfs_nvm_read() 281 struct iwl_priv *priv = file->private_data; in iwl_dbgfs_channels_read() 347 struct iwl_priv *priv = file->private_data; in iwl_dbgfs_status_read() 381 struct iwl_priv *priv = file->private_data; in iwl_dbgfs_rx_handlers_read() 410 struct iwl_priv *priv = file->private_data; in iwl_dbgfs_rx_handlers_write() 432 struct iwl_priv *priv = file->private_data; in iwl_dbgfs_qos_read() [all …]
|
D | power.c | 141 static void iwl_static_sleep_cmd(struct iwl_priv *priv, in iwl_static_sleep_cmd() 243 static void iwl_power_sleep_cam_cmd(struct iwl_priv *priv, in iwl_power_sleep_cam_cmd() 254 static int iwl_set_power(struct iwl_priv *priv, struct iwl_powertable_cmd *cmd) in iwl_set_power() 271 static void iwl_power_build_cmd(struct iwl_priv *priv, in iwl_power_build_cmd() 312 int iwl_power_set_mode(struct iwl_priv *priv, struct iwl_powertable_cmd *cmd, in iwl_power_set_mode() 360 int iwl_power_update_mode(struct iwl_priv *priv, bool force) in iwl_power_update_mode() 369 void iwl_power_initialize(struct iwl_priv *priv) in iwl_power_initialize()
|
D | calib.c | 34 int iwl_send_calib_results(struct iwl_priv *priv) in iwl_send_calib_results() 58 int iwl_calib_set(struct iwl_priv *priv, in iwl_calib_set() 87 void iwl_calib_free_results(struct iwl_priv *priv) in iwl_calib_free_results() 109 static int iwl_sens_energy_cck(struct iwl_priv *priv, in iwl_sens_energy_cck() 310 static int iwl_sens_auto_corr_ofdm(struct iwl_priv *priv, in iwl_sens_auto_corr_ofdm() 374 static void iwl_prepare_legacy_sensitivity_tbl(struct iwl_priv *priv, in iwl_prepare_legacy_sensitivity_tbl() 415 static int iwl_sensitivity_write(struct iwl_priv *priv) in iwl_sensitivity_write() 450 static int iwl_enhance_sensitivity_write(struct iwl_priv *priv) in iwl_enhance_sensitivity_write() 538 void iwl_init_sensitivity(struct iwl_priv *priv) in iwl_init_sensitivity() 595 void iwl_sensitivity_calibration(struct iwl_priv *priv) in iwl_sensitivity_calibration() [all …]
|
D | rs.c | 131 static void rs_rate_scale_perform(struct iwl_priv *priv, 135 static void rs_fill_link_cmd(struct iwl_priv *priv, 305 static void rs_program_fix_rate(struct iwl_priv *priv, in rs_program_fix_rate() 357 static int rs_tl_turn_on_agg_for_tid(struct iwl_priv *priv, in rs_tl_turn_on_agg_for_tid() 392 static void rs_tl_turn_on_agg(struct iwl_priv *priv, u8 tid, in rs_tl_turn_on_agg() 506 static u32 rate_n_flags_from_tbl(struct iwl_priv *priv, in rate_n_flags_from_tbl() 693 static u16 rs_get_adjacent_rate(struct iwl_priv *priv, u8 index, u16 rate_mask, in rs_get_adjacent_rate() 761 struct iwl_priv *priv = lq_sta->drv; in rs_get_lower_rate() 822 static void rs_bt_update_lq(struct iwl_priv *priv, struct iwl_rxon_context *ctx, in rs_bt_update_lq() 856 struct iwl_priv *priv = IWL_OP_MODE_GET_DVM(op_mode); in rs_tx_status() [all …]
|
D | rs.h | 356 struct iwl_priv *drv; 379 void iwl_rs_rate_init(struct iwl_priv *priv, struct ieee80211_sta *sta,
|