Lines Matching refs:txwi
144 struct mt76_txwi *txwi; in mt7601u_push_txwi() local
151 txwi = (struct mt76_txwi *)skb_push(skb, sizeof(struct mt76_txwi)); in mt7601u_push_txwi()
152 memset(txwi, 0, sizeof(*txwi)); in mt7601u_push_txwi()
164 txwi->rate_ctl = cpu_to_le16(rate_ctl); in mt7601u_push_txwi()
167 txwi->ack_ctl |= MT_TXWI_ACK_CTL_REQ; in mt7601u_push_txwi()
169 txwi->ack_ctl |= MT_TXWI_ACK_CTL_NSEQ; in mt7601u_push_txwi()
178 txwi->ack_ctl |= MT76_SET(MT_TXWI_ACK_CTL_BA_WINDOW, ba_size); in mt7601u_push_txwi()
180 txwi->flags = cpu_to_le16(MT_TXWI_FLAGS_AMPDU | in mt7601u_push_txwi()
184 txwi->flags = 0; in mt7601u_push_txwi()
187 txwi->wcid = wcid->idx; in mt7601u_push_txwi()
192 txwi->len_ctl = cpu_to_le16(pkt_len); in mt7601u_push_txwi()
194 return txwi; in mt7601u_push_txwi()
206 struct mt76_txwi *txwi; in mt7601u_tx() local
227 txwi = mt7601u_push_txwi(dev, skb, sta, wcid, pkt_len); in mt7601u_tx()
232 trace_mt_tx(dev, skb, msta, txwi); in mt7601u_tx()