/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | sta.c | 276 struct iwl_mvm_sta *mvmsta; in iwl_mvm_invalidate_sta_queue() local 294 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_invalidate_sta_queue() 296 mvmsta->tid_disable_agg |= disable_agg_tids; in iwl_mvm_invalidate_sta_queue() 298 cmd.mac_id_n_color = cpu_to_le32(mvmsta->mac_id_n_color); in iwl_mvm_invalidate_sta_queue() 299 cmd.sta_id = mvmsta->sta_id; in iwl_mvm_invalidate_sta_queue() 306 cmd.tfd_queue_msk = cpu_to_le32(mvmsta->tfd_queue_msk); in iwl_mvm_invalidate_sta_queue() 307 cmd.tid_disable_tx = cpu_to_le16(mvmsta->tid_disable_agg); in iwl_mvm_invalidate_sta_queue() 406 struct iwl_mvm_sta *mvmsta; in iwl_mvm_get_queue_agg_tids() local 426 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_get_queue_agg_tids() 428 spin_lock_bh(&mvmsta->lock); in iwl_mvm_get_queue_agg_tids() [all …]
|
D | tx.c | 302 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_get_tx_ant() local 304 return BIT(mvmsta->tx_ant) << RATE_MCS_ANT_POS; in iwl_mvm_get_tx_ant() 400 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_set_tx_cmd_rate() local 402 if (mvmsta->sta_state >= IEEE80211_STA_AUTHORIZED) { in iwl_mvm_set_tx_cmd_rate() 513 struct iwl_mvm_sta *mvmsta = sta ? in iwl_mvm_set_tx_params() local 532 mvmsta->sta_state < IEEE80211_STA_AUTHORIZED) { in iwl_mvm_set_tx_params() 790 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_max_amsdu_size() local 791 enum nl80211_band band = mvmsta->vif->bss_conf.chandef.chan->band; in iwl_mvm_max_amsdu_size() 808 return min_t(unsigned int, mvmsta->max_amsdu_len, in iwl_mvm_max_amsdu_size() 885 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tx_tso() local [all …]
|
D | rs-fw.c | 288 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tlc_update_notif() local 306 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tlc_update_notif() 308 if (!mvmsta) { in iwl_mvm_tlc_update_notif() 316 lq_sta = &mvmsta->lq_sta.rs_fw; in iwl_mvm_tlc_update_notif() 339 if (flags & IWL_TLC_NOTIF_FLAG_AMSDU && !mvmsta->orig_amsdu_len) { in iwl_mvm_tlc_update_notif() 349 WARN_ON(mvmsta->orig_amsdu_len < size); in iwl_mvm_tlc_update_notif() 353 mvmsta->amsdu_enabled = le32_to_cpu(notif->amsdu_enabled); in iwl_mvm_tlc_update_notif() 354 mvmsta->max_amsdu_len = size; in iwl_mvm_tlc_update_notif() 355 sta->deflink.agg.max_rc_amsdu_len = mvmsta->max_amsdu_len; in iwl_mvm_tlc_update_notif() 358 if (mvmsta->amsdu_enabled & BIT(i)) in iwl_mvm_tlc_update_notif() [all …]
|
D | tdls.c | 19 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() 31 ieee80211_tdls_oper_request(mvmsta->vif, sta->addr, in iwl_mvm_teardown_tdls_peers() 41 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tdls_sta_count() local 54 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tdls_sta_count() 55 if (mvmsta->vif != vif) in iwl_mvm_tdls_sta_count() 208 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_tdls_notif() local 229 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_tdls_notif() 230 vif = mvmsta->vif; in iwl_mvm_rx_tdls_notif() 338 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tdls_config_channel_switch() local [all …]
|
D | rs.c | 582 static void rs_tl_turn_on_agg(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, in rs_tl_turn_on_agg() argument 600 tid_data = &mvmsta->tid_data[tid]; in rs_tl_turn_on_agg() 601 if (mvmsta->sta_state >= IEEE80211_STA_AUTHORIZED && in rs_tl_turn_on_agg() 717 struct iwl_mvm_sta *mvmsta, in rs_update_tid_tpt_stats() argument 725 tid_data = &mvmsta->tid_data[tid]; in rs_update_tid_tpt_stats() 747 struct iwl_mvm_sta *mvmsta, u8 tid, in rs_collect_tlc_data() argument 757 struct lq_sta_pers *pers = &mvmsta->lq_sta.rs_drv.pers; in rs_collect_tlc_data() 763 rs_update_tid_tpt_stats(mvm, mvmsta, tid, successes); in rs_collect_tlc_data() 1169 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in rs_drv_mac80211_tx_status() local 1171 if (!mvmsta->vif) in rs_drv_mac80211_tx_status() [all …]
|
D | coex.c | 186 struct iwl_mvm_sta *mvmsta; in iwl_mvm_bt_coex_reduced_txp() local 189 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, sta_id); in iwl_mvm_bt_coex_reduced_txp() 190 if (!mvmsta) in iwl_mvm_bt_coex_reduced_txp() 194 if (mvmsta->bt_reduced_txpower == enable) in iwl_mvm_bt_coex_reduced_txp() 197 value = mvmsta->sta_id; in iwl_mvm_bt_coex_reduced_txp() 206 mvmsta->bt_reduced_txpower = enable; in iwl_mvm_bt_coex_reduced_txp() 555 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_coex_agg_time_limit() local 556 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_coex_agg_time_limit() 567 lut_type = iwl_get_coex_type(mvm, mvmsta->vif); in iwl_mvm_coex_agg_time_limit() 579 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_bt_coex_is_mimo_allowed() local [all …]
|
D | rx.c | 205 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_handle_tcm() local 219 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_handle_tcm() 220 mac = mvmsta->mac_id_n_color & FW_CTXT_ID_MSK; in iwl_mvm_rx_handle_tcm() 236 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_handle_tcm() 244 mvmsta->sta_id != mvmvif->ap_sta_id) in iwl_mvm_rx_handle_tcm() 271 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_csum() local 272 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_csum() 379 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_rx_mpdu() local 380 struct ieee80211_vif *vif = mvmsta->vif; in iwl_mvm_rx_rx_mpdu() 410 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_rx_mpdu() local [all …]
|
D | rxmq.c | 42 struct iwl_mvm_sta *mvmsta; in iwl_mvm_check_pn() local 77 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_check_pn() 82 ptk_pn = rcu_dereference(mvmsta->ptk_pn[keyidx]); in iwl_mvm_check_pn() 302 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_mgmt_prot() local 335 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_mgmt_prot() 337 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_mgmt_prot() 489 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_csum() local 495 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_csum() 709 struct iwl_mvm_sta *mvmsta; in iwl_mvm_reorder_timer_expired() local 714 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_reorder_timer_expired() [all …]
|
D | mac80211.c | 819 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_ampdu_check_trigger() local 820 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_ampdu_check_trigger() 1266 struct iwl_mvm_sta *mvmsta; in iwl_mvm_post_channel_switch() local 1269 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, in iwl_mvm_post_channel_switch() 1272 if (WARN_ON(!mvmsta)) { in iwl_mvm_post_channel_switch() 1277 iwl_mvm_sta_modify_disable_tx(mvm, mvmsta, false); in iwl_mvm_post_channel_switch() 2760 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in __iwl_mvm_mac_sta_notify() local 2772 spin_lock_bh(&mvmsta->lock); in __iwl_mvm_mac_sta_notify() 2773 for (tid = 0; tid < ARRAY_SIZE(mvmsta->tid_data); tid++) { in __iwl_mvm_mac_sta_notify() 2774 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in __iwl_mvm_mac_sta_notify() [all …]
|
D | tt.c | 342 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()
|
D | rs.h | 424 int iwl_mvm_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, 431 void iwl_mvm_rs_add_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta); 434 int rs_fw_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta,
|
D | debugfs.c | 114 struct iwl_mvm_sta *mvmsta; in iwl_dbgfs_sta_drain_write() local 130 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, sta_id); in iwl_dbgfs_sta_drain_write() 132 if (!mvmsta) in iwl_dbgfs_sta_drain_write() 135 ret = iwl_mvm_drain_sta(mvm, mvmsta, drain) ? : count; in iwl_dbgfs_sta_drain_write() 376 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_dbgfs_rs_data_read() local 377 struct iwl_lq_sta_rs_fw *lq_sta = &mvmsta->lq_sta.rs_fw; in iwl_dbgfs_rs_data_read() 421 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_dbgfs_amsdu_len_write() local 429 if (amsdu_len && mvmsta->orig_amsdu_len) in iwl_dbgfs_amsdu_len_write() 433 mvmsta->orig_amsdu_len = sta->cur->max_amsdu_len; in iwl_dbgfs_amsdu_len_write() 439 sta->deflink.agg.max_amsdu_len = mvmsta->orig_amsdu_len; in iwl_dbgfs_amsdu_len_write() [all …]
|
D | sta.h | 536 int iwl_mvm_drain_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, 539 struct iwl_mvm_sta *mvmsta, bool disable);
|
D | time-event.c | 170 struct iwl_mvm_sta *mvmsta; in iwl_mvm_te_check_disconnect() local 173 mvmsta = iwl_mvm_sta_from_staid_rcu(mvm, mvmvif->ap_sta_id); in iwl_mvm_te_check_disconnect() 174 if (!WARN_ON(!mvmsta)) in iwl_mvm_te_check_disconnect() 175 iwl_mvm_sta_modify_disable_tx(mvm, mvmsta, false); in iwl_mvm_te_check_disconnect()
|
D | d3.c | 289 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() 1612 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_set_aes_ptk_rx_seq() local 1623 ptk_pn = rcu_dereference(mvmsta->ptk_pn[key->keyidx]); in iwl_mvm_set_aes_ptk_rx_seq()
|
D | ops.c | 1641 struct iwl_mvm_sta *mvmsta; in iwl_mvm_queue_state_change() local 1656 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_queue_state_change() 1661 else if (mvmsta->sta_state != IEEE80211_STA_NOTEXIST) in iwl_mvm_queue_state_change() 1685 if (start && mvmsta->sta_state != IEEE80211_STA_NOTEXIST) in iwl_mvm_queue_state_change()
|
D | mvm.h | 1758 struct iwl_mvm_sta *mvmsta,
|