/linux-3.4.99/drivers/s390/crypto/ |
D | zcrypt_pcica.c | 94 struct type4_sme *sme = ap_msg->message; in ICAMEX_msg_to_type4MEX_msg() local 95 memset(sme, 0, sizeof(*sme)); in ICAMEX_msg_to_type4MEX_msg() 96 ap_msg->length = sizeof(*sme); in ICAMEX_msg_to_type4MEX_msg() 97 sme->header.msg_fmt = TYPE4_SME_FMT; in ICAMEX_msg_to_type4MEX_msg() 98 sme->header.msg_len = sizeof(*sme); in ICAMEX_msg_to_type4MEX_msg() 99 sme->header.msg_type_code = TYPE4_TYPE_CODE; in ICAMEX_msg_to_type4MEX_msg() 100 sme->header.request_code = TYPE4_REQU_CODE; in ICAMEX_msg_to_type4MEX_msg() 101 modulus = sme->modulus + sizeof(sme->modulus) - mod_len; in ICAMEX_msg_to_type4MEX_msg() 102 exponent = sme->exponent + sizeof(sme->exponent) - mod_len; in ICAMEX_msg_to_type4MEX_msg() 103 message = sme->message + sizeof(sme->message) - mod_len; in ICAMEX_msg_to_type4MEX_msg()
|
/linux-3.4.99/drivers/net/wireless/iwmc3200wifi/ |
D | cfg80211.c | 564 struct cfg80211_connect_params *sme) in iwm_cfg80211_connect() argument 567 struct ieee80211_channel *chan = sme->channel; in iwm_cfg80211_connect() 574 if (!sme->ssid) in iwm_cfg80211_connect() 589 iwm->umac_profile->ssid.ssid_len = sme->ssid_len; in iwm_cfg80211_connect() 590 memcpy(iwm->umac_profile->ssid.ssid, sme->ssid, sme->ssid_len); in iwm_cfg80211_connect() 592 if (sme->bssid) { in iwm_cfg80211_connect() 593 IWM_DBG_WEXT(iwm, DBG, "BSSID: %pM\n", sme->bssid); in iwm_cfg80211_connect() 594 memcpy(&iwm->umac_profile->bssid[0], sme->bssid, ETH_ALEN); in iwm_cfg80211_connect() 601 ret = iwm_set_wpa_version(iwm, sme->crypto.wpa_versions); in iwm_cfg80211_connect() 605 ret = iwm_set_auth_type(iwm, sme->auth_type); in iwm_cfg80211_connect() [all …]
|
/linux-3.4.99/drivers/net/wireless/libertas/ |
D | cfg.c | 1041 struct cfg80211_connect_params *sme) in lbs_set_authtype() argument 1046 lbs_deb_enter_args(LBS_DEB_CFG80211, "%d", sme->auth_type); in lbs_set_authtype() 1059 if (sme->bssid) in lbs_set_authtype() 1060 memcpy(cmd.bssid, sme->bssid, ETH_ALEN); in lbs_set_authtype() 1062 ret = lbs_auth_to_authtype(sme->auth_type); in lbs_set_authtype() 1089 struct cfg80211_connect_params *sme) in lbs_associate() argument 1150 pos += lbs_add_auth_type_tlv(pos, sme->auth_type); in lbs_associate() 1153 if (sme->ie && sme->ie_len) in lbs_associate() 1154 pos += lbs_add_wpa_tlv(pos, sme->ie, sme->ie_len); in lbs_associate() 1229 sme->ie, sme->ie_len, in lbs_associate() [all …]
|
/linux-3.4.99/drivers/staging/wlan-ng/ |
D | cfg80211.c | 468 struct cfg80211_connect_params *sme) in prism2_connect() argument 471 struct ieee80211_channel *channel = sme->channel; in prism2_connect() 474 int length = sme->ssid_len; in prism2_connect() 476 int is_wep = (sme->crypto.cipher_group == WLAN_CIPHER_SUITE_WEP40) || in prism2_connect() 477 (sme->crypto.cipher_group == WLAN_CIPHER_SUITE_WEP104); in prism2_connect() 492 if ((sme->auth_type == NL80211_AUTHTYPE_OPEN_SYSTEM) || in prism2_connect() 493 ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && !is_wep)) in prism2_connect() 495 else if ((sme->auth_type == NL80211_AUTHTYPE_SHARED_KEY) || in prism2_connect() 496 ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && is_wep)) in prism2_connect() 501 sme->auth_type); in prism2_connect() [all …]
|
/linux-3.4.99/drivers/net/wireless/mwifiex/ |
D | cfg80211.c | 836 struct cfg80211_connect_params *sme, bool privacy) in mwifiex_cfg80211_assoc() argument 892 if (sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in mwifiex_cfg80211_assoc() 896 auth_type = sme->auth_type; in mwifiex_cfg80211_assoc() 899 if (sme->crypto.n_ciphers_pairwise) { in mwifiex_cfg80211_assoc() 901 sme->crypto.ciphers_pairwise[0]; in mwifiex_cfg80211_assoc() 905 if (sme->crypto.cipher_group) { in mwifiex_cfg80211_assoc() 906 priv->sec_info.encryption_mode = sme->crypto.cipher_group; in mwifiex_cfg80211_assoc() 909 if (sme->ie) in mwifiex_cfg80211_assoc() 910 ret = mwifiex_set_gen_ie(priv, sme->ie, sme->ie_len); in mwifiex_cfg80211_assoc() 912 if (sme->key) { in mwifiex_cfg80211_assoc() [all …]
|
/linux-3.4.99/drivers/net/wireless/ath/ath6kl/ |
D | cfg80211.c | 426 struct cfg80211_connect_params *sme) in ath6kl_cfg80211_connect() argument 447 ((sme->channel && sme->channel->center_freq == 0) || in ath6kl_cfg80211_connect() 448 (sme->bssid && is_zero_ether_addr(sme->bssid)))) { in ath6kl_cfg80211_connect() 478 status = ath6kl_set_assoc_req_ies(vif, sme->ie, sme->ie_len); in ath6kl_cfg80211_connect() 484 if (sme->ie == NULL || sme->ie_len == 0) in ath6kl_cfg80211_connect() 488 vif->ssid_len == sme->ssid_len && in ath6kl_cfg80211_connect() 489 !memcmp(vif->ssid, sme->ssid, vif->ssid_len)) { in ath6kl_cfg80211_connect() 501 } else if (vif->ssid_len == sme->ssid_len && in ath6kl_cfg80211_connect() 502 !memcmp(vif->ssid, sme->ssid, vif->ssid_len)) { in ath6kl_cfg80211_connect() 507 vif->ssid_len = sme->ssid_len; in ath6kl_cfg80211_connect() [all …]
|
/linux-3.4.99/drivers/net/wireless/brcm80211/brcmfmac/ |
D | wl_cfg80211.c | 1064 struct cfg80211_connect_params *sme) in brcmf_set_wpa_version() argument 1071 if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_1) in brcmf_set_wpa_version() 1073 else if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_2) in brcmf_set_wpa_version() 1084 sec->wpa_versions = sme->crypto.wpa_versions; in brcmf_set_wpa_version() 1089 struct cfg80211_connect_params *sme) in brcmf_set_auth_type() argument 1096 switch (sme->auth_type) { in brcmf_set_auth_type() 1113 WL_ERR("invalid auth type (%d)\n", sme->auth_type); in brcmf_set_auth_type() 1123 sec->auth_type = sme->auth_type; in brcmf_set_auth_type() 1129 struct cfg80211_connect_params *sme) in brcmf_set_set_cipher() argument 1137 if (sme->crypto.n_ciphers_pairwise) { in brcmf_set_set_cipher() [all …]
|
/linux-3.4.99/net/wireless/ |
D | Makefile | 13 cfg80211-y += mlme.o ibss.o sme.o chan.o ethtool.o mesh.o 15 cfg80211-$(CONFIG_CFG80211_WEXT) += wext-compat.o wext-sme.o
|
/linux-3.4.99/drivers/net/wireless/ |
D | rndis_wlan.c | 547 struct cfg80211_connect_params *sme); 2178 struct cfg80211_connect_params *sme) in rndis_connect() argument 2182 struct ieee80211_channel *channel = sme->channel; in rndis_connect() 2192 groupwise = rndis_cipher_to_alg(sme->crypto.cipher_group); in rndis_connect() 2193 for (i = 0; i < sme->crypto.n_ciphers_pairwise; i++) in rndis_connect() 2195 rndis_cipher_to_alg(sme->crypto.ciphers_pairwise[i]); in rndis_connect() 2197 if (sme->crypto.n_ciphers_pairwise > 0 && in rndis_connect() 2203 for (i = 0; i < sme->crypto.n_akm_suites; i++) in rndis_connect() 2205 rndis_akm_suite_to_key_mgmt(sme->crypto.akm_suites[i]); in rndis_connect() 2207 if (sme->crypto.n_akm_suites > 0 && in rndis_connect() [all …]
|
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb/ |
D | espi.c | 86 int i, sme = 1; in tricn_init() local 95 if (sme) { in tricn_init()
|
/linux-3.4.99/include/net/ |
D | cfg80211.h | 1602 struct cfg80211_connect_params *sme);
|