sme                85 drivers/net/ethernet/chelsio/cxgb/espi.c 	int i, sme = 1;
sme                94 drivers/net/ethernet/chelsio/cxgb/espi.c 	if (sme) {
sme               455 drivers/net/wireless/ath/ath6kl/cfg80211.c 				   struct cfg80211_connect_params *sme)
sme               476 drivers/net/wireless/ath/ath6kl/cfg80211.c 	    ((sme->channel && sme->channel->center_freq == 0) ||
sme               477 drivers/net/wireless/ath/ath6kl/cfg80211.c 	     (sme->bssid && is_zero_ether_addr(sme->bssid)))) {
sme               507 drivers/net/wireless/ath/ath6kl/cfg80211.c 	status = ath6kl_set_assoc_req_ies(vif, sme->ie, sme->ie_len);
sme               513 drivers/net/wireless/ath/ath6kl/cfg80211.c 	if (sme->ie == NULL || sme->ie_len == 0)
sme               517 drivers/net/wireless/ath/ath6kl/cfg80211.c 	    vif->ssid_len == sme->ssid_len &&
sme               518 drivers/net/wireless/ath/ath6kl/cfg80211.c 	    !memcmp(vif->ssid, sme->ssid, vif->ssid_len)) {
sme               530 drivers/net/wireless/ath/ath6kl/cfg80211.c 	} else if (vif->ssid_len == sme->ssid_len &&
sme               531 drivers/net/wireless/ath/ath6kl/cfg80211.c 		   !memcmp(vif->ssid, sme->ssid, vif->ssid_len)) {
sme               536 drivers/net/wireless/ath/ath6kl/cfg80211.c 	vif->ssid_len = sme->ssid_len;
sme               537 drivers/net/wireless/ath/ath6kl/cfg80211.c 	memcpy(vif->ssid, sme->ssid, sme->ssid_len);
sme               539 drivers/net/wireless/ath/ath6kl/cfg80211.c 	if (sme->channel)
sme               540 drivers/net/wireless/ath/ath6kl/cfg80211.c 		vif->ch_hint = sme->channel->center_freq;
sme               543 drivers/net/wireless/ath/ath6kl/cfg80211.c 	if (sme->bssid && !is_broadcast_ether_addr(sme->bssid))
sme               544 drivers/net/wireless/ath/ath6kl/cfg80211.c 		memcpy(vif->req_bssid, sme->bssid, sizeof(vif->req_bssid));
sme               546 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ath6kl_set_wpa_version(vif, sme->crypto.wpa_versions);
sme               548 drivers/net/wireless/ath/ath6kl/cfg80211.c 	status = ath6kl_set_auth_type(vif, sme->auth_type);
sme               554 drivers/net/wireless/ath/ath6kl/cfg80211.c 	if (sme->crypto.n_ciphers_pairwise)
sme               555 drivers/net/wireless/ath/ath6kl/cfg80211.c 		ath6kl_set_cipher(vif, sme->crypto.ciphers_pairwise[0], true);
sme               559 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ath6kl_set_cipher(vif, sme->crypto.cipher_group, false);
sme               561 drivers/net/wireless/ath/ath6kl/cfg80211.c 	if (sme->crypto.n_akm_suites)
sme               562 drivers/net/wireless/ath/ath6kl/cfg80211.c 		ath6kl_set_key_mgmt(vif, sme->crypto.akm_suites[0]);
sme               564 drivers/net/wireless/ath/ath6kl/cfg80211.c 	if ((sme->key_len) &&
sme               569 drivers/net/wireless/ath/ath6kl/cfg80211.c 		if (sme->key_idx > WMI_MAX_KEY_INDEX) {
sme               571 drivers/net/wireless/ath/ath6kl/cfg80211.c 				   sme->key_idx);
sme               576 drivers/net/wireless/ath/ath6kl/cfg80211.c 		key = &vif->keys[sme->key_idx];
sme               577 drivers/net/wireless/ath/ath6kl/cfg80211.c 		key->key_len = sme->key_len;
sme               578 drivers/net/wireless/ath/ath6kl/cfg80211.c 		memcpy(key->key, sme->key, key->key_len);
sme               580 drivers/net/wireless/ath/ath6kl/cfg80211.c 		vif->def_txkey_index = sme->key_idx;
sme               582 drivers/net/wireless/ath/ath6kl/cfg80211.c 		ath6kl_wmi_addkey_cmd(ar->wmi, vif->fw_vif_idx, sme->key_idx,
sme               642 drivers/net/wireless/ath/ath6kl/cfg80211.c 	if (sme->bg_scan_period == 0) {
sme               644 drivers/net/wireless/ath/ath6kl/cfg80211.c 		sme->bg_scan_period = 0xffff;
sme               645 drivers/net/wireless/ath/ath6kl/cfg80211.c 	} else if (sme->bg_scan_period == -1) {
sme               647 drivers/net/wireless/ath/ath6kl/cfg80211.c 		sme->bg_scan_period = DEFAULT_BG_SCAN_PERIOD;
sme               651 drivers/net/wireless/ath/ath6kl/cfg80211.c 				  sme->bg_scan_period, 0, 0, 0, 3, 0, 0, 0);
sme              1094 drivers/net/wireless/ath/wil6210/cfg80211.c 				     struct cfg80211_connect_params *sme)
sme              1097 drivers/net/wireless/ath/wil6210/cfg80211.c 	if (sme->channel) {
sme              1099 drivers/net/wireless/ath/wil6210/cfg80211.c 			 sme->channel->hw_value, sme->channel->center_freq);
sme              1101 drivers/net/wireless/ath/wil6210/cfg80211.c 	if (sme->bssid)
sme              1102 drivers/net/wireless/ath/wil6210/cfg80211.c 		wil_info(wil, "  BSSID: %pM\n", sme->bssid);
sme              1103 drivers/net/wireless/ath/wil6210/cfg80211.c 	if (sme->ssid)
sme              1105 drivers/net/wireless/ath/wil6210/cfg80211.c 			       16, 1, sme->ssid, sme->ssid_len, true);
sme              1106 drivers/net/wireless/ath/wil6210/cfg80211.c 	if (sme->prev_bssid)
sme              1107 drivers/net/wireless/ath/wil6210/cfg80211.c 		wil_info(wil, "  Previous BSSID=%pM\n", sme->prev_bssid);
sme              1109 drivers/net/wireless/ath/wil6210/cfg80211.c 		 wil_get_auth_type_name(sme->auth_type));
sme              1110 drivers/net/wireless/ath/wil6210/cfg80211.c 	wil_info(wil, "  Privacy: %s\n", sme->privacy ? "secure" : "open");
sme              1111 drivers/net/wireless/ath/wil6210/cfg80211.c 	wil_info(wil, "  PBSS: %d\n", sme->pbss);
sme              1112 drivers/net/wireless/ath/wil6210/cfg80211.c 	wil_print_crypto(wil, &sme->crypto);
sme              1117 drivers/net/wireless/ath/wil6210/cfg80211.c 			  struct cfg80211_connect_params *sme)
sme              1129 drivers/net/wireless/ath/wil6210/cfg80211.c 	if (!sme->prev_bssid) {
sme              1134 drivers/net/wireless/ath/wil6210/cfg80211.c 	if (ether_addr_equal(sme->prev_bssid, sme->bssid)) {
sme              1144 drivers/net/wireless/ath/wil6210/cfg80211.c 	if (vif->privacy != sme->privacy) {
sme              1146 drivers/net/wireless/ath/wil6210/cfg80211.c 			vif->privacy, sme->privacy);
sme              1150 drivers/net/wireless/ath/wil6210/cfg80211.c 	if (sme->pbss) {
sme              1156 drivers/net/wireless/ath/wil6210/cfg80211.c 	auth_cmd.channel = sme->channel->hw_value - 1;
sme              1157 drivers/net/wireless/ath/wil6210/cfg80211.c 	ether_addr_copy(auth_cmd.bssid, sme->bssid);
sme              1202 drivers/net/wireless/ath/wil6210/cfg80211.c 				struct cfg80211_connect_params *sme)
sme              1217 drivers/net/wireless/ath/wil6210/cfg80211.c 	wil_print_connect_params(wil, sme);
sme              1219 drivers/net/wireless/ath/wil6210/cfg80211.c 	if (sme->auth_type == NL80211_AUTHTYPE_FT)
sme              1221 drivers/net/wireless/ath/wil6210/cfg80211.c 	if (sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC &&
sme              1230 drivers/net/wireless/ath/wil6210/cfg80211.c 	if (sme->ie_len > WMI_MAX_IE_LEN) {
sme              1231 drivers/net/wireless/ath/wil6210/cfg80211.c 		wil_err(wil, "IE too large (%td bytes)\n", sme->ie_len);
sme              1235 drivers/net/wireless/ath/wil6210/cfg80211.c 	rsn_eid = sme->ie ?
sme              1236 drivers/net/wireless/ath/wil6210/cfg80211.c 			cfg80211_find_ie(WLAN_EID_RSN, sme->ie, sme->ie_len) :
sme              1238 drivers/net/wireless/ath/wil6210/cfg80211.c 	if (sme->privacy && !rsn_eid) {
sme              1246 drivers/net/wireless/ath/wil6210/cfg80211.c 	if (sme->pbss)
sme              1249 drivers/net/wireless/ath/wil6210/cfg80211.c 	bss = cfg80211_get_bss(wiphy, sme->channel, sme->bssid,
sme              1250 drivers/net/wireless/ath/wil6210/cfg80211.c 			       sme->ssid, sme->ssid_len,
sme              1263 drivers/net/wireless/ath/wil6210/cfg80211.c 	vif->privacy = sme->privacy;
sme              1264 drivers/net/wireless/ath/wil6210/cfg80211.c 	vif->pbss = sme->pbss;
sme              1266 drivers/net/wireless/ath/wil6210/cfg80211.c 	rc = wmi_set_ie(vif, WMI_FRAME_ASSOC_REQ, sme->ie_len, sme->ie);
sme              1299 drivers/net/wireless/ath/wil6210/cfg80211.c 		rc = wil_ft_connect(wiphy, ndev, sme);
sme              1345 drivers/net/wireless/ath/wil6210/cfg80211.c 	rc = wil_get_wmi_edmg_channel(wil, sme->edmg.bw_config,
sme              1346 drivers/net/wireless/ath/wil6210/cfg80211.c 				      sme->edmg.channels, &conn.edmg_channel);
sme              1495 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 				 struct cfg80211_connect_params *sme)
sme              1504 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_1)
sme              1506 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	else if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_2)
sme              1517 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	sec->wpa_versions = sme->crypto.wpa_versions;
sme              1522 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 			       struct cfg80211_connect_params *sme)
sme              1531 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	switch (sme->auth_type) {
sme              1542 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		brcmf_dbg(CONN, "automatic, auth type (%d)\n", sme->auth_type);
sme              1552 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	sec->auth_type = sme->auth_type;
sme              1558 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		    struct cfg80211_connect_params *sme)
sme              1569 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (sme->crypto.n_ciphers_pairwise) {
sme              1570 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		switch (sme->crypto.ciphers_pairwise[0]) {
sme              1586 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 				 sme->crypto.ciphers_pairwise[0]);
sme              1590 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (sme->crypto.cipher_group) {
sme              1591 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		switch (sme->crypto.cipher_group) {
sme              1607 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 				 sme->crypto.cipher_group);
sme              1615 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (brcmf_find_wpsie(sme->ie, sme->ie_len) && !pval && !gval &&
sme              1616 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	    sme->privacy)
sme              1627 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	sec->cipher_pairwise = sme->crypto.ciphers_pairwise[0];
sme              1628 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	sec->cipher_group = sme->crypto.cipher_group;
sme              1634 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_set_key_mgmt(struct net_device *ndev, struct cfg80211_connect_params *sme)
sme              1651 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (!sme->crypto.n_akm_suites)
sme              1660 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		switch (sme->crypto.akm_suites[0]) {
sme              1663 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 			if (sme->want_1x)
sme              1671 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 				 sme->crypto.cipher_group);
sme              1675 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		switch (sme->crypto.akm_suites[0]) {
sme              1678 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 			if (sme->want_1x)
sme              1683 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 			if (sme->want_1x)
sme              1694 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 			if (sme->want_1x)
sme              1702 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 				 sme->crypto.cipher_group);
sme              1715 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	rsn_ie = brcmf_parse_tlvs((const u8 *)sme->ie, sme->ie_len,
sme              1757 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		    struct cfg80211_connect_params *sme)
sme              1767 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	brcmf_dbg(CONN, "key len (%d)\n", sme->key_len);
sme              1769 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (sme->key_len == 0)
sme              1784 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	key.len = (u32) sme->key_len;
sme              1785 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	key.index = (u32) sme->key_idx;
sme              1790 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	memcpy(key.data, sme->key, key.len);
sme              1801 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 			 sme->crypto.ciphers_pairwise[0]);
sme              1881 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		       struct cfg80211_connect_params *sme)
sme              1886 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	struct ieee80211_channel *chan = sme->channel;
sme              1903 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (!sme->ssid) {
sme              1913 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		wpa_ie = brcmf_find_wpaie((u8 *)sme->ie, sme->ie_len);
sme              1919 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 			rsn_ie = brcmf_parse_tlvs((const u8 *)sme->ie,
sme              1920 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 						  sme->ie_len,
sme              1931 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 				    sme->ie, sme->ie_len);
sme              1950 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	brcmf_dbg(INFO, "ie (%p), ie_len (%zd)\n", sme->ie, sme->ie_len);
sme              1952 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	err = brcmf_set_wpa_version(ndev, sme);
sme              1958 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	sme->auth_type = brcmf_war_auth_type(ifp, sme->auth_type);
sme              1959 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	err = brcmf_set_auth_type(ndev, sme);
sme              1965 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	err = brcmf_set_wsec_mode(ndev, sme);
sme              1971 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	err = brcmf_set_key_mgmt(ndev, sme);
sme              1977 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	err = brcmf_set_sharedkey(ndev, sme);
sme              1983 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (sme->crypto.psk) {
sme              2002 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		err = brcmf_set_pmk(ifp, sme->crypto.psk,
sme              2020 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	ssid_len = min_t(u32, sme->ssid_len, IEEE80211_MAX_SSID_LEN);
sme              2022 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	memcpy(&ext_join_params->ssid_le.SSID, sme->ssid, ssid_len);
sme              2031 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (sme->bssid)
sme              2032 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		memcpy(&ext_join_params->assoc_le.bssid, sme->bssid, ETH_ALEN);
sme              2062 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	brcmf_set_join_pref(ifp, &sme->bss_select);
sme              2075 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	memcpy(&join_params.ssid_le.SSID, sme->ssid, ssid_len);
sme              2078 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (sme->bssid)
sme              2079 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		memcpy(join_params.params_le.bssid, sme->bssid, ETH_ALEN);
sme              5158 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 				  struct cfg80211_connect_params *sme,
sme              5171 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 				    sme->ie, sme->ie_len);
sme              1020 drivers/net/wireless/marvell/libertas/cfg.c 			    struct cfg80211_connect_params *sme)
sme              1036 drivers/net/wireless/marvell/libertas/cfg.c 	if (sme->bssid)
sme              1037 drivers/net/wireless/marvell/libertas/cfg.c 		memcpy(cmd.bssid, sme->bssid, ETH_ALEN);
sme              1039 drivers/net/wireless/marvell/libertas/cfg.c 	ret = lbs_auth_to_authtype(sme->auth_type);
sme              1065 drivers/net/wireless/marvell/libertas/cfg.c 		struct cfg80211_connect_params *sme)
sme              1127 drivers/net/wireless/marvell/libertas/cfg.c 		pos += lbs_add_auth_type_tlv(pos, sme->auth_type);
sme              1130 drivers/net/wireless/marvell/libertas/cfg.c 	if (sme->ie && sme->ie_len)
sme              1131 drivers/net/wireless/marvell/libertas/cfg.c 		pos += lbs_add_wpa_tlv(pos, sme->ie, sme->ie_len);
sme              1206 drivers/net/wireless/marvell/libertas/cfg.c 				sme->ie, sme->ie_len,
sme              1225 drivers/net/wireless/marvell/libertas/cfg.c _new_connect_scan_req(struct wiphy *wiphy, struct cfg80211_connect_params *sme)
sme              1265 drivers/net/wireless/marvell/libertas/cfg.c 		memcpy(creq->ssids[0].ssid, sme->ssid, sme->ssid_len);
sme              1266 drivers/net/wireless/marvell/libertas/cfg.c 		creq->ssids[0].ssid_len = sme->ssid_len;
sme              1277 drivers/net/wireless/marvell/libertas/cfg.c 			   struct cfg80211_connect_params *sme)
sme              1287 drivers/net/wireless/marvell/libertas/cfg.c 	if (!sme->bssid) {
sme              1299 drivers/net/wireless/marvell/libertas/cfg.c 		creq = _new_connect_scan_req(wiphy, sme);
sme              1316 drivers/net/wireless/marvell/libertas/cfg.c 	bss = cfg80211_get_bss(wiphy, sme->channel, sme->bssid,
sme              1317 drivers/net/wireless/marvell/libertas/cfg.c 		sme->ssid, sme->ssid_len, IEEE80211_BSS_TYPE_ESS,
sme              1321 drivers/net/wireless/marvell/libertas/cfg.c 			  sme->bssid);
sme              1327 drivers/net/wireless/marvell/libertas/cfg.c 		      sme->crypto.cipher_group,
sme              1328 drivers/net/wireless/marvell/libertas/cfg.c 		      sme->key_idx, sme->key_len);
sme              1336 drivers/net/wireless/marvell/libertas/cfg.c 	switch (sme->crypto.cipher_group) {
sme              1340 drivers/net/wireless/marvell/libertas/cfg.c 		priv->wep_tx_key = sme->key_idx;
sme              1341 drivers/net/wireless/marvell/libertas/cfg.c 		priv->wep_key_len[sme->key_idx] = sme->key_len;
sme              1342 drivers/net/wireless/marvell/libertas/cfg.c 		memcpy(priv->wep_key[sme->key_idx], sme->key, sme->key_len);
sme              1375 drivers/net/wireless/marvell/libertas/cfg.c 		lbs_enable_rsn(priv, sme->crypto.cipher_group != 0);
sme              1379 drivers/net/wireless/marvell/libertas/cfg.c 			  sme->crypto.cipher_group);
sme              1384 drivers/net/wireless/marvell/libertas/cfg.c 	ret = lbs_set_authtype(priv, sme);
sme              1386 drivers/net/wireless/marvell/libertas/cfg.c 		wiphy_err(wiphy, "unsupported authtype 0x%x\n", sme->auth_type);
sme              1393 drivers/net/wireless/marvell/libertas/cfg.c 	ret = lbs_associate(priv, bss, sme);
sme              2182 drivers/net/wireless/marvell/mwifiex/cfg80211.c 		       struct cfg80211_connect_params *sme, bool privacy)
sme              2241 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	if (sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) {
sme              2245 drivers/net/wireless/marvell/mwifiex/cfg80211.c 		auth_type = sme->auth_type;
sme              2248 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	if (sme->crypto.n_ciphers_pairwise) {
sme              2250 drivers/net/wireless/marvell/mwifiex/cfg80211.c 						sme->crypto.ciphers_pairwise[0];
sme              2254 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	if (sme->crypto.cipher_group) {
sme              2255 drivers/net/wireless/marvell/mwifiex/cfg80211.c 		priv->sec_info.encryption_mode = sme->crypto.cipher_group;
sme              2258 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	if (sme->ie)
sme              2259 drivers/net/wireless/marvell/mwifiex/cfg80211.c 		ret = mwifiex_set_gen_ie(priv, sme->ie, sme->ie_len);
sme              2261 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	if (sme->key) {
sme              2265 drivers/net/wireless/marvell/mwifiex/cfg80211.c 				    "with key len %d\n", sme->key_len);
sme              2266 drivers/net/wireless/marvell/mwifiex/cfg80211.c 			priv->wep_key_curr_index = sme->key_idx;
sme              2267 drivers/net/wireless/marvell/mwifiex/cfg80211.c 			ret = mwifiex_set_encode(priv, NULL, sme->key,
sme              2268 drivers/net/wireless/marvell/mwifiex/cfg80211.c 						 sme->key_len, sme->key_idx,
sme              2339 drivers/net/wireless/marvell/mwifiex/cfg80211.c 			 struct cfg80211_connect_params *sme)
sme              2372 drivers/net/wireless/marvell/mwifiex/cfg80211.c 		    (int)sme->ssid_len, (char *)sme->ssid, sme->bssid);
sme              2377 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	ret = mwifiex_cfg80211_assoc(priv, sme->ssid_len, sme->ssid, sme->bssid,
sme              2378 drivers/net/wireless/marvell/mwifiex/cfg80211.c 				     priv->bss_mode, sme->channel, sme, 0);
sme               638 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 	     struct cfg80211_connect_params *sme)
sme               646 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 	if (sme->auth_type == NL80211_AUTHTYPE_SAE &&
sme               647 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 	    !(sme->flags & CONNECT_REQ_EXTERNAL_AUTH_SUPPORT)) {
sme               652 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 	if (sme->bssid)
sme               653 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 		ether_addr_copy(vif->bssid, sme->bssid);
sme               657 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 	ret = qtnf_cmd_send_connect(vif, sme);
sme              2194 drivers/net/wireless/quantenna/qtnfmac/commands.c 			  struct cfg80211_connect_params *sme)
sme              2213 drivers/net/wireless/quantenna/qtnfmac/commands.c 	if (sme->bssid_hint)
sme              2214 drivers/net/wireless/quantenna/qtnfmac/commands.c 		ether_addr_copy(cmd->bssid_hint, sme->bssid_hint);
sme              2218 drivers/net/wireless/quantenna/qtnfmac/commands.c 	if (sme->prev_bssid)
sme              2219 drivers/net/wireless/quantenna/qtnfmac/commands.c 		ether_addr_copy(cmd->prev_bssid, sme->prev_bssid);
sme              2223 drivers/net/wireless/quantenna/qtnfmac/commands.c 	if ((sme->bg_scan_period >= 0) &&
sme              2224 drivers/net/wireless/quantenna/qtnfmac/commands.c 	    (sme->bg_scan_period <= SHRT_MAX))
sme              2225 drivers/net/wireless/quantenna/qtnfmac/commands.c 		cmd->bg_scan_period = cpu_to_le16(sme->bg_scan_period);
sme              2229 drivers/net/wireless/quantenna/qtnfmac/commands.c 	if (sme->flags & ASSOC_REQ_DISABLE_HT)
sme              2231 drivers/net/wireless/quantenna/qtnfmac/commands.c 	if (sme->flags & ASSOC_REQ_DISABLE_VHT)
sme              2233 drivers/net/wireless/quantenna/qtnfmac/commands.c 	if (sme->flags & ASSOC_REQ_USE_RRM)
sme              2237 drivers/net/wireless/quantenna/qtnfmac/commands.c 	memcpy(&cmd->ht_capa, &sme->ht_capa, sizeof(cmd->ht_capa));
sme              2238 drivers/net/wireless/quantenna/qtnfmac/commands.c 	memcpy(&cmd->ht_capa_mask, &sme->ht_capa_mask,
sme              2240 drivers/net/wireless/quantenna/qtnfmac/commands.c 	memcpy(&cmd->vht_capa, &sme->vht_capa, sizeof(cmd->vht_capa));
sme              2241 drivers/net/wireless/quantenna/qtnfmac/commands.c 	memcpy(&cmd->vht_capa_mask, &sme->vht_capa_mask,
sme              2243 drivers/net/wireless/quantenna/qtnfmac/commands.c 	cmd->pbss = sme->pbss;
sme              2246 drivers/net/wireless/quantenna/qtnfmac/commands.c 	aen->auth_type = sme->auth_type;
sme              2247 drivers/net/wireless/quantenna/qtnfmac/commands.c 	aen->privacy = !!sme->privacy;
sme              2248 drivers/net/wireless/quantenna/qtnfmac/commands.c 	cmd->mfp = sme->mfp;
sme              2249 drivers/net/wireless/quantenna/qtnfmac/commands.c 	aen->wpa_versions = cpu_to_le32(sme->crypto.wpa_versions);
sme              2250 drivers/net/wireless/quantenna/qtnfmac/commands.c 	aen->cipher_group = cpu_to_le32(sme->crypto.cipher_group);
sme              2251 drivers/net/wireless/quantenna/qtnfmac/commands.c 	aen->n_ciphers_pairwise = cpu_to_le32(sme->crypto.n_ciphers_pairwise);
sme              2255 drivers/net/wireless/quantenna/qtnfmac/commands.c 			cpu_to_le32(sme->crypto.ciphers_pairwise[i]);
sme              2257 drivers/net/wireless/quantenna/qtnfmac/commands.c 	aen->n_akm_suites = cpu_to_le32(sme->crypto.n_akm_suites);
sme              2260 drivers/net/wireless/quantenna/qtnfmac/commands.c 		aen->akm_suites[i] = cpu_to_le32(sme->crypto.akm_suites[i]);
sme              2262 drivers/net/wireless/quantenna/qtnfmac/commands.c 	aen->control_port = sme->crypto.control_port;
sme              2264 drivers/net/wireless/quantenna/qtnfmac/commands.c 		sme->crypto.control_port_no_encrypt;
sme              2266 drivers/net/wireless/quantenna/qtnfmac/commands.c 		cpu_to_le16(be16_to_cpu(sme->crypto.control_port_ethertype));
sme              2268 drivers/net/wireless/quantenna/qtnfmac/commands.c 	qtnf_cmd_skb_put_tlv_arr(cmd_skb, WLAN_EID_SSID, sme->ssid,
sme              2269 drivers/net/wireless/quantenna/qtnfmac/commands.c 				 sme->ssid_len);
sme              2271 drivers/net/wireless/quantenna/qtnfmac/commands.c 	if (sme->ie_len != 0)
sme              2273 drivers/net/wireless/quantenna/qtnfmac/commands.c 					sme->ie, sme->ie_len);
sme              2275 drivers/net/wireless/quantenna/qtnfmac/commands.c 	if (sme->channel)
sme              2276 drivers/net/wireless/quantenna/qtnfmac/commands.c 		qtnf_cmd_channel_tlv_add(cmd_skb, sme->channel);
sme                53 drivers/net/wireless/quantenna/qtnfmac/commands.h 			  struct cfg80211_connect_params *sme);
sme               487 drivers/net/wireless/rndis_wlan.c 				struct cfg80211_connect_params *sme);
sme              2140 drivers/net/wireless/rndis_wlan.c 					struct cfg80211_connect_params *sme)
sme              2144 drivers/net/wireless/rndis_wlan.c 	struct ieee80211_channel *channel = sme->channel;
sme              2154 drivers/net/wireless/rndis_wlan.c 	groupwise = rndis_cipher_to_alg(sme->crypto.cipher_group);
sme              2155 drivers/net/wireless/rndis_wlan.c 	for (i = 0; i < sme->crypto.n_ciphers_pairwise; i++)
sme              2157 drivers/net/wireless/rndis_wlan.c 			rndis_cipher_to_alg(sme->crypto.ciphers_pairwise[i]);
sme              2159 drivers/net/wireless/rndis_wlan.c 	if (sme->crypto.n_ciphers_pairwise > 0 &&
sme              2165 drivers/net/wireless/rndis_wlan.c 	for (i = 0; i < sme->crypto.n_akm_suites; i++)
sme              2167 drivers/net/wireless/rndis_wlan.c 			rndis_akm_suite_to_key_mgmt(sme->crypto.akm_suites[i]);
sme              2169 drivers/net/wireless/rndis_wlan.c 	if (sme->crypto.n_akm_suites > 0 &&
sme              2176 drivers/net/wireless/rndis_wlan.c 		   sme->ssid, sme->bssid, chan,
sme              2177 drivers/net/wireless/rndis_wlan.c 		   sme->privacy, sme->crypto.wpa_versions, sme->auth_type,
sme              2190 drivers/net/wireless/rndis_wlan.c 	ret = set_auth_mode(usbdev, sme->crypto.wpa_versions, sme->auth_type,
sme              2216 drivers/net/wireless/rndis_wlan.c 	if (sme->key && ((groupwise | pairwise) & RNDIS_WLAN_ALG_WEP)) {
sme              2217 drivers/net/wireless/rndis_wlan.c 		priv->encr_tx_key_index = sme->key_idx;
sme              2218 drivers/net/wireless/rndis_wlan.c 		ret = add_wep_key(usbdev, sme->key, sme->key_len, sme->key_idx);
sme              2221 drivers/net/wireless/rndis_wlan.c 				   ret, sme->key_len, sme->key_idx);
sme              2226 drivers/net/wireless/rndis_wlan.c 	if (sme->bssid && !is_zero_ether_addr(sme->bssid) &&
sme              2227 drivers/net/wireless/rndis_wlan.c 				!is_broadcast_ether_addr(sme->bssid)) {
sme              2228 drivers/net/wireless/rndis_wlan.c 		ret = set_bssid(usbdev, sme->bssid);
sme              2237 drivers/net/wireless/rndis_wlan.c 	length = sme->ssid_len;
sme              2243 drivers/net/wireless/rndis_wlan.c 	memcpy(ssid.essid, sme->ssid, length);
sme               215 drivers/net/wireless/virt_wifi.c 			     struct cfg80211_connect_params *sme)
sme               227 drivers/net/wireless/virt_wifi.c 	if (sme->bssid)
sme               228 drivers/net/wireless/virt_wifi.c 		ether_addr_copy(priv->connect_requested_bss, sme->bssid);
sme              2050 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 				 struct cfg80211_connect_params *sme)
sme              2063 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		sme->privacy, sme->key, sme->key_len, sme->key_idx);
sme              2084 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	if (!sme->ssid || !sme->ssid_len)
sme              2090 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	if (sme->ssid_len > IW_ESSID_MAX_SIZE) {
sme              2097 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	ndis_ssid.SsidLength = sme->ssid_len;
sme              2098 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	memcpy(ndis_ssid.Ssid, (u8 *)sme->ssid, sme->ssid_len);
sme              2100 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	DBG_8192C("ssid =%s, len =%zu\n", ndis_ssid.Ssid, sme->ssid_len);
sme              2103 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	if (sme->bssid)
sme              2104 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		DBG_8192C("bssid ="MAC_FMT"\n", MAC_ARG(sme->bssid));
sme              2122 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	ret = rtw_cfg80211_set_wpa_version(psecuritypriv, sme->crypto.wpa_versions);
sme              2126 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	ret = rtw_cfg80211_set_auth_type(psecuritypriv, sme->auth_type);
sme              2131 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	DBG_8192C("%s, ie_len =%zu\n", __func__, sme->ie_len);
sme              2133 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	ret = rtw_cfg80211_set_wpa_ie(padapter, (u8 *)sme->ie, sme->ie_len);
sme              2137 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	if (sme->crypto.n_ciphers_pairwise) {
sme              2138 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		ret = rtw_cfg80211_set_cipher(psecuritypriv, sme->crypto.ciphers_pairwise[0], true);
sme              2145 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		|| psecuritypriv->dot11AuthAlgrthm == dot11AuthAlgrthm_Auto) && sme->key
sme              2152 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		wep_key_idx = sme->key_idx;
sme              2153 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		wep_key_len = sme->key_len;
sme              2155 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		if (sme->key_idx > WEP_KEYS) {
sme              2190 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		memcpy(pwep->KeyMaterial,  (void *)sme->key, pwep->KeyLength);
sme              2203 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	ret = rtw_cfg80211_set_cipher(psecuritypriv, sme->crypto.cipher_group, false);
sme              2207 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	if (sme->crypto.n_akm_suites) {
sme              2208 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		ret = rtw_cfg80211_set_key_mgt(psecuritypriv, sme->crypto.akm_suites[0]);
sme              2218 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	if (rtw_set_802_11_connect(padapter, (u8 *)sme->bssid, &ndis_ssid) == false) {
sme               266 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 		   struct cfg80211_connect_params *sme)
sme               285 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 	cipher_group = sme->crypto.cipher_group;
sme               290 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 			priv->wep_key_len[sme->key_idx] = sme->key_len;
sme               291 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 			memcpy(priv->wep_key[sme->key_idx], sme->key,
sme               292 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 			       sme->key_len);
sme               294 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 			wilc_set_wep_default_keyid(vif, sme->key_idx);
sme               295 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 			wilc_add_wep_key_bss_sta(vif, sme->key, sme->key_len,
sme               296 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 						 sme->key_idx);
sme               300 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 			priv->wep_key_len[sme->key_idx] = sme->key_len;
sme               301 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 			memcpy(priv->wep_key[sme->key_idx], sme->key,
sme               302 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 			       sme->key_len);
sme               304 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 			wilc_set_wep_default_keyid(vif, sme->key_idx);
sme               305 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 			wilc_add_wep_key_bss_sta(vif, sme->key, sme->key_len,
sme               306 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 						 sme->key_idx);
sme               307 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 		} else if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_2) {
sme               312 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 		} else if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_1) {
sme               325 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 	if ((sme->crypto.wpa_versions & NL80211_WPA_VERSION_1) ||
sme               326 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 	    (sme->crypto.wpa_versions & NL80211_WPA_VERSION_2)) {
sme               327 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 		for (i = 0; i < sme->crypto.n_ciphers_pairwise; i++) {
sme               328 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 			u32 ciphers_pairwise = sme->crypto.ciphers_pairwise[i];
sme               337 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 	switch (sme->auth_type) {
sme               350 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 	if (sme->crypto.n_akm_suites) {
sme               351 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 		if (sme->crypto.akm_suites[0] == WLAN_AKM_SUITE_8021X)
sme               361 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 	bss = cfg80211_get_bss(wiphy, sme->channel, sme->bssid, sme->ssid,
sme               362 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 			       sme->ssid_len, IEEE80211_BSS_TYPE_ANY,
sme               363 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 			       IEEE80211_PRIVACY(sme->privacy));
sme               374 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 	join_params = wilc_parse_join_bss_param(bss, &sme->crypto);
sme               396 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 	ret = wilc_set_join_req(vif, bss->bssid, sme->ie, sme->ie_len);
sme               434 drivers/staging/wlan-ng/cfg80211.c 			  struct cfg80211_connect_params *sme)
sme               437 drivers/staging/wlan-ng/cfg80211.c 	struct ieee80211_channel *channel = sme->channel;
sme               440 drivers/staging/wlan-ng/cfg80211.c 	int length = sme->ssid_len;
sme               442 drivers/staging/wlan-ng/cfg80211.c 	int is_wep = (sme->crypto.cipher_group == WLAN_CIPHER_SUITE_WEP40) ||
sme               443 drivers/staging/wlan-ng/cfg80211.c 	    (sme->crypto.cipher_group == WLAN_CIPHER_SUITE_WEP104);
sme               458 drivers/staging/wlan-ng/cfg80211.c 	if ((sme->auth_type == NL80211_AUTHTYPE_OPEN_SYSTEM) ||
sme               459 drivers/staging/wlan-ng/cfg80211.c 	    ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && !is_wep))
sme               461 drivers/staging/wlan-ng/cfg80211.c 	else if ((sme->auth_type == NL80211_AUTHTYPE_SHARED_KEY) ||
sme               462 drivers/staging/wlan-ng/cfg80211.c 		 ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && is_wep))
sme               467 drivers/staging/wlan-ng/cfg80211.c 			    sme->auth_type);
sme               471 drivers/staging/wlan-ng/cfg80211.c 		if (sme->key) {
sme               472 drivers/staging/wlan-ng/cfg80211.c 			if (sme->key_idx >= NUM_WEPKEYS)
sme               477 drivers/staging/wlan-ng/cfg80211.c 				sme->key_idx);
sme               483 drivers/staging/wlan-ng/cfg80211.c 					sme->key_idx + 1);
sme               485 drivers/staging/wlan-ng/cfg80211.c 							did, sme->key_len,
sme               486 drivers/staging/wlan-ng/cfg80211.c 							(u8 *)sme->key);
sme               529 drivers/staging/wlan-ng/cfg80211.c 	memcpy(msg_join.ssid.data.data, sme->ssid, length);
sme              3743 include/net/cfg80211.h 			   struct cfg80211_connect_params *sme);
sme              3746 include/net/cfg80211.h 					 struct cfg80211_connect_params *sme,
sme               485 net/wireless/rdev-ops.h 			       struct cfg80211_connect_params *sme)
sme               488 net/wireless/rdev-ops.h 	trace_rdev_connect(&rdev->wiphy, dev, sme);
sme               489 net/wireless/rdev-ops.h 	ret = rdev->ops->connect(&rdev->wiphy, dev, sme);
sme               497 net/wireless/rdev-ops.h 			   struct cfg80211_connect_params *sme, u32 changed)
sme               500 net/wireless/rdev-ops.h 	trace_rdev_update_connect_params(&rdev->wiphy, dev, sme, changed);
sme               501 net/wireless/rdev-ops.h 	ret = rdev->ops->update_connect_params(&rdev->wiphy, dev, sme, changed);
sme              1291 net/wireless/trace.h 		 struct cfg80211_connect_params *sme),
sme              1292 net/wireless/trace.h 	TP_ARGS(wiphy, netdev, sme),
sme              1307 net/wireless/trace.h 		MAC_ASSIGN(bssid, sme->bssid);
sme              1309 net/wireless/trace.h 		memcpy(__entry->ssid, sme->ssid, sme->ssid_len);
sme              1310 net/wireless/trace.h 		__entry->auth_type = sme->auth_type;
sme              1311 net/wireless/trace.h 		__entry->privacy = sme->privacy;
sme              1312 net/wireless/trace.h 		__entry->wpa_versions = sme->crypto.wpa_versions;
sme              1313 net/wireless/trace.h 		__entry->flags = sme->flags;
sme              1314 net/wireless/trace.h 		MAC_ASSIGN(prev_bssid, sme->prev_bssid);
sme              1326 net/wireless/trace.h 		 struct cfg80211_connect_params *sme, u32 changed),
sme              1327 net/wireless/trace.h 	TP_ARGS(wiphy, netdev, sme, changed),