Lines Matching refs:sta_id

143 			struct ieee80211_tx_info *info, u8 sta_id)  in iwl_mvm_set_tx_cmd()  argument
235 tx_cmd->sta_id = sta_id; in iwl_mvm_set_tx_cmd()
452 struct ieee80211_sta *sta, u8 sta_id) in iwl_mvm_set_tx_params() argument
539 iwl_mvm_set_tx_cmd(mvm, skb, tx_cmd, info, sta_id); in iwl_mvm_set_tx_params()
671 u8 sta_id; in iwl_mvm_tx_skb_non_sta() local
697 sta_id = mvmvif->bcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
699 sta_id = mvmvif->mcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
704 sta_id = mvm->snif_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
715 sta_id = mvm->aux_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
728 IWL_DEBUG_TX(mvm, "station Id %d, queue=%d\n", sta_id, queue); in iwl_mvm_tx_skb_non_sta()
730 dev_cmd = iwl_mvm_set_tx_params(mvm, skb, &info, hdrlen, NULL, sta_id); in iwl_mvm_tx_skb_non_sta()
1041 if (WARN_ON_ONCE(mvmsta->sta_id == IWL_MVM_INVALID_STA)) in iwl_mvm_tx_mpdu()
1051 sta, mvmsta->sta_id); in iwl_mvm_tx_mpdu()
1126 mvmsta->sta_id, tid, txq_id, in iwl_mvm_tx_mpdu()
1150 IWL_DEBUG_TX(mvm, "TX to [%d|%d] dropped\n", mvmsta->sta_id, tid); in iwl_mvm_tx_mpdu()
1166 if (WARN_ON_ONCE(mvmsta->sta_id == IWL_MVM_INVALID_STA)) in iwl_mvm_tx_skb_sta()
1461 int sta_id = IWL_MVM_TX_RES_GET_RA(tx_resp->ra_tid); in iwl_mvm_rx_tx_cmd_single() local
1613 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_rx_tx_cmd_single()
1751 int sta_id = IWL_MVM_TX_RES_GET_RA(tx_resp->ra_tid); in iwl_mvm_rx_tx_cmd_agg() local
1766 mvmsta = iwl_mvm_sta_from_staid_rcu(mvm, sta_id); in iwl_mvm_rx_tx_cmd_agg()
1768 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_rx_tx_cmd_agg()
1799 static void iwl_mvm_tx_reclaim(struct iwl_mvm *mvm, int sta_id, int tid, in iwl_mvm_tx_reclaim() argument
1811 if (WARN_ONCE(sta_id >= mvm->fw->ucode_capa.num_stations || in iwl_mvm_tx_reclaim()
1813 "sta_id %d tid %d", sta_id, tid)) in iwl_mvm_tx_reclaim()
1818 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_tx_reclaim()
1945 int sta_id, tid, txq, index; in iwl_mvm_rx_ba_notif() local
1963 sta_id = ba_res->sta_id; in iwl_mvm_rx_ba_notif()
1977 mvmsta = iwl_mvm_sta_from_staid_rcu(mvm, sta_id); in iwl_mvm_rx_ba_notif()
1999 iwl_mvm_tx_reclaim(mvm, sta_id, tid, in iwl_mvm_rx_ba_notif()
2013 sta_id, le32_to_cpu(ba_res->flags), in iwl_mvm_rx_ba_notif()
2020 sta_id = ba_notif->sta_id; in iwl_mvm_rx_ba_notif()
2029 mvmsta = iwl_mvm_sta_from_staid_rcu(mvm, sta_id); in iwl_mvm_rx_ba_notif()
2045 iwl_mvm_tx_reclaim(mvm, sta_id, tid, txq, index, &ba_info, in iwl_mvm_rx_ba_notif()
2050 ba_notif->sta_addr, ba_notif->sta_id); in iwl_mvm_rx_ba_notif()
2086 int iwl_mvm_flush_sta_tids(struct iwl_mvm *mvm, u32 sta_id, u16 tids) in iwl_mvm_flush_sta_tids() argument
2091 .sta_id = cpu_to_le32(sta_id), in iwl_mvm_flush_sta_tids()
2107 sta_id, tids); in iwl_mvm_flush_sta_tids()
2127 if (WARN_ONCE(le16_to_cpu(rsp->sta_id) != sta_id, in iwl_mvm_flush_sta_tids()
2129 sta_id, le16_to_cpu(rsp->sta_id))) { in iwl_mvm_flush_sta_tids()
2156 iwl_mvm_tx_reclaim(mvm, sta_id, tid, queue_num, read_after, in iwl_mvm_flush_sta_tids()
2170 BUILD_BUG_ON(offsetof(struct iwl_mvm_int_sta, sta_id) != in iwl_mvm_flush_sta()
2171 offsetof(struct iwl_mvm_sta, sta_id)); in iwl_mvm_flush_sta()
2174 return iwl_mvm_flush_sta_tids(mvm, mvm_sta->sta_id, 0xffff); in iwl_mvm_flush_sta()