Lines Matching refs:txwi
136 struct mt76_txwi *txwi; in mt7601u_push_txwi() local
143 txwi = skb_push(skb, sizeof(struct mt76_txwi)); in mt7601u_push_txwi()
144 memset(txwi, 0, sizeof(*txwi)); in mt7601u_push_txwi()
156 txwi->rate_ctl = cpu_to_le16(rate_ctl); in mt7601u_push_txwi()
159 txwi->ack_ctl |= MT_TXWI_ACK_CTL_REQ; in mt7601u_push_txwi()
161 txwi->ack_ctl |= MT_TXWI_ACK_CTL_NSEQ; in mt7601u_push_txwi()
170 txwi->ack_ctl |= FIELD_PREP(MT_TXWI_ACK_CTL_BA_WINDOW, ba_size); in mt7601u_push_txwi()
172 txwi->flags = in mt7601u_push_txwi()
177 txwi->flags = 0; in mt7601u_push_txwi()
180 txwi->wcid = wcid->idx; in mt7601u_push_txwi()
185 txwi->len_ctl = cpu_to_le16(pkt_len); in mt7601u_push_txwi()
187 return txwi; in mt7601u_push_txwi()
199 struct mt76_txwi *txwi; in mt7601u_tx() local
220 txwi = mt7601u_push_txwi(dev, skb, sta, wcid, pkt_len); in mt7601u_tx()
225 trace_mt_tx(dev, skb, msta, txwi); in mt7601u_tx()