Lines Matching full:cipher
87 * All statistics are stored separately per cipher type.
113 enum cipher cipher = rxdesc->cipher; in rt2x00debug_update_crypto() local
116 if (cipher == CIPHER_TKIP_NO_MIC) in rt2x00debug_update_crypto()
117 cipher = CIPHER_TKIP; in rt2x00debug_update_crypto()
118 if (cipher == CIPHER_NONE || cipher >= CIPHER_MAX) in rt2x00debug_update_crypto()
122 cipher--; in rt2x00debug_update_crypto()
124 intf->crypto_stats[cipher].success += (status == RX_CRYPTO_SUCCESS); in rt2x00debug_update_crypto()
125 intf->crypto_stats[cipher].icv_error += (status == RX_CRYPTO_FAIL_ICV); in rt2x00debug_update_crypto()
126 intf->crypto_stats[cipher].mic_error += (status == RX_CRYPTO_FAIL_MIC); in rt2x00debug_update_crypto()
127 intf->crypto_stats[cipher].key_error += (status == RX_CRYPTO_FAIL_KEY); in rt2x00debug_update_crypto()
376 temp += sprintf(data, "cipher\tsuccess\ticv err\tmic err\tkey err\n"); in rt2x00debug_read_crypto_stats()