Lines Matching refs:txdesc
430 void rt2800_write_txwi(__le32 *txwi, struct txentry_desc *txdesc)
439 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags));
443 test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags));
445 test_bit(ENTRY_TXD_HT_AMPDU, &txdesc->flags));
446 rt2x00_set_field32(&word, TXWI_W0_MPDU_DENSITY, txdesc->mpdu_density);
447 rt2x00_set_field32(&word, TXWI_W0_TX_OP, txdesc->txop);
448 rt2x00_set_field32(&word, TXWI_W0_MCS, txdesc->mcs);
450 test_bit(ENTRY_TXD_HT_BW_40, &txdesc->flags));
452 test_bit(ENTRY_TXD_HT_SHORT_GI, &txdesc->flags));
453 rt2x00_set_field32(&word, TXWI_W0_STBC, txdesc->stbc);
454 rt2x00_set_field32(&word, TXWI_W0_PHYMODE, txdesc->rate_mode);
459 test_bit(ENTRY_TXD_ACK, &txdesc->flags));
461 test_bit(ENTRY_TXD_GENERATE_SEQ, &txdesc->flags));
462 rt2x00_set_field32(&word, TXWI_W1_BW_WIN_SIZE, txdesc->ba_size);
464 test_bit(ENTRY_TXD_ENCRYPT, &txdesc->flags) ?
465 txdesc->key_idx : 0xff);
467 txdesc->length);
468 rt2x00_set_field32(&word, TXWI_W1_PACKETID, txdesc->queue + 1);
572 void rt2800_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc)
603 rt2800_write_txwi((__le32 *)entry->skb->data, txdesc);