Home
last modified time | relevance | path

Searched refs:mvmsta (Results 1 – 18 of 18) sorted by relevance

/linux-6.15/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtx.c529 if (unlikely(!mvmsta)) in iwl_mvm_use_host_rate()
959 !mvmsta->amsdu_enabled) in iwl_mvm_tx_tso()
1125 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tx_mpdu() local
1166 spin_lock(&mvmsta->lock); in iwl_mvm_tx_mpdu()
1254 spin_unlock(&mvmsta->lock); in iwl_mvm_tx_mpdu()
1264 spin_unlock(&mvmsta->lock); in iwl_mvm_tx_mpdu()
1274 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tx_skb_sta() local
1801 &mvmsta->tid_data[tid]; in iwl_mvm_rx_tx_cmd_single()
2090 if (mvmsta->vif) in iwl_mvm_tx_reclaim()
2180 if (mvmsta) in iwl_mvm_rx_ba_notif()
[all …]
H A Dsta.c309 struct iwl_mvm_sta *mvmsta; in iwl_mvm_invalidate_sta_queue() local
447 struct iwl_mvm_sta *mvmsta; in iwl_mvm_get_queue_agg_tids() local
469 spin_lock_bh(&mvmsta->lock); in iwl_mvm_get_queue_agg_tids()
487 struct iwl_mvm_sta *mvmsta; in iwl_mvm_remove_sta_queue_marking() local
512 spin_lock_bh(&mvmsta->lock); in iwl_mvm_remove_sta_queue_marking()
551 struct iwl_mvm_sta *mvmsta; in iwl_mvm_free_inactive_queue() local
569 if (WARN_ON(!mvmsta)) in iwl_mvm_free_inactive_queue()
922 spin_lock_bh(&mvmsta->lock); in iwl_mvm_sta_alloc_queue_tvqm()
1048 struct iwl_mvm_sta *mvmsta; in iwl_mvm_unshare_queue() local
1954 mvmsta->deflink.sta_id); in iwl_mvm_drain_sta()
[all …]
H A Dtdls.c19 struct iwl_mvm_sta *mvmsta; in iwl_mvm_teardown_tdls_peers() local
30 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_teardown_tdls_peers()
41 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tdls_sta_count() local
55 if (mvmsta->vif != vif) in iwl_mvm_tdls_sta_count()
208 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_tdls_notif() local
230 vif = mvmsta->vif; in iwl_mvm_rx_tdls_notif()
338 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tdls_config_channel_switch() local
417 mvmsta->deflink.sta_id); in iwl_mvm_tdls_config_channel_switch()
456 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tdls_ch_switch_work() local
479 vif = mvmsta->vif; in iwl_mvm_tdls_ch_switch_work()
[all …]
H A Drs.c1172 if (!mvmsta->vif) in rs_drv_mac80211_tx_status()
1506 mvmsta->amsdu_enabled = 0; in rs_set_amsdu_len()
1514 mvmsta->max_amsdu_len = in rs_set_amsdu_len()
1520 if (mvmsta->amsdu_enabled) in rs_set_amsdu_len()
2940 mvmsta->amsdu_enabled = 0; in rs_drv_rate_init()
3017 if (!mvmsta->vif) in rs_drv_rate_update()
3586 struct iwl_mvm_sta *mvmsta; in rs_fill_lq_cmd() local
3626 if (mvmsta->vif->p2p) in rs_fill_lq_cmd()
4063 if (!mvmsta->vif) in rs_drv_add_sta_debugfs()
4149 mvmsta->tx_protection++; in rs_drv_tx_protection()
[all …]
H A Drx.c205 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_handle_tcm() local
223 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_handle_tcm()
224 mac = mvmsta->mac_id_n_color & FW_CTXT_ID_MSK; in iwl_mvm_rx_handle_tcm()
383 struct ieee80211_vif *vif = mvmsta->vif; in iwl_mvm_rx_rx_mpdu()
418 struct ieee80211_vif *vif = mvmsta->vif; in iwl_mvm_rx_rx_mpdu()
433 rs_update_last_rssi(mvm, mvmsta, rx_status); in iwl_mvm_rx_rx_mpdu()
747 u32 sta_id = mvmsta->deflink.sta_id; in iwl_mvm_stats_energy_iter()
754 mvmsta->deflink.avg_energy = energy[sta_id]; in iwl_mvm_stats_energy_iter()
974 struct iwl_mvm_sta *mvmsta; in iwl_mvm_update_esr_mode_tpt() local
993 if (!mvmsta->mpdu_counters) in iwl_mvm_update_esr_mode_tpt()
[all …]
H A Drs-fw.c421 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tlc_update_notif() local
441 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tlc_update_notif()
495 mvmsta->amsdu_enabled = enabled; in iwl_mvm_tlc_update_notif()
496 mvmsta->max_amsdu_len = size; in iwl_mvm_tlc_update_notif()
497 link_sta->agg.max_rc_amsdu_len = mvmsta->max_amsdu_len; in iwl_mvm_tlc_update_notif()
500 if (mvmsta->amsdu_enabled & BIT(i)) in iwl_mvm_tlc_update_notif()
516 mvmsta->amsdu_enabled); in iwl_mvm_tlc_update_notif()
587 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rs_fw_rate_init() local
598 .max_ch_width = mvmsta->authorized ? in iwl_mvm_rs_fw_rate_init()
625 mvm_link_sta = rcu_dereference(mvmsta->link[link_id]); in iwl_mvm_rs_fw_rate_init()
[all …]
H A Dcoex.c181 struct iwl_mvm_sta *mvmsta; in iwl_mvm_bt_coex_reduced_txp() local
187 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, sta_id); in iwl_mvm_bt_coex_reduced_txp()
188 if (!mvmsta) in iwl_mvm_bt_coex_reduced_txp()
192 if (mvmsta->bt_reduced_txpower == enable) in iwl_mvm_bt_coex_reduced_txp()
195 value = mvmsta->deflink.sta_id; in iwl_mvm_bt_coex_reduced_txp()
204 mvmsta->bt_reduced_txpower = enable; in iwl_mvm_bt_coex_reduced_txp()
723 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_coex_agg_time_limit() local
724 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_coex_agg_time_limit()
735 lut_type = iwl_get_coex_type(mvm, mvmsta->vif); in iwl_mvm_coex_agg_time_limit()
747 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_bt_coex_is_mimo_allowed() local
[all …]
H A Dtt.c342 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tt_tx_protection() local
346 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, i); in iwl_mvm_tt_tx_protection()
347 if (!mvmsta) in iwl_mvm_tt_tx_protection()
350 if (enable == mvmsta->tt_tx_protection) in iwl_mvm_tt_tx_protection()
352 err = iwl_mvm_tx_protection(mvm, mvmsta, enable); in iwl_mvm_tt_tx_protection()
359 mvmsta->tt_tx_protection = enable; in iwl_mvm_tt_tx_protection()
H A Dmac80211.c1571 struct iwl_mvm_sta *mvmsta; in iwl_mvm_post_channel_switch() local
1579 if (WARN_ON(!mvmsta)) { in iwl_mvm_post_channel_switch()
3404 spin_lock_bh(&mvmsta->lock); in __iwl_mvm_mac_sta_notify()
3443 spin_unlock_bh(&mvmsta->lock); in __iwl_mvm_mac_sta_notify()
3457 struct iwl_mvm_sta *mvmsta; in iwl_mvm_sta_pm_notif() local
3472 if (!mvmsta->vif || in iwl_mvm_sta_pm_notif()
3479 mvmsta->sleeping = sleeping; in iwl_mvm_sta_pm_notif()
4071 mvmsta->authorized = false; in iwl_mvm_sta_state_authorized_to_assoc()
4599 mvmsta->ptk_pn[keyidx], in __iwl_mvm_mac_set_key()
5910 struct iwl_mvm_sta *mvmsta; in iwl_mvm_mac_flush() local
[all …]
H A Drs.h427 int iwl_mvm_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta,
436 void iwl_mvm_rs_add_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta);
446 int rs_fw_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta,
H A Drxmq.c17 struct iwl_mvm_sta *mvmsta; in iwl_mvm_check_pn() local
52 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_check_pn()
57 ptk_pn = rcu_dereference(mvmsta->ptk_pn[keyidx]); in iwl_mvm_check_pn()
278 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_mgmt_prot() local
302 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_mgmt_prot()
303 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_mgmt_prot()
351 wdev = ieee80211_vif_to_wdev(mvmsta->vif); in iwl_mvm_rx_mgmt_prot()
1899 if (mvmsta->vif != rx_sta_csa->vif) in iwl_mvm_rx_get_sta_block_tx()
1902 if (mvmsta->disable_tx) in iwl_mvm_rx_get_sta_block_tx()
2230 struct ieee80211_vif *vif = mvmsta->vif; in iwl_mvm_rx_mpdu_mq()
[all …]
H A Dmld-sta.c13 struct iwl_mvm_sta *mvmsta; in iwl_mvm_sta_fw_id_mask() local
21 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_fw_id_mask()
22 vif = mvmsta->vif; in iwl_mvm_sta_fw_id_mask()
26 return BIT(mvmsta->deflink.sta_id); in iwl_mvm_sta_fw_id_mask()
37 rcu_dereference_check(mvmsta->link[link_id], in iwl_mvm_sta_fw_id_mask()
875 struct iwl_mvm_sta *mvmsta, in iwl_mvm_mld_sta_modify_disable_tx() argument
881 cmd.sta_id = cpu_to_le32(mvmsta->deflink.sta_id); in iwl_mvm_mld_sta_modify_disable_tx()
H A Ddebugfs.c404 struct iwl_mvm_sta *mvmsta, in iwl_dbgfs_rs_data_read() argument
447 struct iwl_mvm_sta *mvmsta, in iwl_dbgfs_amsdu_len_write() argument
479 struct iwl_mvm_sta *mvmsta, in iwl_dbgfs_amsdu_len_read() argument
1528 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(link_sta->sta); in _iwl_dbgfs_link_sta_wrap_write() local
1529 struct iwl_mvm *mvm = iwl_mvm_vif_from_mac80211(mvmsta->vif)->mvm; in _iwl_dbgfs_link_sta_wrap_write()
1535 mvm_link_sta = rcu_dereference_protected(mvmsta->link[link_sta->link_id], in _iwl_dbgfs_link_sta_wrap_write()
1542 ret = real(link_sta, mvmsta, mvm, mvm_link_sta, buf, buf_size, ppos); in _iwl_dbgfs_link_sta_wrap_write()
1560 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(link_sta->sta); in _iwl_dbgfs_link_sta_wrap_read() local
1561 struct iwl_mvm *mvm = iwl_mvm_vif_from_mac80211(mvmsta->vif)->mvm; in _iwl_dbgfs_link_sta_wrap_read()
1567 mvm_link_sta = rcu_dereference_protected(mvmsta->link[link_sta->link_id], in _iwl_dbgfs_link_sta_wrap_read()
[all …]
H A Dsta.h586 int iwl_mvm_drain_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta,
589 struct iwl_mvm_sta *mvmsta, bool disable);
H A Dtime-event.c205 struct iwl_mvm_sta *mvmsta; in iwl_mvm_te_check_disconnect() local
208 mvmsta = iwl_mvm_sta_from_staid_rcu(mvm, in iwl_mvm_te_check_disconnect()
210 if (!WARN_ON(!mvmsta)) in iwl_mvm_te_check_disconnect()
211 iwl_mvm_sta_modify_disable_tx(mvm, mvmsta, false); in iwl_mvm_te_check_disconnect()
H A Dd3.c289 struct iwl_mvm_sta *mvmsta; in iwl_mvm_wowlan_get_rsc_tsc_data() local
293 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_wowlan_get_rsc_tsc_data()
295 ptk_pn = rcu_dereference(mvmsta->ptk_pn[key->keyidx]); in iwl_mvm_wowlan_get_rsc_tsc_data()
410 struct iwl_mvm_sta *mvmsta; in iwl_mvm_wowlan_get_rsc_v5_data() local
414 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_wowlan_get_rsc_v5_data()
416 ptk_pn = rcu_dereference(mvmsta->ptk_pn[key->keyidx]); in iwl_mvm_wowlan_get_rsc_v5_data()
1669 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_set_aes_ptk_rx_seq() local
1680 ptk_pn = rcu_dereference(mvmsta->ptk_pn[key->keyidx]); in iwl_mvm_set_aes_ptk_rx_seq()
H A Dops.c1878 struct iwl_mvm_sta *mvmsta; in iwl_mvm_queue_state_change() local
1893 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_queue_state_change()
1898 else if (mvmsta->sta_state != IEEE80211_STA_NOTEXIST) in iwl_mvm_queue_state_change()
1925 if (start && mvmsta->sta_state != IEEE80211_STA_NOTEXIST) { in iwl_mvm_queue_state_change()
H A Dmvm.h2271 struct iwl_mvm_sta *mvmsta,