Home
last modified time | relevance | path

Searched refs:mvmvif (Results 1 – 25 of 27) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Ddebugfs-vif.c69 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_update_pm() local
70 struct iwl_dbgfs_pm *dbgfs_pm = &mvmvif->dbgfs_pm; in iwl_dbgfs_update_pm()
130 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_pm_params_write() local
131 struct iwl_mvm *mvm = mvmvif->mvm; in iwl_dbgfs_pm_params_write()
210 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_pm_params_read() local
211 struct iwl_mvm *mvm = mvmvif->mvm; in iwl_dbgfs_pm_params_read()
226 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_mac_params_read() local
227 struct iwl_mvm *mvm = mvmvif->mvm; in iwl_dbgfs_mac_params_read()
237 ap_sta_id = mvmvif->ap_sta_id; in iwl_dbgfs_mac_params_read()
263 mvmvif->id, mvmvif->color); in iwl_dbgfs_mac_params_read()
[all …]
Dpower.c132 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_beacon_filter_set_cqm_params() local
141 cmd->ba_enable_beacon_abort = cpu_to_le32(mvmvif->bf_data.ba_enabled); in iwl_mvm_beacon_filter_set_cqm_params()
185 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_power_configure_uapsd() local
191 if (mvmvif->dbgfs_pm.use_ps_poll) { in iwl_mvm_power_configure_uapsd()
198 if (!mvmvif->queue_params[ac].uapsd) in iwl_mvm_power_configure_uapsd()
208 if (!tid_found && !mvmvif->queue_params[ac].acm) { in iwl_mvm_power_configure_uapsd()
296 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_power_allow_uapsd() local
298 if (!memcmp(mvmvif->uapsd_misbehaving_bssid, vif->bss_conf.bssid, in iwl_mvm_power_allow_uapsd()
396 struct iwl_mvm_vif *mvmvif __maybe_unused = in iwl_mvm_power_build_cmd()
399 cmd->id_and_color = cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_power_build_cmd()
[all …]
Dtime-event.c120 struct iwl_mvm_vif *mvmvif; in iwl_mvm_roc_done_wk() local
130 mvmvif = iwl_mvm_vif_from_mac80211(mvm->p2p_device_vif); in iwl_mvm_roc_done_wk()
131 iwl_mvm_flush_sta(mvm, &mvmvif->bcast_sta, true); in iwl_mvm_roc_done_wk()
208 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_te_check_disconnect() local
213 if (!mvmvif->csa_bcn_pending && vif->bss_conf.assoc && in iwl_mvm_te_check_disconnect()
229 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_te_handle_notify_csa() local
237 mvmvif->csa_failed = true; in iwl_mvm_te_handle_notify_csa()
247 cancel_delayed_work(&mvmvif->csa_work); in iwl_mvm_te_handle_notify_csa()
584 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_protect_session() local
585 struct iwl_mvm_time_event_data *te_data = &mvmvif->time_event_data; in iwl_mvm_protect_session()
[all …]
Dmac-ctxt.c102 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_tsf_id_iter() local
137 !test_bit(mvmvif->tsf_id, data->available_tsf_ids)) in iwl_mvm_mac_tsf_id_iter()
148 data->preferred_tsf = mvmvif->tsf_id; in iwl_mvm_mac_tsf_id_iter()
166 !test_bit(mvmvif->tsf_id, data->available_tsf_ids)) in iwl_mvm_mac_tsf_id_iter()
177 data->preferred_tsf = mvmvif->tsf_id; in iwl_mvm_mac_tsf_id_iter()
198 __clear_bit(mvmvif->tsf_id, data->available_tsf_ids); in iwl_mvm_mac_tsf_id_iter()
200 if (data->preferred_tsf == mvmvif->tsf_id) in iwl_mvm_mac_tsf_id_iter()
208 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_iface_iterator() local
222 __clear_bit(mvmvif->id, data->available_mac_ids); in iwl_mvm_mac_iface_iterator()
231 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_ctxt_recalc_tsf_id() local
[all …]
Dbinding.c128 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_iface_iterator() local
133 if (mvmvif->phy_ctxt != data->phyctxt) in iwl_mvm_iface_iterator()
139 data->ids[data->idx] = mvmvif->id; in iwl_mvm_iface_iterator()
140 data->colors[data->idx] = mvmvif->color; in iwl_mvm_iface_iterator()
149 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_binding_update() local
178 data.ids[data.idx] = mvmvif->id; in iwl_mvm_binding_update()
179 data.colors[data.idx] = mvmvif->color; in iwl_mvm_binding_update()
188 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_binding_add_vif() local
190 if (WARN_ON_ONCE(!mvmvif->phy_ctxt)) in iwl_mvm_binding_add_vif()
200 return iwl_mvm_binding_update(mvm, vif, mvmvif->phy_ctxt, true); in iwl_mvm_binding_add_vif()
[all …]
Doffloading.c106 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_send_proto_offload() local
142 i < mvmvif->num_target_ipv6_addrs && in iwl_mvm_send_proto_offload()
148 test_bit(i, mvmvif->tentative_addrs)) { in iwl_mvm_send_proto_offload()
153 addrconf_addr_solict_mult(&mvmvif->target_ipv6_addrs[i], in iwl_mvm_send_proto_offload()
161 addrs[i].addr = mvmvif->target_ipv6_addrs[i]; in iwl_mvm_send_proto_offload()
167 if (mvmvif->num_target_ipv6_addrs - num_skipped) in iwl_mvm_send_proto_offload()
180 sizeof(mvmvif->target_ipv6_addrs[0])); in iwl_mvm_send_proto_offload()
182 for (i = 0; i < min(mvmvif->num_target_ipv6_addrs, in iwl_mvm_send_proto_offload()
185 test_bit(i, mvmvif->tentative_addrs)) in iwl_mvm_send_proto_offload()
189 &mvmvif->target_ipv6_addrs[i], in iwl_mvm_send_proto_offload()
[all …]
Dcoex.c282 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_bt_coex_enable_rssi_event() local
284 mvmvif->bf_data.last_bt_coex_event = rssi; in iwl_mvm_bt_coex_enable_rssi_event()
285 mvmvif->bf_data.bt_coex_max_thold = in iwl_mvm_bt_coex_enable_rssi_event()
287 mvmvif->bf_data.bt_coex_min_thold = in iwl_mvm_bt_coex_enable_rssi_event()
319 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_bt_notif_iterator() local
334 if (!mvmvif->ap_ibss_active) in iwl_mvm_bt_notif_iterator()
350 iwl_mvm_bt_coex_reduced_txp(mvm, mvmvif->ap_sta_id, in iwl_mvm_bt_notif_iterator()
372 if (mvmvif->phy_ctxt && in iwl_mvm_bt_notif_iterator()
373 (mvm->last_bt_notif.rrc_status & BIT(mvmvif->phy_ctxt->id))) in iwl_mvm_bt_notif_iterator()
378 mvmvif->id, bt_activity_grading, smps_mode); in iwl_mvm_bt_notif_iterator()
[all …]
Dquota.c85 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_quota_iterator() local
92 if (!mvmvif->phy_ctxt) in iwl_mvm_quota_iterator()
96 id = mvmvif->phy_ctxt->id; in iwl_mvm_quota_iterator()
111 if (mvmvif->ap_ibss_active) in iwl_mvm_quota_iterator()
115 if (mvmvif->monitor_active) in iwl_mvm_quota_iterator()
126 data->colors[id] = mvmvif->phy_ctxt->color; in iwl_mvm_quota_iterator()
128 WARN_ON_ONCE(data->colors[id] != mvmvif->phy_ctxt->color); in iwl_mvm_quota_iterator()
133 if (mvmvif->dbgfs_quota_min) in iwl_mvm_quota_iterator()
135 mvmvif->dbgfs_quota_min); in iwl_mvm_quota_iterator()
138 if (iwl_mvm_vif_low_latency(mvmvif) && !data->low_latency[id]) { in iwl_mvm_quota_iterator()
[all …]
Dmac80211.c824 struct iwl_mvm_vif *mvmvif = in iwl_mvm_mac_tx() local
826 u8 ap_sta_id = READ_ONCE(mvmvif->ap_sta_id); in iwl_mvm_mac_tx()
1014 struct iwl_mvm_vif *mvmvif; in iwl_mvm_mac_ampdu_action() local
1019 mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_ampdu_action()
1020 cancel_delayed_work(&mvmvif->uapsd_nonagg_detected_wk); in iwl_mvm_mac_ampdu_action()
1075 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_cleanup_iterator() local
1077 mvmvif->uploaded = false; in iwl_mvm_cleanup_iterator()
1078 mvmvif->ap_sta_id = IWL_MVM_INVALID_STA; in iwl_mvm_cleanup_iterator()
1081 iwl_mvm_te_clear_data(mvm, &mvmvif->time_event_data); in iwl_mvm_cleanup_iterator()
1084 mvmvif->phy_ctxt = NULL; in iwl_mvm_cleanup_iterator()
[all …]
Dutils.c661 struct iwl_mvm_vif *mvmvif; in iwl_mvm_update_smps() local
676 mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_update_smps()
677 mvmvif->smps_requests[req_type] = smps_request; in iwl_mvm_update_smps()
679 if (mvmvif->smps_requests[i] == IEEE80211_SMPS_STATIC) { in iwl_mvm_update_smps()
683 if (mvmvif->smps_requests[i] == IEEE80211_SMPS_DYNAMIC) in iwl_mvm_update_smps()
727 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_diversity_iter() local
732 if (mvmvif->smps_requests[i] == IEEE80211_SMPS_STATIC || in iwl_mvm_diversity_iter()
733 mvmvif->smps_requests[i] == IEEE80211_SMPS_DYNAMIC) in iwl_mvm_diversity_iter()
787 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_update_low_latency() local
793 prev = iwl_mvm_vif_low_latency(mvmvif); in iwl_mvm_update_low_latency()
[all …]
Dd3.c80 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_set_rekey_data() local
84 mvmvif->rekey_data.kek_len = data->kek_len; in iwl_mvm_set_rekey_data()
85 mvmvif->rekey_data.kck_len = data->kck_len; in iwl_mvm_set_rekey_data()
86 memcpy(mvmvif->rekey_data.kek, data->kek, data->kek_len); in iwl_mvm_set_rekey_data()
87 memcpy(mvmvif->rekey_data.kck, data->kck, data->kck_len); in iwl_mvm_set_rekey_data()
88 mvmvif->rekey_data.akm = data->akm & 0xFF; in iwl_mvm_set_rekey_data()
89 mvmvif->rekey_data.replay_ctr = in iwl_mvm_set_rekey_data()
91 mvmvif->rekey_data.valid = true; in iwl_mvm_set_rekey_data()
101 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_ipv6_addr_change() local
105 memset(mvmvif->tentative_addrs, 0, sizeof(mvmvif->tentative_addrs)); in iwl_mvm_ipv6_addr_change()
[all …]
Drx.c266 struct iwl_mvm_vif *mvmvif; in iwl_mvm_rx_handle_tcm() local
293 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_handle_tcm()
297 (!mvmvif->queue_params[IEEE80211_AC_VO].uapsd && in iwl_mvm_rx_handle_tcm()
298 !mvmvif->queue_params[IEEE80211_AC_VI].uapsd && in iwl_mvm_rx_handle_tcm()
299 !mvmvif->queue_params[IEEE80211_AC_BE].uapsd && in iwl_mvm_rx_handle_tcm()
300 !mvmvif->queue_params[IEEE80211_AC_BK].uapsd) || in iwl_mvm_rx_handle_tcm()
301 mvmsta->sta_id != mvmvif->ap_sta_id) in iwl_mvm_rx_handle_tcm()
329 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_csum() local
331 if (mvmvif->features & NETIF_F_RXCSUM && in iwl_mvm_rx_csum()
447 struct iwl_mvm_vif *mvmvif = in iwl_mvm_rx_rx_mpdu() local
[all …]
Dsf.c80 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_bound_iface_iterator() local
82 if (vif == data->ignore_vif || !mvmvif->phy_ctxt || in iwl_mvm_bound_iface_iterator()
89 data->sta_vif_ap_sta_id = mvmvif->ap_sta_id; in iwl_mvm_bound_iface_iterator()
279 struct iwl_mvm_vif *mvmvif = NULL; in iwl_mvm_sf_update() local
322 mvmvif = iwl_mvm_vif_from_mac80211(changed_vif); in iwl_mvm_sf_update()
323 sta_id = mvmvif->ap_sta_id; in iwl_mvm_sf_update()
Dsta.c1606 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_add_sta() local
1638 mvmvif->id, mvmvif->color); in iwl_mvm_add_sta()
1649 mvm_sta->mac_id_n_color = FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_add_sta()
1650 mvmvif->color); in iwl_mvm_add_sta()
1736 WARN_ON(mvmvif->ap_sta_id != IWL_MVM_INVALID_STA); in iwl_mvm_add_sta()
1737 mvmvif->ap_sta_id = sta_id; in iwl_mvm_add_sta()
1739 WARN_ON(mvmvif->ap_sta_id == IWL_MVM_INVALID_STA); in iwl_mvm_add_sta()
1874 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_rm_sta() local
1928 mvmvif->ap_sta_id == sta_id) { in iwl_mvm_rm_sta()
1934 mvmvif->ap_sta_id = IWL_MVM_INVALID_STA; in iwl_mvm_rm_sta()
[all …]
Dphy-ctxt.c363 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_binding_iterator() local
365 if (!mvmvif->phy_ctxt) in iwl_mvm_binding_iterator()
370 __set_bit(mvmvif->phy_ctxt->id, data); in iwl_mvm_binding_iterator()
Dftm-responder.c137 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_ftm_responder_cmd() local
149 .sta_id = mvmvif->bcast_sta.sta_id, in iwl_mvm_ftm_responder_cmd()
389 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_ftm_start_responder() local
404 !mvmvif->ap_ibss_active) { in iwl_mvm_ftm_start_responder()
Dtime-event.h202 struct iwl_mvm_vif *mvmvif,
Dmvm.h1891 static inline bool iwl_mvm_vif_low_latency(struct iwl_mvm_vif *mvmvif) in iwl_mvm_vif_low_latency() argument
1903 return mvmvif->low_latency_actual; in iwl_mvm_vif_low_latency()
1907 void iwl_mvm_vif_set_low_latency(struct iwl_mvm_vif *mvmvif, bool set, in iwl_mvm_vif_set_low_latency() argument
1913 mvmvif->low_latency |= cause; in iwl_mvm_vif_set_low_latency()
1915 mvmvif->low_latency &= ~cause; in iwl_mvm_vif_set_low_latency()
1921 if (mvmvif->low_latency & LOW_LATENCY_DEBUGFS_FORCE_ENABLE && in iwl_mvm_vif_set_low_latency()
1929 new_state = !!(mvmvif->low_latency & in iwl_mvm_vif_set_low_latency()
1935 new_state = !!(mvmvif->low_latency & in iwl_mvm_vif_set_low_latency()
1939 mvmvif->low_latency_actual = new_state; in iwl_mvm_vif_set_low_latency()
Dftm-initiator.c130 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_ftm_add_pasn_sta() local
134 sta = rcu_dereference(mvm->fw_id_to_mac_id[mvmvif->ap_sta_id]); in iwl_mvm_ftm_add_pasn_sta()
321 struct iwl_mvm_vif *mvmvif = in iwl_mvm_ftm_cmd_common() local
324 cmd->tsf_mac_id = cpu_to_le32(mvmvif->id); in iwl_mvm_ftm_cmd_common()
550 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_ftm_put_target() local
552 target->sta_id = mvmvif->ap_sta_id; in iwl_mvm_ftm_put_target()
Dtdls.c134 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_tdls_config() local
139 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, mvmvif->color)); in iwl_mvm_tdls_config()
Dtx.c609 struct iwl_mvm_vif *mvmvif = in iwl_mvm_get_ctrl_vif_queue() local
633 return mvmvif->cab_queue; in iwl_mvm_get_ctrl_vif_queue()
654 struct iwl_mvm_vif *mvmvif = in iwl_mvm_probe_resp_set_noa() local
669 resp_data = rcu_dereference(mvmvif->probe_resp_data); in iwl_mvm_probe_resp_set_noa()
734 struct iwl_mvm_vif *mvmvif = in iwl_mvm_tx_skb_non_sta() local
741 sta_id = mvmvif->bcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
743 sta_id = mvmvif->mcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
Dsta.h578 struct iwl_mvm_vif *mvmvif,
Drxmq.c464 struct iwl_mvm_vif *mvmvif; in iwl_mvm_rx_csum() local
469 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_csum()
471 if (mvmvif->features & NETIF_F_RXCSUM && in iwl_mvm_rx_csum()
1838 struct iwl_mvm_vif *mvmvif = in iwl_mvm_rx_mpdu_mq() local
1841 if (mvmvif->csa_target_freq == rx_status->freq) in iwl_mvm_rx_mpdu_mq()
Dops.c546 struct iwl_mvm_vif *mvmvif; in iwl_mvm_tx_unblock_dwork() local
557 mvmvif = iwl_mvm_vif_from_mac80211(tx_blocked_vif); in iwl_mvm_tx_unblock_dwork()
558 iwl_mvm_modify_all_sta_disable_tx(mvm, mvmvif, false); in iwl_mvm_tx_unblock_dwork()
Ddebugfs.c1234 struct iwl_mvm_vif *mvmvif; in _iwl_dbgfs_inject_beacon_ie() local
1283 mvmvif = iwl_mvm_vif_from_mac80211(vif); in _iwl_dbgfs_inject_beacon_ie()
1293 beacon_cmd.template_id = cpu_to_le32((u32)mvmvif->id); in _iwl_dbgfs_inject_beacon_ie()

12