/drivers/net/wireless/marvell/libertas/ |
D | cfg.c | 1059 struct cfg80211_connect_params *sme) in lbs_set_authtype() argument 1064 lbs_deb_enter_args(LBS_DEB_CFG80211, "%d", sme->auth_type); in lbs_set_authtype() 1077 if (sme->bssid) in lbs_set_authtype() 1078 memcpy(cmd.bssid, sme->bssid, ETH_ALEN); in lbs_set_authtype() 1080 ret = lbs_auth_to_authtype(sme->auth_type); in lbs_set_authtype() 1107 struct cfg80211_connect_params *sme) in lbs_associate() argument 1171 pos += lbs_add_auth_type_tlv(pos, sme->auth_type); in lbs_associate() 1174 if (sme->ie && sme->ie_len) in lbs_associate() 1175 pos += lbs_add_wpa_tlv(pos, sme->ie, sme->ie_len); in lbs_associate() 1250 sme->ie, sme->ie_len, in lbs_associate() [all …]
|
/drivers/staging/wlan-ng/ |
D | cfg80211.c | 454 struct cfg80211_connect_params *sme) in prism2_connect() argument 457 struct ieee80211_channel *channel = sme->channel; in prism2_connect() 460 int length = sme->ssid_len; in prism2_connect() 462 int is_wep = (sme->crypto.cipher_group == WLAN_CIPHER_SUITE_WEP40) || in prism2_connect() 463 (sme->crypto.cipher_group == WLAN_CIPHER_SUITE_WEP104); in prism2_connect() 478 if ((sme->auth_type == NL80211_AUTHTYPE_OPEN_SYSTEM) || in prism2_connect() 479 ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && !is_wep)) in prism2_connect() 481 else if ((sme->auth_type == NL80211_AUTHTYPE_SHARED_KEY) || in prism2_connect() 482 ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && is_wep)) in prism2_connect() 487 sme->auth_type); in prism2_connect() [all …]
|
/drivers/staging/wilc1000/ |
D | wilc_wfi_cfgoperations.c | 669 struct cfg80211_connect_params *sme) in connect() argument 686 if (!(strncmp(sme->ssid, "DIRECT-", 7))) in connect() 692 if ((sme->ssid_len == last_scanned_shadow[i].ssid_len) && in connect() 694 sme->ssid, in connect() 695 sme->ssid_len) == 0) { in connect() 696 if (!sme->bssid) in connect() 700 sme->bssid, in connect() 717 if (sme->crypto.cipher_group != NO_ENCRYPT) { in connect() 718 if (sme->crypto.cipher_group == WLAN_CIPHER_SUITE_WEP40) { in connect() 721 priv->WILC_WFI_wep_key_len[sme->key_idx] = sme->key_len; in connect() [all …]
|
/drivers/net/wireless/ath/wil6210/ |
D | cfg80211.c | 497 struct cfg80211_connect_params *sme) in wil_print_connect_params() argument 500 if (sme->channel) { in wil_print_connect_params() 502 sme->channel->hw_value, sme->channel->center_freq); in wil_print_connect_params() 504 if (sme->bssid) in wil_print_connect_params() 505 wil_info(wil, " BSSID: %pM\n", sme->bssid); in wil_print_connect_params() 506 if (sme->ssid) in wil_print_connect_params() 508 16, 1, sme->ssid, sme->ssid_len, true); in wil_print_connect_params() 509 wil_info(wil, " Privacy: %s\n", sme->privacy ? "secure" : "open"); in wil_print_connect_params() 510 wil_info(wil, " PBSS: %d\n", sme->pbss); in wil_print_connect_params() 511 wil_print_crypto(wil, &sme->crypto); in wil_print_connect_params() [all …]
|
/drivers/net/wireless/ath/ath6kl/ |
D | cfg80211.c | 456 struct cfg80211_connect_params *sme) in ath6kl_cfg80211_connect() argument 477 ((sme->channel && sme->channel->center_freq == 0) || in ath6kl_cfg80211_connect() 478 (sme->bssid && is_zero_ether_addr(sme->bssid)))) { in ath6kl_cfg80211_connect() 508 status = ath6kl_set_assoc_req_ies(vif, sme->ie, sme->ie_len); in ath6kl_cfg80211_connect() 514 if (sme->ie == NULL || sme->ie_len == 0) in ath6kl_cfg80211_connect() 518 vif->ssid_len == sme->ssid_len && in ath6kl_cfg80211_connect() 519 !memcmp(vif->ssid, sme->ssid, vif->ssid_len)) { in ath6kl_cfg80211_connect() 531 } else if (vif->ssid_len == sme->ssid_len && in ath6kl_cfg80211_connect() 532 !memcmp(vif->ssid, sme->ssid, vif->ssid_len)) { in ath6kl_cfg80211_connect() 537 vif->ssid_len = sme->ssid_len; in ath6kl_cfg80211_connect() [all …]
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | cfg80211.c | 1544 struct cfg80211_connect_params *sme) in brcmf_set_wpa_version() argument 1551 if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_1) in brcmf_set_wpa_version() 1553 else if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_2) in brcmf_set_wpa_version() 1564 sec->wpa_versions = sme->crypto.wpa_versions; in brcmf_set_wpa_version() 1569 struct cfg80211_connect_params *sme) in brcmf_set_auth_type() argument 1576 switch (sme->auth_type) { in brcmf_set_auth_type() 1587 brcmf_dbg(CONN, "automatic, auth type (%d)\n", sme->auth_type); in brcmf_set_auth_type() 1597 sec->auth_type = sme->auth_type; in brcmf_set_auth_type() 1603 struct cfg80211_connect_params *sme) in brcmf_set_wsec_mode() argument 1612 if (sme->crypto.n_ciphers_pairwise) { in brcmf_set_wsec_mode() [all …]
|
/drivers/net/wireless/ |
D | rndis_wlan.c | 499 struct cfg80211_connect_params *sme); 2154 struct cfg80211_connect_params *sme) in rndis_connect() argument 2158 struct ieee80211_channel *channel = sme->channel; in rndis_connect() 2168 groupwise = rndis_cipher_to_alg(sme->crypto.cipher_group); in rndis_connect() 2169 for (i = 0; i < sme->crypto.n_ciphers_pairwise; i++) in rndis_connect() 2171 rndis_cipher_to_alg(sme->crypto.ciphers_pairwise[i]); in rndis_connect() 2173 if (sme->crypto.n_ciphers_pairwise > 0 && in rndis_connect() 2179 for (i = 0; i < sme->crypto.n_akm_suites; i++) in rndis_connect() 2181 rndis_akm_suite_to_key_mgmt(sme->crypto.akm_suites[i]); in rndis_connect() 2183 if (sme->crypto.n_akm_suites > 0 && in rndis_connect() [all …]
|
/drivers/net/wireless/marvell/mwifiex/ |
D | cfg80211.c | 2115 struct cfg80211_connect_params *sme, bool privacy) in mwifiex_cfg80211_assoc() argument 2164 if (sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in mwifiex_cfg80211_assoc() 2168 auth_type = sme->auth_type; in mwifiex_cfg80211_assoc() 2171 if (sme->crypto.n_ciphers_pairwise) { in mwifiex_cfg80211_assoc() 2173 sme->crypto.ciphers_pairwise[0]; in mwifiex_cfg80211_assoc() 2177 if (sme->crypto.cipher_group) { in mwifiex_cfg80211_assoc() 2178 priv->sec_info.encryption_mode = sme->crypto.cipher_group; in mwifiex_cfg80211_assoc() 2181 if (sme->ie) in mwifiex_cfg80211_assoc() 2182 ret = mwifiex_set_gen_ie(priv, sme->ie, sme->ie_len); in mwifiex_cfg80211_assoc() 2184 if (sme->key) { in mwifiex_cfg80211_assoc() [all …]
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | espi.c | 85 int i, sme = 1; in tricn_init() local 94 if (sme) { in tricn_init()
|