Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/mvm/
Dsta.c276 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()
388 struct iwl_mvm_sta *mvmsta; in iwl_mvm_get_queue_agg_tids() local
408 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_get_queue_agg_tids()
410 spin_lock_bh(&mvmsta->lock); in iwl_mvm_get_queue_agg_tids()
[all …]
Dtx.c256 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_get_tx_ant() local
258 return BIT(mvmsta->tx_ant) << RATE_MCS_ANT_POS; in iwl_mvm_get_tx_ant()
271 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_get_tx_rate() local
281 le16_to_cpu(fc), mvmsta->sta_state); in iwl_mvm_get_tx_rate()
346 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_set_tx_cmd_rate() local
348 if (mvmsta->sta_state >= IEEE80211_STA_AUTHORIZED) { in iwl_mvm_set_tx_cmd_rate()
460 struct iwl_mvm_sta *mvmsta = sta ? in iwl_mvm_set_tx_params() local
487 mvmsta->sta_state < IEEE80211_STA_AUTHORIZED) { in iwl_mvm_set_tx_params()
739 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_max_amsdu_size() local
740 enum nl80211_band band = mvmsta->vif->bss_conf.chandef.chan->band; in iwl_mvm_max_amsdu_size()
[all …]
Drs-fw.c289 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tlc_update_notif() local
303 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tlc_update_notif()
305 if (!mvmsta) { in iwl_mvm_tlc_update_notif()
313 lq_sta = &mvmsta->lq_sta.rs_fw; in iwl_mvm_tlc_update_notif()
323 if (flags & IWL_TLC_NOTIF_FLAG_AMSDU && !mvmsta->orig_amsdu_len) { in iwl_mvm_tlc_update_notif()
333 WARN_ON(mvmsta->orig_amsdu_len < size); in iwl_mvm_tlc_update_notif()
337 mvmsta->amsdu_enabled = le32_to_cpu(notif->amsdu_enabled); in iwl_mvm_tlc_update_notif()
338 mvmsta->max_amsdu_len = size; in iwl_mvm_tlc_update_notif()
339 sta->max_rc_amsdu_len = mvmsta->max_amsdu_len; in iwl_mvm_tlc_update_notif()
342 if (mvmsta->amsdu_enabled & BIT(i)) in iwl_mvm_tlc_update_notif()
[all …]
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()
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 …]
Drs.c625 static void rs_tl_turn_on_agg(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, in rs_tl_turn_on_agg() argument
643 tid_data = &mvmsta->tid_data[tid]; in rs_tl_turn_on_agg()
644 if (mvmsta->sta_state >= IEEE80211_STA_AUTHORIZED && in rs_tl_turn_on_agg()
761 struct iwl_mvm_sta *mvmsta, in rs_update_tid_tpt_stats() argument
769 tid_data = &mvmsta->tid_data[tid]; in rs_update_tid_tpt_stats()
791 struct iwl_mvm_sta *mvmsta, u8 tid, in rs_collect_tlc_data() argument
801 struct lq_sta_pers *pers = &mvmsta->lq_sta.rs_drv.pers; in rs_collect_tlc_data()
807 rs_update_tid_tpt_stats(mvm, mvmsta, tid, successes); in rs_collect_tlc_data()
1216 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in rs_drv_mac80211_tx_status() local
1218 if (!mvmsta->vif) in rs_drv_mac80211_tx_status()
[all …]
Dcoex.c186 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 …]
Drx.c210 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_handle_tcm() local
224 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_handle_tcm()
225 mac = mvmsta->mac_id_n_color & FW_CTXT_ID_MSK; in iwl_mvm_rx_handle_tcm()
241 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_handle_tcm()
249 mvmsta->sta_id != mvmvif->ap_sta_id) in iwl_mvm_rx_handle_tcm()
276 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_csum() local
277 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_csum()
395 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_rx_mpdu() local
399 struct ieee80211_vif *vif = mvmsta->vif; in iwl_mvm_rx_rx_mpdu()
414 rs_update_last_rssi(mvm, mvmsta, rx_status); in iwl_mvm_rx_rx_mpdu()
[all …]
Drxmq.c42 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()
280 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_mgmt_prot() local
313 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_mgmt_prot()
315 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_mgmt_prot()
467 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_csum() local
473 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_csum()
687 struct iwl_mvm_sta *mvmsta; in iwl_mvm_reorder_timer_expired() local
692 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_reorder_timer_expired()
[all …]
Dtt.c337 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tt_tx_protection() local
341 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, i); in iwl_mvm_tt_tx_protection()
342 if (!mvmsta) in iwl_mvm_tt_tx_protection()
345 if (enable == mvmsta->tt_tx_protection) in iwl_mvm_tt_tx_protection()
347 err = iwl_mvm_tx_protection(mvm, mvmsta, enable); in iwl_mvm_tt_tx_protection()
354 mvmsta->tt_tx_protection = enable; in iwl_mvm_tt_tx_protection()
Dmac80211.c910 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_ampdu_check_trigger() local
911 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_ampdu_check_trigger()
1310 struct iwl_mvm_sta *mvmsta; in iwl_mvm_post_channel_switch() local
1313 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, in iwl_mvm_post_channel_switch()
1316 if (WARN_ON(!mvmsta)) { in iwl_mvm_post_channel_switch()
1321 iwl_mvm_sta_modify_disable_tx(mvm, mvmsta, false); in iwl_mvm_post_channel_switch()
2782 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in __iwl_mvm_mac_sta_notify() local
2794 spin_lock_bh(&mvmsta->lock); in __iwl_mvm_mac_sta_notify()
2795 for (tid = 0; tid < ARRAY_SIZE(mvmsta->tid_data); tid++) { in __iwl_mvm_mac_sta_notify()
2796 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in __iwl_mvm_mac_sta_notify()
[all …]
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,
Ddebugfs.c113 struct iwl_mvm_sta *mvmsta; in iwl_dbgfs_sta_drain_write() local
129 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, sta_id); in iwl_dbgfs_sta_drain_write()
131 if (!mvmsta) in iwl_dbgfs_sta_drain_write()
134 ret = iwl_mvm_drain_sta(mvm, mvmsta, drain) ? : count; in iwl_dbgfs_sta_drain_write()
375 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_dbgfs_rs_data_read() local
376 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()
430 (!!amsdu_len && mvmsta->orig_amsdu_len)) in iwl_dbgfs_amsdu_len_write()
434 mvmsta->orig_amsdu_len = sta->max_amsdu_len; in iwl_dbgfs_amsdu_len_write()
[all …]
Dsta.h534 int iwl_mvm_drain_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta,
537 struct iwl_mvm_sta *mvmsta, bool disable);
Dtime-event.c162 struct iwl_mvm_sta *mvmsta; in iwl_mvm_te_check_disconnect() local
165 mvmsta = iwl_mvm_sta_from_staid_rcu(mvm, mvmvif->ap_sta_id); in iwl_mvm_te_check_disconnect()
166 if (!WARN_ON(!mvmsta)) in iwl_mvm_te_check_disconnect()
167 iwl_mvm_sta_modify_disable_tx(mvm, mvmsta, false); in iwl_mvm_te_check_disconnect()
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()
1552 struct iwl_mvm_sta *mvmsta; in iwl_mvm_set_aes_rx_seq() local
1555 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_set_aes_rx_seq()
1558 ptk_pn = rcu_dereference(mvmsta->ptk_pn[key->keyidx]); in iwl_mvm_set_aes_rx_seq()
Dops.c1262 struct iwl_mvm_sta *mvmsta; in iwl_mvm_queue_state_change() local
1277 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_queue_state_change()
1282 else if (mvmsta->sta_state != IEEE80211_STA_NOTEXIST) in iwl_mvm_queue_state_change()
1306 if (start && mvmsta->sta_state != IEEE80211_STA_NOTEXIST) in iwl_mvm_queue_state_change()
Dmac-ctxt.c618 struct iwl_mvm_sta *mvmsta = in iwl_mvm_mac_ctxt_cmd_sta() local
621 if (mvmsta->sta_state == in iwl_mvm_mac_ctxt_cmd_sta()
Dmvm.h1737 struct iwl_mvm_sta *mvmsta,