Lines Matching full:sme

299 		   struct cfg80211_connect_params *sme)  in connect()  argument
316 cipher_group = sme->crypto.cipher_group; in connect()
318 if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_2) { in connect()
323 } else if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_1) { in connect()
336 if ((sme->crypto.wpa_versions & NL80211_WPA_VERSION_1) || in connect()
337 (sme->crypto.wpa_versions & NL80211_WPA_VERSION_2)) { in connect()
338 for (i = 0; i < sme->crypto.n_ciphers_pairwise; i++) { in connect()
339 u32 ciphers_pairwise = sme->crypto.ciphers_pairwise[i]; in connect()
348 switch (sme->auth_type) { in connect()
355 if (sme->ssid_len) { in connect()
356 memcpy(vif->auth.ssid.ssid, sme->ssid, sme->ssid_len); in connect()
357 vif->auth.ssid.ssid_len = sme->ssid_len; in connect()
359 vif->auth.key_mgmt_suite = sme->crypto.akm_suites[0]; in connect()
360 ether_addr_copy(vif->auth.bssid, sme->bssid); in connect()
367 if (sme->crypto.n_akm_suites) { in connect()
368 if (sme->crypto.akm_suites[0] == WLAN_AKM_SUITE_8021X) in connect()
370 else if (sme->crypto.akm_suites[0] == WLAN_AKM_SUITE_PSK_SHA256) in connect()
372 else if (sme->crypto.akm_suites[0] == WLAN_AKM_SUITE_8021X_SHA256) in connect()
382 bss = cfg80211_get_bss(wiphy, sme->channel, sme->bssid, sme->ssid, in connect()
383 sme->ssid_len, IEEE80211_BSS_TYPE_ANY, in connect()
384 IEEE80211_PRIVACY(sme->privacy)); in connect()
395 join_params = wilc_parse_join_bss_param(bss, &sme->crypto); in connect()
416 if (sme->mfp == NL80211_MFP_OPTIONAL) in connect()
418 else if (sme->mfp == NL80211_MFP_REQUIRED) in connect()
423 ret = wilc_set_join_req(vif, bss->bssid, sme->ie, sme->ie_len); in connect()