Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dtx.c444 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tx_skb() local
454 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tx_skb()
458 if (WARN_ON_ONCE(!mvmsta)) in iwl_mvm_tx_skb()
461 if (WARN_ON_ONCE(mvmsta->sta_id == IWL_MVM_STATION_COUNT)) in iwl_mvm_tx_skb()
464 dev_cmd = iwl_mvm_set_tx_params(mvm, skb, hdrlen, sta, mvmsta->sta_id); in iwl_mvm_tx_skb()
478 spin_lock(&mvmsta->lock); in iwl_mvm_tx_skb()
487 seq_number = mvmsta->tid_data[tid].seq_number; in iwl_mvm_tx_skb()
504 txq_id = mvmsta->hw_queue[tid_to_mac80211_ac[tdls_tid]]; in iwl_mvm_tx_skb()
508 if (WARN_ON_ONCE(mvmsta->tid_data[tid].state != IWL_AGG_ON)) in iwl_mvm_tx_skb()
510 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()
237 mvmsta->hw_queue[ac], in iwl_mvm_tdls_sta_init()
240 mvmsta->tfd_queue_msk |= BIT(mvmsta->hw_queue[ac]); in iwl_mvm_tdls_sta_init()
249 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tdls_sta_deinit() local
256 sta_msk = mvmsta->tfd_queue_msk; in iwl_mvm_tdls_sta_deinit()
348 int iwl_mvm_drain_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, in iwl_mvm_drain_sta() argument
357 cmd.mac_id_n_color = cpu_to_le32(mvmsta->mac_id_n_color); in iwl_mvm_drain_sta()
358 cmd.sta_id = 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()
263 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_tdls_notif() local
284 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_tdls_notif()
285 vif = mvmsta->vif; in iwl_mvm_rx_tdls_notif()
393 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tdls_config_channel_switch() local
[all …]
Dcoex.c465 struct iwl_mvm_sta *mvmsta; in iwl_mvm_bt_coex_reduced_txp() local
469 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, sta_id); in iwl_mvm_bt_coex_reduced_txp()
470 if (!mvmsta) in iwl_mvm_bt_coex_reduced_txp()
474 if (mvmsta->bt_reduced_txpower == enable) in iwl_mvm_bt_coex_reduced_txp()
477 value = mvmsta->sta_id; in iwl_mvm_bt_coex_reduced_txp()
486 mvmsta->bt_reduced_txpower = enable; in iwl_mvm_bt_coex_reduced_txp()
808 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_coex_agg_time_limit() local
809 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_coex_agg_time_limit()
823 lut_type = iwl_get_coex_type(mvm, mvmsta->vif); in iwl_mvm_coex_agg_time_limit()
835 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_bt_coex_is_mimo_allowed() local
[all …]
Dtt.c298 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tt_tx_protection() local
306 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tt_tx_protection()
307 if (enable == mvmsta->tt_tx_protection) in iwl_mvm_tt_tx_protection()
309 err = iwl_mvm_tx_protection(mvm, mvmsta, enable); in iwl_mvm_tt_tx_protection()
316 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()
1095 struct iwl_mvm_sta *mvmsta; in iwl_mvm_bt_rssi_iterator() local
1120 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_bt_rssi_iterator()
1180 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_coex_agg_time_limit_old() local
1190 lut_type = iwl_get_coex_type(mvm, mvmsta->vif); in iwl_mvm_coex_agg_time_limit_old()
1202 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_bt_coex_is_mimo_allowed_old() local
[all …]
Drx.c242 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_csum() local
243 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_csum()
349 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_rx_mpdu() local
351 rs_update_last_rssi(mvm, &mvmsta->lq_sta, rx_status); in iwl_mvm_rx_rx_mpdu()
366 iwl_fw_dbg_trigger_check_stop(mvm, mvmsta->vif, in iwl_mvm_rx_rx_mpdu()
Dsta.h414 int iwl_mvm_drain_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta,
417 struct iwl_mvm_sta *mvmsta, bool disable);
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()
1168 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rs_tx_status() local
1169 struct iwl_lq_sta *lq_sta = &mvmsta->lq_sta; in iwl_mvm_rs_tx_status()
3286 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in rs_bfer_active_iter() local
3287 struct iwl_lq_cmd *lq_cmd = &mvmsta->lq_sta.lq; in rs_bfer_active_iter()
3297 data->bfer_mvmsta = mvmsta; in rs_bfer_active_iter()
3345 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in rs_set_lq_ss_params() local
3398 if (rs_bfer_priority_cmp(mvmsta, bfer_mvmsta) > 0) { in rs_set_lq_ss_params()
[all …]
Dmac80211.c676 struct iwl_mvm_sta *mvmsta; in iwl_mvm_defer_tx() local
695 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_defer_tx()
696 if (mvmsta->sta_id == IWL_MVM_STATION_COUNT || in iwl_mvm_defer_tx()
697 mvmsta->sta_id != mvm->d0i3_ap_sta_id) in iwl_mvm_defer_tx()
799 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_ampdu_check_trigger() local
800 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_ampdu_check_trigger()
2611 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_mac_sta_notify() local
2615 spin_lock_bh(&mvmsta->lock); in iwl_mvm_mac_sta_notify()
2617 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_mac_sta_notify()
2633 if (atomic_read(&mvm->pending_frames[mvmsta->sta_id]) > 0) in iwl_mvm_mac_sta_notify()
[all …]
Dops.c1038 struct iwl_mvm_sta *mvmsta; in iwl_mvm_disallow_offloading() local
1050 mvmsta = iwl_mvm_sta_from_mac80211(ap_sta); in iwl_mvm_disallow_offloading()
1051 spin_lock_bh(&mvmsta->lock); in iwl_mvm_disallow_offloading()
1053 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_disallow_offloading()
1068 spin_unlock_bh(&mvmsta->lock); in iwl_mvm_disallow_offloading()
Drs.h389 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.c240 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_mac_sta_hw_queues_iter() local
243 data->used_hw_queues |= mvmsta->tfd_queue_msk; in iwl_mvm_mac_sta_hw_queues_iter()