Lines Matching full:sme

302 		   struct cfg80211_connect_params *sme)  in connect()  argument
319 cipher_group = sme->crypto.cipher_group; in connect()
321 if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_2) { in connect()
326 } else if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_1) { in connect()
339 if ((sme->crypto.wpa_versions & NL80211_WPA_VERSION_1) || in connect()
340 (sme->crypto.wpa_versions & NL80211_WPA_VERSION_2)) { in connect()
341 for (i = 0; i < sme->crypto.n_ciphers_pairwise; i++) { in connect()
342 u32 ciphers_pairwise = sme->crypto.ciphers_pairwise[i]; in connect()
351 switch (sme->auth_type) { in connect()
358 if (sme->ssid_len) { in connect()
359 memcpy(vif->auth.ssid.ssid, sme->ssid, sme->ssid_len); in connect()
360 vif->auth.ssid.ssid_len = sme->ssid_len; in connect()
362 vif->auth.key_mgmt_suite = cpu_to_be32(sme->crypto.akm_suites[0]); in connect()
363 ether_addr_copy(vif->auth.bssid, sme->bssid); in connect()
370 if (sme->crypto.n_akm_suites) { in connect()
371 if (sme->crypto.akm_suites[0] == WLAN_AKM_SUITE_8021X) in connect()
373 else if (sme->crypto.akm_suites[0] == WLAN_AKM_SUITE_PSK_SHA256) in connect()
375 else if (sme->crypto.akm_suites[0] == WLAN_AKM_SUITE_8021X_SHA256) in connect()
385 bss = cfg80211_get_bss(wiphy, sme->channel, sme->bssid, sme->ssid, in connect()
386 sme->ssid_len, IEEE80211_BSS_TYPE_ANY, in connect()
387 IEEE80211_PRIVACY(sme->privacy)); in connect()
398 join_params = wilc_parse_join_bss_param(bss, &sme->crypto); in connect()
420 if (sme->mfp == NL80211_MFP_OPTIONAL) in connect()
422 else if (sme->mfp == NL80211_MFP_REQUIRED) in connect()
427 ret = wilc_set_join_req(vif, bss->bssid, sme->ie, sme->ie_len); in connect()