Lines Matching refs:sme
2182 struct cfg80211_connect_params *sme, bool privacy) in mwifiex_cfg80211_assoc() argument
2241 if (sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in mwifiex_cfg80211_assoc()
2245 auth_type = sme->auth_type; in mwifiex_cfg80211_assoc()
2248 if (sme->crypto.n_ciphers_pairwise) { in mwifiex_cfg80211_assoc()
2250 sme->crypto.ciphers_pairwise[0]; in mwifiex_cfg80211_assoc()
2254 if (sme->crypto.cipher_group) { in mwifiex_cfg80211_assoc()
2255 priv->sec_info.encryption_mode = sme->crypto.cipher_group; in mwifiex_cfg80211_assoc()
2258 if (sme->ie) in mwifiex_cfg80211_assoc()
2259 ret = mwifiex_set_gen_ie(priv, sme->ie, sme->ie_len); in mwifiex_cfg80211_assoc()
2261 if (sme->key) { in mwifiex_cfg80211_assoc()
2265 "with key len %d\n", sme->key_len); in mwifiex_cfg80211_assoc()
2266 priv->wep_key_curr_index = sme->key_idx; in mwifiex_cfg80211_assoc()
2267 ret = mwifiex_set_encode(priv, NULL, sme->key, in mwifiex_cfg80211_assoc()
2268 sme->key_len, sme->key_idx, in mwifiex_cfg80211_assoc()
2339 struct cfg80211_connect_params *sme) in mwifiex_cfg80211_connect() argument
2372 (int)sme->ssid_len, (char *)sme->ssid, sme->bssid); in mwifiex_cfg80211_connect()
2377 ret = mwifiex_cfg80211_assoc(priv, sme->ssid_len, sme->ssid, sme->bssid, in mwifiex_cfg80211_connect()
2378 priv->bss_mode, sme->channel, sme, 0); in mwifiex_cfg80211_connect()