Lines Matching defs:rxdesc
1616 struct rxdone_entry_desc *rxdesc)
1638 rxdesc->flags |= RX_FLAG_FAILED_FCS_CRC;
1640 rxdesc->cipher = rt2x00_get_field32(word0, RXD_W0_CIPHER_ALG);
1641 rxdesc->cipher_status = rt2x00_get_field32(word0, RXD_W0_CIPHER_ERROR);
1643 if (rxdesc->cipher != CIPHER_NONE) {
1644 _rt2x00_desc_read(rxd, 2, &rxdesc->iv[0]);
1645 _rt2x00_desc_read(rxd, 3, &rxdesc->iv[1]);
1646 rxdesc->dev_flags |= RXDONE_CRYPTO_IV;
1648 _rt2x00_desc_read(rxd, 4, &rxdesc->icv);
1649 rxdesc->dev_flags |= RXDONE_CRYPTO_ICV;
1656 rxdesc->flags |= RX_FLAG_IV_STRIPPED;
1658 rxdesc->flags |= RX_FLAG_MMIC_STRIPPED;
1660 if (rxdesc->cipher_status == RX_CRYPTO_SUCCESS)
1661 rxdesc->flags |= RX_FLAG_DECRYPTED;
1662 else if (rxdesc->cipher_status == RX_CRYPTO_FAIL_MIC)
1663 rxdesc->flags |= RX_FLAG_MMIC_ERROR;
1672 rxdesc->signal = rt2x00_get_field32(word1, RXD_W1_SIGNAL);
1673 rxdesc->rssi = rt73usb_agc_to_rssi(rt2x00dev, word1);
1674 rxdesc->size = rt2x00_get_field32(word0, RXD_W0_DATABYTE_COUNT);
1677 rxdesc->dev_flags |= RXDONE_SIGNAL_PLCP;
1679 rxdesc->dev_flags |= RXDONE_SIGNAL_BITRATE;
1681 rxdesc->dev_flags |= RXDONE_MY_BSS;
1687 skb_trim(entry->skb, rxdesc->size);