/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | led.c | 9 #include "mvm.h" 11 static void iwl_mvm_send_led_fw_cmd(struct iwl_mvm *mvm, bool on) argument 24 if (!iwl_mvm_firmware_running(mvm)) 27 err = iwl_mvm_send_cmd(mvm, &cmd); 30 IWL_WARN(mvm, "LED command failed: %d\n", err); 33 static void iwl_mvm_led_set(struct iwl_mvm *mvm, bool on) argument 35 if (fw_has_capa(&mvm->fw->ucode_capa, 37 iwl_mvm_send_led_fw_cmd(mvm, on); 41 iwl_write32(mvm->trans, CSR_LED_REG, 48 struct iwl_mvm *mvm local 53 iwl_mvm_leds_init(struct iwl_mvm *mvm) argument 96 iwl_mvm_leds_sync(struct iwl_mvm *mvm) argument 111 iwl_mvm_leds_exit(struct iwl_mvm *mvm) argument [all...] |
H A D | tt.c | 9 #include "mvm.h" 13 void iwl_mvm_enter_ctkill(struct iwl_mvm *mvm) argument 15 struct iwl_mvm_tt_mgmt *tt = &mvm->thermal_throttle; 18 if (test_bit(IWL_MVM_STATUS_HW_CTKILL, &mvm->status)) 21 IWL_ERR(mvm, "Enter CT Kill\n"); 22 iwl_mvm_set_hw_ctkill_state(mvm, true); 24 if (!iwl_mvm_is_tt_in_fw(mvm)) { 33 if (!mvm->temperature_test) 38 static void iwl_mvm_exit_ctkill(struct iwl_mvm *mvm) argument 40 if (!test_bit(IWL_MVM_STATUS_HW_CTKILL, &mvm 47 iwl_mvm_tt_temp_changed(struct iwl_mvm *mvm, u32 temp) argument 60 iwl_mvm_temp_notif_parse(struct iwl_mvm *mvm, struct iwl_rx_packet *pkt) argument 91 struct iwl_mvm *mvm = local 105 iwl_mvm_temp_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) argument 155 iwl_mvm_ct_kill_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) argument 176 iwl_mvm_send_temp_cmd(struct iwl_mvm *mvm, bool response, s32 *temp) argument 235 iwl_mvm_get_temp(struct iwl_mvm *mvm, s32 *temp) argument 277 struct iwl_mvm *mvm; local 324 struct iwl_mvm *mvm = _data; local 340 iwl_mvm_tt_tx_protection(struct iwl_mvm *mvm, bool enable) argument 364 iwl_mvm_tt_tx_backoff(struct iwl_mvm *mvm, u32 backoff) argument 383 iwl_mvm_tt_handler(struct iwl_mvm *mvm) argument 507 iwl_mvm_ctdp_command(struct iwl_mvm *mvm, u32 op, u32 state) argument 576 iwl_mvm_send_temp_report_ths_cmd(struct iwl_mvm *mvm) argument 617 struct iwl_mvm *mvm = thermal_zone_device_priv(device); local 643 struct iwl_mvm *mvm = thermal_zone_device_priv(device); local 670 iwl_mvm_thermal_zone_register(struct iwl_mvm *mvm) argument 725 struct iwl_mvm *mvm = (struct iwl_mvm *)(cdev->devdata); local 735 struct iwl_mvm *mvm = (struct iwl_mvm *)(cdev->devdata); local 765 iwl_mvm_cooling_device_register(struct iwl_mvm *mvm) argument 788 iwl_mvm_thermal_zone_unregister(struct iwl_mvm *mvm) argument 800 iwl_mvm_cooling_device_unregister(struct iwl_mvm *mvm) argument 813 iwl_mvm_thermal_initialize(struct iwl_mvm *mvm, u32 min_backoff) argument 836 iwl_mvm_thermal_exit(struct iwl_mvm *mvm) 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) argument 28 if (gp2 < mvm->ptp_data.last_gp2 && 29 mvm->ptp_data.last_gp2 - gp2 < IWL_PTP_WRAP_THRESHOLD_USEC) { 30 IWL_DEBUG_INFO(mvm, 32 gp2, mvm->ptp_data.last_gp2); 36 if (gp2 < mvm->ptp_data.last_gp2) { 37 mvm->ptp_data.wrap_counter++; 38 IWL_DEBUG_INFO(mvm, 40 mvm 47 iwl_mvm_ptp_get_adj_time(struct iwl_mvm *mvm, u64 base_time_ns) argument 87 iwl_mvm_get_crosstimestamp_fw(struct iwl_mvm *mvm, u32 *gp2, u64 *sys_time) argument 127 iwl_mvm_phc_get_crosstimestamp_loop(struct iwl_mvm *mvm, ktime_t *sys_time, u32 *gp2) argument 153 struct iwl_mvm *mvm = container_of(ptp, struct iwl_mvm, local 196 struct iwl_mvm *mvm = container_of(wk, struct iwl_mvm, local 209 struct iwl_mvm *mvm = container_of(ptp, struct iwl_mvm, local 225 struct iwl_mvm *mvm = container_of(ptp, struct iwl_mvm, local 240 struct iwl_mvm *mvm = container_of(ptp, struct iwl_mvm, local 271 iwl_mvm_ptp_init(struct iwl_mvm *mvm) argument 312 iwl_mvm_ptp_remove(struct iwl_mvm *mvm) argument [all...] |
H A D | fw.c | 21 #include "mvm.h" 39 static int iwl_send_tx_ant_cfg(struct iwl_mvm *mvm, u8 valid_tx_ant) argument 45 IWL_DEBUG_FW(mvm, "select valid tx ant: %u\n", valid_tx_ant); 46 return iwl_mvm_send_cmd_pdu(mvm, TX_ANT_CONFIGURATION_CMD, 0, 50 static int iwl_send_rss_cfg_cmd(struct iwl_mvm *mvm) argument 63 if (mvm->trans->num_rx_queues == 1) 69 1 + (i % (mvm->trans->num_rx_queues - 1)); 72 return iwl_mvm_send_cmd_pdu(mvm, RSS_CONFIG_CMD, 0, sizeof(cmd), &cmd); 75 static int iwl_mvm_send_dqa_cmd(struct iwl_mvm *mvm) argument 83 ret = iwl_mvm_send_cmd_pdu(mvm, cmd_i 92 iwl_mvm_mfu_assert_dump_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) argument 117 struct iwl_mvm *mvm = local 292 iwl_mvm_print_pd_notification(struct iwl_mvm *mvm) argument 315 iwl_mvm_load_ucode_wait_alive(struct iwl_mvm *mvm, enum iwl_ucode_type ucode_type) argument 483 iwl_mvm_phy_filter_init(struct iwl_mvm *mvm, struct iwl_phy_specific_cfg *phy_filters) argument 491 iwl_mvm_uats_init(struct iwl_mvm *mvm) argument 537 iwl_mvm_sgom_init(struct iwl_mvm *mvm) argument 571 iwl_send_phy_cfg_cmd(struct iwl_mvm *mvm) argument 616 iwl_run_unified_mvm_ucode(struct iwl_mvm *mvm) argument 750 iwl_run_init_mvm_ucode(struct iwl_mvm *mvm) argument 874 iwl_mvm_config_ltr(struct iwl_mvm *mvm) argument 887 iwl_mvm_sar_select_profile(struct iwl_mvm *mvm, int prof_a, int prof_b) argument 941 iwl_mvm_get_sar_geo_profile(struct iwl_mvm *mvm) argument 992 iwl_mvm_sar_geo_init(struct iwl_mvm *mvm) argument 1069 iwl_mvm_ppag_send_cmd(struct iwl_mvm *mvm) argument 1090 iwl_mvm_ppag_init(struct iwl_mvm *mvm) argument 1118 iwl_mvm_tas_init(struct iwl_mvm *mvm) argument 1192 iwl_mvm_eval_dsm_rfi(struct iwl_mvm *mvm) argument 1224 iwl_mvm_lari_cfg(struct iwl_mvm *mvm) argument 1329 iwl_mvm_get_bios_tables(struct iwl_mvm *mvm) argument 1396 iwl_mvm_send_recovery_cmd(struct iwl_mvm *mvm, u32 flags) argument 1452 iwl_mvm_sar_init(struct iwl_mvm *mvm) argument 1457 iwl_mvm_load_rt_fw(struct iwl_mvm *mvm) argument 1493 iwl_mvm_up(struct iwl_mvm *mvm) argument 1716 iwl_mvm_load_d3_fw(struct iwl_mvm *mvm) argument 1771 iwl_mvm_rx_mfuart_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) argument [all...] |
H A D | ops.c | 19 #include "mvm.h" 84 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); local 87 u32 phy_config = iwl_mvm_get_phy_config(mvm); 96 IWL_DEBUG_INFO(mvm, "Radio type=0x%x-0x%x-0x%x\n", radio_cfg_type, 99 if (mvm->trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) 103 reg_val = CSR_HW_REV_STEP_DASH(mvm->trans->hw_rev); 121 if (mvm->trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_8000) 124 if (iwl_fw_dbg_is_d3_debug_enabled(&mvm->fwrt)) 127 iwl_trans_set_bits_mask(mvm->trans, CSR_HW_IF_CONFIG_REG, 142 if (!mvm 148 iwl_mvm_rx_monitor_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) argument 215 struct iwl_mvm *mvm = mvmvif->mvm; local 244 iwl_mvm_rx_thermal_dual_chain_req(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) argument 684 iwl_mvm_min_backoff(struct iwl_mvm *mvm) argument 706 struct iwl_mvm *mvm = local 729 struct iwl_mvm *mvm = ctx; local 736 struct iwl_mvm *mvm = ctx; local 748 struct iwl_mvm *mvm = (struct iwl_mvm *)ctx; local 771 iwl_mvm_start_get_nvm(struct iwl_mvm *mvm) argument 838 iwl_mvm_start_post_nvm(struct iwl_mvm *mvm) argument 933 struct iwl_mvm *mvm = ctx; local 991 struct iwl_mvm *mvm = ctx; local 1041 struct iwl_mvm *mvm = priv; local 1065 struct iwl_mvm *mvm = priv; local 1081 struct iwl_mvm *mvm = priv; local 1091 struct iwl_mvm *mvm = local 1123 struct iwl_mvm *mvm = priv; local 1131 struct iwl_mvm *mvm = priv; local 1152 struct iwl_mvm *mvm; local 1463 iwl_mvm_stop_device(struct iwl_mvm *mvm) argument 1480 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); local 1550 iwl_mvm_async_handlers_purge(struct iwl_mvm *mvm) argument 1567 iwl_mvm_async_handlers_by_context(struct iwl_mvm *mvm, u8 contexts) argument 1602 struct iwl_mvm *mvm = local 1611 struct iwl_mvm *mvm = local 1619 iwl_mvm_rx_check_trigger(struct iwl_mvm *mvm, struct iwl_rx_packet *pkt) argument 1649 iwl_mvm_rx_common(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb, struct iwl_rx_packet *pkt) argument 1712 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); local 1728 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); local 1746 iwl_mvm_is_static_queue(struct iwl_mvm *mvm, int queue) argument 1755 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); local 1829 iwl_mvm_set_rfkill_state(struct iwl_mvm *mvm) argument 1835 iwl_mvm_set_hw_ctkill_state(struct iwl_mvm *mvm, bool state) argument 1845 iwl_mvm_get_csme_conn_info(struct iwl_mvm *mvm) argument 1853 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); local 1886 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); local 1911 iwl_mvm_nic_restart(struct iwl_mvm *mvm, bool fw_error) argument 2006 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); local 2036 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); local 2046 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); local 2075 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); local [all...] |
H A D | time-sync.h | 8 #include "mvm.h" 12 void iwl_mvm_time_sync_msmt_event(struct iwl_mvm *mvm, 14 void iwl_mvm_time_sync_msmt_confirm_event(struct iwl_mvm *mvm, 16 int iwl_mvm_time_sync_config(struct iwl_mvm *mvm, const u8 *addr, 20 bool iwl_mvm_time_sync_frame(struct iwl_mvm *mvm, struct sk_buff *skb, u8 *addr) argument 22 if (ether_addr_equal(mvm->time_sync.peer_addr, addr) && 24 skb_queue_tail(&mvm->time_sync.frame_list, skb);
|
H A D | tdls.c | 8 #include "mvm.h" 16 void iwl_mvm_teardown_tdls_peers(struct iwl_mvm *mvm) argument 22 lockdep_assert_held(&mvm->mutex); 24 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) { 25 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i], 26 lockdep_is_held(&mvm->mutex)); 38 int iwl_mvm_tdls_sta_count(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 45 lockdep_assert_held(&mvm->mutex); 47 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) { 48 sta = rcu_dereference_protected(mvm 65 iwl_mvm_tdls_config(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 123 iwl_mvm_recalc_tdls_state(struct iwl_mvm *mvm, struct ieee80211_vif *vif, bool sta_added) argument 150 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 184 iwl_mvm_tdls_update_cs_state(struct iwl_mvm *mvm, enum iwl_mvm_tdls_cs_state state) argument 203 iwl_mvm_rx_tdls_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) argument 245 iwl_mvm_tdls_check_action(struct iwl_mvm *mvm, enum iwl_tdls_channel_switch_type type, const u8 *peer, bool peer_initiator, u32 timestamp) argument 328 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) argument 455 struct iwl_mvm *mvm; local 507 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 569 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 622 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local [all...] |
H A D | time-event.h | 11 #include "mvm.h" 63 * @mvm: the mvm component 79 void iwl_mvm_protect_session(struct iwl_mvm *mvm, 86 * @mvm: the mvm component 94 void iwl_mvm_stop_session_protection(struct iwl_mvm *mvm, 100 void iwl_mvm_rx_time_event_notif(struct iwl_mvm *mvm, 105 * @mvm: the mvm componen [all...] |
H A D | utils.c | 13 #include "mvm.h" 21 int iwl_mvm_send_cmd(struct iwl_mvm *mvm, struct iwl_host_cmd *cmd) argument 26 if (WARN_ON(mvm->d3_test_active)) 36 lockdep_assert_held(&mvm->mutex); 38 ret = iwl_trans_send_cmd(mvm->trans, cmd); 57 int iwl_mvm_send_cmd_pdu(struct iwl_mvm *mvm, u32 id, argument 67 return iwl_mvm_send_cmd(mvm, &cmd); 73 int iwl_mvm_send_cmd_status(struct iwl_mvm *mvm, struct iwl_host_cmd *cmd, argument 80 lockdep_assert_held(&mvm->mutex); 83 if (WARN_ON(mvm 126 iwl_mvm_send_cmd_pdu_status(struct iwl_mvm *mvm, u32 id, u16 len, const void *data, u32 *status) argument 195 iwl_mvm_rx_fw_error(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) argument 228 iwl_mvm_next_antenna(struct iwl_mvm *mvm, u8 valid, u8 last_idx) argument 255 iwl_mvm_send_lq_cmd(struct iwl_mvm *mvm, struct iwl_lq_cmd *lq) argument 282 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, unsigned int link_id) argument 324 iwl_mvm_update_smps_on_active_links(struct iwl_mvm *mvm, struct ieee80211_vif *vif, enum iwl_mvm_smps_type_request req_type, enum ieee80211_smps_mode smps_request) argument 347 iwl_mvm_request_system_statistics(struct iwl_mvm *mvm, bool clear, u8 cmd_ver) argument 401 iwl_mvm_request_statistics(struct iwl_mvm *mvm, bool clear) argument 465 iwl_mvm_accu_radio_stats(struct iwl_mvm *mvm) argument 501 iwl_mvm_rx_diversity_allowed(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt) argument 527 iwl_mvm_send_low_latency_cmd(struct iwl_mvm *mvm, bool low_latency, u16 mac_id) argument 549 iwl_mvm_update_low_latency(struct iwl_mvm *mvm, struct ieee80211_vif *vif, bool low_latency, enum iwl_mvm_low_latency_cause cause) argument 600 iwl_mvm_low_latency(struct iwl_mvm *mvm) argument 611 iwl_mvm_low_latency_band(struct iwl_mvm *mvm, enum nl80211_band band) argument 643 iwl_mvm_get_bss_vif(struct iwl_mvm *mvm) argument 674 iwl_mvm_get_vif_by_macid(struct iwl_mvm *mvm, u32 macid) argument 705 iwl_mvm_is_vif_assoc(struct iwl_mvm *mvm) argument 718 iwl_mvm_get_wd_timeout(struct iwl_mvm *mvm, struct ieee80211_vif *vif, bool tdls, bool cmd_q) argument 773 iwl_mvm_connection_loss(struct iwl_mvm *mvm, struct ieee80211_vif *vif, const char *errmsg) argument 796 iwl_mvm_event_frame_timeout_callback(struct iwl_mvm *mvm, struct ieee80211_vif *vif, const struct ieee80211_sta *sta, u16 tid) argument 828 iwl_mvm_tcm_load(struct iwl_mvm *mvm, u32 airtime, unsigned long elapsed) argument 842 struct iwl_mvm *mvm = _data; local 866 iwl_mvm_tcm_results(struct iwl_mvm *mvm) argument 882 struct iwl_mvm *mvm; local 905 iwl_mvm_uapsd_agg_disconnect(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 932 iwl_mvm_check_uapsd_agg_expected_tpt(struct iwl_mvm *mvm, unsigned int elapsed, int mac) argument 987 iwl_mvm_calc_tcm_stats(struct iwl_mvm *mvm, unsigned long ts, bool handle_uapsd) argument 1091 iwl_mvm_recalc_tcm(struct iwl_mvm *mvm) argument 1133 struct iwl_mvm *mvm = container_of(delayed_work, struct iwl_mvm, local 1139 iwl_mvm_pause_tcm(struct iwl_mvm *mvm, bool with_cancel) argument 1148 iwl_mvm_resume_tcm(struct iwl_mvm *mvm) argument 1183 iwl_mvm_tcm_add_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 1191 iwl_mvm_tcm_rm_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 1198 iwl_mvm_get_systime(struct iwl_mvm *mvm) argument 1209 iwl_mvm_get_sync_time(struct iwl_mvm *mvm, int clock_type, u32 *gp2, u64 *boottime, ktime_t *realtime) argument [all...] |
H A D | mac80211.c | 22 #include "mvm.h" 92 static void iwl_mvm_reset_phy_ctxts(struct iwl_mvm *mvm) argument 96 memset(mvm->phy_ctxts, 0, sizeof(mvm->phy_ctxts)); 98 mvm->phy_ctxts[i].id = i; 99 mvm->phy_ctxts[i].ref = 0; 110 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 114 IWL_DEBUG_LAR(mvm, "Getting regdomain data for %s from FW\n", alpha2); 116 lockdep_assert_held(&mvm->mutex); 118 resp = iwl_mvm_update_mcc(mvm, alpha 173 iwl_mvm_update_changed_regdom(struct iwl_mvm *mvm) argument 191 iwl_mvm_get_current_regdomain(struct iwl_mvm *mvm, bool *changed) argument 200 iwl_mvm_init_fw_regd(struct iwl_mvm *mvm, bool force_regd_sync) argument 294 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 302 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 324 iwl_mvm_mac_setup_register(struct iwl_mvm *mvm) argument 788 iwl_mvm_tx_skb(struct iwl_mvm *mvm, struct sk_buff *skb, struct ieee80211_sta *sta) argument 805 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 874 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 927 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 959 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) argument 1007 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 1089 struct iwl_mvm *mvm = data; local 1118 iwl_mvm_restart_cleanup(struct iwl_mvm *mvm) argument 1160 __iwl_mvm_mac_start(struct iwl_mvm *mvm) argument 1219 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 1244 iwl_mvm_restart_complete(struct iwl_mvm *mvm) argument 1271 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 1282 __iwl_mvm_mac_stop(struct iwl_mvm *mvm) argument 1333 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 1371 iwl_mvm_get_free_phy_ctxt(struct iwl_mvm *mvm) argument 1385 iwl_mvm_set_tx_power(struct iwl_mvm *mvm, struct ieee80211_vif *vif, s16 tx_power) argument 1426 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 1476 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 1545 iwl_mvm_alloc_bcast_mcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 1570 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 1697 iwl_mvm_prepare_mac_removal(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 1717 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 1773 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 1811 struct iwl_mvm *mvm; member in struct:iwl_mvm_mc_iter_data 1819 struct iwl_mvm *mvm = data->mvm; local 1848 iwl_mvm_recalc_multicast(struct iwl_mvm *mvm) argument 1884 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 1922 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 1951 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 1967 iwl_mvm_update_mu_groups(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 1999 iwl_mvm_mu_mimo_grp_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) argument 2037 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) argument 2091 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) argument 2178 iwl_mvm_set_sta_pkt_ext(struct iwl_mvm *mvm, struct ieee80211_link_sta *link_sta, struct iwl_he_pkt_ext_v2 *pkt_ext) argument 2281 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) argument 2312 iwl_mvm_is_nic_ack_enabled(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 2360 iwl_mvm_cfg_he_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u8 sta_id) argument 2513 iwl_mvm_protect_assoc(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 duration_override, unsigned int link_id) argument 2542 iwl_mvm_bss_info_changed_station_assoc(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u64 changes) argument 2575 iwl_mvm_bss_info_changed_station_common(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf, u64 changes) argument 2622 iwl_mvm_bss_info_changed_station(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u64 changes) argument 2793 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 2834 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 2963 iwl_mvm_stop_ap_ibss_common(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 3001 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 3051 iwl_mvm_bss_info_changed_ap_ibss(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u64 changes) argument 3087 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 3123 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 3140 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 3164 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 3179 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 3191 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 3252 iwl_mvm_sta_pm_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) argument 3309 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 3343 iwl_mvm_check_uapsd(struct iwl_mvm *mvm, struct ieee80211_vif *vif, const u8 *bssid) argument 3381 iwl_mvm_tdls_check_trigger(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u8 *peer_addr, enum nl80211_tdls_operation action) argument 3463 iwl_mvm_reset_cca_40mhz_workaround(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 3495 iwl_mvm_mei_host_associated(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mvm_sta *mvm_sta) argument 3566 iwl_mvm_mac_ctxt_changed_wrapper(struct iwl_mvm *mvm, struct ieee80211_vif *vif, bool force_assoc_off) argument 3595 iwl_mvm_rs_rate_init_all_links(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 3618 iwl_mvm_vif_conf_from_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 3681 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) argument 3740 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) argument 3796 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) argument 3848 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) argument 3887 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 4023 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 4033 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 4050 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 4074 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 4085 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 4101 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 4122 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 4154 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 4393 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 4409 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 4421 struct iwl_mvm *mvm = local 4452 iwl_mvm_send_aux_roc_cmd(struct iwl_mvm *mvm, struct ieee80211_channel *channel, struct ieee80211_vif *vif, int duration) argument 4549 iwl_mvm_add_aux_sta_for_hs20(struct iwl_mvm *mvm, u32 lmac_id) argument 4569 iwl_mvm_roc_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 4599 iwl_mvm_roc_station(struct iwl_mvm *mvm, struct ieee80211_channel *channel, struct ieee80211_vif *vif, int duration) argument 4622 iwl_mvm_p2p_find_phy_ctxt(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_channel *channel) argument 4674 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 4726 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 4753 iwl_mvm_is_ftm_responder_chanctx(struct iwl_mvm *mvm, struct ieee80211_chanctx_conf *ctx) argument 4768 __iwl_mvm_add_chanctx(struct iwl_mvm *mvm, struct ieee80211_chanctx_conf *ctx) argument 4802 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 4812 __iwl_mvm_remove_chanctx(struct iwl_mvm *mvm, struct ieee80211_chanctx_conf *ctx) argument 4826 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 4836 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 4879 __iwl_mvm_assign_vif_chanctx_common(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_chanctx_conf *ctx, bool switching_chanctx, int *ret) argument 4920 __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) argument 5007 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 5023 __iwl_mvm_unassign_vif_chanctx_common(struct iwl_mvm *mvm, struct ieee80211_vif *vif, bool switching_chanctx) argument 5061 __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) argument 5100 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 5108 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) argument 5167 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) argument 5214 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 5251 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 5259 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 5278 __iwl_mvm_mac_testmode_cmd(struct iwl_mvm *mvm, struct ieee80211_vif *vif, void *data, int len) argument 5328 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 5352 iwl_mvm_schedule_client_csa(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_channel_switch *chsw) argument 5378 iwl_mvm_old_pre_chan_sw_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_channel_switch *chsw) argument 5419 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 5535 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 5592 iwl_mvm_flush_no_vif(struct iwl_mvm *mvm, u32 queues, bool drop) argument 5629 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 5690 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 5712 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 5907 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 5955 iwl_mvm_event_mlme_callback_ini(struct iwl_mvm *mvm, struct ieee80211_vif *vif, const struct ieee80211_mlme_event *mlme) argument 5975 iwl_mvm_event_mlme_callback(struct iwl_mvm *mvm, struct ieee80211_vif *vif, const struct ieee80211_event *event) argument 6027 iwl_mvm_event_bar_rx_callback(struct iwl_mvm *mvm, struct ieee80211_vif *vif, const struct ieee80211_event *event) argument 6054 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 6073 iwl_mvm_sync_rx_queues_internal(struct iwl_mvm *mvm, enum iwl_mvm_rxq_notif_type type, bool sync, const void *data, u32 size) argument 6138 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 6150 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 6177 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 6190 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 6211 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 6227 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local [all...] |
H A D | coex.c | 12 #include "mvm.h" 92 iwl_get_coex_type(struct iwl_mvm *mvm, const struct ieee80211_vif *vif) argument 100 * Checking that we hold mvm->mutex is a good idea, but the rate 120 primary_ch_phy_id = le32_to_cpu(mvm->last_bt_ci_cmd.primary_ch_phy_id); 122 le32_to_cpu(mvm->last_bt_ci_cmd.secondary_ch_phy_id); 125 ret = le32_to_cpu(mvm->last_bt_notif.primary_ch_lut); 127 ret = le32_to_cpu(mvm->last_bt_notif.secondary_ch_lut); 135 int iwl_mvm_send_bt_init_conf(struct iwl_mvm *mvm) argument 140 lockdep_assert_held(&mvm->mutex); 142 if (unlikely(mvm 177 iwl_mvm_bt_coex_reduced_txp(struct iwl_mvm *mvm, u8 sta_id, bool enable) argument 212 struct iwl_mvm *mvm; member in struct:iwl_bt_iterator_data 221 iwl_mvm_bt_coex_enable_rssi_event(struct iwl_mvm *mvm, struct ieee80211_vif *vif, bool enable, int rssi) argument 236 iwl_mvm_bt_coex_tcm_based_ci(struct iwl_mvm *mvm, struct iwl_bt_iterator_data *data) argument 258 iwl_mvm_bt_coex_enable_esr(struct iwl_mvm *mvm, struct ieee80211_vif *vif, bool enable) argument 301 iwl_mvm_bt_coex_calculate_esr_mode(struct iwl_mvm *mvm, struct ieee80211_vif *vif, int link_id, int primary_link) argument 357 iwl_mvm_bt_coex_update_vif_esr(struct iwl_mvm *mvm, struct ieee80211_vif *vif, int link_id) argument 376 iwl_mvm_bt_notif_per_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_bt_iterator_data *data, unsigned int link_id) argument 542 struct iwl_mvm *mvm = data->mvm; local 566 iwl_mvm_bt_coex_notif_handle(struct iwl_mvm *mvm) argument 648 iwl_mvm_rx_bt_coex_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) argument 669 iwl_mvm_bt_rssi_event(struct iwl_mvm *mvm, struct ieee80211_vif *vif, enum ieee80211_rssi_event_data rssi_event) argument 716 iwl_mvm_coex_agg_time_limit(struct iwl_mvm *mvm, struct ieee80211_sta *sta) argument 740 iwl_mvm_bt_coex_is_mimo_allowed(struct iwl_mvm *mvm, struct ieee80211_sta *sta) argument 766 iwl_mvm_bt_coex_is_ant_avail(struct iwl_mvm *mvm, u8 ant) argument 775 iwl_mvm_bt_coex_is_shared_ant_avail(struct iwl_mvm *mvm) argument 780 iwl_mvm_bt_coex_is_tpc_allowed(struct iwl_mvm *mvm, enum nl80211_band band) argument 791 iwl_mvm_bt_coex_get_single_ant_msk(struct iwl_mvm *mvm, u8 enabled_ants) argument 800 iwl_mvm_bt_coex_tx_prio(struct iwl_mvm *mvm, struct ieee80211_hdr *hdr, struct ieee80211_tx_info *info, u8 ac) argument 838 iwl_mvm_bt_coex_vif_change(struct iwl_mvm *mvm) argument [all...] |
H A D | nvm.c | 11 #include "mvm.h" 34 static int iwl_nvm_write_chunk(struct iwl_mvm *mvm, u16 section, argument 55 ret = iwl_mvm_send_cmd(mvm, &cmd); 63 IWL_ERR(mvm, 73 static int iwl_nvm_read_chunk(struct iwl_mvm *mvm, u16 section, argument 94 ret = iwl_mvm_send_cmd(mvm, &cmd); 117 IWL_DEBUG_EEPROM(mvm->trans->dev, 122 IWL_DEBUG_EEPROM(mvm->trans->dev, 124 ret, mvm->trans->name); 131 IWL_ERR(mvm, "NV 146 iwl_nvm_write_section(struct iwl_mvm *mvm, u16 section, const u8 *data, u16 length) argument 180 iwl_nvm_read_section(struct iwl_mvm *mvm, u16 section, u8 *data, u32 size_read) argument 218 iwl_parse_nvm_sections(struct iwl_mvm *mvm) argument 287 iwl_mvm_load_nvm_to_nic(struct iwl_mvm *mvm) argument 307 iwl_nvm_init(struct iwl_mvm *mvm) argument 416 iwl_mvm_update_mcc(struct iwl_mvm *mvm, const char *alpha2, enum iwl_mcc_source src_id) argument 550 iwl_mvm_init_mcc(struct iwl_mvm *mvm) argument 606 iwl_mvm_rx_chub_update_mcc(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) argument [all...] |
H A D | time-event.c | 14 #include "mvm.h" 25 void iwl_mvm_te_clear_data(struct iwl_mvm *mvm, argument 28 lockdep_assert_held(&mvm->time_event_lock); 48 static void iwl_mvm_cleanup_roc(struct iwl_mvm *mvm) argument 61 if (test_and_clear_bit(IWL_MVM_STATUS_ROC_RUNNING, &mvm->status)) { 73 if (!WARN_ON(!mvm->p2p_device_vif)) { 74 struct ieee80211_vif *vif = mvm->p2p_device_vif; 77 iwl_mvm_flush_sta(mvm, mvmvif->deflink.bcast_sta.sta_id, 80 if (mvm->mld_api_is_used) { 81 iwl_mvm_mld_rm_bcast_sta(mvm, vi 122 struct iwl_mvm *mvm = container_of(wk, struct iwl_mvm, roc_done_wk); local 129 iwl_mvm_roc_finished(struct iwl_mvm *mvm) argument 141 iwl_mvm_csa_noa_start(struct iwl_mvm *mvm) argument 176 iwl_mvm_te_check_disconnect(struct iwl_mvm *mvm, struct ieee80211_vif *vif, const char *errmsg) argument 217 iwl_mvm_te_handle_notify_csa(struct iwl_mvm *mvm, struct iwl_mvm_time_event_data *te_data, struct iwl_time_event_notif *notif) argument 253 iwl_mvm_te_check_trigger(struct iwl_mvm *mvm, struct iwl_time_event_notif *notif, struct iwl_mvm_time_event_data *te_data) argument 297 iwl_mvm_te_handle_notif(struct iwl_mvm *mvm, struct iwl_mvm_time_event_data *te_data, struct iwl_time_event_notif *notif) argument 384 iwl_mvm_rx_roc_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) argument 403 iwl_mvm_aux_roc_te_handle_notif(struct iwl_mvm *mvm, struct iwl_time_event_notif *notif) argument 451 iwl_mvm_rx_time_event_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) argument 478 struct iwl_mvm *mvm = local 510 struct iwl_mvm *mvm = local 536 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) argument 597 iwl_mvm_protect_session(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 duration, u32 min_duration, u32 max_delay, bool wait_for_notif) argument 674 iwl_mvm_get_session_prot_id(struct iwl_mvm *mvm, struct ieee80211_vif *vif, s8 link_id) argument 697 iwl_mvm_cancel_session_protection(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 id, s8 link_id) argument 720 __iwl_mvm_remove_time_event(struct iwl_mvm *mvm, struct iwl_mvm_time_event_data *te_data, u32 *uid) argument 790 iwl_mvm_remove_aux_roc_te(struct iwl_mvm *mvm, struct iwl_mvm_vif *mvmvif, struct iwl_mvm_time_event_data *te_data) argument 821 iwl_mvm_remove_time_event(struct iwl_mvm *mvm, struct iwl_mvm_vif *mvmvif, struct iwl_mvm_time_event_data *te_data) argument 845 iwl_mvm_stop_session_protection(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 876 iwl_mvm_rx_session_protect_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) argument 1007 iwl_mvm_roc_add_cmd(struct iwl_mvm *mvm, struct ieee80211_channel *channel, struct ieee80211_vif *vif, int duration, u32 activity) argument 1050 iwl_mvm_start_p2p_roc_session_protection(struct iwl_mvm *mvm, struct ieee80211_vif *vif, int duration, enum ieee80211_roc_type type) argument 1091 iwl_mvm_start_p2p_roc(struct iwl_mvm *mvm, struct ieee80211_vif *vif, int duration, enum ieee80211_roc_type type) argument 1146 iwl_mvm_get_roc_te(struct iwl_mvm *mvm) argument 1177 iwl_mvm_cleanup_roc_te(struct iwl_mvm *mvm) argument 1187 iwl_mvm_roc_rm_cmd(struct iwl_mvm *mvm, u32 activity) argument 1202 iwl_mvm_roc_station_remove(struct iwl_mvm *mvm, struct iwl_mvm_vif *mvmvif) argument 1218 iwl_mvm_stop_roc(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 1269 iwl_mvm_remove_csa_period(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 1288 iwl_mvm_schedule_csa_period(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 duration, u32 apply_time) argument 1338 struct iwl_mvm *mvm = local 1361 iwl_mvm_schedule_session_protection(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 duration, u32 min_duration, bool wait_for_notif, unsigned int link_id) argument [all...] |
H A D | time-sync.c | 6 #include "mvm.h" 33 static struct sk_buff *iwl_mvm_time_sync_find_skb(struct iwl_mvm *mvm, u8 *addr, argument 42 while ((skb = skb_dequeue(&mvm->time_sync.frame_list))) { 58 void iwl_mvm_time_sync_msmt_event(struct iwl_mvm *mvm, argument 67 iwl_mvm_time_sync_find_skb(mvm, notif->peer_addr, 72 IWL_DEBUG_INFO(mvm, "Time sync event but no pending skb\n"); 77 adj_time = iwl_mvm_ptp_get_adj_time(mvm, ts_10ns * 10); 82 adj_time = iwl_mvm_ptp_get_adj_time(mvm, ts_10ns * 10); 86 IWL_DEBUG_INFO(mvm, 90 ieee80211_rx_napi(mvm 93 iwl_mvm_time_sync_msmt_confirm_event(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) argument 128 iwl_mvm_time_sync_config(struct iwl_mvm *mvm, const u8 *addr, u32 protocols) argument [all...] |
H A D | sta.c | 9 #include "mvm.h" 18 static inline int iwl_mvm_add_sta_cmd_size(struct iwl_mvm *mvm) argument 20 if (iwl_mvm_has_new_rx_api(mvm) || 21 fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_STA_TYPE)) 27 int iwl_mvm_find_free_sta_id(struct iwl_mvm *mvm, enum nl80211_iftype iftype) argument 33 WARN_ON_ONCE(test_bit(IWL_MVM_STATUS_IN_HW_RESTART, &mvm->status)); 35 lockdep_assert_held(&mvm->mutex); 41 /* Don't take rcu_read_lock() since we are protected by mvm->mutex */ 42 for (sta_id = 0; sta_id < mvm->fw->ucode_capa.num_stations; sta_id++) { 46 if (!rcu_dereference_protected(mvm 128 iwl_mvm_sta_send_to_fw(struct iwl_mvm *mvm, struct ieee80211_sta *sta, bool update, unsigned int flags) argument 303 iwl_mvm_invalidate_sta_queue(struct iwl_mvm *mvm, int queue, unsigned long disable_agg_tids, bool remove_queue) argument 351 iwl_mvm_disable_txq(struct iwl_mvm *mvm, struct ieee80211_sta *sta, int sta_id, u16 *queueptr, u8 tid) argument 444 iwl_mvm_get_queue_agg_tids(struct iwl_mvm *mvm, int queue) argument 484 iwl_mvm_remove_sta_queue_marking(struct iwl_mvm *mvm, int queue) argument 547 iwl_mvm_free_inactive_queue(struct iwl_mvm *mvm, int queue, struct ieee80211_sta *old_sta, u8 new_sta_id) argument 594 iwl_mvm_get_shared_queue(struct iwl_mvm *mvm, unsigned long tfd_queue_mask, u8 ac) argument 663 iwl_mvm_reconfig_scd(struct iwl_mvm *mvm, int queue, int fifo, int sta_id, int tid, int frame_limit, u16 ssn) 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) argument 787 iwl_mvm_find_free_queue(struct iwl_mvm *mvm, u8 sta_id, u8 minq, u8 maxq) argument 845 iwl_mvm_tvqm_enable_txq(struct iwl_mvm *mvm, struct ieee80211_sta *sta, u8 sta_id, u8 tid, unsigned int timeout) argument 910 iwl_mvm_sta_alloc_queue_tvqm(struct iwl_mvm *mvm, struct ieee80211_sta *sta, u8 ac, int tid) argument 944 iwl_mvm_update_txq_mapping(struct iwl_mvm *mvm, struct ieee80211_sta *sta, int queue, u8 sta_id, u8 tid) argument 988 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) argument 1023 iwl_mvm_change_queue_tid(struct iwl_mvm *mvm, int queue) argument 1060 iwl_mvm_unshare_queue(struct iwl_mvm *mvm, int queue) argument 1146 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) argument 1238 iwl_mvm_inactivity_check(struct iwl_mvm *mvm, u8 alloc_for_sta) argument 1337 iwl_mvm_sta_alloc_queue(struct iwl_mvm *mvm, struct ieee80211_sta *sta, u8 ac, int tid) argument 1505 iwl_mvm_sta_ensure_queue(struct iwl_mvm *mvm, struct ieee80211_txq *txq) argument 1535 struct iwl_mvm *mvm = container_of(wk, struct iwl_mvm, local 1586 iwl_mvm_reserve_sta_stream(struct iwl_mvm *mvm, struct ieee80211_sta *sta, enum nl80211_iftype vif_type) argument 1635 iwl_mvm_realloc_queues_after_restart(struct iwl_mvm *mvm, struct ieee80211_sta *sta) argument 1705 iwl_mvm_add_int_sta_common(struct iwl_mvm *mvm, struct iwl_mvm_int_sta *sta, const u8 *addr, u16 mac_id, u16 color) argument 1756 iwl_mvm_sta_init(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, int sta_id, u8 sta_type) argument 1853 iwl_mvm_add_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 1924 iwl_mvm_drain_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, bool drain) argument 1966 iwl_mvm_rm_sta_common(struct iwl_mvm *mvm, u8 sta_id) argument 1993 iwl_mvm_disable_sta_queues(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 2023 iwl_mvm_wait_sta_queues_empty(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvm_sta) argument 2051 iwl_mvm_sta_del(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_link_sta *link_sta, int *ret) argument 2116 iwl_mvm_rm_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 2158 iwl_mvm_rm_sta_id(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u8 sta_id) argument 2170 iwl_mvm_allocate_int_sta(struct iwl_mvm *mvm, struct iwl_mvm_int_sta *sta, u32 qmask, enum nl80211_iftype iftype, u8 type) argument 2190 iwl_mvm_dealloc_int_sta(struct iwl_mvm *mvm, struct iwl_mvm_int_sta *sta) argument 2197 iwl_mvm_enable_aux_snif_queue(struct iwl_mvm *mvm, u16 queue, u8 sta_id, u8 fifo) argument 2215 iwl_mvm_enable_aux_snif_queue_tvqm(struct iwl_mvm *mvm, u8 sta_id) argument 2226 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) argument 2264 iwl_mvm_add_aux_sta(struct iwl_mvm *mvm, u32 lmac_id) argument 2294 iwl_mvm_add_snif_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 2306 iwl_mvm_rm_snif_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 2324 iwl_mvm_rm_aux_sta(struct iwl_mvm *mvm) argument 2343 iwl_mvm_dealloc_snif_sta(struct iwl_mvm *mvm) argument 2356 iwl_mvm_send_add_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 2434 iwl_mvm_free_bcast_sta_queues(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 2475 iwl_mvm_send_rm_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 2490 iwl_mvm_alloc_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 2508 iwl_mvm_add_p2p_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 2528 iwl_mvm_dealloc_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 2539 iwl_mvm_rm_p2p_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 2560 iwl_mvm_add_mcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 2635 __iwl_mvm_remove_sta_key(struct iwl_mvm *mvm, u8 sta_id, struct ieee80211_key_conf *keyconf, bool mcast) argument 2692 iwl_mvm_rm_mcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 2712 iwl_mvm_sync_rxq_del_ba(struct iwl_mvm *mvm, u8 baid) argument 2722 iwl_mvm_free_reorder(struct iwl_mvm *mvm, struct iwl_mvm_baid_data *data) argument 2756 iwl_mvm_init_reorder_buffer(struct iwl_mvm *mvm, struct iwl_mvm_baid_data *data, u16 ssn, u16 buf_size) argument 2781 iwl_mvm_fw_baid_op_sta(struct iwl_mvm *mvm, struct ieee80211_sta *sta, bool start, int tid, u16 ssn, u16 buf_size) argument 2830 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) argument 2879 iwl_mvm_fw_baid_op(struct iwl_mvm *mvm, struct ieee80211_sta *sta, bool start, int tid, u16 ssn, u16 buf_size, int baid) argument 2892 iwl_mvm_sta_rx_agg(struct iwl_mvm *mvm, struct ieee80211_sta *sta, int tid, u16 ssn, bool start, u16 buf_size, u16 timeout) argument 3028 iwl_mvm_sta_tx_agg(struct iwl_mvm *mvm, struct ieee80211_sta *sta, int tid, u8 queue, bool start) argument 3098 iwl_mvm_sta_tx_agg_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u16 tid, u16 *ssn) argument 3203 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) argument 3332 iwl_mvm_unreserve_agg_queue(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, struct iwl_mvm_tid_data *tid_data) argument 3356 iwl_mvm_sta_tx_agg_stop(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u16 tid) argument 3429 iwl_mvm_sta_tx_agg_flush(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u16 tid) argument 3475 iwl_mvm_set_fw_key_idx(struct iwl_mvm *mvm) argument 3502 iwl_mvm_get_key_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 3551 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) argument 3707 iwl_mvm_send_sta_igtk(struct iwl_mvm *mvm, struct ieee80211_key_conf *keyconf, u8 sta_id, bool remove_key) argument 3788 iwl_mvm_get_mac_addr(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 3812 __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) argument 3860 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) argument 3962 iwl_mvm_remove_sta_key(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *keyconf) argument 4020 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) argument 4043 iwl_mvm_sta_modify_ps_wake(struct iwl_mvm *mvm, struct ieee80211_sta *sta) argument 4061 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) argument 4142 iwl_mvm_rx_eosp_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) argument 4160 iwl_mvm_sta_modify_disable_tx(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, bool disable) argument 4185 iwl_mvm_sta_modify_disable_tx_ap(struct iwl_mvm *mvm, struct ieee80211_sta *sta, bool disable) argument 4218 iwl_mvm_int_sta_modify_disable_tx(struct iwl_mvm *mvm, struct iwl_mvm_vif *mvmvif, struct iwl_mvm_int_sta *sta, bool disable) argument 4239 iwl_mvm_modify_all_sta_disable_tx(struct iwl_mvm *mvm, struct iwl_mvm_vif *mvmvif, bool disable) argument 4291 iwl_mvm_csa_client_absent(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 4306 iwl_mvm_tid_queued(struct iwl_mvm *mvm, struct iwl_mvm_tid_data *tid_data) argument 4320 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, struct ieee80211_key_conf *keyconf) argument 4378 iwl_mvm_cancel_channel_switch(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 id) argument [all...] |
H A D | mld-sta.c | 5 #include "mvm.h" 9 u32 iwl_mvm_sta_fw_id_mask(struct iwl_mvm *mvm, struct ieee80211_sta *sta, argument 35 lockdep_is_held(&mvm->mutex)); 45 static int iwl_mvm_mld_send_sta_cmd(struct iwl_mvm *mvm, argument 48 int ret = iwl_mvm_send_cmd_pdu(mvm, 52 IWL_ERR(mvm, "STA_CONFIG_CMD send failed, ret=0x%x\n", ret); 59 static int iwl_mvm_mld_add_int_sta_to_fw(struct iwl_mvm *mvm, argument 65 lockdep_assert_held(&mvm->mutex); 74 if (fw_has_capa(&mvm->fw->ucode_capa, 84 return iwl_mvm_mld_send_sta_cmd(mvm, 92 iwl_mvm_mld_rm_sta_from_fw(struct iwl_mvm *mvm, u32 sta_id) argument 115 iwl_mvm_add_aux_sta_to_fw(struct iwl_mvm *mvm, struct iwl_mvm_int_sta *sta, u32 lmac_id) argument 136 iwl_mvm_mld_add_int_sta_with_queue(struct iwl_mvm *mvm, struct iwl_mvm_int_sta *sta, const u8 *addr, int link_id, u16 *queue, u8 tid, unsigned int *_wdg_timeout) argument 175 iwl_mvm_mld_add_int_sta(struct iwl_mvm *mvm, struct iwl_mvm_int_sta *int_sta, u16 *queue, enum nl80211_iftype iftype, enum iwl_fw_sta_type sta_type, int link_id, const u8 *addr, u8 tid, unsigned int *wdg_timeout) argument 206 iwl_mvm_mld_add_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf) argument 245 iwl_mvm_mld_add_mcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf) argument 279 iwl_mvm_mld_add_snif_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf) argument 294 iwl_mvm_mld_add_aux_sta(struct iwl_mvm *mvm, u32 lmac_id) argument 307 iwl_mvm_mld_disable_txq(struct iwl_mvm *mvm, u32 sta_mask, u16 *queueptr, u8 tid) argument 338 iwl_mvm_mld_rm_int_sta(struct iwl_mvm *mvm, struct iwl_mvm_int_sta *int_sta, bool flush, u8 tid, u16 *queuptr) argument 363 iwl_mvm_mld_rm_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf) argument 396 iwl_mvm_mld_rm_mcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf) argument 411 iwl_mvm_mld_rm_snif_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 419 iwl_mvm_mld_rm_aux_sta(struct iwl_mvm *mvm) argument 428 iwl_mvm_mld_cfg_sta(struct iwl_mvm *mvm, struct ieee80211_sta *sta, struct ieee80211_vif *vif, struct ieee80211_link_sta *link_sta, struct ieee80211_bss_conf *link_conf, struct iwl_mvm_link_sta *mvm_link_sta) argument 515 iwl_mvm_mld_free_sta_link(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvm_sta, struct iwl_mvm_link_sta *mvm_sta_link, unsigned int link_id, bool is_in_fw) argument 530 iwl_mvm_mld_sta_rm_all_sta_links(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvm_sta) argument 547 iwl_mvm_mld_alloc_sta_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, unsigned int link_id) argument 580 iwl_mvm_mld_alloc_sta_links(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 622 iwl_mvm_alloc_sta_after_restart(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 670 iwl_mvm_mld_add_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 745 iwl_mvm_mld_update_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 777 iwl_mvm_mld_disable_sta_queues(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 804 iwl_mvm_mld_rm_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 856 iwl_mvm_mld_rm_sta_id(struct iwl_mvm *mvm, u8 sta_id) argument 872 iwl_mvm_mld_sta_modify_disable_tx(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, bool disable) argument 894 iwl_mvm_mld_sta_modify_disable_tx_ap(struct iwl_mvm *mvm, struct ieee80211_sta *sta, bool disable) argument 912 iwl_mvm_mld_modify_all_sta_disable_tx(struct iwl_mvm *mvm, struct iwl_mvm_vif *mvmvif, bool disable) argument 939 iwl_mvm_mld_update_sta_queues(struct iwl_mvm *mvm, struct ieee80211_sta *sta, u32 old_sta_mask, u32 new_sta_mask) argument 980 iwl_mvm_mld_update_sta_baids(struct iwl_mvm *mvm, u32 old_sta_mask, u32 new_sta_mask) argument 1021 iwl_mvm_mld_update_sta_resources(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u32 old_sta_mask, u32 new_sta_mask) argument 1044 iwl_mvm_mld_update_sta_links(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, u16 old_links, u16 new_links) argument [all...] |
H A D | mld-mac.c | 5 #include "mvm.h" 7 static void iwl_mvm_mld_set_he_support(struct iwl_mvm *mvm, argument 17 static void iwl_mvm_mld_mac_ctxt_cmd_common(struct iwl_mvm *mvm, argument 40 cpu_to_le32(!iwl_mvm_is_nic_ack_enabled(mvm, vif)); 54 iwl_mvm_mld_set_he_support(mvm, vif, cmd); 66 iwl_mvm_mld_set_he_support(mvm, vif, cmd); 82 static int iwl_mvm_mld_mac_ctxt_send_cmd(struct iwl_mvm *mvm, argument 85 int ret = iwl_mvm_send_cmd_pdu(mvm, 89 IWL_ERR(mvm, "Failed to send MAC_CONFIG_CMD (action:%d): %d\n", 94 static int iwl_mvm_mld_mac_ctxt_cmd_sta(struct iwl_mvm *mvm, argument 159 iwl_mvm_mld_mac_ctxt_cmd_listener(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 action) argument 178 iwl_mvm_mld_mac_ctxt_cmd_ibss(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 action) argument 195 iwl_mvm_mld_mac_ctxt_cmd_p2p_device(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 action) argument 217 iwl_mvm_mld_mac_ctxt_cmd_ap_go(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 action) argument 237 iwl_mvm_mld_mac_ctx_send(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 action, bool force_assoc_off) argument 260 iwl_mvm_mld_mac_ctxt_add(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 284 iwl_mvm_mld_mac_ctxt_changed(struct iwl_mvm *mvm, struct ieee80211_vif *vif, bool force_assoc_off) argument 301 iwl_mvm_mld_mac_ctxt_remove(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument [all...] |
H A D | debugfs.c | 13 #include "mvm.h" 26 struct iwl_mvm *mvm = file->private_data; local 30 if (!iwl_mvm_is_ctdp_supported(mvm)) 33 if (!iwl_mvm_firmware_running(mvm) || 34 mvm->fwrt.cur_fw_img != IWL_UCODE_REGULAR) 37 mutex_lock(&mvm->mutex); 38 budget = iwl_mvm_ctdp_command(mvm, CTDP_CMD_OPERATION_REPORT, 0); 39 mutex_unlock(&mvm->mutex); 49 static ssize_t iwl_dbgfs_stop_ctdp_write(struct iwl_mvm *mvm, char *buf, argument 56 IWL_DEBUG_INFO(mvm, 78 iwl_dbgfs_start_ctdp_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) argument 108 iwl_dbgfs_force_ctkill_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) argument 120 iwl_dbgfs_tx_flush_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) argument 154 iwl_dbgfs_sta_drain_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) argument 188 struct iwl_mvm *mvm = file->private_data; local 220 iwl_dbgfs_sram_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) argument 255 struct iwl_mvm *mvm = file->private_data; local 274 iwl_dbgfs_set_nic_temperature_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) argument 322 struct iwl_mvm *mvm = file->private_data; local 347 struct iwl_mvm *mvm = file->private_data; local 389 struct iwl_mvm *mvm = file->private_data; local 407 struct iwl_mvm *mvm = file->private_data; local 433 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) argument 476 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) argument 509 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) argument 531 struct iwl_mvm *mvm = file->private_data; local 544 iwl_dbgfs_disable_power_off_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) argument 634 struct iwl_mvm *mvm = file->private_data; local 678 struct iwl_mvm *mvm = file->private_data; local 700 iwl_dbgfs_bt_tx_prio_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) argument 716 iwl_dbgfs_bt_force_ant_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) argument 754 struct iwl_mvm *mvm = file->private_data; local 786 struct iwl_mvm *mvm = file->private_data; local 970 struct iwl_mvm *mvm = file->private_data; local 999 struct iwl_mvm *mvm = file->private_data; local 1202 struct iwl_mvm *mvm = file->private_data; local 1287 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) argument 1358 struct iwl_mvm *mvm = file->private_data; local 1364 iwl_dbgfs_fw_restart_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) argument 1393 iwl_dbgfs_fw_nmi_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) argument 1412 struct iwl_mvm *mvm = file->private_data; local 1429 iwl_dbgfs_scan_ant_rxchain_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) argument 1454 iwl_dbgfs_indirection_tbl_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) argument 1501 iwl_dbgfs_inject_packet_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) argument 1549 _iwl_dbgfs_inject_beacon_ie(struct iwl_mvm *mvm, char *bin, int len) argument 1634 iwl_dbgfs_inject_beacon_ie_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) argument 1644 iwl_dbgfs_inject_beacon_ie_restore_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) argument 1660 struct iwl_mvm *mvm = file->private_data; local 1675 iwl_dbgfs_fw_dbg_conf_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) argument 1699 iwl_dbgfs_fw_dbg_collect_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) argument 1715 iwl_dbgfs_fw_dbg_clear_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) argument 1729 iwl_dbgfs_dbg_time_point_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) argument 1770 struct iwl_mvm *mvm = iwl_mvm_vif_from_mac80211(mvmsta->vif)->mvm; local 1802 struct iwl_mvm *mvm = iwl_mvm_vif_from_mac80211(mvmsta->vif)->mvm; local 1885 struct iwl_mvm *mvm = file->private_data; local 1901 iwl_dbgfs_prph_reg_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) argument 1923 iwl_dbgfs_send_echo_cmd_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) argument 1939 struct iwl_mvm *mvm; member in struct:iwl_mvm_sniffer_apply 1957 iwl_dbgfs_he_sniffer_params_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) argument 2018 struct iwl_mvm *mvm = file->private_data; local 2035 struct iwl_mvm *mvm = file->private_data; local 2053 iwl_dbgfs_ltr_config_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) argument 2084 iwl_dbgfs_rfi_freq_table_write(struct iwl_mvm *mvm, char *buf, size_t count, loff_t *ppos) argument 2117 struct iwl_mvm *mvm = file->private_data; local 2206 struct iwl_mvm *mvm = file->private_data; local 2267 struct iwl_mvm *mvm = file->private_data; local 2348 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 2357 iwl_mvm_dbgfs_register(struct iwl_mvm *mvm) argument [all...] |
H A D | mld-mac80211.c | 5 #include "mvm.h" 10 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 15 mutex_lock(&mvm->mutex); 17 mvmvif->mvm = mvm; 25 if (test_bit(IWL_MVM_STATUS_IN_HW_RESTART, &mvm->status)) 31 ret = iwl_mvm_mac_ctxt_init(mvm, vif); 35 rcu_assign_pointer(mvm->vif_id_to_mac[mvmvif->id], vif); 45 ret = iwl_mvm_mld_mac_ctxt_add(mvm, vif); 50 ret = iwl_mvm_disable_beacon_filter(mvm, vi 115 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 209 iwl_mvm_esr_mode_active(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 240 __iwl_mvm_mld_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) argument 354 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 364 iwl_mvm_esr_mode_inactive(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 411 __iwl_mvm_mld_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) argument 464 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 481 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 555 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 617 iwl_mvm_mld_select_links(struct iwl_mvm *mvm, struct ieee80211_vif *vif, bool valid_links_changed) argument 727 iwl_mvm_mld_link_info_changed_station(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf, u64 changes) argument 791 iwl_mvm_mld_vif_delete_all_stas(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 815 iwl_mvm_mld_vif_cfg_changed_station(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u64 changes) argument 918 iwl_mvm_mld_link_info_changed_ap_ibss(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf, u64 changes) argument 965 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 1001 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 1033 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 1055 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 1080 iwl_mvm_mld_roc_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 1125 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 1211 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local 1226 iwl_mvm_mld_get_primary_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif, unsigned long usable_links) argument 1271 iwl_mvm_can_enter_esr(struct iwl_mvm *mvm, struct ieee80211_vif *vif, unsigned long desired_links) argument 1320 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); local [all...] |
H A D | sta.h | 48 * %mvm->add_stream_wk later allocates the queues and TXes the deferred frames. 115 * the mvm op_mode. This is possible since %sta_state can sleep. 438 u16 iwl_mvm_tid_queued(struct iwl_mvm *mvm, struct iwl_mvm_tid_data *tid_data); 462 * @mvm: the iwl_mvm* to use 469 int iwl_mvm_sta_send_to_fw(struct iwl_mvm *mvm, struct ieee80211_sta *sta, 471 int iwl_mvm_find_free_sta_id(struct iwl_mvm *mvm, enum nl80211_iftype iftype); 472 int iwl_mvm_sta_init(struct iwl_mvm *mvm, struct ieee80211_vif *vif, 474 int iwl_mvm_add_sta(struct iwl_mvm *mvm, 478 static inline int iwl_mvm_update_sta(struct iwl_mvm *mvm, argument 482 return iwl_mvm_sta_send_to_fw(mvm, st [all...] |
H A D | mvm.h | 122 * mvm->time_event_lock is held, as it value is used to indicate 351 * @mvm: pointer back to the mvm struct 384 struct iwl_mvm *mvm; member in struct:iwl_mvm_vif 654 * @mvm: mvm pointer, needed for frame timer context 665 struct iwl_mvm *mvm; member in struct:iwl_mvm_reorder_buffer 693 * @mvm: mvm pointer, needed for timer context 707 struct iwl_mvm *mvm; member in struct:iwl_mvm_baid_data 1253 iwl_mvm_is_radio_killed(struct iwl_mvm *mvm) argument 1259 iwl_mvm_is_radio_hw_killed(struct iwl_mvm *mvm) argument 1264 iwl_mvm_firmware_running(struct iwl_mvm *mvm) argument 1273 iwl_mvm_sta_from_staid_rcu(struct iwl_mvm *mvm, u8 sta_id) argument 1290 iwl_mvm_sta_from_staid_protected(struct iwl_mvm *mvm, u8 sta_id) argument 1308 iwl_mvm_rcu_dereference_vif_id(struct iwl_mvm *mvm, u8 vif_id, bool rcu) argument 1321 iwl_mvm_rcu_fw_link_id_to_link_conf(struct iwl_mvm *mvm, u8 link_id, bool rcu) argument 1333 iwl_mvm_is_adaptive_dwell_supported(struct iwl_mvm *mvm) argument 1339 iwl_mvm_is_adaptive_dwell_v2_supported(struct iwl_mvm *mvm) argument 1345 iwl_mvm_is_adwell_hb_ap_num_supported(struct iwl_mvm *mvm) argument 1351 iwl_mvm_is_oce_supported(struct iwl_mvm *mvm) argument 1357 iwl_mvm_is_frag_ebs_supported(struct iwl_mvm *mvm) argument 1362 iwl_mvm_is_short_beacon_notif_supported(struct iwl_mvm *mvm) argument 1368 iwl_mvm_is_dqa_data_queue(struct iwl_mvm *mvm, u8 queue) argument 1374 iwl_mvm_is_dqa_mgmt_queue(struct iwl_mvm *mvm, u8 queue) argument 1380 iwl_mvm_is_lar_supported(struct iwl_mvm *mvm) argument 1396 iwl_mvm_is_wifi_mcc_supported(struct iwl_mvm *mvm) argument 1404 iwl_mvm_bt_is_rrc_supported(struct iwl_mvm *mvm) argument 1411 iwl_mvm_is_csum_supported(struct iwl_mvm *mvm) argument 1418 iwl_mvm_is_mplut_supported(struct iwl_mvm *mvm) argument 1426 iwl_mvm_is_p2p_scm_uapsd_supported(struct iwl_mvm *mvm) argument 1434 iwl_mvm_has_new_rx_api(struct iwl_mvm *mvm) argument 1452 iwl_mvm_has_new_tx_api(struct iwl_mvm *mvm) argument 1458 iwl_mvm_has_unified_ucode(struct iwl_mvm *mvm) argument 1464 iwl_mvm_is_cdb_supported(struct iwl_mvm *mvm) argument 1479 iwl_mvm_cdb_scan_api(struct iwl_mvm *mvm) argument 1489 iwl_mvm_is_scan_ext_chan_supported(struct iwl_mvm *mvm) argument 1496 iwl_mvm_is_reduced_config_scan_supported(struct iwl_mvm *mvm) argument 1502 iwl_mvm_is_band_in_rx_supported(struct iwl_mvm *mvm) argument 1508 iwl_mvm_has_new_rx_stats_api(struct iwl_mvm *mvm) argument 1514 iwl_mvm_has_quota_low_latency(struct iwl_mvm *mvm) argument 1520 iwl_mvm_has_no_host_disable_tx(struct iwl_mvm *mvm) argument 1526 iwl_mvm_has_tlc_offload(const struct iwl_mvm *mvm) argument 1533 iwl_mvm_get_agg_status(struct iwl_mvm *mvm, void *tx_resp) argument 1541 iwl_mvm_is_tt_in_fw(struct iwl_mvm *mvm) argument 1553 iwl_mvm_is_ctdp_supported(struct iwl_mvm *mvm) argument 1569 iwl_mvm_max_active_links(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 1593 iwl_mvm_mac_ac_to_tx_fifo(struct iwl_mvm *mvm, enum ieee80211_ac_numbers ac) argument 1635 iwl_mvm_dump_nic_error_log(struct iwl_mvm *mvm) argument 1702 iwl_mvm_wait_for_async_handlers(struct iwl_mvm *mvm) argument 1713 iwl_mvm_handle_rx_system_end_stats_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) argument 1729 iwl_mvm_get_valid_tx_ant(struct iwl_mvm *mvm) argument 1742 iwl_mvm_get_valid_rx_ant(struct iwl_mvm *mvm) argument 1756 iwl_mvm_toggle_tx_ant(struct iwl_mvm *mvm, u8 *ant) argument 1761 iwl_mvm_get_phy_config(struct iwl_mvm *mvm) argument 1978 iwl_mvm_quota_cmd_size(struct iwl_mvm *mvm) argument 1986 iwl_mvm_quota_cmd_get_quota(struct iwl_mvm *mvm, struct iwl_time_quota_cmd *cmd, int i) argument 2039 iwl_mvm_dbgfs_register(struct iwl_mvm *mvm) argument 2043 iwl_mvm_vif_dbgfs_add_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 2047 iwl_mvm_vif_dbgfs_rm_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 2076 iwl_mvm_leds_init(struct iwl_mvm *mvm) argument 2080 iwl_mvm_leds_exit(struct iwl_mvm *mvm) argument 2083 iwl_mvm_leds_sync(struct iwl_mvm *mvm) argument 2106 iwl_mvm_set_last_nonqos_seq(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 2238 iwl_mvm_flushable_queues(struct iwl_mvm *mvm) argument 2267 iwl_mvm_vendor_cmds_register(struct iwl_mvm *mvm) argument 2494 iwl_mvm_has_ultra_hb_channel(struct iwl_mvm *mvm) argument 2500 iwl_mvm_chan_info_cmd_tail(struct iwl_mvm *mvm, struct iwl_fw_channel_info *ci) argument 2508 iwl_mvm_chan_info_padding(struct iwl_mvm *mvm) argument 2515 iwl_mvm_set_chan_info(struct iwl_mvm *mvm, struct iwl_fw_channel_info *ci, u32 chan, u8 band, u8 width, u8 ctrl_pos) argument 2537 iwl_mvm_set_chan_info_chandef(struct iwl_mvm *mvm, struct iwl_fw_channel_info *ci, const struct cfg80211_chan_def *chandef) argument 2573 iwl_mvm_mei_get_ownership(struct iwl_mvm *mvm) argument 2580 iwl_mvm_mei_tx_copy_to_csme(struct iwl_mvm *mvm, struct sk_buff *skb, unsigned int ivlen) argument 2588 iwl_mvm_mei_host_disassociated(struct iwl_mvm *mvm) argument 2594 iwl_mvm_mei_device_state(struct iwl_mvm *mvm, bool up) argument 2600 iwl_mvm_mei_set_sw_rfkill_state(struct iwl_mvm *mvm) argument 2610 iwl_mvm_mei_filter_scan(struct iwl_mvm *mvm, struct sk_buff *skb) argument 2766 iwl_mvm_chanctx_def(struct iwl_mvm *mvm, struct ieee80211_chanctx_conf *ctx) argument [all...] |
H A D | phy-ctxt.c | 9 #include "mvm.h" 78 static void iwl_mvm_phy_ctxt_set_rxchain(struct iwl_mvm *mvm, argument 97 if (active_cnt == 1 && iwl_mvm_rx_diversity_allowed(mvm, ctxt)) { 102 *rxchain_info = cpu_to_le32(iwl_mvm_get_valid_rx_ant(mvm) << 108 if (unlikely(mvm->dbgfs_rx_phyinfo)) 109 *rxchain_info = cpu_to_le32(mvm->dbgfs_rx_phyinfo); 116 static void iwl_mvm_phy_ctxt_cmd_data_v1(struct iwl_mvm *mvm, argument 123 iwl_mvm_chan_info_cmd_tail(mvm, &cmd->ci); 126 iwl_mvm_set_chan_info_chandef(mvm, &cmd->ci, chandef); 128 iwl_mvm_phy_ctxt_set_rxchain(mvm, ctx 137 iwl_mvm_phy_ctxt_cmd_data(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, struct iwl_phy_context_cmd *cmd, const struct cfg80211_chan_def *chandef, u8 chains_static, u8 chains_dynamic) argument 155 iwl_mvm_phy_send_rlc(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, u8 chains_static, u8 chains_dynamic) argument 198 iwl_mvm_phy_ctxt_apply(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, const struct cfg80211_chan_def *chandef, const struct cfg80211_chan_def *ap, u8 chains_static, u8 chains_dynamic, u32 action) argument 268 iwl_mvm_phy_ctxt_add(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, const struct cfg80211_chan_def *chandef, const struct cfg80211_chan_def *ap, u8 chains_static, u8 chains_dynamic) argument 299 iwl_mvm_phy_ctxt_ref(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt) argument 315 iwl_mvm_phy_ctxt_changed(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, const struct cfg80211_chan_def *chandef, const struct cfg80211_chan_def *ap, u8 chains_static, u8 chains_dynamic) argument 360 iwl_mvm_phy_ctxt_unref(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt) argument 393 iwl_mvm_phy_ctx_count(struct iwl_mvm *mvm) argument [all...] |
H A D | ftm-initiator.c | 9 #include "mvm.h" 43 int iwl_mvm_ftm_add_pasn_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, argument 51 lockdep_assert_held(&mvm->mutex); 56 iwl_mvm_ftm_remove_pasn_sta(mvm, addr); 90 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); 100 IWL_ERR(mvm, "Invalid key length: tk_len=%u hltk_len=%u\n", 106 IWL_ERR(mvm, "TK and HLTK not set\n"); 120 list_add_tail(&pasn->list, &mvm->ftm_initiator.pasn_list); 127 void iwl_mvm_ftm_remove_pasn_sta(struct iwl_mvm *mvm, u8 *addr) 131 lockdep_assert_held(&mvm 125 iwl_mvm_ftm_remove_pasn_sta(struct iwl_mvm *mvm, u8 *addr) argument 142 iwl_mvm_ftm_reset(struct iwl_mvm *mvm) argument 157 iwl_mvm_ftm_restart(struct iwl_mvm *mvm) argument 187 iwl_mvm_ftm_initiator_smooth_config(struct iwl_mvm *mvm) argument 200 iwl_mvm_ftm_initiator_smooth_stop(struct iwl_mvm *mvm) argument 225 iwl_mvm_ftm_cmd_v5(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_tof_range_req_cmd_v5 *cmd, struct cfg80211_pmsr_request *req) argument 255 iwl_mvm_ftm_cmd_common(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_tof_range_req_cmd_v9 *cmd, struct cfg80211_pmsr_request *req) argument 302 iwl_mvm_ftm_cmd_v8(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_tof_range_req_cmd_v8 *cmd, struct cfg80211_pmsr_request *req) argument 310 iwl_mvm_ftm_target_chandef_v1(struct iwl_mvm *mvm, struct cfg80211_pmsr_request_peer *peer, u8 *channel, u8 *bandwidth, u8 *ctrl_ch_position) argument 345 iwl_mvm_ftm_target_chandef_v2(struct iwl_mvm *mvm, struct cfg80211_pmsr_request_peer *peer, u8 *channel, u8 *format_bw, u8 *ctrl_ch_position) argument 400 iwl_mvm_ftm_put_target_v2(struct iwl_mvm *mvm, struct cfg80211_pmsr_request_peer *peer, struct iwl_tof_range_req_ap_entry_v2 *target) argument 436 iwl_mvm_ftm_put_target_common(struct iwl_mvm *mvm, struct cfg80211_pmsr_request_peer *peer, struct iwl_tof_range_req_ap_entry_v6 *target) argument 476 iwl_mvm_ftm_put_target_v3(struct iwl_mvm *mvm, struct cfg80211_pmsr_request_peer *peer, struct iwl_tof_range_req_ap_entry_v3 *target) argument 498 iwl_mvm_ftm_put_target_v4(struct iwl_mvm *mvm, struct cfg80211_pmsr_request_peer *peer, struct iwl_tof_range_req_ap_entry_v4 *target) argument 516 iwl_mvm_ftm_put_target(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct cfg80211_pmsr_request_peer *peer, struct iwl_tof_range_req_ap_entry_v6 *target) argument 566 iwl_mvm_ftm_send_cmd(struct iwl_mvm *mvm, struct iwl_host_cmd *hcmd) argument 580 iwl_mvm_ftm_start_v5(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct cfg80211_pmsr_request *req) argument 606 iwl_mvm_ftm_start_v7(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct cfg80211_pmsr_request *req) argument 636 iwl_mvm_ftm_start_v8(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct cfg80211_pmsr_request *req) argument 662 iwl_mvm_ftm_start_v9(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct cfg80211_pmsr_request *req) argument 711 iwl_mvm_ftm_set_secured_ranging(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_tof_range_req_ap_entry_v7 *target) argument 751 iwl_mvm_ftm_put_target_v7(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct cfg80211_pmsr_request_peer *peer, struct iwl_tof_range_req_ap_entry_v7 *target) argument 763 iwl_mvm_ftm_start_v11(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct cfg80211_pmsr_request *req) argument 792 iwl_mvm_ftm_set_ndp_params(struct iwl_mvm *mvm, struct iwl_tof_range_req_ap_entry_v8 *target) argument 808 iwl_mvm_ftm_put_target_v8(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct cfg80211_pmsr_request_peer *peer, struct iwl_tof_range_req_ap_entry_v8 *target) argument 835 iwl_mvm_ftm_start_v12(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct cfg80211_pmsr_request *req) argument 863 iwl_mvm_ftm_start_v13(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct cfg80211_pmsr_request *req) argument 906 iwl_mvm_ftm_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct cfg80211_pmsr_request *req) argument 956 iwl_mvm_ftm_abort(struct iwl_mvm *mvm, struct cfg80211_pmsr_request *req) argument 989 iwl_mvm_ftm_get_host_time(struct iwl_mvm *mvm, __le32 fw_gp2_ts) argument 1006 iwl_mvm_ftm_get_lci_civic(struct iwl_mvm *mvm, struct cfg80211_pmsr_result *res) argument 1030 iwl_mvm_ftm_range_resp_valid(struct iwl_mvm *mvm, u8 request_id, u8 num_of_aps) argument 1049 iwl_mvm_ftm_rtt_smoothing(struct iwl_mvm *mvm, struct cfg80211_pmsr_result *res) argument 1136 iwl_mvm_debug_range_resp(struct iwl_mvm *mvm, u8 index, struct cfg80211_pmsr_result *res) argument 1156 iwl_mvm_ftm_pasn_update_pn(struct iwl_mvm *mvm, struct iwl_tof_range_rsp_ap_entry_ntfy_v6 *fw_ap) argument 1173 iwl_mvm_ftm_get_range_resp_ver(struct iwl_mvm *mvm) argument 1208 iwl_mvm_ftm_range_resp(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) argument 1354 iwl_mvm_ftm_lc_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) argument [all...] |
H A D | ftm-responder.c | 8 #include "mvm.h" 90 iwl_mvm_ftm_responder_set_ndp(struct iwl_mvm *mvm, argument 108 iwl_mvm_ftm_responder_cmd(struct iwl_mvm *mvm, argument 128 u8 cmd_ver = iwl_fw_lookup_cmd_ver(mvm->fw, cmd_id, 6); 132 lockdep_assert_held(&mvm->mutex); 151 iwl_mvm_ftm_responder_set_ndp(mvm, &cmd); 162 IWL_ERR(mvm, "Failed to set responder bandwidth\n"); 168 return iwl_mvm_send_cmd_pdu(mvm, cmd_id, 0, cmd_size, &cmd); 172 iwl_mvm_ftm_responder_dyn_cfg_v2(struct iwl_mvm *mvm, argument 194 lockdep_assert_held(&mvm 217 iwl_mvm_ftm_responder_dyn_cfg_v3(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_ftm_responder_params *params, struct iwl_mvm_pasn_hltk_data *hltk_data) argument 276 iwl_mvm_ftm_responder_dyn_cfg_cmd(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_ftm_responder_params *params) argument 303 iwl_mvm_resp_del_pasn_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mvm_pasn_sta *sta) argument 322 iwl_mvm_ftm_respoder_add_pasn_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u8 *addr, u32 cipher, u8 *tk, u32 tk_len, u8 *hltk, u32 hltk_len) argument 390 iwl_mvm_ftm_resp_remove_pasn_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u8 *addr) argument 408 iwl_mvm_ftm_start_responder(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf) argument 457 iwl_mvm_ftm_responder_clear(struct iwl_mvm *mvm, struct ieee80211_vif *vif) argument 468 iwl_mvm_ftm_restart_responder(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf) argument 479 iwl_mvm_ftm_responder_stats(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) argument [all...] |
H A D | link.c | 5 #include "mvm.h" 8 static u32 iwl_mvm_get_free_fw_link_id(struct iwl_mvm *mvm, argument 13 lockdep_assert_held(&mvm->mutex); 15 link_id = ffz(mvm->fw_link_ids_map); 21 mvm->fw_link_ids_map |= BIT(link_id); 25 static void iwl_mvm_release_fw_link_id(struct iwl_mvm *mvm, u32 link_id) argument 27 lockdep_assert_held(&mvm->mutex); 30 mvm->fw_link_ids_map &= ~BIT(link_id); 33 static int iwl_mvm_link_cmd_send(struct iwl_mvm *mvm, argument 40 ret = iwl_mvm_send_cmd_pdu(mvm, 49 iwl_mvm_set_link_mapping(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf) argument 70 iwl_mvm_add_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf) argument 111 iwl_mvm_link_changed(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf, u32 changes, bool active) argument 267 iwl_mvm_unset_link_mapping(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf) argument 285 iwl_mvm_remove_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf) argument 316 iwl_mvm_disable_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *link_conf) argument [all...] |