Lines Matching refs:rxdesc
1668 struct rxdone_entry_desc *rxdesc)
1690 rxdesc->flags |= RX_FLAG_FAILED_FCS_CRC;
1692 rxdesc->cipher = rt2x00_get_field32(word0, RXD_W0_CIPHER_ALG);
1693 rxdesc->cipher_status = rt2x00_get_field32(word0, RXD_W0_CIPHER_ERROR);
1695 if (rxdesc->cipher != CIPHER_NONE) {
1696 rxdesc->iv[0] = _rt2x00_desc_read(rxd, 2);
1697 rxdesc->iv[1] = _rt2x00_desc_read(rxd, 3);
1698 rxdesc->dev_flags |= RXDONE_CRYPTO_IV;
1700 rxdesc->icv = _rt2x00_desc_read(rxd, 4);
1701 rxdesc->dev_flags |= RXDONE_CRYPTO_ICV;
1708 rxdesc->flags |= RX_FLAG_IV_STRIPPED;
1714 rxdesc->flags |= RX_FLAG_MMIC_STRIPPED;
1716 if (rxdesc->cipher_status == RX_CRYPTO_SUCCESS)
1717 rxdesc->flags |= RX_FLAG_DECRYPTED;
1718 else if (rxdesc->cipher_status == RX_CRYPTO_FAIL_MIC)
1719 rxdesc->flags |= RX_FLAG_MMIC_ERROR;
1728 rxdesc->signal = rt2x00_get_field32(word1, RXD_W1_SIGNAL);
1729 rxdesc->rssi = rt73usb_agc_to_rssi(rt2x00dev, word1);
1730 rxdesc->size = rt2x00_get_field32(word0, RXD_W0_DATABYTE_COUNT);
1733 rxdesc->dev_flags |= RXDONE_SIGNAL_PLCP;
1735 rxdesc->dev_flags |= RXDONE_SIGNAL_BITRATE;
1737 rxdesc->dev_flags |= RXDONE_MY_BSS;
1743 skb_trim(entry->skb, rxdesc->size);