Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dtx.c316 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()
399 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_set_tx_cmd_rate() local
401 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
540 mvmsta->sta_state < IEEE80211_STA_AUTHORIZED) { in iwl_mvm_set_tx_params()
792 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_max_amsdu_size() local
793 enum nl80211_band band = mvmsta->vif->bss_conf.chandef.chan->band; in iwl_mvm_max_amsdu_size()
810 return min_t(unsigned int, mvmsta->max_amsdu_len, in iwl_mvm_max_amsdu_size()
884 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tx_tso() local
[all …]
Dsta.c322 struct iwl_mvm_sta *mvmsta; in iwl_mvm_invalidate_sta_queue() local
340 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_invalidate_sta_queue()
342 mvmsta->tid_disable_agg |= disable_agg_tids; in iwl_mvm_invalidate_sta_queue()
344 cmd.mac_id_n_color = cpu_to_le32(mvmsta->mac_id_n_color); in iwl_mvm_invalidate_sta_queue()
345 cmd.sta_id = mvmsta->sta_id; in iwl_mvm_invalidate_sta_queue()
352 cmd.tfd_queue_msk = cpu_to_le32(mvmsta->tfd_queue_msk); in iwl_mvm_invalidate_sta_queue()
353 cmd.tid_disable_tx = cpu_to_le16(mvmsta->tid_disable_agg); in iwl_mvm_invalidate_sta_queue()
432 struct iwl_mvm_sta *mvmsta; in iwl_mvm_get_queue_agg_tids() local
452 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_get_queue_agg_tids()
454 spin_lock_bh(&mvmsta->lock); in iwl_mvm_get_queue_agg_tids()
[all …]
Drs-fw.c348 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tlc_update_notif() local
362 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tlc_update_notif()
364 if (!mvmsta) { in iwl_mvm_tlc_update_notif()
372 lq_sta = &mvmsta->lq_sta.rs_fw; in iwl_mvm_tlc_update_notif()
382 if (flags & IWL_TLC_NOTIF_FLAG_AMSDU && !mvmsta->orig_amsdu_len) { in iwl_mvm_tlc_update_notif()
392 WARN_ON(mvmsta->orig_amsdu_len < size); in iwl_mvm_tlc_update_notif()
396 mvmsta->amsdu_enabled = le32_to_cpu(notif->amsdu_enabled); in iwl_mvm_tlc_update_notif()
397 mvmsta->max_amsdu_len = size; in iwl_mvm_tlc_update_notif()
398 sta->max_rc_amsdu_len = mvmsta->max_amsdu_len; in iwl_mvm_tlc_update_notif()
401 if (mvmsta->amsdu_enabled & BIT(i)) in iwl_mvm_tlc_update_notif()
[all …]
Dtdls.c75 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()
264 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_tdls_notif() local
285 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_tdls_notif()
286 vif = mvmsta->vif; in iwl_mvm_rx_tdls_notif()
394 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tdls_config_channel_switch() local
[all …]
Drs.c626 static void rs_tl_turn_on_agg(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, in rs_tl_turn_on_agg() argument
644 tid_data = &mvmsta->tid_data[tid]; in rs_tl_turn_on_agg()
645 if (mvmsta->sta_state >= IEEE80211_STA_AUTHORIZED && in rs_tl_turn_on_agg()
762 struct iwl_mvm_sta *mvmsta, in rs_update_tid_tpt_stats() argument
770 tid_data = &mvmsta->tid_data[tid]; in rs_update_tid_tpt_stats()
792 struct iwl_mvm_sta *mvmsta, u8 tid, in rs_collect_tlc_data() argument
802 struct lq_sta_pers *pers = &mvmsta->lq_sta.rs_drv.pers; in rs_collect_tlc_data()
808 rs_update_tid_tpt_stats(mvm, mvmsta, tid, successes); in rs_collect_tlc_data()
1217 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in rs_drv_mac80211_tx_status() local
1219 if (!mvmsta->vif) in rs_drv_mac80211_tx_status()
[all …]
Dcoex.c241 struct iwl_mvm_sta *mvmsta; in iwl_mvm_bt_coex_reduced_txp() local
244 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, sta_id); in iwl_mvm_bt_coex_reduced_txp()
245 if (!mvmsta) in iwl_mvm_bt_coex_reduced_txp()
249 if (mvmsta->bt_reduced_txpower == enable) in iwl_mvm_bt_coex_reduced_txp()
252 value = mvmsta->sta_id; in iwl_mvm_bt_coex_reduced_txp()
261 mvmsta->bt_reduced_txpower = enable; in iwl_mvm_bt_coex_reduced_txp()
610 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_coex_agg_time_limit() local
611 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_coex_agg_time_limit()
622 lut_type = iwl_get_coex_type(mvm, mvmsta->vif); in iwl_mvm_coex_agg_time_limit()
634 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_bt_coex_is_mimo_allowed() local
[all …]
Drx.c262 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_handle_tcm() local
276 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_handle_tcm()
277 mac = mvmsta->mac_id_n_color & FW_CTXT_ID_MSK; in iwl_mvm_rx_handle_tcm()
293 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_handle_tcm()
301 mvmsta->sta_id != mvmvif->ap_sta_id) in iwl_mvm_rx_handle_tcm()
328 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_csum() local
329 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_csum()
436 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_rx_mpdu() local
440 struct ieee80211_vif *vif = mvmsta->vif; in iwl_mvm_rx_rx_mpdu()
455 rs_update_last_rssi(mvm, mvmsta, rx_status); in iwl_mvm_rx_rx_mpdu()
Dmac80211.c959 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_ampdu_check_trigger() local
960 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_ampdu_check_trigger()
1363 struct iwl_mvm_sta *mvmsta; in iwl_mvm_post_channel_switch() local
1366 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, in iwl_mvm_post_channel_switch()
1369 if (WARN_ON(!mvmsta)) { in iwl_mvm_post_channel_switch()
1374 iwl_mvm_sta_modify_disable_tx(mvm, mvmsta, false); in iwl_mvm_post_channel_switch()
2820 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in __iwl_mvm_mac_sta_notify() local
2832 spin_lock_bh(&mvmsta->lock); in __iwl_mvm_mac_sta_notify()
2833 for (tid = 0; tid < ARRAY_SIZE(mvmsta->tid_data); tid++) { in __iwl_mvm_mac_sta_notify()
2834 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in __iwl_mvm_mac_sta_notify()
[all …]
Dtt.c401 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tt_tx_protection() local
405 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, i); in iwl_mvm_tt_tx_protection()
406 if (!mvmsta) in iwl_mvm_tt_tx_protection()
409 if (enable == mvmsta->tt_tx_protection) in iwl_mvm_tt_tx_protection()
411 err = iwl_mvm_tx_protection(mvm, mvmsta, enable); in iwl_mvm_tt_tx_protection()
418 mvmsta->tt_tx_protection = enable; in iwl_mvm_tt_tx_protection()
Drs.h441 int iwl_mvm_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta,
448 void iwl_mvm_rs_add_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta);
451 int rs_fw_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta,
Drxmq.c98 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()
436 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_csum() local
442 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_csum()
688 struct iwl_mvm_sta *mvmsta; in iwl_mvm_reorder_timer_expired() local
693 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_reorder_timer_expired()
699 iwl_mvm_event_frame_timeout_callback(buf->mvm, mvmsta->vif, in iwl_mvm_reorder_timer_expired()
839 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_oldsn_workaround() local
877 ieee80211_stop_rx_ba_session(mvmsta->vif, BIT(tid), sta->addr); in iwl_mvm_oldsn_workaround()
[all …]
Ddebugfs.c168 struct iwl_mvm_sta *mvmsta; in iwl_dbgfs_sta_drain_write() local
184 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, sta_id); in iwl_dbgfs_sta_drain_write()
186 if (!mvmsta) in iwl_dbgfs_sta_drain_write()
189 ret = iwl_mvm_drain_sta(mvm, mvmsta, drain) ? : count; in iwl_dbgfs_sta_drain_write()
429 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_dbgfs_rs_data_read() local
430 struct iwl_lq_sta_rs_fw *lq_sta = &mvmsta->lq_sta.rs_fw; in iwl_dbgfs_rs_data_read()
475 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_dbgfs_amsdu_len_write() local
483 if ((amsdu_len && mvmsta->orig_amsdu_len) || in iwl_dbgfs_amsdu_len_write()
484 (!!amsdu_len && mvmsta->orig_amsdu_len)) in iwl_dbgfs_amsdu_len_write()
488 mvmsta->orig_amsdu_len = sta->max_amsdu_len; in iwl_dbgfs_amsdu_len_write()
[all …]
Dsta.h570 int iwl_mvm_drain_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta,
573 struct iwl_mvm_sta *mvmsta, bool disable);
Dops.c1107 struct iwl_mvm_sta *mvmsta; in iwl_mvm_queue_state_change() local
1122 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_queue_state_change()
1127 else if (mvmsta->sta_state != IEEE80211_STA_NOTEXIST) in iwl_mvm_queue_state_change()
1151 if (start && mvmsta->sta_state != IEEE80211_STA_NOTEXIST) in iwl_mvm_queue_state_change()
Dd3.c342 struct iwl_mvm_sta *mvmsta; in iwl_mvm_wowlan_program_keys() local
346 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_wowlan_program_keys()
348 ptk_pn = rcu_dereference(mvmsta->ptk_pn[key->keyidx]); in iwl_mvm_wowlan_program_keys()
1364 struct iwl_mvm_sta *mvmsta; in iwl_mvm_set_aes_rx_seq() local
1367 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_set_aes_rx_seq()
1370 ptk_pn = rcu_dereference(mvmsta->ptk_pn[key->keyidx]); in iwl_mvm_set_aes_rx_seq()
Dmac-ctxt.c673 struct iwl_mvm_sta *mvmsta = in iwl_mvm_mac_ctxt_cmd_sta() local
676 if (mvmsta->sta_state == in iwl_mvm_mac_ctxt_cmd_sta()
Dmvm.h1773 struct iwl_mvm_sta *mvmsta,