Lines Matching refs:sta_id

151 			struct ieee80211_tx_info *info, u8 sta_id)  in iwl_mvm_set_tx_cmd()  argument
242 tx_cmd->sta_id = sta_id; in iwl_mvm_set_tx_cmd()
564 struct ieee80211_sta *sta, u8 sta_id, in iwl_mvm_set_tx_params() argument
651 iwl_mvm_set_tx_cmd(mvm, skb, tx_cmd, info, sta_id); in iwl_mvm_set_tx_params()
784 u8 sta_id; in iwl_mvm_tx_skb_non_sta() local
821 sta_id = mvm->aux_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
845 sta_id = link->bcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
847 sta_id = link->mcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
853 sta_id = mvm->snif_sta.sta_id; in iwl_mvm_tx_skb_non_sta()
865 IWL_DEBUG_TX(mvm, "station Id %d, queue=%d\n", sta_id, queue); in iwl_mvm_tx_skb_non_sta()
867 dev_cmd = iwl_mvm_set_tx_params(mvm, skb, &info, hdrlen, NULL, sta_id, in iwl_mvm_tx_skb_non_sta()
1216 if (WARN_ON_ONCE(mvmsta->deflink.sta_id == IWL_MVM_INVALID_STA)) in iwl_mvm_tx_mpdu()
1226 sta, mvmsta->deflink.sta_id, in iwl_mvm_tx_mpdu()
1309 mvmsta->deflink.sta_id, tid, txq_id, in iwl_mvm_tx_mpdu()
1344 IWL_DEBUG_TX(mvm, "TX to [%d|%d] dropped\n", mvmsta->deflink.sta_id, in iwl_mvm_tx_mpdu()
1364 if (WARN_ON_ONCE(mvmsta->deflink.sta_id == IWL_MVM_INVALID_STA)) in iwl_mvm_tx_skb_sta()
1705 int sta_id = IWL_MVM_TX_RES_GET_RA(tx_resp->ra_tid); in iwl_mvm_rx_tx_cmd_single() local
1857 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_rx_tx_cmd_single()
1887 iwl_mvm_count_mpdu(mvmsta, sta_id, 1, true, 0); in iwl_mvm_rx_tx_cmd_single()
1996 int sta_id = IWL_MVM_TX_RES_GET_RA(tx_resp->ra_tid); in iwl_mvm_rx_tx_cmd_agg() local
2011 mvmsta = iwl_mvm_sta_from_staid_rcu(mvm, sta_id); in iwl_mvm_rx_tx_cmd_agg()
2013 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_rx_tx_cmd_agg()
2044 static void iwl_mvm_tx_reclaim(struct iwl_mvm *mvm, int sta_id, int tid, in iwl_mvm_tx_reclaim() argument
2056 if (WARN_ONCE(sta_id >= mvm->fw->ucode_capa.num_stations || in iwl_mvm_tx_reclaim()
2058 "sta_id %d tid %d", sta_id, tid)) in iwl_mvm_tx_reclaim()
2063 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_tx_reclaim()
2191 int sta_id, tid, txq, index; in iwl_mvm_rx_ba_notif() local
2210 sta_id = ba_res->sta_id; in iwl_mvm_rx_ba_notif()
2230 sta_id, le32_to_cpu(ba_res->flags), in iwl_mvm_rx_ba_notif()
2236 mvmsta = iwl_mvm_sta_from_staid_rcu(mvm, sta_id); in iwl_mvm_rx_ba_notif()
2258 iwl_mvm_tx_reclaim(mvm, sta_id, tid, in iwl_mvm_rx_ba_notif()
2269 iwl_mvm_count_mpdu(mvmsta, sta_id, in iwl_mvm_rx_ba_notif()
2277 sta_id = ba_notif->sta_id; in iwl_mvm_rx_ba_notif()
2286 mvmsta = iwl_mvm_sta_from_staid_rcu(mvm, sta_id); in iwl_mvm_rx_ba_notif()
2289 sta_id)) { in iwl_mvm_rx_ba_notif()
2306 ba_notif->sta_addr, ba_notif->sta_id); in iwl_mvm_rx_ba_notif()
2317 iwl_mvm_tx_reclaim(mvm, sta_id, tid, txq, index, &ba_info, in iwl_mvm_rx_ba_notif()
2345 int iwl_mvm_flush_sta_tids(struct iwl_mvm *mvm, u32 sta_id, u16 tids) in iwl_mvm_flush_sta_tids() argument
2350 .sta_id = cpu_to_le32(sta_id), in iwl_mvm_flush_sta_tids()
2366 sta_id, tids); in iwl_mvm_flush_sta_tids()
2386 if (WARN_ONCE(le16_to_cpu(rsp->sta_id) != sta_id, in iwl_mvm_flush_sta_tids()
2388 sta_id, le16_to_cpu(rsp->sta_id))) { in iwl_mvm_flush_sta_tids()
2415 iwl_mvm_tx_reclaim(mvm, sta_id, tid, queue_num, read_after, in iwl_mvm_flush_sta_tids()
2424 int iwl_mvm_flush_sta(struct iwl_mvm *mvm, u32 sta_id, u32 tfd_queue_mask) in iwl_mvm_flush_sta() argument
2427 return iwl_mvm_flush_sta_tids(mvm, sta_id, 0xffff); in iwl_mvm_flush_sta()