Lines Matching refs:sta

11 	if (!txq->sta)
18 mt76_tx_check_agg_ssn(struct ieee80211_sta *sta, struct sk_buff *skb)
25 if (!sta || !ieee80211_is_data_qos(hdr->frame_control) ||
30 txq = sta->txq[tid];
69 status.sta = wcid_to_sta(wcid);
70 if (status.sta && (wcid->rate.flags || wcid->rate.legacy)) {
276 status.sta = wcid_to_sta(wcid);
277 if (status.sta && (wcid->rate.flags || wcid->rate.legacy)) {
300 struct mt76_wcid *wcid, struct ieee80211_sta *sta,
311 idx = dev->queue_ops->tx_queue_skb(phy, q, qid, skb, wcid, sta);
312 if (idx < 0 || !sta)
315 wcid = (struct mt76_wcid *)sta->drv_priv;
329 mt76_tx(struct mt76_phy *phy, struct ieee80211_sta *sta,
343 ieee80211_get_tx_rates(info->control.vif, sta, skb,
379 mt76_queue_ps_skb(struct mt76_phy *phy, struct ieee80211_sta *sta,
382 struct mt76_wcid *wcid = (struct mt76_wcid *)sta->drv_priv;
391 __mt76_tx_queue_skb(phy, MT_TXQ_PSD, skb, wcid, sta, NULL);
395 mt76_release_buffered_frames(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
408 struct ieee80211_txq *txq = sta->txq[i];
422 mt76_queue_ps_skb(phy, sta, last_skb, false);
429 mt76_queue_ps_skb(phy, sta, last_skb, true);
432 ieee80211_sta_eosp(sta);
471 ieee80211_get_tx_rates(txq->vif, txq->sta, skb,
475 idx = __mt76_tx_queue_skb(phy, qid, skb, wcid, txq->sta, &stop);
493 ieee80211_get_tx_rates(txq->vif, txq->sta, skb,
497 idx = __mt76_tx_queue_skb(phy, qid, skb, wcid, txq->sta, &stop);
544 struct ieee80211_sta *sta = txq->sta;
550 ieee80211_send_bar(vif, sta->addr, tid, agg_ssn);
592 struct ieee80211_sta *sta;
618 sta = wcid_to_sta(wcid);
620 __mt76_tx_queue_skb(phy, qid, skb, wcid, sta, NULL);
705 void mt76_stop_tx_queues(struct mt76_phy *phy, struct ieee80211_sta *sta,
710 for (i = 0; i < ARRAY_SIZE(sta->txq); i++) {
711 struct ieee80211_txq *txq = sta->txq[i];