Lines Matching refs:cipher

451 	if (params->cipher == WLAN_CIPHER_SUITE_AES_CMAC) {  in cfg80211_set_encryption()
497 wdev->wext.keys->params[idx].cipher = 0; in cfg80211_set_encryption()
522 else if (params->cipher != WLAN_CIPHER_SUITE_WEP40 && in cfg80211_set_encryption()
523 params->cipher != WLAN_CIPHER_SUITE_WEP104) in cfg80211_set_encryption()
533 if (!addr && (params->cipher == WLAN_CIPHER_SUITE_WEP40 || in cfg80211_set_encryption()
534 params->cipher == WLAN_CIPHER_SUITE_WEP104)) { in cfg80211_set_encryption()
542 if ((params->cipher == WLAN_CIPHER_SUITE_WEP40 || in cfg80211_set_encryption()
543 params->cipher == WLAN_CIPHER_SUITE_WEP104) && in cfg80211_set_encryption()
569 if (params->cipher == WLAN_CIPHER_SUITE_AES_CMAC && in cfg80211_set_encryption()
641 params.cipher = WLAN_CIPHER_SUITE_WEP40; in cfg80211_wext_siwencode()
643 params.cipher = WLAN_CIPHER_SUITE_WEP104; in cfg80211_wext_siwencode()
670 u32 cipher; in cfg80211_wext_siwencodeext() local
689 cipher = 0; in cfg80211_wext_siwencodeext()
693 cipher = WLAN_CIPHER_SUITE_WEP40; in cfg80211_wext_siwencodeext()
695 cipher = WLAN_CIPHER_SUITE_WEP104; in cfg80211_wext_siwencodeext()
700 cipher = WLAN_CIPHER_SUITE_TKIP; in cfg80211_wext_siwencodeext()
703 cipher = WLAN_CIPHER_SUITE_CCMP; in cfg80211_wext_siwencodeext()
706 cipher = WLAN_CIPHER_SUITE_AES_CMAC; in cfg80211_wext_siwencodeext()
716 if (cipher == WLAN_CIPHER_SUITE_AES_CMAC) { in cfg80211_wext_siwencodeext()
739 params.cipher = cipher; in cfg80211_wext_siwencodeext()
782 if (!wdev->wext.keys || !wdev->wext.keys->params[idx].cipher) { in cfg80211_wext_giwencode()
1053 static int cfg80211_set_cipher_group(struct wireless_dev *wdev, u32 cipher) in cfg80211_set_cipher_group() argument
1055 if (cipher & IW_AUTH_CIPHER_WEP40) in cfg80211_set_cipher_group()
1058 else if (cipher & IW_AUTH_CIPHER_WEP104) in cfg80211_set_cipher_group()
1061 else if (cipher & IW_AUTH_CIPHER_TKIP) in cfg80211_set_cipher_group()
1064 else if (cipher & IW_AUTH_CIPHER_CCMP) in cfg80211_set_cipher_group()
1067 else if (cipher & IW_AUTH_CIPHER_AES_CMAC) in cfg80211_set_cipher_group()
1070 else if (cipher & IW_AUTH_CIPHER_NONE) in cfg80211_set_cipher_group()
1078 static int cfg80211_set_cipher_pairwise(struct wireless_dev *wdev, u32 cipher) in cfg80211_set_cipher_pairwise() argument
1083 if (cipher & IW_AUTH_CIPHER_WEP40) { in cfg80211_set_cipher_pairwise()
1088 if (cipher & IW_AUTH_CIPHER_WEP104) { in cfg80211_set_cipher_pairwise()
1093 if (cipher & IW_AUTH_CIPHER_TKIP) { in cfg80211_set_cipher_pairwise()
1098 if (cipher & IW_AUTH_CIPHER_CCMP) { in cfg80211_set_cipher_pairwise()
1103 if (cipher & IW_AUTH_CIPHER_AES_CMAC) { in cfg80211_set_cipher_pairwise()