Lines Matching defs:cipher

451 	if (params->cipher == WLAN_CIPHER_SUITE_AES_CMAC) {
497 wdev->wext.keys->params[idx].cipher = 0;
522 else if (params->cipher != WLAN_CIPHER_SUITE_WEP40 &&
523 params->cipher != WLAN_CIPHER_SUITE_WEP104)
533 if (!addr && (params->cipher == WLAN_CIPHER_SUITE_WEP40 ||
534 params->cipher == WLAN_CIPHER_SUITE_WEP104)) {
542 if ((params->cipher == WLAN_CIPHER_SUITE_WEP40 ||
543 params->cipher == WLAN_CIPHER_SUITE_WEP104) &&
569 if (params->cipher == WLAN_CIPHER_SUITE_AES_CMAC &&
658 params.cipher = WLAN_CIPHER_SUITE_WEP40;
660 params.cipher = WLAN_CIPHER_SUITE_WEP104;
687 u32 cipher;
710 cipher = 0;
714 cipher = WLAN_CIPHER_SUITE_WEP40;
716 cipher = WLAN_CIPHER_SUITE_WEP104;
721 cipher = WLAN_CIPHER_SUITE_TKIP;
724 cipher = WLAN_CIPHER_SUITE_CCMP;
727 cipher = WLAN_CIPHER_SUITE_AES_CMAC;
737 if (cipher == WLAN_CIPHER_SUITE_AES_CMAC) {
760 params.cipher = cipher;
803 if (!wdev->wext.keys || !wdev->wext.keys->params[idx].cipher) {
1074 static int cfg80211_set_cipher_group(struct wireless_dev *wdev, u32 cipher)
1076 if (cipher & IW_AUTH_CIPHER_WEP40)
1079 else if (cipher & IW_AUTH_CIPHER_WEP104)
1082 else if (cipher & IW_AUTH_CIPHER_TKIP)
1085 else if (cipher & IW_AUTH_CIPHER_CCMP)
1088 else if (cipher & IW_AUTH_CIPHER_AES_CMAC)
1091 else if (cipher & IW_AUTH_CIPHER_NONE)
1099 static int cfg80211_set_cipher_pairwise(struct wireless_dev *wdev, u32 cipher)
1104 if (cipher & IW_AUTH_CIPHER_WEP40) {
1109 if (cipher & IW_AUTH_CIPHER_WEP104) {
1114 if (cipher & IW_AUTH_CIPHER_TKIP) {
1119 if (cipher & IW_AUTH_CIPHER_CCMP) {
1124 if (cipher & IW_AUTH_CIPHER_AES_CMAC) {