Searched refs:ciphermap (Results 1 – 4 of 4) sorted by relevance
361 static const uint8_t ciphermap[] = { in ieee80211_crypto_getciphertype() local378 ASSERT(cipher < IEEE80211_N(ciphermap)); in ieee80211_crypto_getciphertype()379 return (ciphermap[cipher]); in ieee80211_crypto_getciphertype()
923 static const uint8_t ciphermap[] = { in ath_key_set() local943 ASSERT(cip->ic_cipher < ATH_N(ciphermap)); in ath_key_set()944 hk.kv_type = ciphermap[cip->ic_cipher]; in ath_key_set()
1817 static const uint8_t ciphermap[] = { in arn_tx_get_keytype() local1826 ASSERT(cip->ic_cipher < ARRAY_SIZE(ciphermap)); in arn_tx_get_keytype()1829 if (ciphermap[index] == ATH9K_CIPHER_WEP) in arn_tx_get_keytype()1831 else if (ciphermap[index] == ATH9K_CIPHER_TKIP) in arn_tx_get_keytype()1833 else if (ciphermap[index] == ATH9K_CIPHER_AES_CCM) in arn_tx_get_keytype()
2029 static const uint8_t ciphermap[] = { in arn_key_set() local2047 hk.kv_type = ciphermap[cip->ic_cipher]; in arn_key_set()