Lines Matching defs:rxdesc
1202 struct rxdone_entry_desc *rxdesc)
1228 rxdesc->flags |= RX_FLAG_FAILED_FCS_CRC;
1230 rxdesc->flags |= RX_FLAG_FAILED_PLCP_CRC;
1232 rxdesc->cipher = rt2x00_get_field32(word0, RXD_W0_CIPHER);
1234 rxdesc->cipher_status = RX_CRYPTO_FAIL_KEY;
1236 if (rxdesc->cipher != CIPHER_NONE) {
1237 _rt2x00_desc_read(rxd, 2, &rxdesc->iv[0]);
1238 _rt2x00_desc_read(rxd, 3, &rxdesc->iv[1]);
1239 rxdesc->dev_flags |= RXDONE_CRYPTO_IV;
1243 rxdesc->flags |= RX_FLAG_MMIC_STRIPPED;
1244 if (rxdesc->cipher_status == RX_CRYPTO_SUCCESS)
1245 rxdesc->flags |= RX_FLAG_DECRYPTED;
1246 else if (rxdesc->cipher_status == RX_CRYPTO_FAIL_MIC)
1247 rxdesc->flags |= RX_FLAG_MMIC_ERROR;
1256 rxdesc->signal = rt2x00_get_field32(word1, RXD_W1_SIGNAL);
1257 rxdesc->rssi =
1259 rxdesc->size = rt2x00_get_field32(word0, RXD_W0_DATABYTE_COUNT);
1262 rxdesc->dev_flags |= RXDONE_SIGNAL_PLCP;
1264 rxdesc->dev_flags |= RXDONE_SIGNAL_BITRATE;
1266 rxdesc->dev_flags |= RXDONE_MY_BSS;
1271 skb_trim(entry->skb, rxdesc->size);