/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | fw.c | 75 #include "mvm.h" 91 static int iwl_send_tx_ant_cfg(struct iwl_mvm *mvm, u8 valid_tx_ant) in iwl_send_tx_ant_cfg() argument 97 IWL_DEBUG_FW(mvm, "select valid tx ant: %u\n", valid_tx_ant); in iwl_send_tx_ant_cfg() 98 return iwl_mvm_send_cmd_pdu(mvm, TX_ANT_CONFIGURATION_CMD, 0, in iwl_send_tx_ant_cfg() 102 static int iwl_send_rss_cfg_cmd(struct iwl_mvm *mvm) in iwl_send_rss_cfg_cmd() argument 115 if (mvm->trans->num_rx_queues == 1) in iwl_send_rss_cfg_cmd() 121 1 + (i % (mvm->trans->num_rx_queues - 1)); in iwl_send_rss_cfg_cmd() 124 return iwl_mvm_send_cmd_pdu(mvm, RSS_CONFIG_CMD, 0, sizeof(cmd), &cmd); in iwl_send_rss_cfg_cmd() 127 static int iwl_configure_rxq(struct iwl_mvm *mvm) in iwl_configure_rxq() argument 140 if (mvm in iwl_configure_rxq() 177 iwl_mvm_send_dqa_cmd(struct iwl_mvm *mvm) iwl_mvm_send_dqa_cmd() argument 194 iwl_mvm_mfu_assert_dump_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_mfu_assert_dump_notif() argument 218 struct iwl_mvm *mvm = iwl_alive_fn() local 339 iwl_mvm_load_ucode_wait_alive(struct iwl_mvm *mvm, enum iwl_ucode_type ucode_type) iwl_mvm_load_ucode_wait_alive() argument 463 iwl_run_unified_mvm_ucode(struct iwl_mvm *mvm, bool read_nvm) iwl_run_unified_mvm_ucode() argument 565 iwl_mvm_phy_filter_init(struct iwl_mvm *mvm, struct iwl_phy_specific_cfg *phy_filters) iwl_mvm_phy_filter_init() argument 594 iwl_mvm_phy_filter_init(struct iwl_mvm *mvm, struct iwl_phy_specific_cfg *phy_filters) iwl_mvm_phy_filter_init() argument 600 iwl_send_phy_cfg_cmd(struct iwl_mvm *mvm) iwl_send_phy_cfg_cmd() argument 650 iwl_run_init_mvm_ucode(struct iwl_mvm *mvm, bool read_nvm) iwl_run_init_mvm_ucode() argument 769 iwl_mvm_config_ltr(struct iwl_mvm *mvm) iwl_mvm_config_ltr() argument 783 iwl_mvm_sar_select_profile(struct iwl_mvm *mvm, int prof_a, int prof_b) iwl_mvm_sar_select_profile() argument 830 iwl_mvm_get_sar_geo_profile(struct iwl_mvm *mvm) iwl_mvm_get_sar_geo_profile() argument 879 iwl_mvm_sar_geo_init(struct iwl_mvm *mvm) iwl_mvm_sar_geo_init() argument 937 iwl_mvm_get_ppag_table(struct iwl_mvm *mvm) iwl_mvm_get_ppag_table() argument 1034 iwl_mvm_ppag_send_cmd(struct iwl_mvm *mvm) iwl_mvm_ppag_send_cmd() argument 1092 iwl_mvm_ppag_init(struct iwl_mvm *mvm) iwl_mvm_ppag_init() argument 1106 iwl_mvm_tas_init(struct iwl_mvm *mvm) iwl_mvm_tas_init() argument 1141 iwl_mvm_eval_dsm_indonesia_5g2(struct iwl_mvm *mvm) iwl_mvm_eval_dsm_indonesia_5g2() argument 1165 iwl_mvm_eval_dsm_disable_srd(struct iwl_mvm *mvm) iwl_mvm_eval_dsm_disable_srd() argument 1194 iwl_mvm_lari_cfg(struct iwl_mvm *mvm) iwl_mvm_lari_cfg() argument 1229 iwl_mvm_sar_select_profile(struct iwl_mvm *mvm, int prof_a, int prof_b) iwl_mvm_sar_select_profile() argument 1235 iwl_mvm_get_sar_geo_profile(struct iwl_mvm *mvm) iwl_mvm_get_sar_geo_profile() argument 1240 iwl_mvm_sar_geo_init(struct iwl_mvm *mvm) iwl_mvm_sar_geo_init() argument 1245 iwl_mvm_ppag_send_cmd(struct iwl_mvm *mvm) iwl_mvm_ppag_send_cmd() argument 1250 iwl_mvm_ppag_init(struct iwl_mvm *mvm) iwl_mvm_ppag_init() argument 1255 iwl_mvm_tas_init(struct iwl_mvm *mvm) iwl_mvm_tas_init() argument 1259 iwl_mvm_lari_cfg(struct iwl_mvm *mvm) iwl_mvm_lari_cfg() argument 1264 iwl_mvm_send_recovery_cmd(struct iwl_mvm *mvm, u32 flags) iwl_mvm_send_recovery_cmd() argument 1315 iwl_mvm_sar_init(struct iwl_mvm *mvm) iwl_mvm_sar_init() argument 1341 iwl_mvm_load_rt_fw(struct iwl_mvm *mvm) iwl_mvm_load_rt_fw() argument 1379 iwl_mvm_up(struct iwl_mvm *mvm) iwl_mvm_up() argument 1609 iwl_mvm_load_d3_fw(struct iwl_mvm *mvm) iwl_mvm_load_d3_fw() argument 1664 iwl_mvm_rx_card_state_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_rx_card_state_notif() argument 1678 iwl_mvm_rx_mfuart_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_rx_mfuart_notif() argument [all...] |
H A D | tt.c | 67 #include "mvm.h" 71 void iwl_mvm_enter_ctkill(struct iwl_mvm *mvm) in iwl_mvm_enter_ctkill() argument 73 struct iwl_mvm_tt_mgmt *tt = &mvm->thermal_throttle; in iwl_mvm_enter_ctkill() 76 if (test_bit(IWL_MVM_STATUS_HW_CTKILL, &mvm->status)) in iwl_mvm_enter_ctkill() 79 IWL_ERR(mvm, "Enter CT Kill\n"); in iwl_mvm_enter_ctkill() 80 iwl_mvm_set_hw_ctkill_state(mvm, true); in iwl_mvm_enter_ctkill() 82 if (!iwl_mvm_is_tt_in_fw(mvm)) { in iwl_mvm_enter_ctkill() 91 if (!mvm->temperature_test) in iwl_mvm_enter_ctkill() 96 static void iwl_mvm_exit_ctkill(struct iwl_mvm *mvm) in iwl_mvm_exit_ctkill() argument 98 if (!test_bit(IWL_MVM_STATUS_HW_CTKILL, &mvm in iwl_mvm_exit_ctkill() 105 iwl_mvm_tt_temp_changed(struct iwl_mvm *mvm, u32 temp) iwl_mvm_tt_temp_changed() argument 118 iwl_mvm_temp_notif_parse(struct iwl_mvm *mvm, struct iwl_rx_packet *pkt) iwl_mvm_temp_notif_parse() argument 149 struct iwl_mvm *mvm = iwl_mvm_temp_notif_wait() local 163 iwl_mvm_temp_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_temp_notif() argument 213 iwl_mvm_ct_kill_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_ct_kill_notif() argument 235 iwl_mvm_send_temp_cmd(struct iwl_mvm *mvm, bool response, s32 *temp) iwl_mvm_send_temp_cmd() argument 294 iwl_mvm_get_temp(struct iwl_mvm *mvm, s32 *temp) iwl_mvm_get_temp() argument 336 struct iwl_mvm *mvm; check_exit_ctkill() local 383 struct iwl_mvm *mvm = _data; iwl_mvm_tt_smps_iterator() local 399 iwl_mvm_tt_tx_protection(struct iwl_mvm *mvm, bool enable) iwl_mvm_tt_tx_protection() argument 423 iwl_mvm_tt_tx_backoff(struct iwl_mvm *mvm, u32 backoff) iwl_mvm_tt_tx_backoff() argument 442 iwl_mvm_tt_handler(struct iwl_mvm *mvm) iwl_mvm_tt_handler() argument 566 iwl_mvm_ctdp_command(struct iwl_mvm *mvm, u32 op, u32 state) iwl_mvm_ctdp_command() argument 619 iwl_mvm_send_temp_report_ths_cmd(struct iwl_mvm *mvm) iwl_mvm_send_temp_report_ths_cmd() argument 677 struct iwl_mvm *mvm = (struct iwl_mvm *)device->devdata; iwl_mvm_tzone_get_temp() local 703 struct iwl_mvm *mvm = (struct iwl_mvm *)device->devdata; iwl_mvm_tzone_get_trip_temp() local 727 struct iwl_mvm *mvm = (struct iwl_mvm *)device->devdata; iwl_mvm_tzone_set_trip_temp() local 790 iwl_mvm_thermal_zone_register(struct iwl_mvm *mvm) iwl_mvm_thermal_zone_register() argument 843 struct iwl_mvm *mvm = (struct iwl_mvm *)(cdev->devdata); iwl_mvm_tcool_get_cur_state() local 853 struct iwl_mvm *mvm = (struct iwl_mvm *)(cdev->devdata); iwl_mvm_tcool_set_cur_state() local 883 iwl_mvm_cooling_device_register(struct iwl_mvm *mvm) iwl_mvm_cooling_device_register() argument 906 iwl_mvm_thermal_zone_unregister(struct iwl_mvm *mvm) iwl_mvm_thermal_zone_unregister() argument 918 iwl_mvm_cooling_device_unregister(struct iwl_mvm *mvm) iwl_mvm_cooling_device_unregister() argument 931 iwl_mvm_thermal_initialize(struct iwl_mvm *mvm, u32 min_backoff) iwl_mvm_thermal_initialize() argument 954 iwl_mvm_thermal_exit(struct iwl_mvm *mvm) iwl_mvm_thermal_exit() argument [all...] |
H A D | time-event.c | 70 #include "mvm.h" 81 void iwl_mvm_te_clear_data(struct iwl_mvm *mvm, in iwl_mvm_te_clear_data() argument 84 lockdep_assert_held(&mvm->time_event_lock); in iwl_mvm_te_clear_data() 98 struct iwl_mvm *mvm = container_of(wk, struct iwl_mvm, roc_done_wk); in iwl_mvm_roc_done_wk() local 107 clear_bit(IWL_MVM_STATUS_ROC_RUNNING, &mvm->status); in iwl_mvm_roc_done_wk() 118 mutex_lock(&mvm->mutex); in iwl_mvm_roc_done_wk() 119 if (test_and_clear_bit(IWL_MVM_STATUS_NEED_FLUSH_P2P, &mvm->status)) { in iwl_mvm_roc_done_wk() 129 if (!WARN_ON(!mvm->p2p_device_vif)) { in iwl_mvm_roc_done_wk() 130 mvmvif = iwl_mvm_vif_from_mac80211(mvm->p2p_device_vif); in iwl_mvm_roc_done_wk() 131 iwl_mvm_flush_sta(mvm, in iwl_mvm_roc_done_wk() 157 iwl_mvm_roc_finished(struct iwl_mvm *mvm) iwl_mvm_roc_finished() argument 169 iwl_mvm_csa_noa_start(struct iwl_mvm *mvm) iwl_mvm_csa_noa_start() argument 204 iwl_mvm_te_check_disconnect(struct iwl_mvm *mvm, struct ieee80211_vif *vif, const char *errmsg) iwl_mvm_te_check_disconnect() argument 224 iwl_mvm_te_handle_notify_csa(struct iwl_mvm *mvm, struct iwl_mvm_time_event_data *te_data, struct iwl_time_event_notif *notif) iwl_mvm_te_handle_notify_csa() argument 260 iwl_mvm_te_check_trigger(struct iwl_mvm *mvm, struct iwl_time_event_notif *notif, struct iwl_mvm_time_event_data *te_data) iwl_mvm_te_check_trigger() argument 304 iwl_mvm_te_handle_notif(struct iwl_mvm *mvm, struct iwl_mvm_time_event_data *te_data, struct iwl_time_event_notif *notif) iwl_mvm_te_handle_notif() argument 384 iwl_mvm_aux_roc_te_handle_notif(struct iwl_mvm *mvm, struct iwl_time_event_notif *notif) iwl_mvm_aux_roc_te_handle_notif() argument 433 iwl_mvm_rx_time_event_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_rx_time_event_notif() argument 460 struct iwl_mvm *mvm = iwl_mvm_te_notif() local 492 struct iwl_mvm *mvm = iwl_mvm_time_event_response() local 518 iwl_mvm_time_event_send_add(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mvm_time_event_data *te_data, struct iwl_time_event_cmd *te_cmd) iwl_mvm_time_event_send_add() argument 579 iwl_mvm_protect_session(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 duration, u32 min_duration, u32 max_delay, bool wait_for_notif) iwl_mvm_protect_session() argument 655 iwl_mvm_cancel_session_protection(struct iwl_mvm *mvm, struct iwl_mvm_vif *mvmvif) iwl_mvm_cancel_session_protection() argument 675 __iwl_mvm_remove_time_event(struct iwl_mvm *mvm, struct iwl_mvm_time_event_data *te_data, u32 *uid) __iwl_mvm_remove_time_event() argument 732 iwl_mvm_remove_aux_roc_te(struct iwl_mvm *mvm, struct iwl_mvm_vif *mvmvif, struct iwl_mvm_time_event_data *te_data) iwl_mvm_remove_aux_roc_te() argument 763 iwl_mvm_remove_time_event(struct iwl_mvm *mvm, struct iwl_mvm_vif *mvmvif, struct iwl_mvm_time_event_data *te_data) iwl_mvm_remove_time_event() argument 792 iwl_mvm_stop_session_protection(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_stop_session_protection() argument 815 iwl_mvm_rx_session_protect_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_rx_session_protect_notif() argument 887 iwl_mvm_start_p2p_roc_session_protection(struct iwl_mvm *mvm, struct ieee80211_vif *vif, int duration, enum ieee80211_roc_type type) iwl_mvm_start_p2p_roc_session_protection() argument 926 iwl_mvm_start_p2p_roc(struct iwl_mvm *mvm, struct ieee80211_vif *vif, int duration, enum ieee80211_roc_type type) iwl_mvm_start_p2p_roc() argument 981 iwl_mvm_get_roc_te(struct iwl_mvm *mvm) iwl_mvm_get_roc_te() argument 1012 iwl_mvm_cleanup_roc_te(struct iwl_mvm *mvm) iwl_mvm_cleanup_roc_te() argument 1022 iwl_mvm_stop_roc(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_stop_roc() argument 1062 iwl_mvm_remove_csa_period(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_remove_csa_period() argument 1081 iwl_mvm_schedule_csa_period(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 duration, u32 apply_time) iwl_mvm_schedule_csa_period() argument 1131 struct iwl_mvm *mvm = iwl_mvm_session_prot_notif() local 1154 iwl_mvm_schedule_session_protection(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 duration, u32 min_duration, bool wait_for_notif) iwl_mvm_schedule_session_protection() argument [all...] |
H A D | utils.c | 68 #include "mvm.h" 76 int iwl_mvm_send_cmd(struct iwl_mvm *mvm, struct iwl_host_cmd *cmd) in iwl_mvm_send_cmd() argument 81 if (WARN_ON(mvm->d3_test_active)) in iwl_mvm_send_cmd() 91 lockdep_assert_held(&mvm->mutex); in iwl_mvm_send_cmd() 93 ret = iwl_trans_send_cmd(mvm->trans, cmd); in iwl_mvm_send_cmd() 109 int iwl_mvm_send_cmd_pdu(struct iwl_mvm *mvm, u32 id, in iwl_mvm_send_cmd_pdu() argument 119 return iwl_mvm_send_cmd(mvm, &cmd); in iwl_mvm_send_cmd_pdu() 125 int iwl_mvm_send_cmd_status(struct iwl_mvm *mvm, struct iwl_host_cmd *cmd, in iwl_mvm_send_cmd_status() argument 132 lockdep_assert_held(&mvm->mutex); in iwl_mvm_send_cmd_status() 135 if (WARN_ON(mvm in iwl_mvm_send_cmd_status() 178 iwl_mvm_send_cmd_pdu_status(struct iwl_mvm *mvm, u32 id, u16 len, const void *data, u32 *status) iwl_mvm_send_cmd_pdu_status() argument 246 iwl_mvm_rx_fw_error(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_rx_fw_error() argument 278 iwl_mvm_next_antenna(struct iwl_mvm *mvm, u8 valid, u8 last_idx) iwl_mvm_next_antenna() argument 422 iwl_mvm_dump_umac_error_log(struct iwl_mvm *mvm) iwl_mvm_dump_umac_error_log() argument 461 iwl_mvm_dump_lmac_error_log(struct iwl_mvm *mvm, u8 lmac_num) iwl_mvm_dump_lmac_error_log() argument 551 iwl_mvm_dump_iml_error_log(struct iwl_mvm *mvm) iwl_mvm_dump_iml_error_log() argument 568 iwl_mvm_dump_nic_error_log(struct iwl_mvm *mvm) iwl_mvm_dump_nic_error_log() argument 589 iwl_mvm_reconfig_scd(struct iwl_mvm *mvm, int queue, int fifo, int sta_id, int tid, int frame_limit, u16 ssn) iwl_mvm_reconfig_scd() argument 631 iwl_mvm_send_lq_cmd(struct iwl_mvm *mvm, struct iwl_lq_cmd *lq) iwl_mvm_send_lq_cmd() argument 657 iwl_mvm_update_smps(struct iwl_mvm *mvm, struct ieee80211_vif *vif, enum iwl_mvm_smps_type_request req_type, enum ieee80211_smps_mode smps_request) iwl_mvm_update_smps() argument 690 iwl_mvm_request_statistics(struct iwl_mvm *mvm, bool clear) iwl_mvm_request_statistics() argument 716 iwl_mvm_accu_radio_stats(struct iwl_mvm *mvm) iwl_mvm_accu_radio_stats() argument 738 iwl_mvm_rx_diversity_allowed(struct iwl_mvm *mvm) iwl_mvm_rx_diversity_allowed() argument 760 iwl_mvm_send_low_latency_cmd(struct iwl_mvm *mvm, bool low_latency, u16 mac_id) iwl_mvm_send_low_latency_cmd() argument 783 iwl_mvm_update_low_latency(struct iwl_mvm *mvm, struct ieee80211_vif *vif, bool low_latency, enum iwl_mvm_low_latency_cause cause) iwl_mvm_update_low_latency() argument 834 iwl_mvm_low_latency(struct iwl_mvm *mvm) iwl_mvm_low_latency() argument 845 iwl_mvm_low_latency_band(struct iwl_mvm *mvm, enum nl80211_band band) iwl_mvm_low_latency_band() argument 877 iwl_mvm_get_bss_vif(struct iwl_mvm *mvm) iwl_mvm_get_bss_vif() argument 909 iwl_mvm_is_vif_assoc(struct iwl_mvm *mvm) iwl_mvm_is_vif_assoc() argument 922 iwl_mvm_get_wd_timeout(struct iwl_mvm *mvm, struct ieee80211_vif *vif, bool tdls, bool cmd_q) iwl_mvm_get_wd_timeout() argument 977 iwl_mvm_connection_loss(struct iwl_mvm *mvm, struct ieee80211_vif *vif, const char *errmsg) iwl_mvm_connection_loss() argument 1000 iwl_mvm_event_frame_timeout_callback(struct iwl_mvm *mvm, struct ieee80211_vif *vif, const struct ieee80211_sta *sta, u16 tid) iwl_mvm_event_frame_timeout_callback() argument 1032 iwl_mvm_tcm_load(struct iwl_mvm *mvm, u32 airtime, unsigned long elapsed) iwl_mvm_tcm_load() argument 1045 struct iwl_mvm *mvm; global() member 1052 struct iwl_mvm *mvm = data->mvm; iwl_mvm_tcm_iter() local 1078 iwl_mvm_tcm_results(struct iwl_mvm *mvm) iwl_mvm_tcm_results() argument 1099 struct iwl_mvm *mvm; iwl_mvm_tcm_uapsd_nonagg_detected_wk() local 1122 iwl_mvm_uapsd_agg_disconnect(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_uapsd_agg_disconnect() argument 1148 iwl_mvm_check_uapsd_agg_expected_tpt(struct iwl_mvm *mvm, unsigned int elapsed, int mac) iwl_mvm_check_uapsd_agg_expected_tpt() argument 1203 iwl_mvm_calc_tcm_stats(struct iwl_mvm *mvm, unsigned long ts, bool handle_uapsd) iwl_mvm_calc_tcm_stats() argument 1308 iwl_mvm_recalc_tcm(struct iwl_mvm *mvm) iwl_mvm_recalc_tcm() argument 1350 struct iwl_mvm *mvm = container_of(delayed_work, struct iwl_mvm, iwl_mvm_tcm_work() local 1356 iwl_mvm_pause_tcm(struct iwl_mvm *mvm, bool with_cancel) iwl_mvm_pause_tcm() argument 1365 iwl_mvm_resume_tcm(struct iwl_mvm *mvm) iwl_mvm_resume_tcm() argument 1400 iwl_mvm_tcm_add_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_tcm_add_vif() argument 1408 iwl_mvm_tcm_rm_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_tcm_rm_vif() argument 1415 iwl_mvm_get_systime(struct iwl_mvm *mvm) iwl_mvm_get_systime() argument 1426 iwl_mvm_get_sync_time(struct iwl_mvm *mvm, u32 *gp2, u64 *boottime) iwl_mvm_get_sync_time() argument [all...] |
H A D | ops.c | 73 #include "mvm.h" 135 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); in iwl_mvm_nic_config() local 136 struct iwl_trans_debug *dbg = &mvm->trans->dbg; in iwl_mvm_nic_config() 139 u32 phy_config = iwl_mvm_get_phy_config(mvm); in iwl_mvm_nic_config() 149 reg_val |= CSR_HW_REV_STEP(mvm->trans->hw_rev) << in iwl_mvm_nic_config() 151 reg_val |= CSR_HW_REV_DASH(mvm->trans->hw_rev) << in iwl_mvm_nic_config() 170 if (mvm->trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_8000) in iwl_mvm_nic_config() 173 if (iwl_fw_dbg_is_d3_debug_enabled(&mvm->fwrt) || in iwl_mvm_nic_config() 174 (iwl_trans_dbg_ini_valid(mvm->trans) && in iwl_mvm_nic_config() 179 iwl_trans_set_bits_mask(mvm in iwl_mvm_nic_config() 521 iwl_mvm_min_backoff(struct iwl_mvm *mvm) iwl_mvm_min_backoff() argument 543 struct iwl_mvm *mvm = iwl_mvm_tx_unblock_dwork() local 566 struct iwl_mvm *mvm = ctx; iwl_mvm_fwrt_dump_start() local 575 struct iwl_mvm *mvm = ctx; iwl_mvm_fwrt_dump_end() local 587 struct iwl_mvm *mvm = (struct iwl_mvm *)ctx; iwl_mvm_fwrt_send_hcmd() local 616 struct iwl_mvm *mvm; iwl_op_mode_mvm_start() local 907 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); iwl_op_mode_mvm_stop() local 947 iwl_mvm_async_handlers_purge(struct iwl_mvm *mvm) iwl_mvm_async_handlers_purge() argument 962 struct iwl_mvm *mvm = iwl_mvm_async_handlers_wk() local 989 iwl_mvm_rx_check_trigger(struct iwl_mvm *mvm, struct iwl_rx_packet *pkt) iwl_mvm_rx_check_trigger() argument 1019 iwl_mvm_rx_common(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb, struct iwl_rx_packet *pkt) iwl_mvm_rx_common() argument 1072 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); iwl_mvm_rx() local 1088 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); iwl_mvm_rx_mq() local 1109 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); iwl_mvm_async_cb() local 1118 iwl_mvm_is_static_queue(struct iwl_mvm *mvm, int queue) iwl_mvm_is_static_queue() argument 1127 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); iwl_mvm_queue_state_change() local 1198 iwl_mvm_set_rfkill_state(struct iwl_mvm *mvm) iwl_mvm_set_rfkill_state() argument 1208 iwl_mvm_set_hw_ctkill_state(struct iwl_mvm *mvm, bool state) iwl_mvm_set_hw_ctkill_state() argument 1220 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); iwl_mvm_set_hw_rfkill_state() local 1251 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); iwl_mvm_free_skb() local 1276 iwl_mvm_nic_restart(struct iwl_mvm *mvm, bool fw_error) iwl_mvm_nic_restart() argument 1359 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); iwl_mvm_nic_error() local 1369 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); iwl_mvm_cmd_queue_full() local 1399 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); iwl_mvm_rx_mq_rss() local [all...] |
H A D | nvm.c | 68 #include "mvm.h" 91 static int iwl_nvm_write_chunk(struct iwl_mvm *mvm, u16 section, in iwl_nvm_write_chunk() argument 112 ret = iwl_mvm_send_cmd(mvm, &cmd); in iwl_nvm_write_chunk() 120 IWL_ERR(mvm, in iwl_nvm_write_chunk() 130 static int iwl_nvm_read_chunk(struct iwl_mvm *mvm, u16 section, in iwl_nvm_read_chunk() argument 151 ret = iwl_mvm_send_cmd(mvm, &cmd); in iwl_nvm_read_chunk() 174 IWL_DEBUG_EEPROM(mvm->trans->dev, in iwl_nvm_read_chunk() 179 IWL_DEBUG_EEPROM(mvm->trans->dev, in iwl_nvm_read_chunk() 181 ret, mvm->trans->name); in iwl_nvm_read_chunk() 188 IWL_ERR(mvm, "NV in iwl_nvm_read_chunk() 203 iwl_nvm_write_section(struct iwl_mvm *mvm, u16 section, const u8 *data, u16 length) iwl_nvm_write_section() argument 237 iwl_nvm_read_section(struct iwl_mvm *mvm, u16 section, u8 *data, u32 size_read) iwl_nvm_read_section() argument 275 iwl_parse_nvm_sections(struct iwl_mvm *mvm) iwl_parse_nvm_sections() argument 336 iwl_mvm_load_nvm_to_nic(struct iwl_mvm *mvm) iwl_mvm_load_nvm_to_nic() argument 356 iwl_nvm_init(struct iwl_mvm *mvm) iwl_nvm_init() argument 465 iwl_mvm_update_mcc(struct iwl_mvm *mvm, const char *alpha2, enum iwl_mcc_source src_id) iwl_mvm_update_mcc() argument 564 iwl_mvm_init_mcc(struct iwl_mvm *mvm) iwl_mvm_init_mcc() argument 620 iwl_mvm_rx_chub_update_mcc(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_rx_chub_update_mcc() argument [all...] |
H A D | mac80211.c | 77 #include "mvm.h" 218 static void iwl_mvm_reset_phy_ctxts(struct iwl_mvm *mvm) in iwl_mvm_reset_phy_ctxts() argument 222 memset(mvm->phy_ctxts, 0, sizeof(mvm->phy_ctxts)); in iwl_mvm_reset_phy_ctxts() 224 mvm->phy_ctxts[i].id = i; in iwl_mvm_reset_phy_ctxts() 225 mvm->phy_ctxts[i].ref = 0; in iwl_mvm_reset_phy_ctxts() 236 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); in iwl_mvm_get_regdomain() local 240 IWL_DEBUG_LAR(mvm, "Getting regdomain data for %s from FW\n", alpha2); in iwl_mvm_get_regdomain() 242 lockdep_assert_held(&mvm->mutex); in iwl_mvm_get_regdomain() 244 resp = iwl_mvm_update_mcc(mvm, alpha in iwl_mvm_get_regdomain() 285 iwl_mvm_update_changed_regdom(struct iwl_mvm *mvm) iwl_mvm_update_changed_regdom() argument 303 iwl_mvm_get_current_regdomain(struct iwl_mvm *mvm, bool *changed) iwl_mvm_get_current_regdomain() argument 312 iwl_mvm_init_fw_regd(struct iwl_mvm *mvm) iwl_mvm_init_fw_regd() argument 367 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_op_get_antenna() local 373 iwl_mvm_mac_setup_register(struct iwl_mvm *mvm) iwl_mvm_mac_setup_register() argument 778 iwl_mvm_tx_skb(struct iwl_mvm *mvm, struct sk_buff *skb, struct ieee80211_sta *sta) iwl_mvm_tx_skb() argument 796 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_tx() local 843 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_itxq_xmit() local 894 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_wake_tx_queue() local 943 iwl_mvm_ampdu_check_trigger(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u16 tid, u16 rx_ba_ssn, enum ieee80211_ampdu_mlme_action action) iwl_mvm_ampdu_check_trigger() argument 991 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_ampdu_action() local 1073 struct iwl_mvm *mvm = data; iwl_mvm_cleanup_iterator() local 1088 iwl_mvm_restart_cleanup(struct iwl_mvm *mvm) iwl_mvm_restart_cleanup() argument 1128 __iwl_mvm_mac_start(struct iwl_mvm *mvm) __iwl_mvm_mac_start() argument 1164 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_start() local 1195 iwl_mvm_restart_complete(struct iwl_mvm *mvm) iwl_mvm_restart_complete() argument 1223 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_reconfig_complete() local 1234 __iwl_mvm_mac_stop(struct iwl_mvm *mvm) __iwl_mvm_mac_stop() argument 1285 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_stop() local 1320 iwl_mvm_get_free_phy_ctxt(struct iwl_mvm *mvm) iwl_mvm_get_free_phy_ctxt() argument 1334 iwl_mvm_set_tx_power(struct iwl_mvm *mvm, struct ieee80211_vif *vif, s16 tx_power) iwl_mvm_set_tx_power() argument 1372 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_post_channel_switch() local 1422 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_abort_channel_switch() local 1448 struct iwl_mvm *mvm; iwl_mvm_channel_switch_disconnect_wk() local 1463 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_add_interface() local 1608 iwl_mvm_prepare_mac_removal(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_prepare_mac_removal() argument 1624 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_remove_interface() local 1699 struct iwl_mvm *mvm; global() member 1707 struct iwl_mvm *mvm = data->mvm; iwl_mvm_mc_iface_iterator() local 1736 iwl_mvm_recalc_multicast(struct iwl_mvm *mvm) iwl_mvm_recalc_multicast() argument 1772 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_prepare_multicast() local 1811 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_configure_filter() local 1840 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_config_iface_filter() local 1858 struct iwl_mvm *mvm; global() member 1903 struct iwl_mvm *mvm = data->mvm; iwl_mvm_bcast_filter_iterator() local 1954 iwl_mvm_bcast_filter_build_cmd(struct iwl_mvm *mvm, struct iwl_bcast_filter_cmd *cmd) iwl_mvm_bcast_filter_build_cmd() argument 1992 iwl_mvm_configure_bcast_filter(struct iwl_mvm *mvm) iwl_mvm_configure_bcast_filter() argument 2006 iwl_mvm_configure_bcast_filter(struct iwl_mvm *mvm) iwl_mvm_configure_bcast_filter() argument 2012 iwl_mvm_update_mu_groups(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_update_mu_groups() argument 2045 iwl_mvm_mu_mimo_grp_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_mu_mimo_grp_notif() argument 2083 iwl_mvm_cfg_he_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u8 sta_id) iwl_mvm_cfg_he_sta() argument 2311 iwl_mvm_bss_info_changed_station(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u32 changes) iwl_mvm_bss_info_changed_station() argument 2528 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_start_ap_ibss() local 2655 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_stop_ap_ibss() local 2717 iwl_mvm_bss_info_changed_ap_ibss(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u32 changes) iwl_mvm_bss_info_changed_ap_ibss() argument 2759 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_bss_info_changed() local 2790 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_hw_scan() local 2807 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_cancel_hw_scan() local 2831 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_allow_buffered_frames() local 2846 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_release_buffered_frames() local 2858 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); __iwl_mvm_mac_sta_notify() local 2921 iwl_mvm_sta_pm_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_sta_pm_notif() argument 2978 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_sta_pre_rcu_remove() local 2997 iwl_mvm_check_uapsd(struct iwl_mvm *mvm, struct ieee80211_vif *vif, const u8 *bssid) iwl_mvm_check_uapsd() argument 3035 iwl_mvm_tdls_check_trigger(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u8 *peer_addr, enum nl80211_tdls_operation action) iwl_mvm_tdls_check_trigger() argument 3116 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_sta_state() local 3303 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_set_rts_threshold() local 3314 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_sta_rc_update() local 3332 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_conf_tx() local 3356 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_mgd_prepare_tx() local 3388 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_sched_scan_start() local 3409 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_sched_scan_stop() local 3441 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); __iwl_mvm_mac_set_key() local 3645 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_set_key() local 3661 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_update_tkip_key() local 3673 struct iwl_mvm *mvm = iwl_mvm_rx_aux_roc() local 3709 iwl_mvm_send_aux_roc_cmd(struct iwl_mvm *mvm, struct ieee80211_channel *channel, struct ieee80211_vif *vif, int duration) iwl_mvm_send_aux_roc_cmd() argument 3836 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_roc() local 3989 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_cancel_roc() local 4016 iwl_mvm_is_ftm_responder_chanctx(struct iwl_mvm *mvm, struct ieee80211_chanctx_conf *ctx) iwl_mvm_is_ftm_responder_chanctx() argument 4031 __iwl_mvm_add_chanctx(struct iwl_mvm *mvm, struct ieee80211_chanctx_conf *ctx) __iwl_mvm_add_chanctx() argument 4067 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_add_chanctx() local 4077 __iwl_mvm_remove_chanctx(struct iwl_mvm *mvm, struct ieee80211_chanctx_conf *ctx) __iwl_mvm_remove_chanctx() argument 4091 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_remove_chanctx() local 4102 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_change_chanctx() local 4139 __iwl_mvm_assign_vif_chanctx(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_chanctx_conf *ctx, bool switching_chanctx) __iwl_mvm_assign_vif_chanctx() argument 4244 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_assign_vif_chanctx() local 4254 __iwl_mvm_unassign_vif_chanctx(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_chanctx_conf *ctx, bool switching_chanctx) __iwl_mvm_unassign_vif_chanctx() argument 4318 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_unassign_vif_chanctx() local 4326 iwl_mvm_switch_vif_chanctx_swap(struct iwl_mvm *mvm, struct ieee80211_vif_chanctx_switch *vifs) iwl_mvm_switch_vif_chanctx_swap() argument 4383 iwl_mvm_switch_vif_chanctx_reassign(struct iwl_mvm *mvm, struct ieee80211_vif_chanctx_switch *vifs) iwl_mvm_switch_vif_chanctx_reassign() argument 4425 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_switch_vif_chanctx() local 4449 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_tx_last_beacon() local 4458 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_set_tim() local 4476 __iwl_mvm_mac_testmode_cmd(struct iwl_mvm *mvm, struct ieee80211_vif *vif, void *data, int len) __iwl_mvm_mac_testmode_cmd() argument 4526 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_testmode_cmd() local 4551 iwl_mvm_schedule_client_csa(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_channel_switch *chsw) iwl_mvm_schedule_client_csa() argument 4577 iwl_mvm_old_pre_chan_sw_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_channel_switch *chsw) iwl_mvm_old_pre_chan_sw_sta() argument 4618 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_pre_channel_switch() local 4711 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_channel_switch_rx_beacon() local 4745 iwl_mvm_flush_no_vif(struct iwl_mvm *mvm, u32 queues, bool drop) iwl_mvm_flush_no_vif() argument 4782 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_flush() local 4839 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_get_survey() local 5010 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_sta_statistics() local 5053 iwl_mvm_event_mlme_callback(struct iwl_mvm *mvm, struct ieee80211_vif *vif, const struct ieee80211_event *event) iwl_mvm_event_mlme_callback() argument 5100 iwl_mvm_event_bar_rx_callback(struct iwl_mvm *mvm, struct ieee80211_vif *vif, const struct ieee80211_event *event) iwl_mvm_event_bar_rx_callback() argument 5127 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_event_callback() local 5145 iwl_mvm_sync_rx_queues_internal(struct iwl_mvm *mvm, struct iwl_mvm_internal_rxq_notif *notif, u32 size) iwl_mvm_sync_rx_queues_internal() argument 5186 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_sync_rx_queues() local 5202 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_get_ftm_responder_stats() local 5230 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_start_pmsr() local 5244 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_abort_pmsr() local 5265 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_can_aggregate() local [all...] |
H A D | tdls.c | 64 #include "mvm.h" 72 void iwl_mvm_teardown_tdls_peers(struct iwl_mvm *mvm) in iwl_mvm_teardown_tdls_peers() argument 78 lockdep_assert_held(&mvm->mutex); in iwl_mvm_teardown_tdls_peers() 80 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) { in iwl_mvm_teardown_tdls_peers() 81 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i], in iwl_mvm_teardown_tdls_peers() 82 lockdep_is_held(&mvm->mutex)); in iwl_mvm_teardown_tdls_peers() 94 int iwl_mvm_tdls_sta_count(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_tdls_sta_count() argument 101 lockdep_assert_held(&mvm->mutex); in iwl_mvm_tdls_sta_count() 103 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) { in iwl_mvm_tdls_sta_count() 104 sta = rcu_dereference_protected(mvm in iwl_mvm_tdls_sta_count() 121 iwl_mvm_tdls_config(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_tdls_config() argument 179 iwl_mvm_recalc_tdls_state(struct iwl_mvm *mvm, struct ieee80211_vif *vif, bool sta_added) iwl_mvm_recalc_tdls_state() argument 205 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_mgd_protect_tdls_discover() local 239 iwl_mvm_tdls_update_cs_state(struct iwl_mvm *mvm, enum iwl_mvm_tdls_cs_state state) iwl_mvm_tdls_update_cs_state() argument 258 iwl_mvm_rx_tdls_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_rx_tdls_notif() argument 300 iwl_mvm_tdls_check_action(struct iwl_mvm *mvm, enum iwl_tdls_channel_switch_type type, const u8 *peer, bool peer_initiator, u32 timestamp) iwl_mvm_tdls_check_action() argument 383 iwl_mvm_tdls_config_channel_switch(struct iwl_mvm *mvm, struct ieee80211_vif *vif, enum iwl_tdls_channel_switch_type type, const u8 *peer, bool peer_initiator, u8 oper_class, struct cfg80211_chan_def *chandef, u32 timestamp, u16 switch_time, u16 switch_timeout, struct sk_buff *skb, u32 ch_sw_tm_ie) iwl_mvm_tdls_config_channel_switch() argument 510 struct iwl_mvm *mvm; iwl_mvm_tdls_ch_switch_work() local 562 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_tdls_channel_switch() local 624 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_tdls_cancel_channel_switch() local 677 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_tdls_recv_channel_switch() local [all...] |
H A D | sta.c | 64 #include "mvm.h" 73 static inline int iwl_mvm_add_sta_cmd_size(struct iwl_mvm *mvm) in iwl_mvm_add_sta_cmd_size() argument 75 if (iwl_mvm_has_new_rx_api(mvm) || in iwl_mvm_add_sta_cmd_size() 76 fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_STA_TYPE)) in iwl_mvm_add_sta_cmd_size() 82 static int iwl_mvm_find_free_sta_id(struct iwl_mvm *mvm, in iwl_mvm_find_free_sta_id() argument 89 WARN_ON_ONCE(test_bit(IWL_MVM_STATUS_IN_HW_RESTART, &mvm->status)); in iwl_mvm_find_free_sta_id() 91 lockdep_assert_held(&mvm->mutex); in iwl_mvm_find_free_sta_id() 97 /* Don't take rcu_read_lock() since we are protected by mvm->mutex */ in iwl_mvm_find_free_sta_id() 98 for (sta_id = 0; sta_id < mvm->fw->ucode_capa.num_stations; sta_id++) { in iwl_mvm_find_free_sta_id() 102 if (!rcu_dereference_protected(mvm in iwl_mvm_find_free_sta_id() 110 iwl_mvm_sta_send_to_fw(struct iwl_mvm *mvm, struct ieee80211_sta *sta, bool update, unsigned int flags) iwl_mvm_sta_send_to_fw() argument 316 iwl_mvm_invalidate_sta_queue(struct iwl_mvm *mvm, int queue, unsigned long disable_agg_tids, bool remove_queue) iwl_mvm_invalidate_sta_queue() argument 364 iwl_mvm_disable_txq(struct iwl_mvm *mvm, struct ieee80211_sta *sta, u16 *queueptr, u8 tid, u8 flags) iwl_mvm_disable_txq() argument 431 iwl_mvm_get_queue_agg_tids(struct iwl_mvm *mvm, int queue) iwl_mvm_get_queue_agg_tids() argument 471 iwl_mvm_remove_sta_queue_marking(struct iwl_mvm *mvm, int queue) iwl_mvm_remove_sta_queue_marking() argument 530 iwl_mvm_free_inactive_queue(struct iwl_mvm *mvm, int queue, struct ieee80211_sta *old_sta, u8 new_sta_id) iwl_mvm_free_inactive_queue() argument 577 iwl_mvm_get_shared_queue(struct iwl_mvm *mvm, unsigned long tfd_queue_mask, u8 ac) iwl_mvm_get_shared_queue() argument 651 iwl_mvm_redirect_queue(struct iwl_mvm *mvm, int queue, int tid, int ac, int ssn, unsigned int wdg_timeout, bool force, struct iwl_mvm_txq *txq) iwl_mvm_redirect_queue() argument 737 iwl_mvm_find_free_queue(struct iwl_mvm *mvm, u8 sta_id, u8 minq, u8 maxq) iwl_mvm_find_free_queue() argument 762 iwl_mvm_tvqm_enable_txq(struct iwl_mvm *mvm, u8 sta_id, u8 tid, unsigned int timeout) iwl_mvm_tvqm_enable_txq() argument 797 iwl_mvm_sta_alloc_queue_tvqm(struct iwl_mvm *mvm, struct ieee80211_sta *sta, u8 ac, int tid) iwl_mvm_sta_alloc_queue_tvqm() argument 830 iwl_mvm_update_txq_mapping(struct iwl_mvm *mvm, struct ieee80211_sta *sta, int queue, u8 sta_id, u8 tid) iwl_mvm_update_txq_mapping() argument 874 iwl_mvm_enable_txq(struct iwl_mvm *mvm, struct ieee80211_sta *sta, int queue, u16 ssn, const struct iwl_trans_txq_scd_cfg *cfg, unsigned int wdg_timeout) iwl_mvm_enable_txq() argument 909 iwl_mvm_change_queue_tid(struct iwl_mvm *mvm, int queue) iwl_mvm_change_queue_tid() argument 946 iwl_mvm_unshare_queue(struct iwl_mvm *mvm, int queue) iwl_mvm_unshare_queue() argument 1032 iwl_mvm_remove_inactive_tids(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, int queue, unsigned long tid_bitmap, unsigned long *unshare_queues, unsigned long *changetid_queues) iwl_mvm_remove_inactive_tids() argument 1124 iwl_mvm_inactivity_check(struct iwl_mvm *mvm, u8 alloc_for_sta) iwl_mvm_inactivity_check() argument 1223 iwl_mvm_sta_alloc_queue(struct iwl_mvm *mvm, struct ieee80211_sta *sta, u8 ac, int tid) iwl_mvm_sta_alloc_queue() argument 1391 iwl_mvm_sta_ensure_queue(struct iwl_mvm *mvm, struct ieee80211_txq *txq) iwl_mvm_sta_ensure_queue() argument 1421 struct iwl_mvm *mvm = container_of(wk, struct iwl_mvm, iwl_mvm_add_new_dqa_stream_wk() local 1462 iwl_mvm_reserve_sta_stream(struct iwl_mvm *mvm, struct ieee80211_sta *sta, enum nl80211_iftype vif_type) iwl_mvm_reserve_sta_stream() argument 1511 iwl_mvm_realloc_queues_after_restart(struct iwl_mvm *mvm, struct ieee80211_sta *sta) iwl_mvm_realloc_queues_after_restart() argument 1579 iwl_mvm_add_int_sta_common(struct iwl_mvm *mvm, struct iwl_mvm_int_sta *sta, const u8 *addr, u16 mac_id, u16 color) iwl_mvm_add_int_sta_common() argument 1630 iwl_mvm_add_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) iwl_mvm_add_sta() argument 1779 iwl_mvm_drain_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, bool drain) iwl_mvm_drain_sta() argument 1821 iwl_mvm_rm_sta_common(struct iwl_mvm *mvm, u8 sta_id) iwl_mvm_rm_sta_common() argument 1848 iwl_mvm_disable_sta_queues(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) iwl_mvm_disable_sta_queues() argument 1875 iwl_mvm_wait_sta_queues_empty(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvm_sta) iwl_mvm_wait_sta_queues_empty() argument 1899 iwl_mvm_rm_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) iwl_mvm_rm_sta() argument 1988 iwl_mvm_rm_sta_id(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u8 sta_id) iwl_mvm_rm_sta_id() argument 2000 iwl_mvm_allocate_int_sta(struct iwl_mvm *mvm, struct iwl_mvm_int_sta *sta, u32 qmask, enum nl80211_iftype iftype, enum iwl_sta_type type) iwl_mvm_allocate_int_sta() argument 2020 iwl_mvm_dealloc_int_sta(struct iwl_mvm *mvm, struct iwl_mvm_int_sta *sta) iwl_mvm_dealloc_int_sta() argument 2027 iwl_mvm_enable_aux_snif_queue(struct iwl_mvm *mvm, u16 queue, u8 sta_id, u8 fifo) iwl_mvm_enable_aux_snif_queue() argument 2045 iwl_mvm_enable_aux_snif_queue_tvqm(struct iwl_mvm *mvm, u8 sta_id) iwl_mvm_enable_aux_snif_queue_tvqm() argument 2056 iwl_mvm_add_int_sta_with_queue(struct iwl_mvm *mvm, int macidx, int maccolor, u8 *addr, struct iwl_mvm_int_sta *sta, u16 *queue, int fifo) iwl_mvm_add_int_sta_with_queue() argument 2094 iwl_mvm_add_aux_sta(struct iwl_mvm *mvm, u32 lmac_id) iwl_mvm_add_aux_sta() argument 2122 iwl_mvm_add_snif_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_add_snif_sta() argument 2134 iwl_mvm_rm_snif_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_rm_snif_sta() argument 2151 iwl_mvm_rm_aux_sta(struct iwl_mvm *mvm) iwl_mvm_rm_aux_sta() argument 2169 iwl_mvm_dealloc_snif_sta(struct iwl_mvm *mvm) iwl_mvm_dealloc_snif_sta() argument 2182 iwl_mvm_send_add_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_send_add_bcast_sta() argument 2252 iwl_mvm_free_bcast_sta_queues(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_free_bcast_sta_queues() argument 2287 iwl_mvm_send_rm_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_send_rm_bcast_sta() argument 2302 iwl_mvm_alloc_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_alloc_bcast_sta() argument 2320 iwl_mvm_add_p2p_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_add_p2p_bcast_sta() argument 2340 iwl_mvm_dealloc_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_dealloc_bcast_sta() argument 2351 iwl_mvm_rm_p2p_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_rm_p2p_bcast_sta() argument 2372 iwl_mvm_add_mcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_add_mcast_sta() argument 2446 __iwl_mvm_remove_sta_key(struct iwl_mvm *mvm, u8 sta_id, struct ieee80211_key_conf *keyconf, bool mcast) __iwl_mvm_remove_sta_key() argument 2503 iwl_mvm_rm_mcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_rm_mcast_sta() argument 2523 iwl_mvm_sync_rxq_del_ba(struct iwl_mvm *mvm, u8 baid) iwl_mvm_sync_rxq_del_ba() argument 2533 iwl_mvm_free_reorder(struct iwl_mvm *mvm, struct iwl_mvm_baid_data *data) iwl_mvm_free_reorder() argument 2576 iwl_mvm_init_reorder_buffer(struct iwl_mvm *mvm, struct iwl_mvm_baid_data *data, u16 ssn, u16 buf_size) iwl_mvm_init_reorder_buffer() argument 2604 iwl_mvm_sta_rx_agg(struct iwl_mvm *mvm, struct ieee80211_sta *sta, int tid, u16 ssn, bool start, u16 buf_size, u16 timeout) iwl_mvm_sta_rx_agg() argument 2770 iwl_mvm_sta_tx_agg(struct iwl_mvm *mvm, struct ieee80211_sta *sta, int tid, u8 queue, bool start) iwl_mvm_sta_tx_agg() argument 2840 iwl_mvm_sta_tx_agg_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u16 tid, u16 *ssn) iwl_mvm_sta_tx_agg_start() argument 2944 iwl_mvm_sta_tx_agg_oper(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u16 tid, u16 buf_size, bool amsdu) iwl_mvm_sta_tx_agg_oper() argument 3071 iwl_mvm_unreserve_agg_queue(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, struct iwl_mvm_tid_data *tid_data) iwl_mvm_unreserve_agg_queue() argument 3095 iwl_mvm_sta_tx_agg_stop(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u16 tid) iwl_mvm_sta_tx_agg_stop() argument 3167 iwl_mvm_sta_tx_agg_flush(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u16 tid) iwl_mvm_sta_tx_agg_flush() argument 3212 iwl_mvm_set_fw_key_idx(struct iwl_mvm *mvm) iwl_mvm_set_fw_key_idx() argument 3239 iwl_mvm_get_key_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) iwl_mvm_get_key_sta() argument 3274 iwl_mvm_send_sta_key(struct iwl_mvm *mvm, u32 sta_id, struct ieee80211_key_conf *key, bool mcast, u32 tkip_iv32, u16 *tkip_p1k, u32 cmd_flags, u8 key_offset, bool mfp) iwl_mvm_send_sta_key() argument 3386 iwl_mvm_send_sta_igtk(struct iwl_mvm *mvm, struct ieee80211_key_conf *keyconf, u8 sta_id, bool remove_key) iwl_mvm_send_sta_igtk() argument 3465 iwl_mvm_get_mac_addr(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) iwl_mvm_get_mac_addr() argument 3486 __iwl_mvm_set_sta_key(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *keyconf, u8 key_offset, bool mcast) __iwl_mvm_set_sta_key() argument 3541 iwl_mvm_set_sta_key(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *keyconf, u8 key_offset) iwl_mvm_set_sta_key() argument 3643 iwl_mvm_remove_sta_key(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *keyconf) iwl_mvm_remove_sta_key() argument 3701 iwl_mvm_update_tkip_key(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_key_conf *keyconf, struct ieee80211_sta *sta, u32 iv32, u16 *phase1key) iwl_mvm_update_tkip_key() argument 3724 iwl_mvm_sta_modify_ps_wake(struct iwl_mvm *mvm, struct ieee80211_sta *sta) iwl_mvm_sta_modify_ps_wake() argument 3742 iwl_mvm_sta_modify_sleep_tx_count(struct iwl_mvm *mvm, struct ieee80211_sta *sta, enum ieee80211_frame_release_type reason, u16 cnt, u16 tids, bool more_data, bool single_sta_queue) iwl_mvm_sta_modify_sleep_tx_count() argument 3825 iwl_mvm_rx_eosp_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_rx_eosp_notif() argument 3843 iwl_mvm_sta_modify_disable_tx(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, bool disable) iwl_mvm_sta_modify_disable_tx() argument 3861 iwl_mvm_sta_modify_disable_tx_ap(struct iwl_mvm *mvm, struct ieee80211_sta *sta, bool disable) iwl_mvm_sta_modify_disable_tx_ap() argument 3884 iwl_mvm_int_sta_modify_disable_tx(struct iwl_mvm *mvm, struct iwl_mvm_vif *mvmvif, struct iwl_mvm_int_sta *sta, bool disable) iwl_mvm_int_sta_modify_disable_tx() argument 3905 iwl_mvm_modify_all_sta_disable_tx(struct iwl_mvm *mvm, struct iwl_mvm_vif *mvmvif, bool disable) iwl_mvm_modify_all_sta_disable_tx() argument 3947 iwl_mvm_csa_client_absent(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_csa_client_absent() argument 3962 iwl_mvm_tid_queued(struct iwl_mvm *mvm, struct iwl_mvm_tid_data *tid_data) iwl_mvm_tid_queued() argument 3976 iwl_mvm_add_pasn_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mvm_int_sta *sta, u8 *addr, u32 cipher, u8 *key, u32 key_len) iwl_mvm_add_pasn_sta() argument [all...] |
H A D | coex.c | 67 #include "mvm.h" 147 iwl_get_coex_type(struct iwl_mvm *mvm, const struct ieee80211_vif *vif) in iwl_get_coex_type() argument 155 * Checking that we hold mvm->mutex is a good idea, but the rate in iwl_get_coex_type() 174 if (mvm->cfg->bt_shared_single_ant) { in iwl_get_coex_type() 180 primary_ch_phy_id = le32_to_cpu(mvm->last_bt_ci_cmd.primary_ch_phy_id); in iwl_get_coex_type() 182 le32_to_cpu(mvm->last_bt_ci_cmd.secondary_ch_phy_id); in iwl_get_coex_type() 185 ret = le32_to_cpu(mvm->last_bt_notif.primary_ch_lut); in iwl_get_coex_type() 187 ret = le32_to_cpu(mvm->last_bt_notif.secondary_ch_lut); in iwl_get_coex_type() 195 int iwl_mvm_send_bt_init_conf(struct iwl_mvm *mvm) in iwl_mvm_send_bt_init_conf() argument 200 lockdep_assert_held(&mvm in iwl_mvm_send_bt_init_conf() 237 iwl_mvm_bt_coex_reduced_txp(struct iwl_mvm *mvm, u8 sta_id, bool enable) iwl_mvm_bt_coex_reduced_txp() argument 269 struct iwl_mvm *mvm; global() member 278 iwl_mvm_bt_coex_enable_rssi_event(struct iwl_mvm *mvm, struct ieee80211_vif *vif, bool enable, int rssi) iwl_mvm_bt_coex_enable_rssi_event() argument 293 iwl_mvm_bt_coex_tcm_based_ci(struct iwl_mvm *mvm, struct iwl_bt_iterator_data *data) iwl_mvm_bt_coex_tcm_based_ci() argument 321 struct iwl_mvm *mvm = data->mvm; iwl_mvm_bt_notif_iterator() local 465 iwl_mvm_bt_coex_notif_handle(struct iwl_mvm *mvm) iwl_mvm_bt_coex_notif_handle() argument 542 iwl_mvm_rx_bt_coex_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_rx_bt_coex_notif() argument 563 iwl_mvm_bt_rssi_event(struct iwl_mvm *mvm, struct ieee80211_vif *vif, enum ieee80211_rssi_event_data rssi_event) iwl_mvm_bt_rssi_event() argument 607 iwl_mvm_coex_agg_time_limit(struct iwl_mvm *mvm, struct ieee80211_sta *sta) iwl_mvm_coex_agg_time_limit() argument 631 iwl_mvm_bt_coex_is_mimo_allowed(struct iwl_mvm *mvm, struct ieee80211_sta *sta) iwl_mvm_bt_coex_is_mimo_allowed() argument 657 iwl_mvm_bt_coex_is_ant_avail(struct iwl_mvm *mvm, u8 ant) iwl_mvm_bt_coex_is_ant_avail() argument 670 iwl_mvm_bt_coex_is_shared_ant_avail(struct iwl_mvm *mvm) iwl_mvm_bt_coex_is_shared_ant_avail() argument 679 iwl_mvm_bt_coex_is_tpc_allowed(struct iwl_mvm *mvm, enum nl80211_band band) iwl_mvm_bt_coex_is_tpc_allowed() argument 690 iwl_mvm_bt_coex_get_single_ant_msk(struct iwl_mvm *mvm, u8 enabled_ants) iwl_mvm_bt_coex_get_single_ant_msk() argument 699 iwl_mvm_bt_coex_tx_prio(struct iwl_mvm *mvm, struct ieee80211_hdr *hdr, struct ieee80211_tx_info *info, u8 ac) iwl_mvm_bt_coex_tx_prio() argument 737 iwl_mvm_bt_coex_vif_change(struct iwl_mvm *mvm) iwl_mvm_bt_coex_vif_change() argument [all...] |
H A D | debugfs.c | 66 #include "mvm.h" 77 struct iwl_mvm *mvm = file->private_data; in iwl_dbgfs_ctdp_budget_read() local 81 if (!iwl_mvm_is_ctdp_supported(mvm)) in iwl_dbgfs_ctdp_budget_read() 84 if (!iwl_mvm_firmware_running(mvm) || in iwl_dbgfs_ctdp_budget_read() 85 mvm->fwrt.cur_fw_img != IWL_UCODE_REGULAR) in iwl_dbgfs_ctdp_budget_read() 88 mutex_lock(&mvm->mutex); in iwl_dbgfs_ctdp_budget_read() 89 budget = iwl_mvm_ctdp_command(mvm, CTDP_CMD_OPERATION_REPORT, 0); in iwl_dbgfs_ctdp_budget_read() 90 mutex_unlock(&mvm->mutex); in iwl_dbgfs_ctdp_budget_read() 100 static ssize_t iwl_dbgfs_stop_ctdp_write(struct iwl_mvm *mvm, char *buf, in iwl_dbgfs_stop_ctdp_write() argument 105 if (!iwl_mvm_is_ctdp_supported(mvm)) in iwl_dbgfs_stop_ctdp_write() 119 iwl_dbgfs_force_ctkill_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_force_ctkill_write() argument 131 iwl_dbgfs_tx_flush_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_tx_flush_write() argument 165 iwl_dbgfs_sta_drain_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_sta_drain_write() argument 199 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_sram_read() local 231 iwl_dbgfs_sram_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_sram_write() argument 266 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_set_nic_temperature_read() local 285 iwl_dbgfs_set_nic_temperature_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_set_nic_temperature_write() argument 333 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_nic_temp_read() local 358 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_sar_geo_profile_read() local 399 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_stations_read() local 431 struct iwl_mvm *mvm = lq_sta->pers.drv; iwl_dbgfs_rs_data_read() local 520 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_disable_power_off_read() local 533 iwl_dbgfs_disable_power_off_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_disable_power_off_write() argument 623 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_bt_notif_read() local 667 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_bt_cmd_read() local 689 iwl_dbgfs_bt_tx_prio_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_bt_tx_prio_write() argument 705 iwl_dbgfs_bt_force_ant_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_bt_force_ant_write() argument 743 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_fw_ver_read() local 779 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_fw_rx_stats_read() local 965 iwl_dbgfs_frame_stats_read(struct iwl_mvm *mvm, char __user *user_buf, size_t count, loff_t *ppos, struct iwl_mvm_frame_stats *stats) iwl_dbgfs_frame_stats_read() argument 1036 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_drv_rx_stats_read() local 1042 iwl_dbgfs_fw_restart_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_fw_restart_write() argument 1064 iwl_dbgfs_fw_nmi_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_fw_nmi_write() argument 1080 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_scan_ant_rxchain_read() local 1099 iwl_dbgfs_scan_ant_rxchain_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_scan_ant_rxchain_write() argument 1124 iwl_dbgfs_indirection_tbl_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_indirection_tbl_write() argument 1171 iwl_dbgfs_inject_packet_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_inject_packet_write() argument 1231 _iwl_dbgfs_inject_beacon_ie(struct iwl_mvm *mvm, char *bin, int len) _iwl_dbgfs_inject_beacon_ie() argument 1314 iwl_dbgfs_inject_beacon_ie_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_inject_beacon_ie_write() argument 1324 iwl_dbgfs_inject_beacon_ie_restore_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_inject_beacon_ie_restore_write() argument 1340 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_fw_dbg_conf_read() local 1355 iwl_dbgfs_fw_dbg_conf_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_fw_dbg_conf_write() argument 1379 iwl_dbgfs_fw_dbg_collect_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_fw_dbg_collect_write() argument 1401 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_bcast_filters_read() local 1451 iwl_dbgfs_bcast_filters_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_bcast_filters_write() argument 1508 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_bcast_filters_macs_read() local 1539 iwl_dbgfs_bcast_filters_macs_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_bcast_filters_macs_write() argument 1606 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_prph_reg_read() local 1622 iwl_dbgfs_prph_reg_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_prph_reg_write() argument 1644 iwl_dbgfs_send_echo_cmd_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_send_echo_cmd_write() argument 1660 struct iwl_mvm *mvm; global() member 1678 iwl_dbgfs_he_sniffer_params_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_he_sniffer_params_write() argument 1738 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_he_sniffer_params_read() local 1755 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_uapsd_noagg_bssids_read() local 1773 iwl_dbgfs_ltr_config_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_ltr_config_write() argument 1857 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_mem_read() local 1919 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_mem_write() local 2001 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_sta_add_debugfs() local 2009 iwl_mvm_dbgfs_register(struct iwl_mvm *mvm, struct dentry *dbgfs_dir) iwl_mvm_dbgfs_register() argument [all...] |
H A D | scan.c | 68 #include "mvm.h" 153 static inline void *iwl_mvm_get_scan_req_umac_data(struct iwl_mvm *mvm) in iwl_mvm_get_scan_req_umac_data() argument 155 struct iwl_scan_req_umac *cmd = mvm->scan_cmd; in iwl_mvm_get_scan_req_umac_data() 157 if (iwl_mvm_is_adaptive_dwell_v2_supported(mvm)) in iwl_mvm_get_scan_req_umac_data() 160 if (iwl_mvm_is_adaptive_dwell_supported(mvm)) in iwl_mvm_get_scan_req_umac_data() 163 if (iwl_mvm_cdb_scan_api(mvm)) in iwl_mvm_get_scan_req_umac_data() 170 iwl_mvm_get_scan_req_umac_channel(struct iwl_mvm *mvm) in iwl_mvm_get_scan_req_umac_channel() argument 172 struct iwl_scan_req_umac *cmd = mvm->scan_cmd; in iwl_mvm_get_scan_req_umac_channel() 174 if (iwl_mvm_is_adaptive_dwell_v2_supported(mvm)) in iwl_mvm_get_scan_req_umac_channel() 177 if (iwl_mvm_is_adaptive_dwell_supported(mvm)) in iwl_mvm_get_scan_req_umac_channel() 186 iwl_mvm_scan_rx_ant(struct iwl_mvm *mvm) iwl_mvm_scan_rx_ant() argument 193 iwl_mvm_scan_rx_chain(struct iwl_mvm *mvm) iwl_mvm_scan_rx_chain() argument 207 iwl_mvm_scan_rate_n_flags(struct iwl_mvm *mvm, enum nl80211_band band, bool no_cck) iwl_mvm_scan_rate_n_flags() argument 233 iwl_mvm_get_traffic_load(struct iwl_mvm *mvm) iwl_mvm_get_traffic_load() argument 239 iwl_mvm_get_traffic_load_band(struct iwl_mvm *mvm, enum nl80211_band band) iwl_mvm_get_traffic_load_band() argument 268 _iwl_mvm_get_scan_type(struct iwl_mvm *mvm, struct ieee80211_vif *vif, enum iwl_mvm_traffic_load load, bool low_latency) _iwl_mvm_get_scan_type() argument 314 iwl_mvm_get_scan_type(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_get_scan_type() argument 327 iwl_mvm_get_scan_type_band(struct iwl_mvm *mvm, struct ieee80211_vif *vif, enum nl80211_band band) iwl_mvm_get_scan_type_band() argument 340 iwl_mvm_rrm_scan_needed(struct iwl_mvm *mvm) iwl_mvm_rrm_scan_needed() argument 347 iwl_mvm_max_scan_ie_fw_cmd_room(struct iwl_mvm *mvm) iwl_mvm_max_scan_ie_fw_cmd_room() argument 363 iwl_mvm_max_scan_ie_len(struct iwl_mvm *mvm) iwl_mvm_max_scan_ie_len() argument 380 iwl_mvm_rx_lmac_scan_iter_complete_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_rx_lmac_scan_iter_complete_notif() argument 397 iwl_mvm_rx_scan_match_found(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_rx_scan_match_found() argument 418 iwl_mvm_rx_lmac_scan_complete_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_rx_lmac_scan_complete_notif() argument 566 iwl_mvm_config_sched_scan_profiles(struct iwl_mvm *mvm, struct cfg80211_sched_scan_request *req) iwl_mvm_config_sched_scan_profiles() argument 648 iwl_mvm_scan_pass_all(struct iwl_mvm *mvm, struct cfg80211_sched_scan_request *req) iwl_mvm_scan_pass_all() argument 665 iwl_mvm_lmac_scan_abort(struct iwl_mvm *mvm) iwl_mvm_lmac_scan_abort() argument 692 iwl_mvm_scan_fill_tx_cmd(struct iwl_mvm *mvm, struct iwl_scan_req_tx_cmd *tx_cmd, bool no_cck) iwl_mvm_scan_fill_tx_cmd() argument 726 iwl_mvm_lmac_scan_cfg_channels(struct iwl_mvm *mvm, struct ieee80211_channel **channels, int n_channels, u32 ssid_bitmap, struct iwl_scan_req_lmac *cmd) iwl_mvm_lmac_scan_cfg_channels() argument 745 iwl_mvm_copy_and_insert_ds_elem(struct iwl_mvm *mvm, const u8 *ies, size_t len, u8 *const pos) iwl_mvm_copy_and_insert_ds_elem() argument 798 iwl_mvm_build_scan_probe(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_scan_ies *ies, struct iwl_mvm_scan_params *params) iwl_mvm_build_scan_probe() argument 861 iwl_mvm_scan_lmac_dwell(struct iwl_mvm *mvm, struct iwl_scan_req_lmac *cmd, struct iwl_mvm_scan_params *params) iwl_mvm_scan_lmac_dwell() argument 874 iwl_mvm_scan_fits(struct iwl_mvm *mvm, int n_ssids, struct ieee80211_scan_ies *ies, int n_channels) iwl_mvm_scan_fits() argument 886 iwl_mvm_scan_use_ebs(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_scan_use_ebs() argument 923 iwl_mvm_scan_lmac_flags(struct iwl_mvm *mvm, struct iwl_mvm_scan_params *params, struct ieee80211_vif *vif) iwl_mvm_scan_lmac_flags() argument 977 iwl_mvm_scan_lmac(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mvm_scan_params *params) iwl_mvm_scan_lmac() argument 1074 iwl_mvm_scan_config_rates(struct iwl_mvm *mvm) iwl_mvm_scan_config_rates() argument 1093 iwl_mvm_fill_scan_dwell(struct iwl_mvm *mvm, struct iwl_scan_dwell *dwell) iwl_mvm_fill_scan_dwell() argument 1102 iwl_mvm_fill_channels(struct iwl_mvm *mvm, u8 *channels, u32 max_channels) iwl_mvm_fill_channels() argument 1116 iwl_mvm_fill_scan_config_v1(struct iwl_mvm *mvm, void *config, u32 flags, u8 channel_flags, u32 max_channels) iwl_mvm_fill_scan_config_v1() argument 1144 iwl_mvm_fill_scan_config_v2(struct iwl_mvm *mvm, void *config, u32 flags, u8 channel_flags, u32 max_channels) iwl_mvm_fill_scan_config_v2() argument 1196 iwl_mvm_legacy_config_scan(struct iwl_mvm *mvm) iwl_mvm_legacy_config_scan() argument 1288 iwl_mvm_config_scan(struct iwl_mvm *mvm) iwl_mvm_config_scan() argument 1321 iwl_mvm_scan_uid_by_status(struct iwl_mvm *mvm, int status) iwl_mvm_scan_uid_by_status() argument 1332 iwl_mvm_scan_umac_dwell(struct iwl_mvm *mvm, struct iwl_scan_req_umac *cmd, struct iwl_mvm_scan_params *params) iwl_mvm_scan_umac_dwell() argument 1439 iwl_mvm_scan_umac_dwell_v10(struct iwl_mvm *mvm, struct iwl_scan_general_params_v10 *general_params, struct iwl_mvm_scan_params *params) iwl_mvm_scan_umac_dwell_v10() argument 1618 iwl_mvm_umac_scan_cfg_channels(struct iwl_mvm *mvm, struct ieee80211_channel **channels, int n_channels, u32 flags, struct iwl_scan_channel_cfg_umac *channel_cfg) iwl_mvm_umac_scan_cfg_channels() argument 1643 iwl_mvm_umac_scan_cfg_channels_v4(struct iwl_mvm *mvm, struct ieee80211_channel **channels, struct iwl_scan_channel_params_v4 *cp, int n_channels, u32 flags, enum nl80211_iftype vif_type) iwl_mvm_umac_scan_cfg_channels_v4() argument 1672 iwl_mvm_umac_scan_cfg_channels_v6(struct iwl_mvm *mvm, struct ieee80211_channel **channels, struct iwl_scan_channel_params_v6 *cp, int n_channels, u32 flags, enum nl80211_iftype vif_type) iwl_mvm_umac_scan_cfg_channels_v6() argument 1695 iwl_mvm_scan_umac_chan_flags_v2(struct iwl_mvm *mvm, struct iwl_mvm_scan_params *params, struct ieee80211_vif *vif) iwl_mvm_scan_umac_chan_flags_v2() argument 1718 iwl_mvm_scan_umac_flags_v2(struct iwl_mvm *mvm, struct iwl_mvm_scan_params *params, struct ieee80211_vif *vif, int type) iwl_mvm_scan_umac_flags_v2() argument 1755 iwl_mvm_scan_umac_flags(struct iwl_mvm *mvm, struct iwl_mvm_scan_params *params, struct ieee80211_vif *vif) iwl_mvm_scan_umac_flags() argument 1866 iwl_mvm_scan_umac(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mvm_scan_params *params, int type, int uid) iwl_mvm_scan_umac() argument 1951 iwl_mvm_scan_umac_fill_general_p_v10(struct iwl_mvm *mvm, struct iwl_mvm_scan_params *params, struct ieee80211_vif *vif, struct iwl_scan_general_params_v10 *gp, u16 gen_flags) iwl_mvm_scan_umac_fill_general_p_v10() argument 1990 iwl_mvm_scan_umac_fill_ch_p_v4(struct iwl_mvm *mvm, struct iwl_mvm_scan_params *params, struct ieee80211_vif *vif, struct iwl_scan_channel_params_v4 *cp, u32 channel_cfg_flags) iwl_mvm_scan_umac_fill_ch_p_v4() argument 2007 iwl_mvm_scan_umac_fill_ch_p_v6(struct iwl_mvm *mvm, struct iwl_mvm_scan_params *params, struct ieee80211_vif *vif, struct iwl_scan_channel_params_v6 *cp, u32 channel_cfg_flags) iwl_mvm_scan_umac_fill_ch_p_v6() argument 2024 iwl_mvm_scan_umac_v12(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mvm_scan_params *params, int type, int uid) iwl_mvm_scan_umac_v12() argument 2056 iwl_mvm_scan_umac_v14(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mvm_scan_params *params, int type, int uid) iwl_mvm_scan_umac_v14() argument 2090 iwl_mvm_num_scans(struct iwl_mvm *mvm) iwl_mvm_num_scans() argument 2095 iwl_mvm_check_running_scans(struct iwl_mvm *mvm, int type) iwl_mvm_check_running_scans() argument 2168 struct iwl_mvm *mvm = container_of(delayed_work, struct iwl_mvm, iwl_mvm_scan_timeout_wk() local 2176 iwl_mvm_fill_scan_type(struct iwl_mvm *mvm, struct iwl_mvm_scan_params *params, struct ieee80211_vif *vif) iwl_mvm_fill_scan_type() argument 2209 iwl_mvm_build_scan_cmd(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_host_cmd *hcmd, struct iwl_mvm_scan_params *params, int type) iwl_mvm_build_scan_cmd() argument 2250 iwl_mvm_reg_scan_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct cfg80211_scan_request *req, struct ieee80211_scan_ies *ies) iwl_mvm_reg_scan_start() argument 2333 iwl_mvm_sched_scan_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies, int type) iwl_mvm_sched_scan_start() argument 2424 iwl_mvm_rx_umac_scan_complete_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_rx_umac_scan_complete_notif() argument 2471 iwl_mvm_rx_umac_scan_iter_complete_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_rx_umac_scan_iter_complete_notif() argument 2494 iwl_mvm_umac_scan_abort(struct iwl_mvm *mvm, int type) iwl_mvm_umac_scan_abort() argument 2523 iwl_mvm_scan_stop_wait(struct iwl_mvm *mvm, int type) iwl_mvm_scan_stop_wait() argument 2568 iwl_mvm_scan_size(struct iwl_mvm *mvm) iwl_mvm_scan_size() argument 2610 iwl_mvm_report_scan_aborted(struct iwl_mvm *mvm) iwl_mvm_report_scan_aborted() argument 2671 iwl_mvm_scan_stop(struct iwl_mvm *mvm, int type, bool notify) iwl_mvm_scan_stop() argument [all...] |
H A D | mvm.h | 167 * mvm->time_event_lock is held, as it value is used to indicate 369 struct iwl_mvm *mvm; member 663 * @mvm: mvm pointer, needed for frame timer context 682 struct iwl_mvm *mvm; member 718 * @mvm: mvm pointer, needed for timer context 732 struct iwl_mvm *mvm; member 1187 static inline bool iwl_mvm_is_radio_killed(struct iwl_mvm *mvm) in iwl_mvm_is_radio_killed() argument 1189 return test_bit(IWL_MVM_STATUS_HW_RFKILL, &mvm in iwl_mvm_is_radio_killed() 1193 iwl_mvm_is_radio_hw_killed(struct iwl_mvm *mvm) iwl_mvm_is_radio_hw_killed() argument 1198 iwl_mvm_firmware_running(struct iwl_mvm *mvm) iwl_mvm_firmware_running() argument 1207 iwl_mvm_sta_from_staid_rcu(struct iwl_mvm *mvm, u8 sta_id) iwl_mvm_sta_from_staid_rcu() argument 1224 iwl_mvm_sta_from_staid_protected(struct iwl_mvm *mvm, u8 sta_id) iwl_mvm_sta_from_staid_protected() argument 1242 iwl_mvm_rcu_dereference_vif_id(struct iwl_mvm *mvm, u8 vif_id, bool rcu) iwl_mvm_rcu_dereference_vif_id() argument 1254 iwl_mvm_is_adaptive_dwell_supported(struct iwl_mvm *mvm) iwl_mvm_is_adaptive_dwell_supported() argument 1260 iwl_mvm_is_adaptive_dwell_v2_supported(struct iwl_mvm *mvm) iwl_mvm_is_adaptive_dwell_v2_supported() argument 1266 iwl_mvm_is_adwell_hb_ap_num_supported(struct iwl_mvm *mvm) iwl_mvm_is_adwell_hb_ap_num_supported() argument 1272 iwl_mvm_is_oce_supported(struct iwl_mvm *mvm) iwl_mvm_is_oce_supported() argument 1278 iwl_mvm_is_frag_ebs_supported(struct iwl_mvm *mvm) iwl_mvm_is_frag_ebs_supported() argument 1283 iwl_mvm_is_short_beacon_notif_supported(struct iwl_mvm *mvm) iwl_mvm_is_short_beacon_notif_supported() argument 1289 iwl_mvm_is_dqa_data_queue(struct iwl_mvm *mvm, u8 queue) iwl_mvm_is_dqa_data_queue() argument 1295 iwl_mvm_is_dqa_mgmt_queue(struct iwl_mvm *mvm, u8 queue) iwl_mvm_is_dqa_mgmt_queue() argument 1301 iwl_mvm_is_lar_supported(struct iwl_mvm *mvm) iwl_mvm_is_lar_supported() argument 1317 iwl_mvm_is_wifi_mcc_supported(struct iwl_mvm *mvm) iwl_mvm_is_wifi_mcc_supported() argument 1325 iwl_mvm_bt_is_rrc_supported(struct iwl_mvm *mvm) iwl_mvm_bt_is_rrc_supported() argument 1332 iwl_mvm_is_csum_supported(struct iwl_mvm *mvm) iwl_mvm_is_csum_supported() argument 1339 iwl_mvm_is_mplut_supported(struct iwl_mvm *mvm) iwl_mvm_is_mplut_supported() argument 1347 iwl_mvm_is_p2p_scm_uapsd_supported(struct iwl_mvm *mvm) iwl_mvm_is_p2p_scm_uapsd_supported() argument 1355 iwl_mvm_has_new_rx_api(struct iwl_mvm *mvm) iwl_mvm_has_new_rx_api() argument 1361 iwl_mvm_has_new_tx_api(struct iwl_mvm *mvm) iwl_mvm_has_new_tx_api() argument 1367 iwl_mvm_has_unified_ucode(struct iwl_mvm *mvm) iwl_mvm_has_unified_ucode() argument 1373 iwl_mvm_is_cdb_supported(struct iwl_mvm *mvm) iwl_mvm_is_cdb_supported() argument 1388 iwl_mvm_cdb_scan_api(struct iwl_mvm *mvm) iwl_mvm_cdb_scan_api() argument 1398 iwl_mvm_is_scan_ext_chan_supported(struct iwl_mvm *mvm) iwl_mvm_is_scan_ext_chan_supported() argument 1405 iwl_mvm_is_reduced_config_scan_supported(struct iwl_mvm *mvm) iwl_mvm_is_reduced_config_scan_supported() argument 1411 iwl_mvm_is_band_in_rx_supported(struct iwl_mvm *mvm) iwl_mvm_is_band_in_rx_supported() argument 1417 iwl_mvm_has_new_rx_stats_api(struct iwl_mvm *mvm) iwl_mvm_has_new_rx_stats_api() argument 1423 iwl_mvm_has_quota_low_latency(struct iwl_mvm *mvm) iwl_mvm_has_quota_low_latency() argument 1429 iwl_mvm_has_tlc_offload(const struct iwl_mvm *mvm) iwl_mvm_has_tlc_offload() argument 1436 iwl_mvm_get_agg_status(struct iwl_mvm *mvm, void *tx_resp) iwl_mvm_get_agg_status() argument 1444 iwl_mvm_is_tt_in_fw(struct iwl_mvm *mvm) iwl_mvm_is_tt_in_fw() argument 1456 iwl_mvm_is_ctdp_supported(struct iwl_mvm *mvm) iwl_mvm_is_ctdp_supported() argument 1465 iwl_mvm_mac_ac_to_tx_fifo(struct iwl_mvm *mvm, enum ieee80211_ac_numbers ac) iwl_mvm_mac_ac_to_tx_fifo() argument 1549 iwl_mvm_wait_for_async_handlers(struct iwl_mvm *mvm) iwl_mvm_wait_for_async_handlers() argument 1566 iwl_mvm_get_valid_tx_ant(struct iwl_mvm *mvm) iwl_mvm_get_valid_tx_ant() argument 1573 iwl_mvm_get_valid_rx_ant(struct iwl_mvm *mvm) iwl_mvm_get_valid_rx_ant() argument 1580 iwl_mvm_toggle_tx_ant(struct iwl_mvm *mvm, u8 *ant) iwl_mvm_toggle_tx_ant() argument 1585 iwl_mvm_get_phy_config(struct iwl_mvm *mvm) iwl_mvm_get_phy_config() argument 1697 iwl_mvm_quota_cmd_size(struct iwl_mvm *mvm) iwl_mvm_quota_cmd_size() argument 1705 iwl_mvm_quota_cmd_get_quota(struct iwl_mvm *mvm, struct iwl_time_quota_cmd *cmd, int i) iwl_mvm_quota_cmd_get_quota() argument 1757 iwl_mvm_dbgfs_register(struct iwl_mvm *mvm, struct dentry *dbgfs_dir) iwl_mvm_dbgfs_register() argument 1762 iwl_mvm_vif_dbgfs_register(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_vif_dbgfs_register() argument 1766 iwl_mvm_vif_dbgfs_clean(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_vif_dbgfs_clean() argument 1795 iwl_mvm_leds_init(struct iwl_mvm *mvm) iwl_mvm_leds_init() argument 1799 iwl_mvm_leds_exit(struct iwl_mvm *mvm) iwl_mvm_leds_exit() argument 1802 iwl_mvm_leds_sync(struct iwl_mvm *mvm) iwl_mvm_leds_sync() argument 1826 iwl_mvm_set_last_nonqos_seq(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_set_last_nonqos_seq() argument 1945 iwl_mvm_flushable_queues(struct iwl_mvm *mvm) iwl_mvm_flushable_queues() argument 1951 iwl_mvm_stop_device(struct iwl_mvm *mvm) iwl_mvm_stop_device() argument 2113 iwl_mvm_has_ultra_hb_channel(struct iwl_mvm *mvm) iwl_mvm_has_ultra_hb_channel() argument 2119 iwl_mvm_chan_info_cmd_tail(struct iwl_mvm *mvm, struct iwl_fw_channel_info *ci) iwl_mvm_chan_info_cmd_tail() argument 2127 iwl_mvm_chan_info_padding(struct iwl_mvm *mvm) iwl_mvm_chan_info_padding() argument 2134 iwl_mvm_set_chan_info(struct iwl_mvm *mvm, struct iwl_fw_channel_info *ci, u32 chan, u8 band, u8 width, u8 ctrl_pos) iwl_mvm_set_chan_info() argument 2156 iwl_mvm_set_chan_info_chandef(struct iwl_mvm *mvm, struct iwl_fw_channel_info *ci, struct cfg80211_chan_def *chandef) iwl_mvm_set_chan_info_chandef() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | tt.c | 9 #include "mvm.h" 13 void iwl_mvm_enter_ctkill(struct iwl_mvm *mvm) in iwl_mvm_enter_ctkill() argument 15 struct iwl_mvm_tt_mgmt *tt = &mvm->thermal_throttle; in iwl_mvm_enter_ctkill() 18 if (test_bit(IWL_MVM_STATUS_HW_CTKILL, &mvm->status)) in iwl_mvm_enter_ctkill() 21 IWL_ERR(mvm, "Enter CT Kill\n"); in iwl_mvm_enter_ctkill() 22 iwl_mvm_set_hw_ctkill_state(mvm, true); in iwl_mvm_enter_ctkill() 24 if (!iwl_mvm_is_tt_in_fw(mvm)) { in iwl_mvm_enter_ctkill() 33 if (!mvm->temperature_test) in iwl_mvm_enter_ctkill() 38 static void iwl_mvm_exit_ctkill(struct iwl_mvm *mvm) in iwl_mvm_exit_ctkill() argument 40 if (!test_bit(IWL_MVM_STATUS_HW_CTKILL, &mvm in iwl_mvm_exit_ctkill() 47 iwl_mvm_tt_temp_changed(struct iwl_mvm *mvm, u32 temp) iwl_mvm_tt_temp_changed() argument 60 iwl_mvm_temp_notif_parse(struct iwl_mvm *mvm, struct iwl_rx_packet *pkt) iwl_mvm_temp_notif_parse() argument 91 struct iwl_mvm *mvm = iwl_mvm_temp_notif_wait() local 105 iwl_mvm_temp_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_temp_notif() argument 155 iwl_mvm_ct_kill_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_ct_kill_notif() argument 176 iwl_mvm_send_temp_cmd(struct iwl_mvm *mvm, bool response, s32 *temp) iwl_mvm_send_temp_cmd() argument 235 iwl_mvm_get_temp(struct iwl_mvm *mvm, s32 *temp) iwl_mvm_get_temp() argument 277 struct iwl_mvm *mvm; check_exit_ctkill() local 324 struct iwl_mvm *mvm = _data; iwl_mvm_tt_smps_iterator() local 340 iwl_mvm_tt_tx_protection(struct iwl_mvm *mvm, bool enable) iwl_mvm_tt_tx_protection() argument 364 iwl_mvm_tt_tx_backoff(struct iwl_mvm *mvm, u32 backoff) iwl_mvm_tt_tx_backoff() argument 383 iwl_mvm_tt_handler(struct iwl_mvm *mvm) iwl_mvm_tt_handler() argument 507 iwl_mvm_ctdp_command(struct iwl_mvm *mvm, u32 op, u32 state) iwl_mvm_ctdp_command() argument 560 iwl_mvm_send_temp_report_ths_cmd(struct iwl_mvm *mvm) iwl_mvm_send_temp_report_ths_cmd() argument 618 struct iwl_mvm *mvm = thermal_zone_device_priv(device); iwl_mvm_tzone_get_temp() local 644 struct iwl_mvm *mvm = thermal_zone_device_priv(device); iwl_mvm_tzone_set_trip_temp() local 681 iwl_mvm_thermal_zone_register(struct iwl_mvm *mvm) iwl_mvm_thermal_zone_register() argument 737 struct iwl_mvm *mvm = (struct iwl_mvm *)(cdev->devdata); iwl_mvm_tcool_get_cur_state() local 747 struct iwl_mvm *mvm = (struct iwl_mvm *)(cdev->devdata); iwl_mvm_tcool_set_cur_state() local 777 iwl_mvm_cooling_device_register(struct iwl_mvm *mvm) iwl_mvm_cooling_device_register() argument 800 iwl_mvm_thermal_zone_unregister(struct iwl_mvm *mvm) iwl_mvm_thermal_zone_unregister() argument 812 iwl_mvm_cooling_device_unregister(struct iwl_mvm *mvm) iwl_mvm_cooling_device_unregister() argument 825 iwl_mvm_thermal_initialize(struct iwl_mvm *mvm, u32 min_backoff) iwl_mvm_thermal_initialize() argument 848 iwl_mvm_thermal_exit(struct iwl_mvm *mvm) iwl_mvm_thermal_exit() argument [all...] |
H A D | ptp.c | 6 #include "mvm.h" 23 static void iwl_mvm_ptp_update_new_read(struct iwl_mvm *mvm, u32 gp2) in iwl_mvm_ptp_update_new_read() argument 28 if (gp2 < mvm->ptp_data.last_gp2 && in iwl_mvm_ptp_update_new_read() 29 mvm->ptp_data.last_gp2 - gp2 < IWL_PTP_WRAP_THRESHOLD_USEC) { in iwl_mvm_ptp_update_new_read() 30 IWL_DEBUG_INFO(mvm, in iwl_mvm_ptp_update_new_read() 32 gp2, mvm->ptp_data.last_gp2); in iwl_mvm_ptp_update_new_read() 36 if (gp2 < mvm->ptp_data.last_gp2) { in iwl_mvm_ptp_update_new_read() 37 mvm->ptp_data.wrap_counter++; in iwl_mvm_ptp_update_new_read() 38 IWL_DEBUG_INFO(mvm, in iwl_mvm_ptp_update_new_read() 40 mvm in iwl_mvm_ptp_update_new_read() 47 iwl_mvm_ptp_get_adj_time(struct iwl_mvm *mvm, u64 base_time_ns) iwl_mvm_ptp_get_adj_time() argument 87 iwl_mvm_get_crosstimestamp_fw(struct iwl_mvm *mvm, u32 *gp2, u64 *sys_time) iwl_mvm_get_crosstimestamp_fw() argument 127 iwl_mvm_phc_get_crosstimestamp_loop(struct iwl_mvm *mvm, ktime_t *sys_time, u32 *gp2) iwl_mvm_phc_get_crosstimestamp_loop() argument 153 struct iwl_mvm *mvm = container_of(ptp, struct iwl_mvm, iwl_mvm_phc_get_crosstimestamp() local 196 struct iwl_mvm *mvm = container_of(wk, struct iwl_mvm, iwl_mvm_ptp_work() local 209 struct iwl_mvm *mvm = container_of(ptp, struct iwl_mvm, iwl_mvm_ptp_gettime() local 225 struct iwl_mvm *mvm = container_of(ptp, struct iwl_mvm, iwl_mvm_ptp_adjtime() local 240 struct iwl_mvm *mvm = container_of(ptp, struct iwl_mvm, iwl_mvm_ptp_adjfine() local 271 iwl_mvm_ptp_init(struct iwl_mvm *mvm) iwl_mvm_ptp_init() argument 312 iwl_mvm_ptp_remove(struct iwl_mvm *mvm) iwl_mvm_ptp_remove() argument [all...] |
H A D | fw.c | 19 #include "mvm.h" 37 static int iwl_send_tx_ant_cfg(struct iwl_mvm *mvm, u8 valid_tx_ant) in iwl_send_tx_ant_cfg() argument 43 IWL_DEBUG_FW(mvm, "select valid tx ant: %u\n", valid_tx_ant); in iwl_send_tx_ant_cfg() 44 return iwl_mvm_send_cmd_pdu(mvm, TX_ANT_CONFIGURATION_CMD, 0, in iwl_send_tx_ant_cfg() 48 static int iwl_send_rss_cfg_cmd(struct iwl_mvm *mvm) in iwl_send_rss_cfg_cmd() argument 61 if (mvm->trans->num_rx_queues == 1) in iwl_send_rss_cfg_cmd() 67 1 + (i % (mvm->trans->num_rx_queues - 1)); in iwl_send_rss_cfg_cmd() 70 return iwl_mvm_send_cmd_pdu(mvm, RSS_CONFIG_CMD, 0, sizeof(cmd), &cmd); in iwl_send_rss_cfg_cmd() 73 static int iwl_mvm_send_dqa_cmd(struct iwl_mvm *mvm) in iwl_mvm_send_dqa_cmd() argument 81 ret = iwl_mvm_send_cmd_pdu(mvm, cmd_i in iwl_mvm_send_dqa_cmd() 90 iwl_mvm_mfu_assert_dump_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_mfu_assert_dump_notif() argument 115 struct iwl_mvm *mvm = iwl_alive_fn() local 290 iwl_mvm_print_pd_notification(struct iwl_mvm *mvm) iwl_mvm_print_pd_notification() argument 313 iwl_mvm_load_ucode_wait_alive(struct iwl_mvm *mvm, enum iwl_ucode_type ucode_type) iwl_mvm_load_ucode_wait_alive() argument 481 iwl_mvm_phy_filter_init(struct iwl_mvm *mvm, struct iwl_phy_specific_cfg *phy_filters) iwl_mvm_phy_filter_init() argument 490 iwl_mvm_sgom_init(struct iwl_mvm *mvm) iwl_mvm_sgom_init() argument 525 iwl_mvm_sgom_init(struct iwl_mvm *mvm) iwl_mvm_sgom_init() argument 531 iwl_send_phy_cfg_cmd(struct iwl_mvm *mvm) iwl_send_phy_cfg_cmd() argument 576 iwl_run_unified_mvm_ucode(struct iwl_mvm *mvm) iwl_run_unified_mvm_ucode() argument 688 iwl_run_init_mvm_ucode(struct iwl_mvm *mvm) iwl_run_init_mvm_ucode() argument 812 iwl_mvm_config_ltr(struct iwl_mvm *mvm) iwl_mvm_config_ltr() argument 826 iwl_mvm_sar_select_profile(struct iwl_mvm *mvm, int prof_a, int prof_b) iwl_mvm_sar_select_profile() argument 880 iwl_mvm_get_sar_geo_profile(struct iwl_mvm *mvm) iwl_mvm_get_sar_geo_profile() argument 931 iwl_mvm_sar_geo_init(struct iwl_mvm *mvm) iwl_mvm_sar_geo_init() argument 1021 iwl_mvm_ppag_send_cmd(struct iwl_mvm *mvm) iwl_mvm_ppag_send_cmd() argument 1042 iwl_mvm_ppag_init(struct iwl_mvm *mvm) iwl_mvm_ppag_init() argument 1125 iwl_mvm_tas_init(struct iwl_mvm *mvm) iwl_mvm_tas_init() argument 1184 iwl_mvm_eval_dsm_rfi(struct iwl_mvm *mvm) iwl_mvm_eval_dsm_rfi() argument 1208 iwl_mvm_lari_cfg(struct iwl_mvm *mvm) iwl_mvm_lari_cfg() argument 1301 iwl_mvm_get_acpi_tables(struct iwl_mvm *mvm) iwl_mvm_get_acpi_tables() argument 1357 iwl_mvm_sar_select_profile(struct iwl_mvm *mvm, int prof_a, int prof_b) iwl_mvm_sar_select_profile() argument 1363 iwl_mvm_get_sar_geo_profile(struct iwl_mvm *mvm) iwl_mvm_get_sar_geo_profile() argument 1368 iwl_mvm_sar_geo_init(struct iwl_mvm *mvm) iwl_mvm_sar_geo_init() argument 1373 iwl_mvm_ppag_send_cmd(struct iwl_mvm *mvm) iwl_mvm_ppag_send_cmd() argument 1378 iwl_mvm_ppag_init(struct iwl_mvm *mvm) iwl_mvm_ppag_init() argument 1383 iwl_mvm_tas_init(struct iwl_mvm *mvm) iwl_mvm_tas_init() argument 1387 iwl_mvm_lari_cfg(struct iwl_mvm *mvm) iwl_mvm_lari_cfg() argument 1396 iwl_mvm_eval_dsm_rfi(struct iwl_mvm *mvm) iwl_mvm_eval_dsm_rfi() argument 1401 iwl_mvm_get_acpi_tables(struct iwl_mvm *mvm) iwl_mvm_get_acpi_tables() argument 1407 iwl_mvm_send_recovery_cmd(struct iwl_mvm *mvm, u32 flags) iwl_mvm_send_recovery_cmd() argument 1458 iwl_mvm_sar_init(struct iwl_mvm *mvm) iwl_mvm_sar_init() argument 1463 iwl_mvm_load_rt_fw(struct iwl_mvm *mvm) iwl_mvm_load_rt_fw() argument 1499 iwl_mvm_up(struct iwl_mvm *mvm) iwl_mvm_up() argument 1746 iwl_mvm_load_d3_fw(struct iwl_mvm *mvm) iwl_mvm_load_d3_fw() argument 1801 iwl_mvm_rx_mfuart_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_rx_mfuart_notif() argument [all...] |
H A D | mac80211.c | 22 #include "mvm.h" 92 static void iwl_mvm_reset_phy_ctxts(struct iwl_mvm *mvm) in iwl_mvm_reset_phy_ctxts() argument 96 memset(mvm->phy_ctxts, 0, sizeof(mvm->phy_ctxts)); in iwl_mvm_reset_phy_ctxts() 98 mvm->phy_ctxts[i].id = i; in iwl_mvm_reset_phy_ctxts() 99 mvm->phy_ctxts[i].ref = 0; in iwl_mvm_reset_phy_ctxts() 110 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); in iwl_mvm_get_regdomain() local 114 IWL_DEBUG_LAR(mvm, "Getting regdomain data for %s from FW\n", alpha2); in iwl_mvm_get_regdomain() 116 lockdep_assert_held(&mvm->mutex); in iwl_mvm_get_regdomain() 118 resp = iwl_mvm_update_mcc(mvm, alpha in iwl_mvm_get_regdomain() 162 iwl_mvm_update_changed_regdom(struct iwl_mvm *mvm) iwl_mvm_update_changed_regdom() argument 180 iwl_mvm_get_current_regdomain(struct iwl_mvm *mvm, bool *changed) iwl_mvm_get_current_regdomain() argument 189 iwl_mvm_init_fw_regd(struct iwl_mvm *mvm) iwl_mvm_init_fw_regd() argument 276 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_op_get_antenna() local 282 iwl_mvm_mac_setup_register(struct iwl_mvm *mvm) iwl_mvm_mac_setup_register() argument 723 iwl_mvm_tx_skb(struct iwl_mvm *mvm, struct sk_buff *skb, struct ieee80211_sta *sta) iwl_mvm_tx_skb() argument 740 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_tx() local 809 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_itxq_xmit() local 862 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_wake_tx_queue() local 894 iwl_mvm_ampdu_check_trigger(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u16 tid, u16 rx_ba_ssn, enum ieee80211_ampdu_mlme_action action) iwl_mvm_ampdu_check_trigger() argument 942 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_ampdu_action() local 1024 struct iwl_mvm *mvm = data; iwl_mvm_cleanup_iterator() local 1052 iwl_mvm_restart_cleanup(struct iwl_mvm *mvm) iwl_mvm_restart_cleanup() argument 1094 __iwl_mvm_mac_start(struct iwl_mvm *mvm) __iwl_mvm_mac_start() argument 1153 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_start() local 1196 iwl_mvm_restart_complete(struct iwl_mvm *mvm) iwl_mvm_restart_complete() argument 1223 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_reconfig_complete() local 1234 __iwl_mvm_mac_stop(struct iwl_mvm *mvm) __iwl_mvm_mac_stop() argument 1285 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_stop() local 1322 iwl_mvm_get_free_phy_ctxt(struct iwl_mvm *mvm) iwl_mvm_get_free_phy_ctxt() argument 1336 iwl_mvm_set_tx_power(struct iwl_mvm *mvm, struct ieee80211_vif *vif, s16 tx_power) iwl_mvm_set_tx_power() argument 1376 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_post_channel_switch() local 1424 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_abort_channel_switch() local 1492 iwl_mvm_alloc_bcast_mcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_alloc_bcast_mcast_sta() argument 1517 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_add_interface() local 1636 iwl_mvm_prepare_mac_removal(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_prepare_mac_removal() argument 1656 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_remove_interface_common() local 1712 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_remove_interface() local 1749 struct iwl_mvm *mvm; global() member 1757 struct iwl_mvm *mvm = data->mvm; iwl_mvm_mc_iface_iterator() local 1786 iwl_mvm_recalc_multicast(struct iwl_mvm *mvm) iwl_mvm_recalc_multicast() argument 1822 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_prepare_multicast() local 1860 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_configure_filter() local 1889 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_config_iface_filter() local 1905 iwl_mvm_update_mu_groups(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_update_mu_groups() argument 1937 iwl_mvm_mu_mimo_grp_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_mu_mimo_grp_notif() argument 1975 iwl_mvm_parse_ppe(struct iwl_mvm *mvm, struct iwl_he_pkt_ext_v2 *pkt_ext, u8 nss, u8 ru_index_bitmap, u8 *ppe, u8 ppe_pos_bit, bool inheritance) iwl_mvm_parse_ppe() argument 2029 iwl_mvm_set_pkt_ext_from_he_ppe(struct iwl_mvm *mvm, struct ieee80211_link_sta *link_sta, struct iwl_he_pkt_ext_v2 *pkt_ext, bool inheritance) iwl_mvm_set_pkt_ext_from_he_ppe() argument 2116 iwl_mvm_set_sta_pkt_ext(struct iwl_mvm *mvm, struct ieee80211_link_sta *link_sta, struct iwl_he_pkt_ext_v2 *pkt_ext) iwl_mvm_set_sta_pkt_ext() argument 2219 iwl_mvm_set_fw_mu_edca_params(struct iwl_mvm *mvm, const struct iwl_mvm_vif_link_info *link_info, struct iwl_he_backoff_conf *trig_based_txf) iwl_mvm_set_fw_mu_edca_params() argument 2250 iwl_mvm_is_nic_ack_enabled(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_is_nic_ack_enabled() argument 2298 iwl_mvm_cfg_he_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u8 sta_id) iwl_mvm_cfg_he_sta() argument 2451 iwl_mvm_protect_assoc(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 duration_override) iwl_mvm_protect_assoc() argument 2479 iwl_mvm_bss_info_changed_station_assoc(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u64 changes) iwl_mvm_bss_info_changed_station_assoc() argument 2512 iwl_mvm_bss_info_changed_station_common(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf, u64 changes) iwl_mvm_bss_info_changed_station_common() argument 2559 iwl_mvm_bss_info_changed_station(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u64 changes) iwl_mvm_bss_info_changed_station() argument 2733 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_start_ap_ibss_common() local 2774 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_start_ap_ibss() local 2903 iwl_mvm_stop_ap_ibss_common(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_stop_ap_ibss_common() argument 2941 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_stop_ap_ibss() local 2991 iwl_mvm_bss_info_changed_ap_ibss(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u64 changes) iwl_mvm_bss_info_changed_ap_ibss() argument 3043 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_bss_info_changed_common() local 3080 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_hw_scan() local 3097 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_cancel_hw_scan() local 3121 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_allow_buffered_frames() local 3136 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_release_buffered_frames() local 3148 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); __iwl_mvm_mac_sta_notify() local 3209 iwl_mvm_sta_pm_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_sta_pm_notif() argument 3266 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_sta_pre_rcu_remove() local 3300 iwl_mvm_check_uapsd(struct iwl_mvm *mvm, struct ieee80211_vif *vif, const u8 *bssid) iwl_mvm_check_uapsd() argument 3338 iwl_mvm_tdls_check_trigger(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u8 *peer_addr, enum nl80211_tdls_operation action) iwl_mvm_tdls_check_trigger() argument 3420 iwl_mvm_reset_cca_40mhz_workaround(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_reset_cca_40mhz_workaround() argument 3452 iwl_mvm_mei_host_associated(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mvm_sta *mvm_sta) iwl_mvm_mei_host_associated() argument 3523 iwl_mvm_mac_ctxt_changed_wrapper(struct iwl_mvm *mvm, struct ieee80211_vif *vif, bool force_assoc_off) iwl_mvm_mac_ctxt_changed_wrapper() argument 3552 iwl_mvm_rs_rate_init_all_links(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) iwl_mvm_rs_rate_init_all_links() argument 3575 iwl_mvm_vif_conf_from_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) iwl_mvm_vif_conf_from_sta() argument 3638 iwl_mvm_sta_state_notexist_to_none(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, const struct iwl_mvm_sta_state_ops *callbacks) iwl_mvm_sta_state_notexist_to_none() argument 3697 iwl_mvm_sta_state_auth_to_assoc(struct ieee80211_hw *hw, struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, const struct iwl_mvm_sta_state_ops *callbacks) iwl_mvm_sta_state_auth_to_assoc() argument 3755 iwl_mvm_sta_state_assoc_to_authorized(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, const struct iwl_mvm_sta_state_ops *callbacks) iwl_mvm_sta_state_assoc_to_authorized() argument 3800 iwl_mvm_sta_state_authorized_to_assoc(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, const struct iwl_mvm_sta_state_ops *callbacks) iwl_mvm_sta_state_authorized_to_assoc() argument 3839 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_sta_state_common() local 3970 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_set_rts_threshold() local 3980 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_sta_rc_update() local 3997 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_conf_tx() local 4021 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_mgd_prepare_tx() local 4032 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_mgd_complete_tx() local 4048 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_sched_scan_start() local 4069 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_sched_scan_stop() local 4101 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); __iwl_mvm_mac_set_key() local 4331 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_set_key() local 4347 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_update_tkip_key() local 4359 struct iwl_mvm *mvm = iwl_mvm_rx_aux_roc() local 4395 iwl_mvm_send_aux_roc_cmd(struct iwl_mvm *mvm, struct ieee80211_channel *channel, struct ieee80211_vif *vif, int duration) iwl_mvm_send_aux_roc_cmd() argument 4516 iwl_mvm_add_aux_sta_for_hs20(struct iwl_mvm *mvm, u32 lmac_id) iwl_mvm_add_aux_sta_for_hs20() argument 4536 iwl_mvm_roc_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_roc_link() argument 4572 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_roc_common() local 4668 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_cancel_roc() local 4695 iwl_mvm_is_ftm_responder_chanctx(struct iwl_mvm *mvm, struct ieee80211_chanctx_conf *ctx) iwl_mvm_is_ftm_responder_chanctx() argument 4710 __iwl_mvm_add_chanctx(struct iwl_mvm *mvm, struct ieee80211_chanctx_conf *ctx) __iwl_mvm_add_chanctx() argument 4746 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_add_chanctx() local 4756 __iwl_mvm_remove_chanctx(struct iwl_mvm *mvm, struct ieee80211_chanctx_conf *ctx) __iwl_mvm_remove_chanctx() argument 4770 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_remove_chanctx() local 4780 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_change_chanctx() local 4824 __iwl_mvm_assign_vif_chanctx_common(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_chanctx_conf *ctx, bool switching_chanctx, int *ret) __iwl_mvm_assign_vif_chanctx_common() argument 4865 __iwl_mvm_assign_vif_chanctx(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf, struct ieee80211_chanctx_conf *ctx, bool switching_chanctx) __iwl_mvm_assign_vif_chanctx() argument 4952 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_assign_vif_chanctx() local 4968 __iwl_mvm_unassign_vif_chanctx_common(struct iwl_mvm *mvm, struct ieee80211_vif *vif, bool switching_chanctx) __iwl_mvm_unassign_vif_chanctx_common() argument 5006 __iwl_mvm_unassign_vif_chanctx(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf, struct ieee80211_chanctx_conf *ctx, bool switching_chanctx) __iwl_mvm_unassign_vif_chanctx() argument 5045 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_unassign_vif_chanctx() local 5053 iwl_mvm_switch_vif_chanctx_swap(struct iwl_mvm *mvm, struct ieee80211_vif_chanctx_switch *vifs, const struct iwl_mvm_switch_vif_chanctx_ops *ops) iwl_mvm_switch_vif_chanctx_swap() argument 5112 iwl_mvm_switch_vif_chanctx_reassign(struct iwl_mvm *mvm, struct ieee80211_vif_chanctx_switch *vifs, const struct iwl_mvm_switch_vif_chanctx_ops *ops) iwl_mvm_switch_vif_chanctx_reassign() argument 5159 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_switch_vif_chanctx_common() local 5196 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_tx_last_beacon() local 5204 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_set_tim() local 5223 __iwl_mvm_mac_testmode_cmd(struct iwl_mvm *mvm, struct ieee80211_vif *vif, void *data, int len) __iwl_mvm_mac_testmode_cmd() argument 5273 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_testmode_cmd() local 5297 iwl_mvm_schedule_client_csa(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_channel_switch *chsw) iwl_mvm_schedule_client_csa() argument 5323 iwl_mvm_old_pre_chan_sw_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_channel_switch *chsw) iwl_mvm_old_pre_chan_sw_sta() argument 5364 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_pre_channel_switch() local 5479 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_channel_switch_rx_beacon() local 5528 iwl_mvm_flush_no_vif(struct iwl_mvm *mvm, u32 queues, bool drop) iwl_mvm_flush_no_vif() argument 5565 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_flush() local 5626 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_flush_sta() local 5648 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_get_survey() local 5835 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_sta_statistics() local 5879 iwl_mvm_event_mlme_callback_ini(struct iwl_mvm *mvm, struct ieee80211_vif *vif, const struct ieee80211_mlme_event *mlme) iwl_mvm_event_mlme_callback_ini() argument 5899 iwl_mvm_event_mlme_callback(struct iwl_mvm *mvm, struct ieee80211_vif *vif, const struct ieee80211_event *event) iwl_mvm_event_mlme_callback() argument 5951 iwl_mvm_event_bar_rx_callback(struct iwl_mvm *mvm, struct ieee80211_vif *vif, const struct ieee80211_event *event) iwl_mvm_event_bar_rx_callback() argument 5978 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_event_callback() local 5996 iwl_mvm_sync_rx_queues_internal(struct iwl_mvm *mvm, enum iwl_mvm_rxq_notif_type type, bool sync, const void *data, u32 size) iwl_mvm_sync_rx_queues_internal() argument 6060 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_sync_rx_queues() local 6072 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_get_ftm_responder_stats() local 6099 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_start_pmsr() local 6112 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_abort_pmsr() local 6133 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_can_aggregate() local 6149 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_set_hw_timestamp() local [all...] |
H A D | sta.c | 9 #include "mvm.h" 18 static inline int iwl_mvm_add_sta_cmd_size(struct iwl_mvm *mvm) in iwl_mvm_add_sta_cmd_size() argument 20 if (iwl_mvm_has_new_rx_api(mvm) || in iwl_mvm_add_sta_cmd_size() 21 fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_STA_TYPE)) in iwl_mvm_add_sta_cmd_size() 27 int iwl_mvm_find_free_sta_id(struct iwl_mvm *mvm, enum nl80211_iftype iftype) in iwl_mvm_find_free_sta_id() argument 33 WARN_ON_ONCE(test_bit(IWL_MVM_STATUS_IN_HW_RESTART, &mvm->status)); in iwl_mvm_find_free_sta_id() 35 lockdep_assert_held(&mvm->mutex); in iwl_mvm_find_free_sta_id() 41 /* Don't take rcu_read_lock() since we are protected by mvm->mutex */ in iwl_mvm_find_free_sta_id() 42 for (sta_id = 0; sta_id < mvm->fw->ucode_capa.num_stations; sta_id++) { in iwl_mvm_find_free_sta_id() 46 if (!rcu_dereference_protected(mvm in iwl_mvm_find_free_sta_id() 128 iwl_mvm_sta_send_to_fw(struct iwl_mvm *mvm, struct ieee80211_sta *sta, bool update, unsigned int flags) iwl_mvm_sta_send_to_fw() argument 303 iwl_mvm_invalidate_sta_queue(struct iwl_mvm *mvm, int queue, unsigned long disable_agg_tids, bool remove_queue) iwl_mvm_invalidate_sta_queue() argument 351 iwl_mvm_disable_txq(struct iwl_mvm *mvm, struct ieee80211_sta *sta, int sta_id, u16 *queueptr, u8 tid) iwl_mvm_disable_txq() argument 444 iwl_mvm_get_queue_agg_tids(struct iwl_mvm *mvm, int queue) iwl_mvm_get_queue_agg_tids() argument 484 iwl_mvm_remove_sta_queue_marking(struct iwl_mvm *mvm, int queue) iwl_mvm_remove_sta_queue_marking() argument 547 iwl_mvm_free_inactive_queue(struct iwl_mvm *mvm, int queue, struct ieee80211_sta *old_sta, u8 new_sta_id) iwl_mvm_free_inactive_queue() argument 594 iwl_mvm_get_shared_queue(struct iwl_mvm *mvm, unsigned long tfd_queue_mask, u8 ac) iwl_mvm_get_shared_queue() argument 663 iwl_mvm_reconfig_scd(struct iwl_mvm *mvm, int queue, int fifo, int sta_id, int tid, int frame_limit, u16 ssn) iwl_mvm_reconfig_scd() argument 701 iwl_mvm_redirect_queue(struct iwl_mvm *mvm, int queue, int tid, int ac, int ssn, unsigned int wdg_timeout, bool force, struct iwl_mvm_txq *txq) iwl_mvm_redirect_queue() argument 787 iwl_mvm_find_free_queue(struct iwl_mvm *mvm, u8 sta_id, u8 minq, u8 maxq) iwl_mvm_find_free_queue() argument 845 iwl_mvm_tvqm_enable_txq(struct iwl_mvm *mvm, struct ieee80211_sta *sta, u8 sta_id, u8 tid, unsigned int timeout) iwl_mvm_tvqm_enable_txq() argument 909 iwl_mvm_sta_alloc_queue_tvqm(struct iwl_mvm *mvm, struct ieee80211_sta *sta, u8 ac, int tid) iwl_mvm_sta_alloc_queue_tvqm() argument 943 iwl_mvm_update_txq_mapping(struct iwl_mvm *mvm, struct ieee80211_sta *sta, int queue, u8 sta_id, u8 tid) iwl_mvm_update_txq_mapping() argument 987 iwl_mvm_enable_txq(struct iwl_mvm *mvm, struct ieee80211_sta *sta, int queue, u16 ssn, const struct iwl_trans_txq_scd_cfg *cfg, unsigned int wdg_timeout) iwl_mvm_enable_txq() argument 1022 iwl_mvm_change_queue_tid(struct iwl_mvm *mvm, int queue) iwl_mvm_change_queue_tid() argument 1059 iwl_mvm_unshare_queue(struct iwl_mvm *mvm, int queue) iwl_mvm_unshare_queue() argument 1145 iwl_mvm_remove_inactive_tids(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, int queue, unsigned long tid_bitmap, unsigned long *unshare_queues, unsigned long *changetid_queues) iwl_mvm_remove_inactive_tids() argument 1237 iwl_mvm_inactivity_check(struct iwl_mvm *mvm, u8 alloc_for_sta) iwl_mvm_inactivity_check() argument 1336 iwl_mvm_sta_alloc_queue(struct iwl_mvm *mvm, struct ieee80211_sta *sta, u8 ac, int tid) iwl_mvm_sta_alloc_queue() argument 1506 struct iwl_mvm *mvm = container_of(wk, struct iwl_mvm, iwl_mvm_add_new_dqa_stream_wk() local 1557 iwl_mvm_reserve_sta_stream(struct iwl_mvm *mvm, struct ieee80211_sta *sta, enum nl80211_iftype vif_type) iwl_mvm_reserve_sta_stream() argument 1606 iwl_mvm_realloc_queues_after_restart(struct iwl_mvm *mvm, struct ieee80211_sta *sta) iwl_mvm_realloc_queues_after_restart() argument 1676 iwl_mvm_add_int_sta_common(struct iwl_mvm *mvm, struct iwl_mvm_int_sta *sta, const u8 *addr, u16 mac_id, u16 color) iwl_mvm_add_int_sta_common() argument 1727 iwl_mvm_sta_init(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, int sta_id, u8 sta_type) iwl_mvm_sta_init() argument 1824 iwl_mvm_add_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) iwl_mvm_add_sta() argument 1895 iwl_mvm_drain_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, bool drain) iwl_mvm_drain_sta() argument 1937 iwl_mvm_rm_sta_common(struct iwl_mvm *mvm, u8 sta_id) iwl_mvm_rm_sta_common() argument 1964 iwl_mvm_disable_sta_queues(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) iwl_mvm_disable_sta_queues() argument 1994 iwl_mvm_wait_sta_queues_empty(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvm_sta) iwl_mvm_wait_sta_queues_empty() argument 2022 iwl_mvm_sta_del(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_link_sta *link_sta, int *ret) iwl_mvm_sta_del() argument 2087 iwl_mvm_rm_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) iwl_mvm_rm_sta() argument 2129 iwl_mvm_rm_sta_id(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u8 sta_id) iwl_mvm_rm_sta_id() argument 2141 iwl_mvm_allocate_int_sta(struct iwl_mvm *mvm, struct iwl_mvm_int_sta *sta, u32 qmask, enum nl80211_iftype iftype, u8 type) iwl_mvm_allocate_int_sta() argument 2161 iwl_mvm_dealloc_int_sta(struct iwl_mvm *mvm, struct iwl_mvm_int_sta *sta) iwl_mvm_dealloc_int_sta() argument 2168 iwl_mvm_enable_aux_snif_queue(struct iwl_mvm *mvm, u16 queue, u8 sta_id, u8 fifo) iwl_mvm_enable_aux_snif_queue() argument 2186 iwl_mvm_enable_aux_snif_queue_tvqm(struct iwl_mvm *mvm, u8 sta_id) iwl_mvm_enable_aux_snif_queue_tvqm() argument 2197 iwl_mvm_add_int_sta_with_queue(struct iwl_mvm *mvm, int macidx, int maccolor, u8 *addr, struct iwl_mvm_int_sta *sta, u16 *queue, int fifo) iwl_mvm_add_int_sta_with_queue() argument 2235 iwl_mvm_add_aux_sta(struct iwl_mvm *mvm, u32 lmac_id) iwl_mvm_add_aux_sta() argument 2265 iwl_mvm_add_snif_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_add_snif_sta() argument 2277 iwl_mvm_rm_snif_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_rm_snif_sta() argument 2295 iwl_mvm_rm_aux_sta(struct iwl_mvm *mvm) iwl_mvm_rm_aux_sta() argument 2314 iwl_mvm_dealloc_snif_sta(struct iwl_mvm *mvm) iwl_mvm_dealloc_snif_sta() argument 2327 iwl_mvm_send_add_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_send_add_bcast_sta() argument 2405 iwl_mvm_free_bcast_sta_queues(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_free_bcast_sta_queues() argument 2446 iwl_mvm_send_rm_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_send_rm_bcast_sta() argument 2461 iwl_mvm_alloc_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_alloc_bcast_sta() argument 2479 iwl_mvm_add_p2p_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_add_p2p_bcast_sta() argument 2499 iwl_mvm_dealloc_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_dealloc_bcast_sta() argument 2510 iwl_mvm_rm_p2p_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_rm_p2p_bcast_sta() argument 2531 iwl_mvm_add_mcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_add_mcast_sta() argument 2606 __iwl_mvm_remove_sta_key(struct iwl_mvm *mvm, u8 sta_id, struct ieee80211_key_conf *keyconf, bool mcast) __iwl_mvm_remove_sta_key() argument 2663 iwl_mvm_rm_mcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_rm_mcast_sta() argument 2683 iwl_mvm_sync_rxq_del_ba(struct iwl_mvm *mvm, u8 baid) iwl_mvm_sync_rxq_del_ba() argument 2693 iwl_mvm_free_reorder(struct iwl_mvm *mvm, struct iwl_mvm_baid_data *data) iwl_mvm_free_reorder() argument 2736 iwl_mvm_init_reorder_buffer(struct iwl_mvm *mvm, struct iwl_mvm_baid_data *data, u16 ssn, u16 buf_size) iwl_mvm_init_reorder_buffer() argument 2764 iwl_mvm_fw_baid_op_sta(struct iwl_mvm *mvm, struct ieee80211_sta *sta, bool start, int tid, u16 ssn, u16 buf_size) iwl_mvm_fw_baid_op_sta() argument 2813 iwl_mvm_fw_baid_op_cmd(struct iwl_mvm *mvm, struct ieee80211_sta *sta, bool start, int tid, u16 ssn, u16 buf_size, int baid) iwl_mvm_fw_baid_op_cmd() argument 2862 iwl_mvm_fw_baid_op(struct iwl_mvm *mvm, struct ieee80211_sta *sta, bool start, int tid, u16 ssn, u16 buf_size, int baid) iwl_mvm_fw_baid_op() argument 2875 iwl_mvm_sta_rx_agg(struct iwl_mvm *mvm, struct ieee80211_sta *sta, int tid, u16 ssn, bool start, u16 buf_size, u16 timeout) iwl_mvm_sta_rx_agg() argument 3021 iwl_mvm_sta_tx_agg(struct iwl_mvm *mvm, struct ieee80211_sta *sta, int tid, u8 queue, bool start) iwl_mvm_sta_tx_agg() argument 3091 iwl_mvm_sta_tx_agg_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u16 tid, u16 *ssn) iwl_mvm_sta_tx_agg_start() argument 3196 iwl_mvm_sta_tx_agg_oper(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u16 tid, u16 buf_size, bool amsdu) iwl_mvm_sta_tx_agg_oper() argument 3325 iwl_mvm_unreserve_agg_queue(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, struct iwl_mvm_tid_data *tid_data) iwl_mvm_unreserve_agg_queue() argument 3349 iwl_mvm_sta_tx_agg_stop(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u16 tid) iwl_mvm_sta_tx_agg_stop() argument 3422 iwl_mvm_sta_tx_agg_flush(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u16 tid) iwl_mvm_sta_tx_agg_flush() argument 3468 iwl_mvm_set_fw_key_idx(struct iwl_mvm *mvm) iwl_mvm_set_fw_key_idx() argument 3495 iwl_mvm_get_key_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) iwl_mvm_get_key_sta() argument 3544 iwl_mvm_send_sta_key(struct iwl_mvm *mvm, u32 sta_id, struct ieee80211_key_conf *key, bool mcast, u32 tkip_iv32, u16 *tkip_p1k, u32 cmd_flags, u8 key_offset, bool mfp) iwl_mvm_send_sta_key() argument 3697 iwl_mvm_send_sta_igtk(struct iwl_mvm *mvm, struct ieee80211_key_conf *keyconf, u8 sta_id, bool remove_key) iwl_mvm_send_sta_igtk() argument 3778 iwl_mvm_get_mac_addr(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) iwl_mvm_get_mac_addr() argument 3802 __iwl_mvm_set_sta_key(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *keyconf, u8 key_offset, bool mcast) __iwl_mvm_set_sta_key() argument 3850 iwl_mvm_set_sta_key(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *keyconf, u8 key_offset) iwl_mvm_set_sta_key() argument 3952 iwl_mvm_remove_sta_key(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *keyconf) iwl_mvm_remove_sta_key() argument 4010 iwl_mvm_update_tkip_key(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_key_conf *keyconf, struct ieee80211_sta *sta, u32 iv32, u16 *phase1key) iwl_mvm_update_tkip_key() argument 4033 iwl_mvm_sta_modify_ps_wake(struct iwl_mvm *mvm, struct ieee80211_sta *sta) iwl_mvm_sta_modify_ps_wake() argument 4051 iwl_mvm_sta_modify_sleep_tx_count(struct iwl_mvm *mvm, struct ieee80211_sta *sta, enum ieee80211_frame_release_type reason, u16 cnt, u16 tids, bool more_data, bool single_sta_queue) iwl_mvm_sta_modify_sleep_tx_count() argument 4134 iwl_mvm_rx_eosp_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_rx_eosp_notif() argument 4152 iwl_mvm_sta_modify_disable_tx(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, bool disable) iwl_mvm_sta_modify_disable_tx() argument 4176 iwl_mvm_sta_modify_disable_tx_ap(struct iwl_mvm *mvm, struct ieee80211_sta *sta, bool disable) iwl_mvm_sta_modify_disable_tx_ap() argument 4208 iwl_mvm_int_sta_modify_disable_tx(struct iwl_mvm *mvm, struct iwl_mvm_vif *mvmvif, struct iwl_mvm_int_sta *sta, bool disable) iwl_mvm_int_sta_modify_disable_tx() argument 4229 iwl_mvm_modify_all_sta_disable_tx(struct iwl_mvm *mvm, struct iwl_mvm_vif *mvmvif, bool disable) iwl_mvm_modify_all_sta_disable_tx() argument 4279 iwl_mvm_csa_client_absent(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_csa_client_absent() argument 4294 iwl_mvm_tid_queued(struct iwl_mvm *mvm, struct iwl_mvm_tid_data *tid_data) iwl_mvm_tid_queued() argument 4308 iwl_mvm_add_pasn_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mvm_int_sta *sta, u8 *addr, u32 cipher, u8 *key, u32 key_len) iwl_mvm_add_pasn_sta() argument 4373 iwl_mvm_cancel_channel_switch(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 id) iwl_mvm_cancel_channel_switch() argument [all...] |
H A D | ops.c | 19 #include "mvm.h" 84 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); in iwl_mvm_nic_config() local 87 u32 phy_config = iwl_mvm_get_phy_config(mvm); in iwl_mvm_nic_config() 96 IWL_DEBUG_INFO(mvm, "Radio type=0x%x-0x%x-0x%x\n", radio_cfg_type, in iwl_mvm_nic_config() 99 if (mvm->trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) in iwl_mvm_nic_config() 103 reg_val = CSR_HW_REV_STEP_DASH(mvm->trans->hw_rev); in iwl_mvm_nic_config() 121 if (mvm->trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_8000) in iwl_mvm_nic_config() 124 if (iwl_fw_dbg_is_d3_debug_enabled(&mvm->fwrt)) in iwl_mvm_nic_config() 127 iwl_trans_set_bits_mask(mvm->trans, CSR_HW_IF_CONFIG_REG, in iwl_mvm_nic_config() 142 if (!mvm in iwl_mvm_nic_config() 148 iwl_mvm_rx_monitor_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_rx_monitor_notif() argument 215 struct iwl_mvm *mvm = mvmvif->mvm; iwl_mvm_update_link_smps() local 244 iwl_mvm_rx_thermal_dual_chain_req(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_rx_thermal_dual_chain_req() argument 648 iwl_mvm_min_backoff(struct iwl_mvm *mvm) iwl_mvm_min_backoff() argument 670 struct iwl_mvm *mvm = iwl_mvm_tx_unblock_dwork() local 693 struct iwl_mvm *mvm = ctx; iwl_mvm_fwrt_dump_start() local 700 struct iwl_mvm *mvm = ctx; iwl_mvm_fwrt_dump_end() local 712 struct iwl_mvm *mvm = (struct iwl_mvm *)ctx; iwl_mvm_fwrt_send_hcmd() local 735 iwl_mvm_start_get_nvm(struct iwl_mvm *mvm) iwl_mvm_start_get_nvm() argument 796 iwl_mvm_start_post_nvm(struct iwl_mvm *mvm) iwl_mvm_start_post_nvm() argument 891 struct iwl_mvm *mvm = ctx; iwl_mvm_frob_txf() local 949 struct iwl_mvm *mvm = ctx; iwl_mvm_frob_mem() local 999 struct iwl_mvm *mvm = priv; iwl_mvm_me_conn_status() local 1023 struct iwl_mvm *mvm = priv; iwl_mvm_mei_rfkill() local 1039 struct iwl_mvm *mvm = priv; iwl_mvm_mei_roaming_forbidden() local 1049 struct iwl_mvm *mvm = iwl_mvm_sap_connected_wk() local 1081 struct iwl_mvm *mvm = priv; iwl_mvm_mei_sap_connected() local 1089 struct iwl_mvm *mvm = priv; iwl_mvm_mei_nic_stolen() local 1110 struct iwl_mvm *mvm; iwl_op_mode_mvm_start() local 1419 iwl_mvm_stop_device(struct iwl_mvm *mvm) iwl_mvm_stop_device() argument 1436 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); iwl_op_mode_mvm_stop() local 1506 iwl_mvm_async_handlers_purge(struct iwl_mvm *mvm) iwl_mvm_async_handlers_purge() argument 1521 struct iwl_mvm *mvm = iwl_mvm_async_handlers_wk() local 1548 iwl_mvm_rx_check_trigger(struct iwl_mvm *mvm, struct iwl_rx_packet *pkt) iwl_mvm_rx_check_trigger() argument 1578 iwl_mvm_rx_common(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb, struct iwl_rx_packet *pkt) iwl_mvm_rx_common() argument 1637 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); iwl_mvm_rx() local 1653 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); iwl_mvm_rx_mq() local 1674 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); iwl_mvm_async_cb() local 1683 iwl_mvm_is_static_queue(struct iwl_mvm *mvm, int queue) iwl_mvm_is_static_queue() argument 1692 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); iwl_mvm_queue_state_change() local 1766 iwl_mvm_set_rfkill_state(struct iwl_mvm *mvm) iwl_mvm_set_rfkill_state() argument 1776 iwl_mvm_set_hw_ctkill_state(struct iwl_mvm *mvm, bool state) iwl_mvm_set_hw_ctkill_state() argument 1786 iwl_mvm_get_csme_conn_info(struct iwl_mvm *mvm) iwl_mvm_get_csme_conn_info() argument 1794 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); iwl_mvm_set_hw_rfkill_state() local 1825 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); iwl_mvm_free_skb() local 1850 iwl_mvm_nic_restart(struct iwl_mvm *mvm, bool fw_error) iwl_mvm_nic_restart() argument 1945 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); iwl_mvm_nic_error() local 1978 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); iwl_mvm_cmd_queue_full() local 1988 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); iwl_op_mode_mvm_time_point() local 2018 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); iwl_mvm_rx_mq_rss() local [all...] |
H A D | mvm.h | 120 * mvm->time_event_lock is held, as it value is used to indicate 369 struct iwl_mvm *mvm; member 643 * @mvm: mvm pointer, needed for frame timer context 662 struct iwl_mvm *mvm; member 698 * @mvm: mvm pointer, needed for timer context 712 struct iwl_mvm *mvm; member 1251 static inline bool iwl_mvm_is_radio_killed(struct iwl_mvm *mvm) in iwl_mvm_is_radio_killed() argument 1253 return test_bit(IWL_MVM_STATUS_HW_RFKILL, &mvm in iwl_mvm_is_radio_killed() 1257 iwl_mvm_is_radio_hw_killed(struct iwl_mvm *mvm) iwl_mvm_is_radio_hw_killed() argument 1262 iwl_mvm_firmware_running(struct iwl_mvm *mvm) iwl_mvm_firmware_running() argument 1271 iwl_mvm_sta_from_staid_rcu(struct iwl_mvm *mvm, u8 sta_id) iwl_mvm_sta_from_staid_rcu() argument 1288 iwl_mvm_sta_from_staid_protected(struct iwl_mvm *mvm, u8 sta_id) iwl_mvm_sta_from_staid_protected() argument 1306 iwl_mvm_rcu_dereference_vif_id(struct iwl_mvm *mvm, u8 vif_id, bool rcu) iwl_mvm_rcu_dereference_vif_id() argument 1319 iwl_mvm_rcu_fw_link_id_to_link_conf(struct iwl_mvm *mvm, u8 link_id, bool rcu) iwl_mvm_rcu_fw_link_id_to_link_conf() argument 1331 iwl_mvm_is_adaptive_dwell_supported(struct iwl_mvm *mvm) iwl_mvm_is_adaptive_dwell_supported() argument 1337 iwl_mvm_is_adaptive_dwell_v2_supported(struct iwl_mvm *mvm) iwl_mvm_is_adaptive_dwell_v2_supported() argument 1343 iwl_mvm_is_adwell_hb_ap_num_supported(struct iwl_mvm *mvm) iwl_mvm_is_adwell_hb_ap_num_supported() argument 1349 iwl_mvm_is_oce_supported(struct iwl_mvm *mvm) iwl_mvm_is_oce_supported() argument 1355 iwl_mvm_is_frag_ebs_supported(struct iwl_mvm *mvm) iwl_mvm_is_frag_ebs_supported() argument 1360 iwl_mvm_is_short_beacon_notif_supported(struct iwl_mvm *mvm) iwl_mvm_is_short_beacon_notif_supported() argument 1366 iwl_mvm_is_dqa_data_queue(struct iwl_mvm *mvm, u8 queue) iwl_mvm_is_dqa_data_queue() argument 1372 iwl_mvm_is_dqa_mgmt_queue(struct iwl_mvm *mvm, u8 queue) iwl_mvm_is_dqa_mgmt_queue() argument 1378 iwl_mvm_is_lar_supported(struct iwl_mvm *mvm) iwl_mvm_is_lar_supported() argument 1394 iwl_mvm_is_wifi_mcc_supported(struct iwl_mvm *mvm) iwl_mvm_is_wifi_mcc_supported() argument 1402 iwl_mvm_bt_is_rrc_supported(struct iwl_mvm *mvm) iwl_mvm_bt_is_rrc_supported() argument 1409 iwl_mvm_is_csum_supported(struct iwl_mvm *mvm) iwl_mvm_is_csum_supported() argument 1416 iwl_mvm_is_mplut_supported(struct iwl_mvm *mvm) iwl_mvm_is_mplut_supported() argument 1424 iwl_mvm_is_p2p_scm_uapsd_supported(struct iwl_mvm *mvm) iwl_mvm_is_p2p_scm_uapsd_supported() argument 1432 iwl_mvm_has_new_rx_api(struct iwl_mvm *mvm) iwl_mvm_has_new_rx_api() argument 1450 iwl_mvm_has_new_tx_api(struct iwl_mvm *mvm) iwl_mvm_has_new_tx_api() argument 1456 iwl_mvm_has_unified_ucode(struct iwl_mvm *mvm) iwl_mvm_has_unified_ucode() argument 1462 iwl_mvm_is_cdb_supported(struct iwl_mvm *mvm) iwl_mvm_is_cdb_supported() argument 1477 iwl_mvm_cdb_scan_api(struct iwl_mvm *mvm) iwl_mvm_cdb_scan_api() argument 1487 iwl_mvm_is_scan_ext_chan_supported(struct iwl_mvm *mvm) iwl_mvm_is_scan_ext_chan_supported() argument 1494 iwl_mvm_is_reduced_config_scan_supported(struct iwl_mvm *mvm) iwl_mvm_is_reduced_config_scan_supported() argument 1500 iwl_mvm_is_band_in_rx_supported(struct iwl_mvm *mvm) iwl_mvm_is_band_in_rx_supported() argument 1506 iwl_mvm_has_new_rx_stats_api(struct iwl_mvm *mvm) iwl_mvm_has_new_rx_stats_api() argument 1512 iwl_mvm_has_quota_low_latency(struct iwl_mvm *mvm) iwl_mvm_has_quota_low_latency() argument 1518 iwl_mvm_has_tlc_offload(const struct iwl_mvm *mvm) iwl_mvm_has_tlc_offload() argument 1525 iwl_mvm_get_agg_status(struct iwl_mvm *mvm, void *tx_resp) iwl_mvm_get_agg_status() argument 1533 iwl_mvm_is_tt_in_fw(struct iwl_mvm *mvm) iwl_mvm_is_tt_in_fw() argument 1545 iwl_mvm_is_ctdp_supported(struct iwl_mvm *mvm) iwl_mvm_is_ctdp_supported() argument 1561 iwl_mvm_max_active_links(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_max_active_links() argument 1580 iwl_mvm_mac_ac_to_tx_fifo(struct iwl_mvm *mvm, enum ieee80211_ac_numbers ac) iwl_mvm_mac_ac_to_tx_fifo() argument 1619 iwl_mvm_dump_nic_error_log(struct iwl_mvm *mvm) iwl_mvm_dump_nic_error_log() argument 1686 iwl_mvm_wait_for_async_handlers(struct iwl_mvm *mvm) iwl_mvm_wait_for_async_handlers() argument 1703 iwl_mvm_get_valid_tx_ant(struct iwl_mvm *mvm) iwl_mvm_get_valid_tx_ant() argument 1710 iwl_mvm_get_valid_rx_ant(struct iwl_mvm *mvm) iwl_mvm_get_valid_rx_ant() argument 1717 iwl_mvm_toggle_tx_ant(struct iwl_mvm *mvm, u8 *ant) iwl_mvm_toggle_tx_ant() argument 1722 iwl_mvm_get_phy_config(struct iwl_mvm *mvm) iwl_mvm_get_phy_config() argument 1964 iwl_mvm_quota_cmd_size(struct iwl_mvm *mvm) iwl_mvm_quota_cmd_size() argument 1972 iwl_mvm_quota_cmd_get_quota(struct iwl_mvm *mvm, struct iwl_time_quota_cmd *cmd, int i) iwl_mvm_quota_cmd_get_quota() argument 2024 iwl_mvm_dbgfs_register(struct iwl_mvm *mvm) iwl_mvm_dbgfs_register() argument 2028 iwl_mvm_vif_dbgfs_register(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_vif_dbgfs_register() argument 2032 iwl_mvm_vif_dbgfs_clean(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_vif_dbgfs_clean() argument 2061 iwl_mvm_leds_init(struct iwl_mvm *mvm) iwl_mvm_leds_init() argument 2065 iwl_mvm_leds_exit(struct iwl_mvm *mvm) iwl_mvm_leds_exit() argument 2068 iwl_mvm_leds_sync(struct iwl_mvm *mvm) iwl_mvm_leds_sync() argument 2091 iwl_mvm_set_last_nonqos_seq(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_set_last_nonqos_seq() argument 2219 iwl_mvm_flushable_queues(struct iwl_mvm *mvm) iwl_mvm_flushable_queues() argument 2248 iwl_mvm_vendor_cmds_register(struct iwl_mvm *mvm) iwl_mvm_vendor_cmds_register() argument 2466 iwl_mvm_has_ultra_hb_channel(struct iwl_mvm *mvm) iwl_mvm_has_ultra_hb_channel() argument 2472 iwl_mvm_chan_info_cmd_tail(struct iwl_mvm *mvm, struct iwl_fw_channel_info *ci) iwl_mvm_chan_info_cmd_tail() argument 2480 iwl_mvm_chan_info_padding(struct iwl_mvm *mvm) iwl_mvm_chan_info_padding() argument 2487 iwl_mvm_set_chan_info(struct iwl_mvm *mvm, struct iwl_fw_channel_info *ci, u32 chan, u8 band, u8 width, u8 ctrl_pos) iwl_mvm_set_chan_info() argument 2509 iwl_mvm_set_chan_info_chandef(struct iwl_mvm *mvm, struct iwl_fw_channel_info *ci, struct cfg80211_chan_def *chandef) iwl_mvm_set_chan_info_chandef() argument 2545 iwl_mvm_mei_get_ownership(struct iwl_mvm *mvm) iwl_mvm_mei_get_ownership() argument 2552 iwl_mvm_mei_tx_copy_to_csme(struct iwl_mvm *mvm, struct sk_buff *skb, unsigned int ivlen) iwl_mvm_mei_tx_copy_to_csme() argument 2560 iwl_mvm_mei_host_disassociated(struct iwl_mvm *mvm) iwl_mvm_mei_host_disassociated() argument 2566 iwl_mvm_mei_device_state(struct iwl_mvm *mvm, bool up) iwl_mvm_mei_device_state() argument 2572 iwl_mvm_mei_set_sw_rfkill_state(struct iwl_mvm *mvm) iwl_mvm_mei_set_sw_rfkill_state() argument 2582 iwl_mvm_mei_filter_scan(struct iwl_mvm *mvm, struct sk_buff *skb) iwl_mvm_mei_filter_scan() argument [all...] |
H A D | tdls.c | 8 #include "mvm.h" 16 void iwl_mvm_teardown_tdls_peers(struct iwl_mvm *mvm) in iwl_mvm_teardown_tdls_peers() argument 22 lockdep_assert_held(&mvm->mutex); in iwl_mvm_teardown_tdls_peers() 24 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) { in iwl_mvm_teardown_tdls_peers() 25 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i], in iwl_mvm_teardown_tdls_peers() 26 lockdep_is_held(&mvm->mutex)); in iwl_mvm_teardown_tdls_peers() 38 int iwl_mvm_tdls_sta_count(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_tdls_sta_count() argument 45 lockdep_assert_held(&mvm->mutex); in iwl_mvm_tdls_sta_count() 47 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) { in iwl_mvm_tdls_sta_count() 48 sta = rcu_dereference_protected(mvm in iwl_mvm_tdls_sta_count() 65 iwl_mvm_tdls_config(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_tdls_config() argument 123 iwl_mvm_recalc_tdls_state(struct iwl_mvm *mvm, struct ieee80211_vif *vif, bool sta_added) iwl_mvm_recalc_tdls_state() argument 149 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_mac_mgd_protect_tdls_discover() local 183 iwl_mvm_tdls_update_cs_state(struct iwl_mvm *mvm, enum iwl_mvm_tdls_cs_state state) iwl_mvm_tdls_update_cs_state() argument 202 iwl_mvm_rx_tdls_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_rx_tdls_notif() argument 244 iwl_mvm_tdls_check_action(struct iwl_mvm *mvm, enum iwl_tdls_channel_switch_type type, const u8 *peer, bool peer_initiator, u32 timestamp) iwl_mvm_tdls_check_action() argument 327 iwl_mvm_tdls_config_channel_switch(struct iwl_mvm *mvm, struct ieee80211_vif *vif, enum iwl_tdls_channel_switch_type type, const u8 *peer, bool peer_initiator, u8 oper_class, struct cfg80211_chan_def *chandef, u32 timestamp, u16 switch_time, u16 switch_timeout, struct sk_buff *skb, u32 ch_sw_tm_ie) iwl_mvm_tdls_config_channel_switch() argument 454 struct iwl_mvm *mvm; iwl_mvm_tdls_ch_switch_work() local 506 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_tdls_channel_switch() local 568 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_tdls_cancel_channel_switch() local 621 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_tdls_recv_channel_switch() local [all...] |
H A D | time-event.c | 14 #include "mvm.h" 25 void iwl_mvm_te_clear_data(struct iwl_mvm *mvm, in iwl_mvm_te_clear_data() argument 28 lockdep_assert_held(&mvm->time_event_lock); in iwl_mvm_te_clear_data() 49 struct iwl_mvm *mvm = container_of(wk, struct iwl_mvm, roc_done_wk); in iwl_mvm_roc_done_wk() local 58 clear_bit(IWL_MVM_STATUS_ROC_RUNNING, &mvm->status); in iwl_mvm_roc_done_wk() 69 mutex_lock(&mvm->mutex); in iwl_mvm_roc_done_wk() 70 if (test_and_clear_bit(IWL_MVM_STATUS_NEED_FLUSH_P2P, &mvm->status)) { in iwl_mvm_roc_done_wk() 80 if (!WARN_ON(!mvm->p2p_device_vif)) { in iwl_mvm_roc_done_wk() 81 struct ieee80211_vif *vif = mvm->p2p_device_vif; in iwl_mvm_roc_done_wk() 84 iwl_mvm_flush_sta(mvm, mvmvi in iwl_mvm_roc_done_wk() 135 iwl_mvm_roc_finished(struct iwl_mvm *mvm) iwl_mvm_roc_finished() argument 147 iwl_mvm_csa_noa_start(struct iwl_mvm *mvm) iwl_mvm_csa_noa_start() argument 182 iwl_mvm_te_check_disconnect(struct iwl_mvm *mvm, struct ieee80211_vif *vif, const char *errmsg) iwl_mvm_te_check_disconnect() argument 223 iwl_mvm_te_handle_notify_csa(struct iwl_mvm *mvm, struct iwl_mvm_time_event_data *te_data, struct iwl_time_event_notif *notif) iwl_mvm_te_handle_notify_csa() argument 259 iwl_mvm_te_check_trigger(struct iwl_mvm *mvm, struct iwl_time_event_notif *notif, struct iwl_mvm_time_event_data *te_data) iwl_mvm_te_check_trigger() argument 296 iwl_mvm_p2p_roc_finished(struct iwl_mvm *mvm) iwl_mvm_p2p_roc_finished() argument 315 iwl_mvm_te_handle_notif(struct iwl_mvm *mvm, struct iwl_mvm_time_event_data *te_data, struct iwl_time_event_notif *notif) iwl_mvm_te_handle_notif() argument 405 iwl_mvm_aux_roc_te_handle_notif(struct iwl_mvm *mvm, struct iwl_time_event_notif *notif) iwl_mvm_aux_roc_te_handle_notif() argument 453 iwl_mvm_rx_time_event_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_rx_time_event_notif() argument 480 struct iwl_mvm *mvm = iwl_mvm_te_notif() local 512 struct iwl_mvm *mvm = iwl_mvm_time_event_response() local 538 iwl_mvm_time_event_send_add(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mvm_time_event_data *te_data, struct iwl_time_event_cmd *te_cmd) iwl_mvm_time_event_send_add() argument 599 iwl_mvm_protect_session(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 duration, u32 min_duration, u32 max_delay, bool wait_for_notif) iwl_mvm_protect_session() argument 675 iwl_mvm_cancel_session_protection(struct iwl_mvm *mvm, struct iwl_mvm_vif *mvmvif, u32 id) iwl_mvm_cancel_session_protection() argument 696 __iwl_mvm_remove_time_event(struct iwl_mvm *mvm, struct iwl_mvm_time_event_data *te_data, u32 *uid) __iwl_mvm_remove_time_event() argument 762 iwl_mvm_remove_aux_roc_te(struct iwl_mvm *mvm, struct iwl_mvm_vif *mvmvif, struct iwl_mvm_time_event_data *te_data) iwl_mvm_remove_aux_roc_te() argument 793 iwl_mvm_remove_time_event(struct iwl_mvm *mvm, struct iwl_mvm_vif *mvmvif, struct iwl_mvm_time_event_data *te_data) iwl_mvm_remove_time_event() argument 817 iwl_mvm_stop_session_protection(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_stop_session_protection() argument 848 iwl_mvm_rx_session_protect_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_rx_session_protect_notif() argument 919 iwl_mvm_start_p2p_roc_session_protection(struct iwl_mvm *mvm, struct ieee80211_vif *vif, int duration, enum ieee80211_roc_type type) iwl_mvm_start_p2p_roc_session_protection() argument 958 iwl_mvm_start_p2p_roc(struct iwl_mvm *mvm, struct ieee80211_vif *vif, int duration, enum ieee80211_roc_type type) iwl_mvm_start_p2p_roc() argument 1013 iwl_mvm_get_roc_te(struct iwl_mvm *mvm) iwl_mvm_get_roc_te() argument 1044 iwl_mvm_cleanup_roc_te(struct iwl_mvm *mvm) iwl_mvm_cleanup_roc_te() argument 1054 iwl_mvm_stop_roc(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_stop_roc() argument 1093 iwl_mvm_remove_csa_period(struct iwl_mvm *mvm, struct ieee80211_vif *vif) iwl_mvm_remove_csa_period() argument 1112 iwl_mvm_schedule_csa_period(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 duration, u32 apply_time) iwl_mvm_schedule_csa_period() argument 1162 struct iwl_mvm *mvm = iwl_mvm_session_prot_notif() local 1185 iwl_mvm_schedule_session_protection(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 duration, u32 min_duration, bool wait_for_notif) iwl_mvm_schedule_session_protection() argument [all...] |
H A D | nvm.c | 11 #include "mvm.h" 34 static int iwl_nvm_write_chunk(struct iwl_mvm *mvm, u16 section, in iwl_nvm_write_chunk() argument 55 ret = iwl_mvm_send_cmd(mvm, &cmd); in iwl_nvm_write_chunk() 63 IWL_ERR(mvm, in iwl_nvm_write_chunk() 73 static int iwl_nvm_read_chunk(struct iwl_mvm *mvm, u16 section, in iwl_nvm_read_chunk() argument 94 ret = iwl_mvm_send_cmd(mvm, &cmd); in iwl_nvm_read_chunk() 117 IWL_DEBUG_EEPROM(mvm->trans->dev, in iwl_nvm_read_chunk() 122 IWL_DEBUG_EEPROM(mvm->trans->dev, in iwl_nvm_read_chunk() 124 ret, mvm->trans->name); in iwl_nvm_read_chunk() 131 IWL_ERR(mvm, "NV in iwl_nvm_read_chunk() 146 iwl_nvm_write_section(struct iwl_mvm *mvm, u16 section, const u8 *data, u16 length) iwl_nvm_write_section() argument 180 iwl_nvm_read_section(struct iwl_mvm *mvm, u16 section, u8 *data, u32 size_read) iwl_nvm_read_section() argument 218 iwl_parse_nvm_sections(struct iwl_mvm *mvm) iwl_parse_nvm_sections() argument 279 iwl_mvm_load_nvm_to_nic(struct iwl_mvm *mvm) iwl_mvm_load_nvm_to_nic() argument 299 iwl_nvm_init(struct iwl_mvm *mvm) iwl_nvm_init() argument 408 iwl_mvm_update_mcc(struct iwl_mvm *mvm, const char *alpha2, enum iwl_mcc_source src_id) iwl_mvm_update_mcc() argument 542 iwl_mvm_init_mcc(struct iwl_mvm *mvm) iwl_mvm_init_mcc() argument 598 iwl_mvm_rx_chub_update_mcc(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_rx_chub_update_mcc() argument [all...] |
H A D | debugfs.c | 13 #include "mvm.h" 26 struct iwl_mvm *mvm = file->private_data; in iwl_dbgfs_ctdp_budget_read() local 30 if (!iwl_mvm_is_ctdp_supported(mvm)) in iwl_dbgfs_ctdp_budget_read() 33 if (!iwl_mvm_firmware_running(mvm) || in iwl_dbgfs_ctdp_budget_read() 34 mvm->fwrt.cur_fw_img != IWL_UCODE_REGULAR) in iwl_dbgfs_ctdp_budget_read() 37 mutex_lock(&mvm->mutex); in iwl_dbgfs_ctdp_budget_read() 38 budget = iwl_mvm_ctdp_command(mvm, CTDP_CMD_OPERATION_REPORT, 0); in iwl_dbgfs_ctdp_budget_read() 39 mutex_unlock(&mvm->mutex); in iwl_dbgfs_ctdp_budget_read() 49 static ssize_t iwl_dbgfs_stop_ctdp_write(struct iwl_mvm *mvm, char *buf, in iwl_dbgfs_stop_ctdp_write() argument 54 if (!iwl_mvm_is_ctdp_supported(mvm)) in iwl_dbgfs_stop_ctdp_write() 68 iwl_dbgfs_force_ctkill_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_force_ctkill_write() argument 80 iwl_dbgfs_tx_flush_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_tx_flush_write() argument 114 iwl_dbgfs_sta_drain_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_sta_drain_write() argument 148 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_sram_read() local 180 iwl_dbgfs_sram_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_sram_write() argument 215 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_set_nic_temperature_read() local 234 iwl_dbgfs_set_nic_temperature_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_set_nic_temperature_write() argument 282 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_nic_temp_read() local 307 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_sar_geo_profile_read() local 349 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_wifi_6e_enable_read() local 369 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_stations_read() local 395 iwl_dbgfs_rs_data_read(struct ieee80211_link_sta *link_sta, struct iwl_mvm_sta *mvmsta, struct iwl_mvm *mvm, struct iwl_mvm_link_sta *mvm_link_sta, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_rs_data_read() argument 438 iwl_dbgfs_amsdu_len_write(struct ieee80211_link_sta *link_sta, struct iwl_mvm_sta *mvmsta, struct iwl_mvm *mvm, struct iwl_mvm_link_sta *mvm_link_sta, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_amsdu_len_write() argument 471 iwl_dbgfs_amsdu_len_read(struct ieee80211_link_sta *link_sta, struct iwl_mvm_sta *mvmsta, struct iwl_mvm *mvm, struct iwl_mvm_link_sta *mvm_link_sta, char __user *user_buf, size_t count, loff_t *ppos) iwl_dbgfs_amsdu_len_read() argument 493 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_disable_power_off_read() local 506 iwl_dbgfs_disable_power_off_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_disable_power_off_write() argument 596 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_bt_notif_read() local 640 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_bt_cmd_read() local 662 iwl_dbgfs_bt_tx_prio_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_bt_tx_prio_write() argument 678 iwl_dbgfs_bt_force_ant_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_bt_force_ant_write() argument 716 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_fw_ver_read() local 748 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_tas_get_status_read() local 932 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_phy_integration_ver_read() local 961 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_fw_rx_stats_read() local 1147 iwl_dbgfs_frame_stats_read(struct iwl_mvm *mvm, char __user *user_buf, size_t count, loff_t *ppos, struct iwl_mvm_frame_stats *stats) iwl_dbgfs_frame_stats_read() argument 1218 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_drv_rx_stats_read() local 1224 iwl_dbgfs_fw_restart_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_fw_restart_write() argument 1253 iwl_dbgfs_fw_nmi_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_fw_nmi_write() argument 1272 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_scan_ant_rxchain_read() local 1289 iwl_dbgfs_scan_ant_rxchain_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_scan_ant_rxchain_write() argument 1314 iwl_dbgfs_indirection_tbl_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_indirection_tbl_write() argument 1361 iwl_dbgfs_inject_packet_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_inject_packet_write() argument 1409 _iwl_dbgfs_inject_beacon_ie(struct iwl_mvm *mvm, char *bin, int len) _iwl_dbgfs_inject_beacon_ie() argument 1494 iwl_dbgfs_inject_beacon_ie_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_inject_beacon_ie_write() argument 1504 iwl_dbgfs_inject_beacon_ie_restore_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_inject_beacon_ie_restore_write() argument 1520 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_fw_dbg_conf_read() local 1535 iwl_dbgfs_fw_dbg_conf_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_fw_dbg_conf_write() argument 1559 iwl_dbgfs_fw_dbg_collect_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_fw_dbg_collect_write() argument 1575 iwl_dbgfs_dbg_time_point_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_dbg_time_point_write() argument 1616 struct iwl_mvm *mvm = iwl_mvm_vif_from_mac80211(mvmsta->vif)->mvm; _iwl_dbgfs_link_sta_wrap_write() local 1648 struct iwl_mvm *mvm = iwl_mvm_vif_from_mac80211(mvmsta->vif)->mvm; _iwl_dbgfs_link_sta_wrap_read() local 1731 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_prph_reg_read() local 1747 iwl_dbgfs_prph_reg_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_prph_reg_write() argument 1769 iwl_dbgfs_send_echo_cmd_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_send_echo_cmd_write() argument 1785 struct iwl_mvm *mvm; global() member 1803 iwl_dbgfs_he_sniffer_params_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_he_sniffer_params_write() argument 1864 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_he_sniffer_params_read() local 1881 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_uapsd_noagg_bssids_read() local 1899 iwl_dbgfs_ltr_config_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_ltr_config_write() argument 1930 iwl_dbgfs_rfi_freq_table_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) iwl_dbgfs_rfi_freq_table_write() argument 1963 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_rfi_freq_table_read() local 2049 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_mem_read() local 2110 struct iwl_mvm *mvm = file->private_data; iwl_dbgfs_mem_write() local 2191 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); iwl_mvm_link_sta_add_debugfs() local 2200 iwl_mvm_dbgfs_register(struct iwl_mvm *mvm) iwl_mvm_dbgfs_register() argument [all...] |
H A D | coex.c | 12 #include "mvm.h" 92 iwl_get_coex_type(struct iwl_mvm *mvm, const struct ieee80211_vif *vif) in iwl_get_coex_type() argument 100 * Checking that we hold mvm->mutex is a good idea, but the rate in iwl_get_coex_type() 119 if (mvm->cfg->bt_shared_single_ant) { in iwl_get_coex_type() 125 primary_ch_phy_id = le32_to_cpu(mvm->last_bt_ci_cmd.primary_ch_phy_id); in iwl_get_coex_type() 127 le32_to_cpu(mvm->last_bt_ci_cmd.secondary_ch_phy_id); in iwl_get_coex_type() 130 ret = le32_to_cpu(mvm->last_bt_notif.primary_ch_lut); in iwl_get_coex_type() 132 ret = le32_to_cpu(mvm->last_bt_notif.secondary_ch_lut); in iwl_get_coex_type() 140 int iwl_mvm_send_bt_init_conf(struct iwl_mvm *mvm) in iwl_mvm_send_bt_init_conf() argument 145 lockdep_assert_held(&mvm in iwl_mvm_send_bt_init_conf() 182 iwl_mvm_bt_coex_reduced_txp(struct iwl_mvm *mvm, u8 sta_id, bool enable) iwl_mvm_bt_coex_reduced_txp() argument 214 struct iwl_mvm *mvm; global() member 223 iwl_mvm_bt_coex_enable_rssi_event(struct iwl_mvm *mvm, struct ieee80211_vif *vif, bool enable, int rssi) iwl_mvm_bt_coex_enable_rssi_event() argument 238 iwl_mvm_bt_coex_tcm_based_ci(struct iwl_mvm *mvm, struct iwl_bt_iterator_data *data) iwl_mvm_bt_coex_tcm_based_ci() argument 260 iwl_mvm_bt_notif_per_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_bt_iterator_data *data, unsigned int link_id) iwl_mvm_bt_notif_per_link() argument 425 struct iwl_mvm *mvm = data->mvm; iwl_mvm_bt_notif_iterator() local 445 iwl_mvm_bt_coex_notif_handle(struct iwl_mvm *mvm) iwl_mvm_bt_coex_notif_handle() argument 522 iwl_mvm_rx_bt_coex_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) iwl_mvm_rx_bt_coex_notif() argument 543 iwl_mvm_bt_rssi_event(struct iwl_mvm *mvm, struct ieee80211_vif *vif, enum ieee80211_rssi_event_data rssi_event) iwl_mvm_bt_rssi_event() argument 590 iwl_mvm_coex_agg_time_limit(struct iwl_mvm *mvm, struct ieee80211_sta *sta) iwl_mvm_coex_agg_time_limit() argument 614 iwl_mvm_bt_coex_is_mimo_allowed(struct iwl_mvm *mvm, struct ieee80211_sta *sta) iwl_mvm_bt_coex_is_mimo_allowed() argument 640 iwl_mvm_bt_coex_is_ant_avail(struct iwl_mvm *mvm, u8 ant) iwl_mvm_bt_coex_is_ant_avail() argument 653 iwl_mvm_bt_coex_is_shared_ant_avail(struct iwl_mvm *mvm) iwl_mvm_bt_coex_is_shared_ant_avail() argument 662 iwl_mvm_bt_coex_is_tpc_allowed(struct iwl_mvm *mvm, enum nl80211_band band) iwl_mvm_bt_coex_is_tpc_allowed() argument 673 iwl_mvm_bt_coex_get_single_ant_msk(struct iwl_mvm *mvm, u8 enabled_ants) iwl_mvm_bt_coex_get_single_ant_msk() argument 682 iwl_mvm_bt_coex_tx_prio(struct iwl_mvm *mvm, struct ieee80211_hdr *hdr, struct ieee80211_tx_info *info, u8 ac) iwl_mvm_bt_coex_tx_prio() argument 720 iwl_mvm_bt_coex_vif_change(struct iwl_mvm *mvm) iwl_mvm_bt_coex_vif_change() argument [all...] |