Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/
Dsta.c311 struct iwl_mvm_sta *mvmsta; in iwl_mvm_invalidate_sta_queue() local
332 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_invalidate_sta_queue()
334 mvmsta->tid_disable_agg |= disable_agg_tids; in iwl_mvm_invalidate_sta_queue()
336 cmd.mac_id_n_color = cpu_to_le32(mvmsta->mac_id_n_color); in iwl_mvm_invalidate_sta_queue()
337 cmd.sta_id = mvmsta->sta_id; in iwl_mvm_invalidate_sta_queue()
344 cmd.tfd_queue_msk = cpu_to_le32(mvmsta->tfd_queue_msk); in iwl_mvm_invalidate_sta_queue()
345 cmd.tid_disable_tx = cpu_to_le16(mvmsta->tid_disable_agg); in iwl_mvm_invalidate_sta_queue()
361 struct iwl_mvm_sta *mvmsta; in iwl_mvm_get_queue_agg_tids() local
383 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_get_queue_agg_tids()
385 spin_lock_bh(&mvmsta->lock); in iwl_mvm_get_queue_agg_tids()
[all …]
Dtx.c783 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tx_tso() local
797 if (!mvmsta->max_amsdu_len || in iwl_mvm_tx_tso()
799 (!mvmsta->amsdu_enabled && !dbg_max_amsdu_len)) in iwl_mvm_tx_tso()
822 !mvmsta->tid_data[tid].amsdu_in_ampdu_allowed) in iwl_mvm_tx_tso()
825 if (iwl_mvm_vif_low_latency(iwl_mvm_vif_from_mac80211(mvmsta->vif)) || in iwl_mvm_tx_tso()
826 !(mvmsta->amsdu_enabled & BIT(tid))) in iwl_mvm_tx_tso()
829 max_amsdu_len = mvmsta->max_amsdu_len; in iwl_mvm_tx_tso()
961 struct iwl_mvm_sta *mvmsta, in iwl_mvm_tx_airtime() argument
964 int mac = mvmsta->mac_id_n_color & FW_CTXT_ID_MSK; in iwl_mvm_tx_airtime()
977 struct iwl_mvm_sta *mvmsta, int tid) in iwl_mvm_tx_pkt_queued() argument
[all …]
Drs-fw.c263 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tlc_update_notif() local
277 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tlc_update_notif()
279 if (!mvmsta) { in iwl_mvm_tlc_update_notif()
287 lq_sta = &mvmsta->lq_sta.rs_fw; in iwl_mvm_tlc_update_notif()
301 mvmsta->amsdu_enabled = le32_to_cpu(notif->amsdu_enabled); in iwl_mvm_tlc_update_notif()
302 mvmsta->max_amsdu_len = size; in iwl_mvm_tlc_update_notif()
307 mvmsta->amsdu_enabled); in iwl_mvm_tlc_update_notif()
317 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in rs_fw_rate_init() local
318 struct iwl_lq_sta_rs_fw *lq_sta = &mvmsta->lq_sta.rs_fw; in rs_fw_rate_init()
322 .sta_id = mvmsta->sta_id, in rs_fw_rate_init()
[all …]
Dtdls.c78 struct iwl_mvm_sta *mvmsta; in iwl_mvm_teardown_tdls_peers() local
89 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_teardown_tdls_peers()
90 ieee80211_tdls_oper_request(mvmsta->vif, sta->addr, in iwl_mvm_teardown_tdls_peers()
100 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tdls_sta_count() local
113 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tdls_sta_count()
114 if (mvmsta->vif != vif) in iwl_mvm_tdls_sta_count()
271 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_tdls_notif() local
292 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_tdls_notif()
293 vif = mvmsta->vif; in iwl_mvm_rx_tdls_notif()
401 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tdls_config_channel_switch() local
[all …]
Dcoex.c247 struct iwl_mvm_sta *mvmsta; in iwl_mvm_bt_coex_reduced_txp() local
251 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, sta_id); in iwl_mvm_bt_coex_reduced_txp()
252 if (!mvmsta) in iwl_mvm_bt_coex_reduced_txp()
256 if (mvmsta->bt_reduced_txpower == enable) in iwl_mvm_bt_coex_reduced_txp()
259 value = mvmsta->sta_id; in iwl_mvm_bt_coex_reduced_txp()
268 mvmsta->bt_reduced_txpower = enable; in iwl_mvm_bt_coex_reduced_txp()
614 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_coex_agg_time_limit() local
615 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_coex_agg_time_limit()
626 lut_type = iwl_get_coex_type(mvm, mvmsta->vif); in iwl_mvm_coex_agg_time_limit()
638 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_bt_coex_is_mimo_allowed() local
[all …]
Drs.c638 static void rs_tl_turn_on_agg(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, in rs_tl_turn_on_agg() argument
656 tid_data = &mvmsta->tid_data[tid]; in rs_tl_turn_on_agg()
657 if (mvmsta->sta_state >= IEEE80211_STA_AUTHORIZED && in rs_tl_turn_on_agg()
774 struct iwl_mvm_sta *mvmsta, in rs_update_tid_tpt_stats() argument
782 tid_data = &mvmsta->tid_data[tid]; in rs_update_tid_tpt_stats()
804 struct iwl_mvm_sta *mvmsta, u8 tid, in rs_collect_tlc_data() argument
814 struct lq_sta_pers *pers = &mvmsta->lq_sta.rs_drv.pers; in rs_collect_tlc_data()
820 rs_update_tid_tpt_stats(mvm, mvmsta, tid, successes); in rs_collect_tlc_data()
1225 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rs_tx_status() local
1226 struct iwl_lq_sta *lq_sta = &mvmsta->lq_sta.rs_drv; in iwl_mvm_rs_tx_status()
[all …]
Drx.c263 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_handle_tcm() local
277 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_handle_tcm()
278 mac = mvmsta->mac_id_n_color & FW_CTXT_ID_MSK; in iwl_mvm_rx_handle_tcm()
294 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_handle_tcm()
302 mvmsta->sta_id != mvmvif->ap_sta_id) in iwl_mvm_rx_handle_tcm()
329 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_csum() local
330 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_csum()
438 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_rx_mpdu() local
447 mvmsta->vif == tx_blocked_vif) { in iwl_mvm_rx_rx_mpdu()
456 rs_update_last_rssi(mvm, mvmsta, rx_status); in iwl_mvm_rx_rx_mpdu()
[all …]
Dmac80211.c756 struct iwl_mvm_sta *mvmsta; in iwl_mvm_defer_tx() local
775 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_defer_tx()
776 if (mvmsta->sta_id == IWL_MVM_INVALID_STA || in iwl_mvm_defer_tx()
777 mvmsta->sta_id != mvm->d0i3_ap_sta_id) in iwl_mvm_defer_tx()
879 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_ampdu_check_trigger() local
880 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_ampdu_check_trigger()
2608 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in __iwl_mvm_mac_sta_notify() local
2620 spin_lock_bh(&mvmsta->lock); in __iwl_mvm_mac_sta_notify()
2622 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in __iwl_mvm_mac_sta_notify()
2649 if (WARN_ON(mvmsta->sta_id == IWL_MVM_INVALID_STA)) in __iwl_mvm_mac_sta_notify()
[all …]
Drxmq.c72 struct iwl_mvm_sta *mvmsta; in iwl_mvm_check_pn() local
107 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_check_pn()
112 ptk_pn = rcu_dereference(mvmsta->ptk_pn[keyidx]); in iwl_mvm_check_pn()
319 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_csum() local
320 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_csum()
532 struct iwl_mvm_sta *mvmsta; in iwl_mvm_reorder_timer_expired() local
537 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_reorder_timer_expired()
543 iwl_mvm_event_frame_timeout_callback(buf->mvm, mvmsta->vif, in iwl_mvm_reorder_timer_expired()
1100 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_mpdu_mq() local
1119 tx_blocked_vif == mvmsta->vif) { in iwl_mvm_rx_mpdu_mq()
[all …]
Dutils.c1277 struct iwl_mvm_sta *mvmsta, int queue, in iwl_mvm_remove_inactive_tids() argument
1282 lockdep_assert_held(&mvmsta->lock); in iwl_mvm_remove_inactive_tids()
1291 if (iwl_mvm_tid_queued(mvm, &mvmsta->tid_data[tid])) in iwl_mvm_remove_inactive_tids()
1295 if (mvmsta->tid_data[tid].state != IWL_AGG_OFF) in iwl_mvm_remove_inactive_tids()
1304 mvmsta->tid_data[tid].is_tid_active = false; in iwl_mvm_remove_inactive_tids()
1316 int mac_queue = mvmsta->vif->hw_queue[tid_to_mac80211_ac[tid]]; in iwl_mvm_remove_inactive_tids()
1318 mvmsta->tid_data[tid].txq_id = IWL_MVM_INVALID_QUEUE; in iwl_mvm_remove_inactive_tids()
1322 mvmsta->tid_data[tid].is_tid_active = false; in iwl_mvm_remove_inactive_tids()
1340 BIT(mvmsta->vif->hw_queue[tid_to_mac80211_ac[tid]]); in iwl_mvm_remove_inactive_tids()
1376 struct iwl_mvm_sta *mvmsta; in iwl_mvm_inactivity_check() local
[all …]
Dtt.c356 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tt_tx_protection() local
360 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, i); in iwl_mvm_tt_tx_protection()
361 if (!mvmsta) in iwl_mvm_tt_tx_protection()
364 if (enable == mvmsta->tt_tx_protection) in iwl_mvm_tt_tx_protection()
366 err = iwl_mvm_tx_protection(mvm, mvmsta, enable); in iwl_mvm_tt_tx_protection()
373 mvmsta->tt_tx_protection = enable; in iwl_mvm_tt_tx_protection()
Drs.h451 int iwl_mvm_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta,
462 void iwl_mvm_rs_add_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta);
465 int rs_fw_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta,
Dsta.h562 int iwl_mvm_drain_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta,
565 struct iwl_mvm_sta *mvmsta, bool disable);
Dops.c1291 struct iwl_mvm_sta *mvmsta; in iwl_mvm_disallow_offloading() local
1299 mvmsta = iwl_mvm_sta_from_staid_rcu(mvm, mvmvif->ap_sta_id); in iwl_mvm_disallow_offloading()
1300 if (!mvmsta) in iwl_mvm_disallow_offloading()
1303 spin_lock_bh(&mvmsta->lock); in iwl_mvm_disallow_offloading()
1305 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_disallow_offloading()
1320 spin_unlock_bh(&mvmsta->lock); in iwl_mvm_disallow_offloading()
Dd3.c324 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()
1316 struct iwl_mvm_sta *mvmsta; in iwl_mvm_set_aes_rx_seq() local
1319 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_set_aes_rx_seq()
1321 ptk_pn = rcu_dereference_protected(mvmsta->ptk_pn[key->keyidx], in iwl_mvm_set_aes_rx_seq()
Ddebugfs.c173 struct iwl_mvm_sta *mvmsta; in iwl_dbgfs_sta_drain_write() local
189 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, sta_id); in iwl_dbgfs_sta_drain_write()
191 if (!mvmsta) in iwl_dbgfs_sta_drain_write()
194 ret = iwl_mvm_drain_sta(mvm, mvmsta, drain) ? : count; in iwl_dbgfs_sta_drain_write()
434 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_dbgfs_rs_data_read() local
435 struct iwl_lq_sta_rs_fw *lq_sta = &mvmsta->lq_sta.rs_fw; in iwl_dbgfs_rs_data_read()
Dmvm.h1692 struct iwl_mvm_sta *mvmsta,