Lines Matching defs:cipher

430 	if (params->cipher == WLAN_CIPHER_SUITE_AES_CMAC) {
476 wdev->wext.keys->params[idx].cipher = 0;
502 else if (params->cipher != WLAN_CIPHER_SUITE_WEP40 &&
503 params->cipher != WLAN_CIPHER_SUITE_WEP104)
513 if (!addr && (params->cipher == WLAN_CIPHER_SUITE_WEP40 ||
514 params->cipher == WLAN_CIPHER_SUITE_WEP104)) {
522 if ((params->cipher == WLAN_CIPHER_SUITE_WEP40 ||
523 params->cipher == WLAN_CIPHER_SUITE_WEP104) &&
549 if (params->cipher == WLAN_CIPHER_SUITE_AES_CMAC &&
619 params.cipher = WLAN_CIPHER_SUITE_WEP40;
621 params.cipher = WLAN_CIPHER_SUITE_WEP104;
642 u32 cipher;
660 cipher = 0;
664 cipher = WLAN_CIPHER_SUITE_WEP40;
666 cipher = WLAN_CIPHER_SUITE_WEP104;
671 cipher = WLAN_CIPHER_SUITE_TKIP;
674 cipher = WLAN_CIPHER_SUITE_CCMP;
677 cipher = WLAN_CIPHER_SUITE_AES_CMAC;
687 if (cipher == WLAN_CIPHER_SUITE_AES_CMAC) {
710 params.cipher = cipher;
750 if (!wdev->wext.keys || !wdev->wext.keys->params[idx].cipher) {
991 static int cfg80211_set_cipher_group(struct wireless_dev *wdev, u32 cipher)
993 if (cipher & IW_AUTH_CIPHER_WEP40)
996 else if (cipher & IW_AUTH_CIPHER_WEP104)
999 else if (cipher & IW_AUTH_CIPHER_TKIP)
1002 else if (cipher & IW_AUTH_CIPHER_CCMP)
1005 else if (cipher & IW_AUTH_CIPHER_AES_CMAC)
1008 else if (cipher & IW_AUTH_CIPHER_NONE)
1016 static int cfg80211_set_cipher_pairwise(struct wireless_dev *wdev, u32 cipher)
1021 if (cipher & IW_AUTH_CIPHER_WEP40) {
1026 if (cipher & IW_AUTH_CIPHER_WEP104) {
1031 if (cipher & IW_AUTH_CIPHER_TKIP) {
1036 if (cipher & IW_AUTH_CIPHER_CCMP) {
1041 if (cipher & IW_AUTH_CIPHER_AES_CMAC) {