Lines Matching refs:sme
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()
916 " with key len %d\n", sme->key_len); in mwifiex_cfg80211_assoc()
917 priv->wep_key_curr_index = sme->key_idx; in mwifiex_cfg80211_assoc()
918 ret = mwifiex_set_encode(priv, sme->key, sme->key_len, in mwifiex_cfg80211_assoc()
919 sme->key_idx, 0); in mwifiex_cfg80211_assoc()
987 struct cfg80211_connect_params *sme) in mwifiex_cfg80211_connect() argument
999 (char *) sme->ssid, sme->bssid); in mwifiex_cfg80211_connect()
1001 ret = mwifiex_cfg80211_assoc(priv, sme->ssid_len, sme->ssid, sme->bssid, in mwifiex_cfg80211_connect()
1002 priv->bss_mode, sme->channel, sme, 0); in mwifiex_cfg80211_connect()