| /Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/ |
| D | sta.c | 306 struct iwl_mvm_sta *mvmsta; in iwl_mvm_invalidate_sta_queue() local 324 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_invalidate_sta_queue() 326 mvmsta->tid_disable_agg |= disable_agg_tids; in iwl_mvm_invalidate_sta_queue() 328 cmd.mac_id_n_color = cpu_to_le32(mvmsta->mac_id_n_color); in iwl_mvm_invalidate_sta_queue() 329 cmd.sta_id = mvmsta->sta_id; in iwl_mvm_invalidate_sta_queue() 336 cmd.tfd_queue_msk = cpu_to_le32(mvmsta->tfd_queue_msk); in iwl_mvm_invalidate_sta_queue() 337 cmd.tid_disable_tx = cpu_to_le16(mvmsta->tid_disable_agg); in iwl_mvm_invalidate_sta_queue() 416 struct iwl_mvm_sta *mvmsta; in iwl_mvm_get_queue_agg_tids() local 436 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_get_queue_agg_tids() 438 spin_lock_bh(&mvmsta->lock); in iwl_mvm_get_queue_agg_tids() [all …]
|
| D | tx.c | 316 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_get_tx_ant() local 318 return BIT(mvmsta->tx_ant) << RATE_MCS_ANT_POS; in iwl_mvm_get_tx_ant() 396 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_set_tx_cmd_rate() local 398 if (mvmsta->sta_state >= IEEE80211_STA_AUTHORIZED) { in iwl_mvm_set_tx_cmd_rate() 515 struct iwl_mvm_sta *mvmsta = sta ? in iwl_mvm_set_tx_params() local 542 mvmsta->sta_state < IEEE80211_STA_AUTHORIZED) { in iwl_mvm_set_tx_params() 794 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_max_amsdu_size() local 795 enum nl80211_band band = mvmsta->vif->bss_conf.chandef.chan->band; in iwl_mvm_max_amsdu_size() 816 return min_t(unsigned int, mvmsta->max_amsdu_len, in iwl_mvm_max_amsdu_size() 895 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tx_tso() local [all …]
|
| D | rs-fw.c | 317 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tlc_update_notif() local 331 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tlc_update_notif() 333 if (!mvmsta) { in iwl_mvm_tlc_update_notif() 341 lq_sta = &mvmsta->lq_sta.rs_fw; in iwl_mvm_tlc_update_notif() 349 if (flags & IWL_TLC_NOTIF_FLAG_AMSDU && !mvmsta->orig_amsdu_len) { in iwl_mvm_tlc_update_notif() 356 mvmsta->amsdu_enabled = le32_to_cpu(notif->amsdu_enabled); in iwl_mvm_tlc_update_notif() 357 mvmsta->max_amsdu_len = size; in iwl_mvm_tlc_update_notif() 358 sta->max_rc_amsdu_len = mvmsta->max_amsdu_len; in iwl_mvm_tlc_update_notif() 361 if (mvmsta->amsdu_enabled & BIT(i)) in iwl_mvm_tlc_update_notif() 375 mvmsta->amsdu_enabled); in iwl_mvm_tlc_update_notif() [all …]
|
| D | tdls.c | 75 struct iwl_mvm_sta *mvmsta; in iwl_mvm_teardown_tdls_peers() local 86 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_teardown_tdls_peers() 87 ieee80211_tdls_oper_request(mvmsta->vif, sta->addr, in iwl_mvm_teardown_tdls_peers() 97 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tdls_sta_count() local 110 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tdls_sta_count() 111 if (mvmsta->vif != vif) in iwl_mvm_tdls_sta_count() 258 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_tdls_notif() local 279 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_tdls_notif() 280 vif = mvmsta->vif; in iwl_mvm_rx_tdls_notif() 388 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tdls_config_channel_switch() local [all …]
|
| D | rs.c | 627 static void rs_tl_turn_on_agg(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, in rs_tl_turn_on_agg() argument 645 tid_data = &mvmsta->tid_data[tid]; in rs_tl_turn_on_agg() 646 if (mvmsta->sta_state >= IEEE80211_STA_AUTHORIZED && in rs_tl_turn_on_agg() 763 struct iwl_mvm_sta *mvmsta, in rs_update_tid_tpt_stats() argument 771 tid_data = &mvmsta->tid_data[tid]; in rs_update_tid_tpt_stats() 793 struct iwl_mvm_sta *mvmsta, u8 tid, in rs_collect_tlc_data() argument 803 struct lq_sta_pers *pers = &mvmsta->lq_sta.rs_drv.pers; in rs_collect_tlc_data() 809 rs_update_tid_tpt_stats(mvm, mvmsta, tid, successes); in rs_collect_tlc_data() 1212 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in rs_drv_mac80211_tx_status() local 1214 if (!mvmsta->vif) in rs_drv_mac80211_tx_status() [all …]
|
| D | coex.c | 242 struct iwl_mvm_sta *mvmsta; in iwl_mvm_bt_coex_reduced_txp() local 245 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, sta_id); in iwl_mvm_bt_coex_reduced_txp() 246 if (!mvmsta) in iwl_mvm_bt_coex_reduced_txp() 250 if (mvmsta->bt_reduced_txpower == enable) in iwl_mvm_bt_coex_reduced_txp() 253 value = mvmsta->sta_id; in iwl_mvm_bt_coex_reduced_txp() 262 mvmsta->bt_reduced_txpower = enable; in iwl_mvm_bt_coex_reduced_txp() 611 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_coex_agg_time_limit() local 612 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_coex_agg_time_limit() 623 lut_type = iwl_get_coex_type(mvm, mvmsta->vif); in iwl_mvm_coex_agg_time_limit() 635 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_bt_coex_is_mimo_allowed() local [all …]
|
| D | rx.c | 261 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_handle_tcm() local 275 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_handle_tcm() 276 mac = mvmsta->mac_id_n_color & FW_CTXT_ID_MSK; in iwl_mvm_rx_handle_tcm() 292 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_handle_tcm() 300 mvmsta->sta_id != mvmvif->ap_sta_id) in iwl_mvm_rx_handle_tcm() 327 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_csum() local 328 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_csum() 435 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_rx_mpdu() local 439 struct ieee80211_vif *vif = mvmsta->vif; in iwl_mvm_rx_rx_mpdu() 454 rs_update_last_rssi(mvm, mvmsta, rx_status); in iwl_mvm_rx_rx_mpdu()
|
| D | tt.c | 343 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tt_tx_protection() local 347 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, i); in iwl_mvm_tt_tx_protection() 348 if (!mvmsta) in iwl_mvm_tt_tx_protection() 351 if (enable == mvmsta->tt_tx_protection) in iwl_mvm_tt_tx_protection() 353 err = iwl_mvm_tx_protection(mvm, mvmsta, enable); in iwl_mvm_tt_tx_protection() 360 mvmsta->tt_tx_protection = enable; in iwl_mvm_tt_tx_protection()
|
| D | mac80211.c | 922 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_ampdu_check_trigger() local 923 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_ampdu_check_trigger() 1320 struct iwl_mvm_sta *mvmsta; in iwl_mvm_post_channel_switch() local 1323 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, in iwl_mvm_post_channel_switch() 1326 if (WARN_ON(!mvmsta)) { in iwl_mvm_post_channel_switch() 1333 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 | rs.h | 441 int iwl_mvm_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, 452 void iwl_mvm_rs_add_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta); 455 int rs_fw_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta,
|
| D | rxmq.c | 98 struct iwl_mvm_sta *mvmsta; in iwl_mvm_check_pn() local 133 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_check_pn() 138 ptk_pn = rcu_dereference(mvmsta->ptk_pn[keyidx]); in iwl_mvm_check_pn() 400 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_csum() local 401 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_csum() 646 struct iwl_mvm_sta *mvmsta; in iwl_mvm_reorder_timer_expired() local 651 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_reorder_timer_expired() 657 iwl_mvm_event_frame_timeout_callback(buf->mvm, mvmsta->vif, in iwl_mvm_reorder_timer_expired() 797 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_oldsn_workaround() local 835 ieee80211_stop_rx_ba_session(mvmsta->vif, BIT(tid), sta->addr); in iwl_mvm_oldsn_workaround() [all …]
|
| D | sta.h | 570 int iwl_mvm_drain_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, 573 struct iwl_mvm_sta *mvmsta, bool disable);
|
| D | debugfs.c | 169 struct iwl_mvm_sta *mvmsta; in iwl_dbgfs_sta_drain_write() local 185 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, sta_id); in iwl_dbgfs_sta_drain_write() 187 if (!mvmsta) in iwl_dbgfs_sta_drain_write() 190 ret = iwl_mvm_drain_sta(mvm, mvmsta, drain) ? : count; in iwl_dbgfs_sta_drain_write() 430 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_dbgfs_rs_data_read() local 431 struct iwl_lq_sta_rs_fw *lq_sta = &mvmsta->lq_sta.rs_fw; in iwl_dbgfs_rs_data_read() 474 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_dbgfs_amsdu_len_write() local 482 mvmsta->orig_amsdu_len = sta->max_amsdu_len; in iwl_dbgfs_amsdu_len_write() 487 sta->max_amsdu_len = mvmsta->orig_amsdu_len; in iwl_dbgfs_amsdu_len_write() 488 mvmsta->orig_amsdu_len = 0; in iwl_dbgfs_amsdu_len_write() [all …]
|
| D | ops.c | 1100 struct iwl_mvm_sta *mvmsta; in iwl_mvm_queue_state_change() local 1115 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_queue_state_change() 1120 else if (mvmsta->sta_state != IEEE80211_STA_NOTEXIST) in iwl_mvm_queue_state_change() 1144 if (start && mvmsta->sta_state != IEEE80211_STA_NOTEXIST) in iwl_mvm_queue_state_change()
|
| D | d3.c | 324 struct iwl_mvm_sta *mvmsta; in iwl_mvm_wowlan_program_keys() local 328 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_wowlan_program_keys() 330 mvmsta->ptk_pn[key->keyidx], in iwl_mvm_wowlan_program_keys() 1284 struct iwl_mvm_sta *mvmsta; in iwl_mvm_set_aes_rx_seq() local 1287 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_set_aes_rx_seq() 1289 ptk_pn = rcu_dereference_protected(mvmsta->ptk_pn[key->keyidx], in iwl_mvm_set_aes_rx_seq()
|
| D | mac-ctxt.c | 675 struct iwl_mvm_sta *mvmsta = in iwl_mvm_mac_ctxt_cmd_sta() local 678 if (mvmsta->sta_state == in iwl_mvm_mac_ctxt_cmd_sta()
|
| D | mvm.h | 1771 struct iwl_mvm_sta *mvmsta,
|