Home
last modified time | relevance | path

Searched refs:sme (Results 1 – 25 of 25) sorted by relevance

/linux-6.1.9/drivers/net/wireless/marvell/libertas/
Dcfg.c1020 struct cfg80211_connect_params *sme) in lbs_set_authtype() argument
1036 if (sme->bssid) in lbs_set_authtype()
1037 memcpy(cmd.bssid, sme->bssid, ETH_ALEN); in lbs_set_authtype()
1039 ret = lbs_auth_to_authtype(sme->auth_type); in lbs_set_authtype()
1064 struct cfg80211_connect_params *sme) in lbs_associate() argument
1126 pos += lbs_add_auth_type_tlv(pos, sme->auth_type); in lbs_associate()
1129 if (sme->ie && sme->ie_len) in lbs_associate()
1130 pos += lbs_add_wpa_tlv(pos, sme->ie, sme->ie_len); in lbs_associate()
1204 sme->ie, sme->ie_len, in lbs_associate()
1223 _new_connect_scan_req(struct wiphy *wiphy, struct cfg80211_connect_params *sme) in _new_connect_scan_req() argument
[all …]
/linux-6.1.9/drivers/staging/wlan-ng/
Dcfg80211.c438 struct cfg80211_connect_params *sme) in prism2_connect() argument
441 struct ieee80211_channel *channel = sme->channel; in prism2_connect()
444 int length = sme->ssid_len; in prism2_connect()
446 int is_wep = (sme->crypto.cipher_group == WLAN_CIPHER_SUITE_WEP40) || in prism2_connect()
447 (sme->crypto.cipher_group == WLAN_CIPHER_SUITE_WEP104); in prism2_connect()
462 if ((sme->auth_type == NL80211_AUTHTYPE_OPEN_SYSTEM) || in prism2_connect()
463 ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && !is_wep)) in prism2_connect()
465 else if ((sme->auth_type == NL80211_AUTHTYPE_SHARED_KEY) || in prism2_connect()
466 ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && is_wep)) in prism2_connect()
471 sme->auth_type); in prism2_connect()
[all …]
/linux-6.1.9/drivers/net/wireless/ath/wil6210/
Dcfg80211.c1107 struct cfg80211_connect_params *sme) in wil_print_connect_params() argument
1110 if (sme->channel) { in wil_print_connect_params()
1112 sme->channel->hw_value, sme->channel->center_freq); in wil_print_connect_params()
1114 if (sme->bssid) in wil_print_connect_params()
1115 wil_info(wil, " BSSID: %pM\n", sme->bssid); in wil_print_connect_params()
1116 if (sme->ssid) in wil_print_connect_params()
1118 16, 1, sme->ssid, sme->ssid_len, true); in wil_print_connect_params()
1119 if (sme->prev_bssid) in wil_print_connect_params()
1120 wil_info(wil, " Previous BSSID=%pM\n", sme->prev_bssid); in wil_print_connect_params()
1122 wil_get_auth_type_name(sme->auth_type)); in wil_print_connect_params()
[all …]
/linux-6.1.9/drivers/net/wireless/microchip/wilc1000/
Dcfg80211.c302 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()
[all …]
/linux-6.1.9/tools/testing/selftests/arm64/fp/
DMakefile13 rdvl-sme rdvl-sve \
28 $(OUTPUT)/rdvl-sme: rdvl-sme.c $(OUTPUT)/rdvl.o
D.gitignore4 rdvl-sme
/linux-6.1.9/drivers/net/wireless/quantenna/qtnfmac/
Dcommands.c2074 struct cfg80211_connect_params *sme) in qtnf_cmd_send_connect() argument
2094 if (sme->bssid_hint) in qtnf_cmd_send_connect()
2095 ether_addr_copy(cmd->bssid_hint, sme->bssid_hint); in qtnf_cmd_send_connect()
2099 if (sme->prev_bssid) in qtnf_cmd_send_connect()
2100 ether_addr_copy(cmd->prev_bssid, sme->prev_bssid); in qtnf_cmd_send_connect()
2104 if ((sme->bg_scan_period >= 0) && in qtnf_cmd_send_connect()
2105 (sme->bg_scan_period <= SHRT_MAX)) in qtnf_cmd_send_connect()
2106 cmd->bg_scan_period = cpu_to_le16(sme->bg_scan_period); in qtnf_cmd_send_connect()
2110 if (sme->flags & ASSOC_REQ_DISABLE_HT) in qtnf_cmd_send_connect()
2112 if (sme->flags & ASSOC_REQ_DISABLE_VHT) in qtnf_cmd_send_connect()
[all …]
Dcfg80211.c666 struct cfg80211_connect_params *sme) in qtnf_connect() argument
674 if (sme->auth_type == NL80211_AUTHTYPE_SAE && in qtnf_connect()
675 !(sme->flags & CONNECT_REQ_EXTERNAL_AUTH_SUPPORT)) { in qtnf_connect()
680 if (sme->bssid) in qtnf_connect()
681 ether_addr_copy(vif->bssid, sme->bssid); in qtnf_connect()
685 ret = qtnf_cmd_send_connect(vif, sme); in qtnf_connect()
Dcommands.h53 struct cfg80211_connect_params *sme);
/linux-6.1.9/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c455 struct cfg80211_connect_params *sme) in ath6kl_cfg80211_connect() argument
476 ((sme->channel && sme->channel->center_freq == 0) || in ath6kl_cfg80211_connect()
477 (sme->bssid && is_zero_ether_addr(sme->bssid)))) { in ath6kl_cfg80211_connect()
507 status = ath6kl_set_assoc_req_ies(vif, sme->ie, sme->ie_len); in ath6kl_cfg80211_connect()
513 if (sme->ie == NULL || sme->ie_len == 0) in ath6kl_cfg80211_connect()
517 vif->ssid_len == sme->ssid_len && in ath6kl_cfg80211_connect()
518 !memcmp(vif->ssid, sme->ssid, vif->ssid_len)) { in ath6kl_cfg80211_connect()
530 } else if (vif->ssid_len == sme->ssid_len && in ath6kl_cfg80211_connect()
531 !memcmp(vif->ssid, sme->ssid, vif->ssid_len)) { in ath6kl_cfg80211_connect()
536 vif->ssid_len = sme->ssid_len; in ath6kl_cfg80211_connect()
[all …]
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c1605 struct cfg80211_connect_params *sme) in brcmf_set_wpa_version() argument
1614 if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_1) in brcmf_set_wpa_version()
1616 else if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_2) in brcmf_set_wpa_version()
1618 else if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_3) in brcmf_set_wpa_version()
1629 sec->wpa_versions = sme->crypto.wpa_versions; in brcmf_set_wpa_version()
1634 struct cfg80211_connect_params *sme) in brcmf_set_auth_type() argument
1643 switch (sme->auth_type) { in brcmf_set_auth_type()
1658 brcmf_dbg(CONN, "automatic, auth type (%d)\n", sme->auth_type); in brcmf_set_auth_type()
1668 sec->auth_type = sme->auth_type; in brcmf_set_auth_type()
1674 struct cfg80211_connect_params *sme) in brcmf_set_wsec_mode() argument
[all …]
/linux-6.1.9/net/wireless/
DMakefile14 cfg80211-y += mlme.o ibss.o sme.o chan.o ethtool.o mesh.o ap.o trace.o ocb.o
18 cfg80211-$(CONFIG_CFG80211_WEXT) += wext-compat.o wext-sme.o
Drdev-ops.h510 struct cfg80211_connect_params *sme) in rdev_connect() argument
513 trace_rdev_connect(&rdev->wiphy, dev, sme); in rdev_connect()
514 ret = rdev->ops->connect(&rdev->wiphy, dev, sme); in rdev_connect()
522 struct cfg80211_connect_params *sme, u32 changed) in rdev_update_connect_params() argument
525 trace_rdev_update_connect_params(&rdev->wiphy, dev, sme, changed); in rdev_update_connect_params()
526 ret = rdev->ops->update_connect_params(&rdev->wiphy, dev, sme, changed); in rdev_update_connect_params()
Dtrace.h1391 struct cfg80211_connect_params *sme),
1392 TP_ARGS(wiphy, netdev, sme),
1407 MAC_ASSIGN(bssid, sme->bssid);
1409 memcpy(__entry->ssid, sme->ssid, sme->ssid_len);
1410 __entry->auth_type = sme->auth_type;
1411 __entry->privacy = sme->privacy;
1412 __entry->wpa_versions = sme->crypto.wpa_versions;
1413 __entry->flags = sme->flags;
1414 MAC_ASSIGN(prev_bssid, sme->prev_bssid);
1426 struct cfg80211_connect_params *sme, u32 changed),
[all …]
/linux-6.1.9/drivers/net/wireless/
Drndis_wlan.c481 struct cfg80211_connect_params *sme);
2127 struct cfg80211_connect_params *sme) in rndis_connect() argument
2131 struct ieee80211_channel *channel = sme->channel; in rndis_connect()
2141 groupwise = rndis_cipher_to_alg(sme->crypto.cipher_group); in rndis_connect()
2142 for (i = 0; i < sme->crypto.n_ciphers_pairwise; i++) in rndis_connect()
2144 rndis_cipher_to_alg(sme->crypto.ciphers_pairwise[i]); in rndis_connect()
2146 if (sme->crypto.n_ciphers_pairwise > 0 && in rndis_connect()
2152 for (i = 0; i < sme->crypto.n_akm_suites; i++) in rndis_connect()
2154 rndis_akm_suite_to_key_mgmt(sme->crypto.akm_suites[i]); in rndis_connect()
2156 if (sme->crypto.n_akm_suites > 0 && in rndis_connect()
[all …]
Dvirt_wifi.c224 struct cfg80211_connect_params *sme) in virt_wifi_connect() argument
236 if (sme->bssid) { in virt_wifi_connect()
237 ether_addr_copy(priv->connect_requested_bss, sme->bssid); in virt_wifi_connect()
/linux-6.1.9/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c1659 struct cfg80211_connect_params *sme) in cfg80211_rtw_connect() argument
1687 if (!sme->ssid || !sme->ssid_len) { in cfg80211_rtw_connect()
1692 if (sme->ssid_len > IW_ESSID_MAX_SIZE) { in cfg80211_rtw_connect()
1699 ndis_ssid.ssid_length = sme->ssid_len; in cfg80211_rtw_connect()
1700 memcpy(ndis_ssid.ssid, (u8 *)sme->ssid, sme->ssid_len); in cfg80211_rtw_connect()
1715 ret = rtw_cfg80211_set_wpa_version(psecuritypriv, sme->crypto.wpa_versions); in cfg80211_rtw_connect()
1719 ret = rtw_cfg80211_set_auth_type(psecuritypriv, sme->auth_type); in cfg80211_rtw_connect()
1724 ret = rtw_cfg80211_set_wpa_ie(padapter, (u8 *)sme->ie, sme->ie_len); in cfg80211_rtw_connect()
1728 if (sme->crypto.n_ciphers_pairwise) { in cfg80211_rtw_connect()
1729 ret = rtw_cfg80211_set_cipher(psecuritypriv, sme->crypto.ciphers_pairwise[0], true); in cfg80211_rtw_connect()
[all …]
/linux-6.1.9/Documentation/arm64/
Dindex.rst24 sme
Delf_hwcaps.rst246 by Documentation/arm64/sme.rst.
Dsme.rst27 described in this document. SME is reported in /proc/cpuinfo as "sme".
Dsve.rst65 separate SME vector length and the same Z/V registers. See sme.rst
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Dcfg80211.c2232 struct cfg80211_connect_params *sme, bool privacy, in mwifiex_cfg80211_assoc() argument
2292 if (sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in mwifiex_cfg80211_assoc()
2296 auth_type = sme->auth_type; in mwifiex_cfg80211_assoc()
2299 if (sme->crypto.n_ciphers_pairwise) { in mwifiex_cfg80211_assoc()
2301 sme->crypto.ciphers_pairwise[0]; in mwifiex_cfg80211_assoc()
2305 if (sme->crypto.cipher_group) { in mwifiex_cfg80211_assoc()
2306 priv->sec_info.encryption_mode = sme->crypto.cipher_group; in mwifiex_cfg80211_assoc()
2309 if (sme->ie) in mwifiex_cfg80211_assoc()
2310 ret = mwifiex_set_gen_ie(priv, sme->ie, sme->ie_len); in mwifiex_cfg80211_assoc()
2312 if (sme->key) { in mwifiex_cfg80211_assoc()
[all …]
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb/
Despi.c76 int i, sme = 1; in tricn_init() local
85 if (sme) { in tricn_init()
/linux-6.1.9/tools/arch/x86/kcpuid/
Dcpuid.csv393 0x8000001F, 0, EAX, 0, sme, Secure Memory Encryption
/linux-6.1.9/include/net/
Dcfg80211.h4408 struct cfg80211_connect_params *sme);
4411 struct cfg80211_connect_params *sme,