Lines Matching refs:tid_data
372 struct iwl_tid_data *tid_data; in iwlagn_tx_skb() local
377 tid_data = &priv->tid_data[sta_id][tid]; in iwlagn_tx_skb()
381 tid_data->agg.state != IWL_AGG_ON) { in iwlagn_tx_skb()
384 info->flags, tid_data->agg.state); in iwlagn_tx_skb()
387 IEEE80211_SEQ_TO_SN(tid_data->seq_number)); in iwlagn_tx_skb()
394 if (WARN_ONCE(tid_data->agg.state != IWL_AGG_ON && in iwlagn_tx_skb()
395 tid_data->agg.state != IWL_AGG_OFF, in iwlagn_tx_skb()
396 "Tx while agg.state = %d\n", tid_data->agg.state)) in iwlagn_tx_skb()
399 seq_number = tid_data->seq_number; in iwlagn_tx_skb()
416 txq_id = priv->tid_data[sta_id][tid].agg.txq_id; in iwlagn_tx_skb()
436 priv->tid_data[sta_id][tid].seq_number = seq_number; in iwlagn_tx_skb()
484 struct iwl_tid_data *tid_data; in iwlagn_tx_agg_stop() local
497 tid_data = &priv->tid_data[sta_id][tid]; in iwlagn_tx_agg_stop()
498 txq_id = tid_data->agg.txq_id; in iwlagn_tx_agg_stop()
500 switch (tid_data->agg.state) { in iwlagn_tx_agg_stop()
522 sta_id, tid, tid_data->agg.state); in iwlagn_tx_agg_stop()
527 tid_data->agg.ssn = IEEE80211_SEQ_TO_SN(tid_data->seq_number); in iwlagn_tx_agg_stop()
534 } else if (tid_data->agg.ssn != tid_data->next_reclaimed) { in iwlagn_tx_agg_stop()
537 tid_data->agg.ssn, in iwlagn_tx_agg_stop()
538 tid_data->next_reclaimed); in iwlagn_tx_agg_stop()
539 tid_data->agg.state = IWL_EMPTYING_HW_QUEUE_DELBA; in iwlagn_tx_agg_stop()
545 tid_data->agg.ssn); in iwlagn_tx_agg_stop()
547 agg_state = tid_data->agg.state; in iwlagn_tx_agg_stop()
548 tid_data->agg.state = IWL_AGG_OFF; in iwlagn_tx_agg_stop()
576 struct iwl_tid_data *tid_data; in iwlagn_tx_agg_start() local
590 if (priv->tid_data[sta_id][tid].agg.state != IWL_AGG_OFF) { in iwlagn_tx_agg_start()
608 tid_data = &priv->tid_data[sta_id][tid]; in iwlagn_tx_agg_start()
609 tid_data->agg.ssn = IEEE80211_SEQ_TO_SN(tid_data->seq_number); in iwlagn_tx_agg_start()
610 tid_data->agg.txq_id = txq_id; in iwlagn_tx_agg_start()
612 *ssn = tid_data->agg.ssn; in iwlagn_tx_agg_start()
614 if (*ssn == tid_data->next_reclaimed) { in iwlagn_tx_agg_start()
616 tid_data->agg.ssn); in iwlagn_tx_agg_start()
617 tid_data->agg.state = IWL_AGG_STARTING; in iwlagn_tx_agg_start()
622 tid_data->agg.ssn, in iwlagn_tx_agg_start()
623 tid_data->next_reclaimed); in iwlagn_tx_agg_start()
624 tid_data->agg.state = IWL_EMPTYING_HW_QUEUE_ADDBA; in iwlagn_tx_agg_start()
634 struct iwl_tid_data *tid_data; in iwlagn_tx_agg_flush() local
645 tid_data = &priv->tid_data[sta_id][tid]; in iwlagn_tx_agg_flush()
646 txq_id = tid_data->agg.txq_id; in iwlagn_tx_agg_flush()
647 agg_state = tid_data->agg.state; in iwlagn_tx_agg_flush()
649 sta_id, tid, txq_id, tid_data->agg.state); in iwlagn_tx_agg_flush()
651 tid_data->agg.state = IWL_AGG_OFF; in iwlagn_tx_agg_flush()
687 ssn = priv->tid_data[sta_priv->sta_id][tid].agg.ssn; in iwlagn_tx_agg_oper()
688 q = priv->tid_data[sta_priv->sta_id][tid].agg.txq_id; in iwlagn_tx_agg_oper()
689 priv->tid_data[sta_priv->sta_id][tid].agg.state = IWL_AGG_ON; in iwlagn_tx_agg_oper()
742 struct iwl_tid_data *tid_data = &priv->tid_data[sta_id][tid]; in iwlagn_check_ratid_empty() local
753 switch (priv->tid_data[sta_id][tid].agg.state) { in iwlagn_check_ratid_empty()
756 if (tid_data->agg.ssn == tid_data->next_reclaimed) { in iwlagn_check_ratid_empty()
759 tid_data->next_reclaimed); in iwlagn_check_ratid_empty()
761 tid_data->agg.txq_id, true); in iwlagn_check_ratid_empty()
762 iwlagn_dealloc_agg_txq(priv, tid_data->agg.txq_id); in iwlagn_check_ratid_empty()
763 tid_data->agg.state = IWL_AGG_OFF; in iwlagn_check_ratid_empty()
769 if (tid_data->agg.ssn == tid_data->next_reclaimed) { in iwlagn_check_ratid_empty()
772 tid_data->next_reclaimed); in iwlagn_check_ratid_empty()
773 tid_data->agg.state = IWL_AGG_STARTING; in iwlagn_check_ratid_empty()
925 struct iwl_ht_agg *agg = &priv->tid_data[sta_id][tid].agg; in iwl_rx_reply_tx_agg()
1137 if (txq_id != priv->tid_data[sta_id][tid].agg.txq_id) in iwlagn_rx_reply_tx()
1139 priv->tid_data[sta_id][tid].agg.txq_id); in iwlagn_rx_reply_tx()
1165 priv->tid_data[sta_id][tid].next_reclaimed = in iwlagn_rx_reply_tx()
1225 priv->tid_data[sta_id][tid].next_reclaimed = in iwlagn_rx_reply_tx()
1287 agg = &priv->tid_data[sta_id][tid].agg; in iwlagn_rx_reply_compressed_ba()
1347 priv->tid_data[sta_id][tid].next_reclaimed = ba_resp_scd_ssn; in iwlagn_rx_reply_compressed_ba()