Lines Matching refs:txpriv
413 struct cw1200_txpriv txpriv; member
444 t->txpriv.raw_link_id = in cw1200_tx_h_calc_link_ids()
445 t->txpriv.link_id = in cw1200_tx_h_calc_link_ids()
448 t->txpriv.raw_link_id = in cw1200_tx_h_calc_link_ids()
449 t->txpriv.link_id = 0; in cw1200_tx_h_calc_link_ids()
452 t->txpriv.raw_link_id = 0; in cw1200_tx_h_calc_link_ids()
453 t->txpriv.link_id = CW1200_LINK_ID_AFTER_DTIM; in cw1200_tx_h_calc_link_ids()
455 t->txpriv.raw_link_id = 0; in cw1200_tx_h_calc_link_ids()
456 t->txpriv.link_id = 0; in cw1200_tx_h_calc_link_ids()
459 t->txpriv.link_id = cw1200_find_link_id(priv, t->da); in cw1200_tx_h_calc_link_ids()
460 if (!t->txpriv.link_id) in cw1200_tx_h_calc_link_ids()
461 t->txpriv.link_id = cw1200_alloc_link_id(priv, t->da); in cw1200_tx_h_calc_link_ids()
462 if (!t->txpriv.link_id) { in cw1200_tx_h_calc_link_ids()
467 t->txpriv.raw_link_id = t->txpriv.link_id; in cw1200_tx_h_calc_link_ids()
469 if (t->txpriv.raw_link_id) in cw1200_tx_h_calc_link_ids()
470 priv->link_id_db[t->txpriv.raw_link_id - 1].timestamp = in cw1200_tx_h_calc_link_ids()
473 t->txpriv.link_id = CW1200_LINK_ID_UAPSD; in cw1200_tx_h_calc_link_ids()
482 u32 mask = ~BIT(t->txpriv.raw_link_id); in cw1200_tx_h_pm()
496 t->txpriv.tid = qos[0] & IEEE80211_QOS_CTL_TID_MASK; in cw1200_tx_h_calc_tid()
498 t->txpriv.tid = 0; in cw1200_tx_h_calc_tid()
544 t->txpriv.offset += offset; in cw1200_tx_h_align()
578 t->txpriv.offset += sizeof(struct wsm_tx); in cw1200_tx_h_wsm()
647 t->txpriv.rate_id = tx_policy_get(priv, in cw1200_tx_h_rate_policy()
650 if (t->txpriv.rate_id == CW1200_INVALID_RATE_ID) in cw1200_tx_h_rate_policy()
653 wsm->flags |= t->txpriv.rate_id << 4; in cw1200_tx_h_rate_policy()
690 if (t->txpriv.link_id == CW1200_LINK_ID_AFTER_DTIM && in cw1200_tx_h_pm_state()
698 if (t->txpriv.raw_link_id && t->txpriv.tid < CW1200_MAX_TID) in cw1200_tx_h_pm_state()
699 was_buffered = priv->link_id_db[t->txpriv.raw_link_id - 1].buffered[t->txpriv.tid]++; in cw1200_tx_h_pm_state()
716 .txpriv.tid = CW1200_MAX_TID, in cw1200_tx()
717 .txpriv.rate_id = CW1200_INVALID_RATE_ID, in cw1200_tx()
743 skb->len, t.queue, t.txpriv.link_id, in cw1200_tx()
744 t.txpriv.raw_link_id); in cw1200_tx()
775 t.skb, &t.txpriv)); in cw1200_tx()
780 ieee80211_sta_set_buffered(sta, t.txpriv.tid, true); in cw1200_tx()
789 cw1200_skb_dtor(priv, skb, &t.txpriv); in cw1200_tx()
860 const struct cw1200_txpriv *txpriv; in cw1200_tx_confirm_cb() local
900 &skb, &txpriv)) { in cw1200_tx_confirm_cb()
995 const struct cw1200_txpriv *txpriv) in cw1200_skb_dtor() argument
997 skb_pull(skb, txpriv->offset); in cw1200_skb_dtor()
998 if (txpriv->rate_id != CW1200_INVALID_RATE_ID) { in cw1200_skb_dtor()
1000 txpriv->raw_link_id, txpriv->tid); in cw1200_skb_dtor()
1001 tx_policy_put(priv, txpriv->rate_id); in cw1200_skb_dtor()