Lines Matching refs:rxdesc
1217 struct rxdone_entry_desc *rxdesc) in rt2500usb_fill_rxdone() argument
1243 rxdesc->flags |= RX_FLAG_FAILED_FCS_CRC; in rt2500usb_fill_rxdone()
1245 rxdesc->flags |= RX_FLAG_FAILED_PLCP_CRC; in rt2500usb_fill_rxdone()
1247 rxdesc->cipher = rt2x00_get_field32(word0, RXD_W0_CIPHER); in rt2500usb_fill_rxdone()
1249 rxdesc->cipher_status = RX_CRYPTO_FAIL_KEY; in rt2500usb_fill_rxdone()
1251 if (rxdesc->cipher != CIPHER_NONE) { in rt2500usb_fill_rxdone()
1252 rxdesc->iv[0] = _rt2x00_desc_read(rxd, 2); in rt2500usb_fill_rxdone()
1253 rxdesc->iv[1] = _rt2x00_desc_read(rxd, 3); in rt2500usb_fill_rxdone()
1254 rxdesc->dev_flags |= RXDONE_CRYPTO_IV; in rt2500usb_fill_rxdone()
1258 rxdesc->flags |= RX_FLAG_MMIC_STRIPPED; in rt2500usb_fill_rxdone()
1259 if (rxdesc->cipher_status == RX_CRYPTO_SUCCESS) in rt2500usb_fill_rxdone()
1260 rxdesc->flags |= RX_FLAG_DECRYPTED; in rt2500usb_fill_rxdone()
1261 else if (rxdesc->cipher_status == RX_CRYPTO_FAIL_MIC) in rt2500usb_fill_rxdone()
1262 rxdesc->flags |= RX_FLAG_MMIC_ERROR; in rt2500usb_fill_rxdone()
1271 rxdesc->signal = rt2x00_get_field32(word1, RXD_W1_SIGNAL); in rt2500usb_fill_rxdone()
1272 rxdesc->rssi = in rt2500usb_fill_rxdone()
1274 rxdesc->size = rt2x00_get_field32(word0, RXD_W0_DATABYTE_COUNT); in rt2500usb_fill_rxdone()
1277 rxdesc->dev_flags |= RXDONE_SIGNAL_PLCP; in rt2500usb_fill_rxdone()
1279 rxdesc->dev_flags |= RXDONE_SIGNAL_BITRATE; in rt2500usb_fill_rxdone()
1281 rxdesc->dev_flags |= RXDONE_MY_BSS; in rt2500usb_fill_rxdone()
1286 skb_trim(entry->skb, rxdesc->size); in rt2500usb_fill_rxdone()