Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dtx.c393 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tx_skb() local
402 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tx_skb()
405 if (WARN_ON_ONCE(!mvmsta)) in iwl_mvm_tx_skb()
408 if (WARN_ON_ONCE(mvmsta->sta_id == IWL_MVM_STATION_COUNT)) in iwl_mvm_tx_skb()
411 dev_cmd = iwl_mvm_set_tx_params(mvm, skb, sta, mvmsta->sta_id); in iwl_mvm_tx_skb()
425 spin_lock(&mvmsta->lock); in iwl_mvm_tx_skb()
434 seq_number = mvmsta->tid_data[tid].seq_number; in iwl_mvm_tx_skb()
451 txq_id = mvmsta->hw_queue[tid_to_mac80211_ac[tdls_tid]]; in iwl_mvm_tx_skb()
455 if (WARN_ON_ONCE(mvmsta->tid_data[tid].state != IWL_AGG_ON)) in iwl_mvm_tx_skb()
457 txq_id = mvmsta->tid_data[tid].txq_id; in iwl_mvm_tx_skb()
[all …]
Dsta.c211 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tdls_sta_init() local
231 mvmsta->hw_queue[ac] = queue; in iwl_mvm_tdls_sta_init()
236 iwl_mvm_enable_ac_txq(mvm, mvmsta->hw_queue[ac], in iwl_mvm_tdls_sta_init()
238 mvmsta->tfd_queue_msk |= BIT(mvmsta->hw_queue[ac]); in iwl_mvm_tdls_sta_init()
247 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tdls_sta_deinit() local
254 sta_msk = mvmsta->tfd_queue_msk; in iwl_mvm_tdls_sta_deinit()
341 int iwl_mvm_drain_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, in iwl_mvm_drain_sta() argument
350 cmd.mac_id_n_color = cpu_to_le32(mvmsta->mac_id_n_color); in iwl_mvm_drain_sta()
351 cmd.sta_id = mvmsta->sta_id; in iwl_mvm_drain_sta()
365 mvmsta->sta_id); in iwl_mvm_drain_sta()
[all …]
Dtdls.c76 struct iwl_mvm_sta *mvmsta; in iwl_mvm_teardown_tdls_peers() local
87 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_teardown_tdls_peers()
88 ieee80211_tdls_oper_request(mvmsta->vif, sta->addr, in iwl_mvm_teardown_tdls_peers()
98 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tdls_sta_count() local
111 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tdls_sta_count()
112 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()
404 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tdls_config_channel_switch() local
[all …]
Dcoex.c479 struct iwl_mvm_sta *mvmsta; in iwl_mvm_bt_coex_reduced_txp() local
483 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, sta_id); in iwl_mvm_bt_coex_reduced_txp()
484 if (!mvmsta) in iwl_mvm_bt_coex_reduced_txp()
488 if (mvmsta->bt_reduced_txpower == enable) in iwl_mvm_bt_coex_reduced_txp()
491 value = mvmsta->sta_id; in iwl_mvm_bt_coex_reduced_txp()
500 mvmsta->bt_reduced_txpower = enable; in iwl_mvm_bt_coex_reduced_txp()
781 struct iwl_mvm_sta *mvmsta; in iwl_mvm_bt_rssi_iterator() local
806 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_bt_rssi_iterator()
868 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_coex_agg_time_limit() local
869 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_coex_agg_time_limit()
[all …]
Dtt.c284 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tt_tx_protection() local
292 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tt_tx_protection()
293 if (enable == mvmsta->tt_tx_protection) in iwl_mvm_tt_tx_protection()
295 err = iwl_mvm_tx_protection(mvm, mvmsta, enable); in iwl_mvm_tt_tx_protection()
302 mvmsta->tt_tx_protection = enable; in iwl_mvm_tt_tx_protection()
Dcoex_legacy.c782 struct iwl_mvm_sta *mvmsta; in iwl_mvm_bt_coex_reduced_txp() local
785 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, sta_id); in iwl_mvm_bt_coex_reduced_txp()
786 if (!mvmsta) in iwl_mvm_bt_coex_reduced_txp()
790 if (mvmsta->bt_reduced_txpower == enable) in iwl_mvm_bt_coex_reduced_txp()
809 mvmsta->bt_reduced_txpower = enable; in iwl_mvm_bt_coex_reduced_txp()
1102 struct iwl_mvm_sta *mvmsta; in iwl_mvm_bt_rssi_iterator() local
1127 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_bt_rssi_iterator()
1187 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_coex_agg_time_limit_old() local
1197 lut_type = iwl_get_coex_type(mvm, mvmsta->vif); in iwl_mvm_coex_agg_time_limit_old()
1209 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_bt_coex_is_mimo_allowed_old() local
[all …]
Drs.c163 struct iwl_mvm_sta *mvmsta; in rs_mimo_allow() local
178 mvmsta = iwl_mvm_sta_from_mac80211(sta); in rs_mimo_allow()
179 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in rs_mimo_allow()
180 if (iwl_mvm_vif_low_latency(mvmvif) && mvmsta->vif->p2p) in rs_mimo_allow()
1129 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rs_tx_status() local
1130 struct iwl_lq_sta *lq_sta = &mvmsta->lq_sta; in iwl_mvm_rs_tx_status()
3071 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in rs_bfer_active_iter() local
3072 struct iwl_lq_cmd *lq_cmd = &mvmsta->lq_sta.lq; in rs_bfer_active_iter()
3082 data->bfer_mvmsta = mvmsta; in rs_bfer_active_iter()
3130 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in rs_set_lq_ss_params() local
[all …]
Dsta.h415 int iwl_mvm_drain_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta,
418 struct iwl_mvm_sta *mvmsta, bool disable);
Drx.c345 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_rx_mpdu() local
346 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_rx_mpdu()
347 rs_update_last_rssi(mvm, &mvmsta->lq_sta, rx_status); in iwl_mvm_rx_rx_mpdu()
362 iwl_fw_dbg_trigger_check_stop(mvm, mvmsta->vif, in iwl_mvm_rx_rx_mpdu()
Dmac80211.c636 struct iwl_mvm_sta *mvmsta; in iwl_mvm_defer_tx() local
655 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_defer_tx()
656 if (mvmsta->sta_id == IWL_MVM_STATION_COUNT || in iwl_mvm_defer_tx()
657 mvmsta->sta_id != mvm->d0i3_ap_sta_id) in iwl_mvm_defer_tx()
2523 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_mac_sta_notify() local
2527 spin_lock_bh(&mvmsta->lock); in iwl_mvm_mac_sta_notify()
2529 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_mac_sta_notify()
2545 if (atomic_read(&mvm->pending_frames[mvmsta->sta_id]) > 0) in iwl_mvm_mac_sta_notify()
2560 if (WARN_ON(mvmsta->sta_id == IWL_MVM_STATION_COUNT)) in iwl_mvm_mac_sta_notify()
2570 spin_unlock_bh(&mvmsta->lock); in iwl_mvm_mac_sta_notify()
[all …]
Dops.c981 struct iwl_mvm_sta *mvmsta; in iwl_mvm_disallow_offloading() local
993 mvmsta = iwl_mvm_sta_from_mac80211(ap_sta); in iwl_mvm_disallow_offloading()
994 spin_lock_bh(&mvmsta->lock); in iwl_mvm_disallow_offloading()
996 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_disallow_offloading()
1011 spin_unlock_bh(&mvmsta->lock); in iwl_mvm_disallow_offloading()
Drs.h381 int iwl_mvm_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta,
Ddebugfs.c97 struct iwl_mvm_sta *mvmsta; in iwl_dbgfs_sta_drain_write() local
112 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, sta_id); in iwl_dbgfs_sta_drain_write()
114 if (!mvmsta) in iwl_dbgfs_sta_drain_write()
117 ret = iwl_mvm_drain_sta(mvm, mvmsta, drain) ? : count; in iwl_dbgfs_sta_drain_write()
Dmac-ctxt.c238 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_mac_sta_hw_queues_iter() local
241 data->used_hw_queues |= mvmsta->tfd_queue_msk; in iwl_mvm_mac_sta_hw_queues_iter()