Lines Matching refs:txwi
77 struct mt76_txwi *txwi; in mt76x0_push_txwi() local
84 txwi = (struct mt76_txwi *)skb_push(skb, sizeof(struct mt76_txwi)); in mt76x0_push_txwi()
85 memset(txwi, 0, sizeof(*txwi)); in mt76x0_push_txwi()
100 txwi->rate_ctl = cpu_to_le16(rate_ctl); in mt76x0_push_txwi()
103 txwi->rate_ctl |= cpu_to_le16(MT_RXWI_RATE_LDPC); in mt76x0_push_txwi()
105 txwi->rate_ctl |= cpu_to_le16(MT_RXWI_RATE_STBC); in mt76x0_push_txwi()
110 txwi->ack_ctl |= MT_TXWI_ACK_CTL_REQ; in mt76x0_push_txwi()
120 txwi->ack_ctl |= MT_TXWI_ACK_CTL_NSEQ; in mt76x0_push_txwi()
134 txwi->ack_ctl |= FIELD_PREP(MT_TXWI_ACK_CTL_BA_WINDOW, ba_size); in mt76x0_push_txwi()
137 txwi->wcid = wcid->idx; in mt76x0_push_txwi()
138 txwi->flags |= cpu_to_le16(txwi_flags); in mt76x0_push_txwi()
139 txwi->len_ctl = cpu_to_le16(pkt_len); in mt76x0_push_txwi()
140 txwi->pktid = pkt_id; in mt76x0_push_txwi()
142 return txwi; in mt76x0_push_txwi()
154 struct mt76_txwi *txwi; in mt76x0_tx() local
175 txwi = mt76x0_push_txwi(dev, skb, sta, wcid, pkt_len); in mt76x0_tx()
180 trace_mt76x0_tx(&dev->mt76, skb, msta, txwi); in mt76x0_tx()