Lines Matching refs:txpriv

410 	struct cw1200_txpriv txpriv;  member
441 t->txpriv.raw_link_id = in cw1200_tx_h_calc_link_ids()
442 t->txpriv.link_id = in cw1200_tx_h_calc_link_ids()
445 t->txpriv.raw_link_id = in cw1200_tx_h_calc_link_ids()
446 t->txpriv.link_id = 0; in cw1200_tx_h_calc_link_ids()
449 t->txpriv.raw_link_id = 0; in cw1200_tx_h_calc_link_ids()
450 t->txpriv.link_id = CW1200_LINK_ID_AFTER_DTIM; 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 = 0; in cw1200_tx_h_calc_link_ids()
456 t->txpriv.link_id = cw1200_find_link_id(priv, t->da); in cw1200_tx_h_calc_link_ids()
457 if (!t->txpriv.link_id) in cw1200_tx_h_calc_link_ids()
458 t->txpriv.link_id = cw1200_alloc_link_id(priv, t->da); in cw1200_tx_h_calc_link_ids()
459 if (!t->txpriv.link_id) { in cw1200_tx_h_calc_link_ids()
464 t->txpriv.raw_link_id = t->txpriv.link_id; in cw1200_tx_h_calc_link_ids()
466 if (t->txpriv.raw_link_id) in cw1200_tx_h_calc_link_ids()
467 priv->link_id_db[t->txpriv.raw_link_id - 1].timestamp = in cw1200_tx_h_calc_link_ids()
470 t->txpriv.link_id = CW1200_LINK_ID_UAPSD; in cw1200_tx_h_calc_link_ids()
479 u32 mask = ~BIT(t->txpriv.raw_link_id); in cw1200_tx_h_pm()
493 t->txpriv.tid = qos[0] & IEEE80211_QOS_CTL_TID_MASK; in cw1200_tx_h_calc_tid()
495 t->txpriv.tid = 0; in cw1200_tx_h_calc_tid()
541 t->txpriv.offset += offset; in cw1200_tx_h_align()
575 t->txpriv.offset += sizeof(struct wsm_tx); in cw1200_tx_h_wsm()
644 t->txpriv.rate_id = tx_policy_get(priv, in cw1200_tx_h_rate_policy()
647 if (t->txpriv.rate_id == CW1200_INVALID_RATE_ID) in cw1200_tx_h_rate_policy()
650 wsm->flags |= t->txpriv.rate_id << 4; in cw1200_tx_h_rate_policy()
687 if (t->txpriv.link_id == CW1200_LINK_ID_AFTER_DTIM && in cw1200_tx_h_pm_state()
695 if (t->txpriv.raw_link_id && t->txpriv.tid < CW1200_MAX_TID) in cw1200_tx_h_pm_state()
696 was_buffered = priv->link_id_db[t->txpriv.raw_link_id - 1].buffered[t->txpriv.tid]++; in cw1200_tx_h_pm_state()
713 .txpriv.tid = CW1200_MAX_TID, in cw1200_tx()
714 .txpriv.rate_id = CW1200_INVALID_RATE_ID, in cw1200_tx()
740 skb->len, t.queue, t.txpriv.link_id, in cw1200_tx()
741 t.txpriv.raw_link_id); in cw1200_tx()
771 t.skb, &t.txpriv)); in cw1200_tx()
776 ieee80211_sta_set_buffered(sta, t.txpriv.tid, true); in cw1200_tx()
783 cw1200_skb_dtor(priv, skb, &t.txpriv); in cw1200_tx()
854 const struct cw1200_txpriv *txpriv; in cw1200_tx_confirm_cb() local
894 &skb, &txpriv)) { in cw1200_tx_confirm_cb()
989 const struct cw1200_txpriv *txpriv) in cw1200_skb_dtor() argument
991 skb_pull(skb, txpriv->offset); in cw1200_skb_dtor()
992 if (txpriv->rate_id != CW1200_INVALID_RATE_ID) { in cw1200_skb_dtor()
994 txpriv->raw_link_id, txpriv->tid); in cw1200_skb_dtor()
995 tx_policy_put(priv, txpriv->rate_id); in cw1200_skb_dtor()