Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/intel/iwlwifi/mvm/
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 Dsta.c309 struct iwl_mvm_sta *mvmsta; in iwl_mvm_invalidate_sta_queue() local
327 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_invalidate_sta_queue()
329 mvmsta->tid_disable_agg |= disable_agg_tids; in iwl_mvm_invalidate_sta_queue()
331 cmd.mac_id_n_color = cpu_to_le32(mvmsta->mac_id_n_color); in iwl_mvm_invalidate_sta_queue()
332 cmd.sta_id = mvmsta->deflink.sta_id; in iwl_mvm_invalidate_sta_queue()
339 cmd.tfd_queue_msk = cpu_to_le32(mvmsta->tfd_queue_msk); in iwl_mvm_invalidate_sta_queue()
340 cmd.tid_disable_tx = cpu_to_le16(mvmsta->tid_disable_agg); in iwl_mvm_invalidate_sta_queue()
447 struct iwl_mvm_sta *mvmsta; in iwl_mvm_get_queue_agg_tids() local
467 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_get_queue_agg_tids()
469 spin_lock_bh(&mvmsta->lock); in iwl_mvm_get_queue_agg_tids()
[all …]
H A Drs-fw.c421 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tlc_update_notif() local
446 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tlc_update_notif()
450 mvm_link_sta = rcu_dereference(mvmsta->link[link_sta->link_id]); in iwl_mvm_tlc_update_notif()
489 mvmsta->amsdu_enabled = enabled; in iwl_mvm_tlc_update_notif()
490 mvmsta->max_amsdu_len = size; in iwl_mvm_tlc_update_notif()
491 link_sta->agg.max_rc_amsdu_len = mvmsta->max_amsdu_len; in iwl_mvm_tlc_update_notif()
494 if (mvmsta->amsdu_enabled & BIT(i)) in iwl_mvm_tlc_update_notif()
510 mvmsta->amsdu_enabled); in iwl_mvm_tlc_update_notif()
581 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rs_fw_rate_init() local
592 .max_ch_width = mvmsta->authorized ? in iwl_mvm_rs_fw_rate_init()
[all …]
H A Drx.c205 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_handle_tcm() local
223 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_handle_tcm()
224 mac = mvmsta->mac_id_n_color & FW_CTXT_ID_MSK; in iwl_mvm_rx_handle_tcm()
240 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_handle_tcm()
248 mvmsta->deflink.sta_id != mvmvif->deflink.ap_sta_id) in iwl_mvm_rx_handle_tcm()
274 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_csum() local
275 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_csum()
382 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_rx_mpdu() local
383 struct ieee80211_vif *vif = mvmsta->vif; in iwl_mvm_rx_rx_mpdu()
414 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_rx_mpdu() local
[all …]
H A Dmac80211.c979 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_ampdu_check_trigger() local
980 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_ampdu_check_trigger()
1525 struct iwl_mvm_sta *mvmsta; in iwl_mvm_post_channel_switch() local
1531 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, ap_sta_id); in iwl_mvm_post_channel_switch()
1533 if (WARN_ON(!mvmsta)) { in iwl_mvm_post_channel_switch()
1538 iwl_mvm_sta_modify_disable_tx(mvm, mvmsta, false); in iwl_mvm_post_channel_switch()
3256 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in __iwl_mvm_mac_sta_notify() local
3268 spin_lock_bh(&mvmsta->lock); in __iwl_mvm_mac_sta_notify()
3269 for (tid = 0; tid < ARRAY_SIZE(mvmsta->tid_data); tid++) { in __iwl_mvm_mac_sta_notify()
3270 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in __iwl_mvm_mac_sta_notify()
[all …]
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.c288 struct iwl_mvm_sta *mvmsta; in iwl_mvm_wowlan_get_rsc_tsc_data() local
292 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_wowlan_get_rsc_tsc_data()
294 ptk_pn = rcu_dereference(mvmsta->ptk_pn[key->keyidx]); in iwl_mvm_wowlan_get_rsc_tsc_data()
409 struct iwl_mvm_sta *mvmsta; in iwl_mvm_wowlan_get_rsc_v5_data() local
413 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_wowlan_get_rsc_v5_data()
415 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.c1834 struct iwl_mvm_sta *mvmsta; in iwl_mvm_queue_state_change() local
1849 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_queue_state_change()
1854 else if (mvmsta->sta_state != IEEE80211_STA_NOTEXIST) in iwl_mvm_queue_state_change()
1881 if (start && mvmsta->sta_state != IEEE80211_STA_NOTEXIST) { in iwl_mvm_queue_state_change()
H A Dmvm.h2109 struct iwl_mvm_sta *mvmsta,