Lines Matching defs:cipher
457 if (params->cipher == WLAN_CIPHER_SUITE_AES_CMAC) {
493 wdev->wext.keys->params[idx].cipher = 0;
527 if ((params->cipher == WLAN_CIPHER_SUITE_WEP40 ||
528 params->cipher == WLAN_CIPHER_SUITE_WEP104) &&
552 if (params->cipher == WLAN_CIPHER_SUITE_AES_CMAC &&
632 params.cipher = WLAN_CIPHER_SUITE_WEP40;
634 params.cipher = WLAN_CIPHER_SUITE_WEP104;
655 u32 cipher;
670 cipher = 0;
674 cipher = WLAN_CIPHER_SUITE_WEP40;
676 cipher = WLAN_CIPHER_SUITE_WEP104;
681 cipher = WLAN_CIPHER_SUITE_TKIP;
684 cipher = WLAN_CIPHER_SUITE_CCMP;
687 cipher = WLAN_CIPHER_SUITE_AES_CMAC;
697 if (cipher == WLAN_CIPHER_SUITE_AES_CMAC) {
720 params.cipher = cipher;
757 if (!wdev->wext.keys || !wdev->wext.keys->params[idx].cipher) {
970 static int cfg80211_set_cipher_group(struct wireless_dev *wdev, u32 cipher)
972 if (cipher & IW_AUTH_CIPHER_WEP40)
975 else if (cipher & IW_AUTH_CIPHER_WEP104)
978 else if (cipher & IW_AUTH_CIPHER_TKIP)
981 else if (cipher & IW_AUTH_CIPHER_CCMP)
984 else if (cipher & IW_AUTH_CIPHER_AES_CMAC)
987 else if (cipher & IW_AUTH_CIPHER_NONE)
995 static int cfg80211_set_cipher_pairwise(struct wireless_dev *wdev, u32 cipher)
1000 if (cipher & IW_AUTH_CIPHER_WEP40) {
1005 if (cipher & IW_AUTH_CIPHER_WEP104) {
1010 if (cipher & IW_AUTH_CIPHER_TKIP) {
1015 if (cipher & IW_AUTH_CIPHER_CCMP) {
1020 if (cipher & IW_AUTH_CIPHER_AES_CMAC) {