/drivers/net/wireless/iwlwifi/mvm/ |
D | tx.c | 382 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tx_skb() local 391 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tx_skb() 394 if (WARN_ON_ONCE(!mvmsta)) in iwl_mvm_tx_skb() 397 if (WARN_ON_ONCE(mvmsta->sta_id == IWL_MVM_STATION_COUNT)) in iwl_mvm_tx_skb() 400 dev_cmd = iwl_mvm_set_tx_params(mvm, skb, sta, mvmsta->sta_id); in iwl_mvm_tx_skb() 414 spin_lock(&mvmsta->lock); in iwl_mvm_tx_skb() 423 seq_number = mvmsta->tid_data[tid].seq_number; in iwl_mvm_tx_skb() 437 if (WARN_ON_ONCE(mvmsta->tid_data[tid].state != IWL_AGG_ON)) in iwl_mvm_tx_skb() 439 txq_id = mvmsta->tid_data[tid].txq_id; in iwl_mvm_tx_skb() 442 IWL_DEBUG_TX(mvm, "TX to [%d|%d] Q:%d - seq: 0x%x\n", mvmsta->sta_id, in iwl_mvm_tx_skb() [all …]
|
D | sta.c | 277 int iwl_mvm_drain_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, in iwl_mvm_drain_sta() argument 286 cmd.mac_id_n_color = cpu_to_le32(mvmsta->mac_id_n_color); in iwl_mvm_drain_sta() 287 cmd.sta_id = mvmsta->sta_id; in iwl_mvm_drain_sta() 301 mvmsta->sta_id); in iwl_mvm_drain_sta() 306 mvmsta->sta_id); in iwl_mvm_drain_sta() 808 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_tx_agg_start() local 815 if (mvmsta->tid_data[tid].state != IWL_AGG_OFF) { in iwl_mvm_sta_tx_agg_start() 817 mvmsta->tid_data[tid].state); in iwl_mvm_sta_tx_agg_start() 834 spin_lock_bh(&mvmsta->lock); in iwl_mvm_sta_tx_agg_start() 838 spin_unlock_bh(&mvmsta->lock); in iwl_mvm_sta_tx_agg_start() [all …]
|
D | tdls.c | 70 struct iwl_mvm_sta *mvmsta; in iwl_mvm_teardown_tdls_peers() local 81 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_teardown_tdls_peers() 82 ieee80211_tdls_oper_request(mvmsta->vif, sta->addr, in iwl_mvm_teardown_tdls_peers() 92 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tdls_sta_count() local 105 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tdls_sta_count() 106 if (mvmsta->vif != vif) in iwl_mvm_tdls_sta_count()
|
D | coex.c | 700 struct iwl_mvm_sta *mvmsta; in iwl_mvm_bt_coex_reduced_txp() local 704 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, sta_id); in iwl_mvm_bt_coex_reduced_txp() 705 if (!mvmsta) in iwl_mvm_bt_coex_reduced_txp() 709 if (mvmsta->bt_reduced_txpower == enable) in iwl_mvm_bt_coex_reduced_txp() 712 value = mvmsta->sta_id; in iwl_mvm_bt_coex_reduced_txp() 721 mvmsta->bt_reduced_txpower = enable; in iwl_mvm_bt_coex_reduced_txp() 1004 struct iwl_mvm_sta *mvmsta; in iwl_mvm_bt_rssi_iterator() local 1029 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_bt_rssi_iterator() 1094 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_coex_agg_time_limit() local 1095 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_coex_agg_time_limit() [all …]
|
D | tt.c | 235 struct iwl_mvm_sta *mvmsta; in iwl_mvm_tt_tx_protection() local 243 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tt_tx_protection() 244 if (enable == mvmsta->tt_tx_protection) in iwl_mvm_tt_tx_protection() 246 err = iwl_mvm_tx_protection(mvm, mvmsta, enable); in iwl_mvm_tt_tx_protection() 253 mvmsta->tt_tx_protection = enable; in iwl_mvm_tt_tx_protection()
|
D | coex_legacy.c | 721 struct iwl_mvm_sta *mvmsta; in iwl_mvm_bt_coex_reduced_txp() local 724 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, sta_id); in iwl_mvm_bt_coex_reduced_txp() 725 if (!mvmsta) in iwl_mvm_bt_coex_reduced_txp() 729 if (mvmsta->bt_reduced_txpower == enable) in iwl_mvm_bt_coex_reduced_txp() 748 mvmsta->bt_reduced_txpower = enable; in iwl_mvm_bt_coex_reduced_txp() 1037 struct iwl_mvm_sta *mvmsta; in iwl_mvm_bt_rssi_iterator() local 1062 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_bt_rssi_iterator() 1122 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_coex_agg_time_limit_old() local 1132 lut_type = iwl_get_coex_type(mvm, mvmsta->vif); in iwl_mvm_coex_agg_time_limit_old() 1144 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_bt_coex_is_mimo_allowed_old() local [all …]
|
D | mac80211.c | 477 struct iwl_mvm_sta *mvmsta; in iwl_mvm_defer_tx() local 496 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_defer_tx() 497 if (mvmsta->sta_id == IWL_MVM_STATION_COUNT || in iwl_mvm_defer_tx() 498 mvmsta->sta_id != mvm->d0i3_ap_sta_id) in iwl_mvm_defer_tx() 1908 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_mac_sta_notify() local 1913 if (atomic_read(&mvm->pending_frames[mvmsta->sta_id]) > 0) in iwl_mvm_mac_sta_notify() 1915 spin_lock_bh(&mvmsta->lock); in iwl_mvm_mac_sta_notify() 1919 tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_mac_sta_notify() 1927 spin_unlock_bh(&mvmsta->lock); in iwl_mvm_mac_sta_notify() 1935 if (WARN_ON(mvmsta->sta_id == IWL_MVM_STATION_COUNT)) in iwl_mvm_mac_sta_notify() [all …]
|
D | sta.h | 411 int iwl_mvm_drain_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, 414 struct iwl_mvm_sta *mvmsta, bool disable);
|
D | rx.c | 327 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_rx_mpdu() local 328 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_rx_mpdu() 329 rs_update_last_rssi(mvm, &mvmsta->lq_sta, in iwl_mvm_rx_rx_mpdu()
|
D | rs.c | 1037 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rs_tx_status() local 1038 struct iwl_lq_sta *lq_sta = &mvmsta->lq_sta; in iwl_mvm_rs_tx_status() 2888 struct iwl_mvm_sta *mvmsta; in rs_fill_lq_cmd() local 2911 mvmsta = iwl_mvm_sta_from_mac80211(sta); in rs_fill_lq_cmd() 2912 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in rs_fill_lq_cmd() 2917 lq_cmd->agg_frame_cnt_limit = mvmsta->max_agg_bufsize; in rs_fill_lq_cmd() 2933 if (mvmsta->vif->p2p) in rs_fill_lq_cmd() 3346 int iwl_mvm_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, in iwl_mvm_tx_protection() argument 3349 struct iwl_lq_cmd *lq = &mvmsta->lq_sta.lq; in iwl_mvm_tx_protection() 3354 if (mvmsta->tx_protection == 0) in iwl_mvm_tx_protection() [all …]
|
D | ops.c | 913 struct iwl_mvm_sta *mvmsta; in iwl_mvm_disallow_offloading() local 925 mvmsta = iwl_mvm_sta_from_mac80211(ap_sta); in iwl_mvm_disallow_offloading() 926 spin_lock_bh(&mvmsta->lock); in iwl_mvm_disallow_offloading() 928 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_disallow_offloading() 943 spin_unlock_bh(&mvmsta->lock); in iwl_mvm_disallow_offloading()
|
D | rs.h | 405 int iwl_mvm_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta,
|
D | debugfs.c | 97 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()
|