Home
last modified time | relevance | path

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

/src/sys/contrib/dev/iwlwifi/mvm/
H A Dsta.c312 struct iwl_mvm_sta *mvmsta; in iwl_mvm_invalidate_sta_queue() local
330 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_invalidate_sta_queue()
332 mvmsta->tid_disable_agg |= disable_agg_tids; in iwl_mvm_invalidate_sta_queue()
334 cmd.mac_id_n_color = cpu_to_le32(mvmsta->mac_id_n_color); in iwl_mvm_invalidate_sta_queue()
335 cmd.sta_id = mvmsta->deflink.sta_id; in iwl_mvm_invalidate_sta_queue()
342 cmd.tfd_queue_msk = cpu_to_le32(mvmsta->tfd_queue_msk); in iwl_mvm_invalidate_sta_queue()
343 cmd.tid_disable_tx = cpu_to_le16(mvmsta->tid_disable_agg); in iwl_mvm_invalidate_sta_queue()
450 struct iwl_mvm_sta *mvmsta; in iwl_mvm_get_queue_agg_tids() local
470 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_get_queue_agg_tids()
472 spin_lock_bh(&mvmsta->lock); in iwl_mvm_get_queue_agg_tids()
[all …]
H A Dtx.c258 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_get_tx_ant() local
260 return BIT(mvmsta->tx_ant) << RATE_MCS_ANT_POS; in iwl_mvm_get_tx_ant()
424 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_set_tx_cmd_rate() local
426 if (mvmsta->sta_state >= IEEE80211_STA_AUTHORIZED) { in iwl_mvm_set_tx_cmd_rate()
515 struct iwl_mvm_sta *mvmsta, in iwl_mvm_use_host_rate() argument
519 if (unlikely(!mvmsta)) in iwl_mvm_use_host_rate()
526 mvmsta->sta_state >= IEEE80211_STA_AUTHORIZED)) in iwl_mvm_use_host_rate()
572 struct iwl_mvm_sta *mvmsta = sta ? in iwl_mvm_set_tx_params() local
591 if (unlikely(iwl_mvm_use_host_rate(mvm, mvmsta, hdr, info))) { in iwl_mvm_set_tx_params()
597 mvmsta->sta_state < IEEE80211_STA_AUTHORIZED) { in iwl_mvm_set_tx_params()
[all …]
H A Dtdls.c22 struct iwl_mvm_sta *mvmsta; in iwl_mvm_teardown_tdls_peers() local
33 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_teardown_tdls_peers()
34 ieee80211_tdls_oper_request(mvmsta->vif, sta->addr, in iwl_mvm_teardown_tdls_peers()
44 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tdls_sta_count() local
57 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tdls_sta_count()
58 if (mvmsta->vif != vif) in iwl_mvm_tdls_sta_count()
211 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_tdls_notif() local
232 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_tdls_notif()
233 vif = mvmsta->vif; in iwl_mvm_rx_tdls_notif()
341 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tdls_config_channel_switch() local
[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()
445 mvm_link_sta = rcu_dereference(mvmsta->link[link_sta->link_id]); in iwl_mvm_tlc_update_notif()
484 mvmsta->amsdu_enabled = enabled; in iwl_mvm_tlc_update_notif()
485 mvmsta->max_amsdu_len = size; in iwl_mvm_tlc_update_notif()
486 link_sta->agg.max_rc_amsdu_len = mvmsta->max_amsdu_len; in iwl_mvm_tlc_update_notif()
489 if (mvmsta->amsdu_enabled & BIT(i)) in iwl_mvm_tlc_update_notif()
505 mvmsta->amsdu_enabled); in iwl_mvm_tlc_update_notif()
516 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in rs_fw_get_max_amsdu_len() local
579 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rs_fw_rate_init() local
[all …]
H A Drs.c136 iwl_mvm_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, bool enable) in iwl_mvm_tx_protection() argument
139 return (rs_fw_tx_protection(mvm, mvmsta, enable)); in iwl_mvm_tx_protection()
175 rs_update_last_rssi(struct iwl_mvm *mvm __unused, struct iwl_mvm_sta *mvmsta, in rs_update_last_rssi() argument
181 if (mvmsta == NULL || rx_status == NULL) in rs_update_last_rssi()
194 lq_sta = &mvmsta->deflink.lq_sta.rs_drv; in rs_update_last_rssi()
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()
592 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_coex_agg_time_limit() local
593 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_coex_agg_time_limit()
604 lut_type = iwl_get_coex_type(mvm, mvmsta->vif); in iwl_mvm_coex_agg_time_limit()
616 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_bt_coex_is_mimo_allowed() local
[all …]
H A Drx.c210 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_handle_tcm() local
228 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_handle_tcm()
229 mac = mvmsta->mac_id_n_color & FW_CTXT_ID_MSK; in iwl_mvm_rx_handle_tcm()
245 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_handle_tcm()
253 mvmsta->deflink.sta_id != mvmvif->deflink.ap_sta_id) in iwl_mvm_rx_handle_tcm()
279 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_csum() local
280 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_csum()
387 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_rx_mpdu() local
388 struct ieee80211_vif *vif = mvmsta->vif; in iwl_mvm_rx_rx_mpdu()
419 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_rx_mpdu() local
[all …]
H A Dmac80211.c989 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_ampdu_check_trigger() local
990 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_ampdu_check_trigger()
1572 struct iwl_mvm_sta *mvmsta; in iwl_mvm_post_channel_switch() local
1578 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, ap_sta_id); in iwl_mvm_post_channel_switch()
1580 if (WARN_ON(!mvmsta)) { in iwl_mvm_post_channel_switch()
1585 iwl_mvm_sta_modify_disable_tx(mvm, mvmsta, false); in iwl_mvm_post_channel_switch()
3323 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in __iwl_mvm_mac_sta_notify() local
3335 spin_lock_bh(&mvmsta->lock); in __iwl_mvm_mac_sta_notify()
3336 for (tid = 0; tid < ARRAY_SIZE(mvmsta->tid_data); tid++) { in __iwl_mvm_mac_sta_notify()
3337 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in __iwl_mvm_mac_sta_notify()
[all …]
H A Dtt.c347 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tt_tx_protection() local
351 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, i); in iwl_mvm_tt_tx_protection()
352 if (!mvmsta) in iwl_mvm_tt_tx_protection()
355 if (enable == mvmsta->tt_tx_protection) in iwl_mvm_tt_tx_protection()
357 err = iwl_mvm_tx_protection(mvm, mvmsta, enable); in iwl_mvm_tt_tx_protection()
364 mvmsta->tt_tx_protection = enable; in iwl_mvm_tt_tx_protection()
H A Drxmq.c20 struct iwl_mvm_sta *mvmsta; in iwl_mvm_check_pn() local
55 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_check_pn()
60 ptk_pn = rcu_dereference(mvmsta->ptk_pn[keyidx]); in iwl_mvm_check_pn()
332 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_mgmt_prot() local
357 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_mgmt_prot()
358 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_mgmt_prot()
410 wdev = ieee80211_vif_to_wdev(mvmsta->vif); in iwl_mvm_rx_mgmt_prot()
542 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_csum() local
548 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_csum()
1977 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_get_sta_block_tx() local
[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()
877 struct iwl_mvm_sta *mvmsta, in iwl_mvm_mld_sta_modify_disable_tx() argument
883 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.h560 int iwl_mvm_drain_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta,
563 struct iwl_mvm_sta *mvmsta, bool disable);
H A Dtime-event.c202 struct iwl_mvm_sta *mvmsta; in iwl_mvm_te_check_disconnect() local
205 mvmsta = iwl_mvm_sta_from_staid_rcu(mvm, in iwl_mvm_te_check_disconnect()
207 if (!WARN_ON(!mvmsta)) in iwl_mvm_te_check_disconnect()
208 iwl_mvm_sta_modify_disable_tx(mvm, mvmsta, false); in iwl_mvm_te_check_disconnect()
H A Dd3.c292 struct iwl_mvm_sta *mvmsta; in iwl_mvm_wowlan_get_rsc_tsc_data() local
296 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_wowlan_get_rsc_tsc_data()
298 ptk_pn = rcu_dereference(mvmsta->ptk_pn[key->keyidx]); in iwl_mvm_wowlan_get_rsc_tsc_data()
413 struct iwl_mvm_sta *mvmsta; in iwl_mvm_wowlan_get_rsc_v5_data() local
417 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_wowlan_get_rsc_v5_data()
419 ptk_pn = rcu_dereference(mvmsta->ptk_pn[key->keyidx]); in iwl_mvm_wowlan_get_rsc_v5_data()
1641 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_set_aes_ptk_rx_seq() local
1652 ptk_pn = rcu_dereference(mvmsta->ptk_pn[key->keyidx]); in iwl_mvm_set_aes_ptk_rx_seq()
H A Dops.c1850 struct iwl_mvm_sta *mvmsta; in iwl_mvm_queue_state_change() local
1865 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_queue_state_change()
1870 else if (mvmsta->sta_state != IEEE80211_STA_NOTEXIST) in iwl_mvm_queue_state_change()
1897 if (start && mvmsta->sta_state != IEEE80211_STA_NOTEXIST) { in iwl_mvm_queue_state_change()
H A Dmvm.h2157 struct iwl_mvm_sta *mvmsta,