CIPHER_NONE
rt2x00_set_field32(&word, TXD_W0_CIPHER_ALG, CIPHER_NONE);
if (rxdesc->cipher != CIPHER_NONE) {
rt2x00_set_field16(®, TXRX_CSR0_ALGORITHM, CIPHER_NONE);
return CIPHER_NONE;
if (cipher == CIPHER_NONE || cipher >= CIPHER_MAX)
return CIPHER_NONE;
if (crypto.cipher == CIPHER_NONE)
if (rxdesc->cipher != CIPHER_NONE) {
if (rxdesc->cipher != CIPHER_NONE) {