Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
1065 struct cfg80211_connect_params *sme) in lbs_associate() argument
1127 pos += lbs_add_auth_type_tlv(pos, sme->auth_type); in lbs_associate()
1130 if (sme->ie && sme->ie_len) in lbs_associate()
1131 pos += lbs_add_wpa_tlv(pos, sme->ie, sme->ie_len); in lbs_associate()
1206 sme->ie, sme->ie_len, in lbs_associate()
1225 _new_connect_scan_req(struct wiphy *wiphy, struct cfg80211_connect_params *sme) in _new_connect_scan_req() argument
[all …]
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/
Dcfg80211.c433 struct cfg80211_connect_params *sme) in prism2_connect() argument
436 struct ieee80211_channel *channel = sme->channel; in prism2_connect()
439 int length = sme->ssid_len; in prism2_connect()
441 int is_wep = (sme->crypto.cipher_group == WLAN_CIPHER_SUITE_WEP40) || in prism2_connect()
442 (sme->crypto.cipher_group == WLAN_CIPHER_SUITE_WEP104); in prism2_connect()
457 if ((sme->auth_type == NL80211_AUTHTYPE_OPEN_SYSTEM) || in prism2_connect()
458 ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && !is_wep)) in prism2_connect()
460 else if ((sme->auth_type == NL80211_AUTHTYPE_SHARED_KEY) || in prism2_connect()
461 ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && is_wep)) in prism2_connect()
466 sme->auth_type); in prism2_connect()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/
Dcfg80211.c300 struct cfg80211_connect_params *sme) in connect() argument
319 cipher_group = sme->crypto.cipher_group; in connect()
324 priv->wep_key_len[sme->key_idx] = sme->key_len; in connect()
325 memcpy(priv->wep_key[sme->key_idx], sme->key, in connect()
326 sme->key_len); in connect()
328 wilc_set_wep_default_keyid(vif, sme->key_idx); in connect()
329 wilc_add_wep_key_bss_sta(vif, sme->key, sme->key_len, in connect()
330 sme->key_idx); in connect()
334 priv->wep_key_len[sme->key_idx] = sme->key_len; in connect()
335 memcpy(priv->wep_key[sme->key_idx], sme->key, in connect()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/
Dcfg80211.c1083 struct cfg80211_connect_params *sme) in wil_print_connect_params() argument
1086 if (sme->channel) { in wil_print_connect_params()
1088 sme->channel->hw_value, sme->channel->center_freq); in wil_print_connect_params()
1090 if (sme->bssid) in wil_print_connect_params()
1091 wil_info(wil, " BSSID: %pM\n", sme->bssid); in wil_print_connect_params()
1092 if (sme->ssid) in wil_print_connect_params()
1094 16, 1, sme->ssid, sme->ssid_len, true); in wil_print_connect_params()
1095 if (sme->prev_bssid) in wil_print_connect_params()
1096 wil_info(wil, " Previous BSSID=%pM\n", sme->prev_bssid); in wil_print_connect_params()
1098 wil_get_auth_type_name(sme->auth_type)); in wil_print_connect_params()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/
Dcommands.c2106 struct cfg80211_connect_params *sme) in qtnf_cmd_send_connect() argument
2125 if (sme->bssid_hint) in qtnf_cmd_send_connect()
2126 ether_addr_copy(cmd->bssid_hint, sme->bssid_hint); in qtnf_cmd_send_connect()
2130 if (sme->prev_bssid) in qtnf_cmd_send_connect()
2131 ether_addr_copy(cmd->prev_bssid, sme->prev_bssid); in qtnf_cmd_send_connect()
2135 if ((sme->bg_scan_period >= 0) && in qtnf_cmd_send_connect()
2136 (sme->bg_scan_period <= SHRT_MAX)) in qtnf_cmd_send_connect()
2137 cmd->bg_scan_period = cpu_to_le16(sme->bg_scan_period); in qtnf_cmd_send_connect()
2141 if (sme->flags & ASSOC_REQ_DISABLE_HT) in qtnf_cmd_send_connect()
2143 if (sme->flags & ASSOC_REQ_DISABLE_VHT) in qtnf_cmd_send_connect()
[all …]
Dcfg80211.c663 struct cfg80211_connect_params *sme) in qtnf_connect() argument
671 if (sme->auth_type == NL80211_AUTHTYPE_SAE && in qtnf_connect()
672 !(sme->flags & CONNECT_REQ_EXTERNAL_AUTH_SUPPORT)) { in qtnf_connect()
677 if (sme->bssid) in qtnf_connect()
678 ether_addr_copy(vif->bssid, sme->bssid); in qtnf_connect()
682 ret = qtnf_cmd_send_connect(vif, sme); in qtnf_connect()
Dcommands.h53 struct cfg80211_connect_params *sme);
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c1604 struct cfg80211_connect_params *sme) in brcmf_set_wpa_version() argument
1613 if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_1) in brcmf_set_wpa_version()
1615 else if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_2) in brcmf_set_wpa_version()
1617 else if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_3) in brcmf_set_wpa_version()
1628 sec->wpa_versions = sme->crypto.wpa_versions; in brcmf_set_wpa_version()
1633 struct cfg80211_connect_params *sme) in brcmf_set_auth_type() argument
1642 switch (sme->auth_type) { in brcmf_set_auth_type()
1657 brcmf_dbg(CONN, "automatic, auth type (%d)\n", sme->auth_type); in brcmf_set_auth_type()
1667 sec->auth_type = sme->auth_type; in brcmf_set_auth_type()
1673 struct cfg80211_connect_params *sme) in brcmf_set_wsec_mode() argument
[all …]
/kernel/linux/linux-5.10/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.h498 struct cfg80211_connect_params *sme) in rdev_connect() argument
501 trace_rdev_connect(&rdev->wiphy, dev, sme); in rdev_connect()
502 ret = rdev->ops->connect(&rdev->wiphy, dev, sme); in rdev_connect()
510 struct cfg80211_connect_params *sme, u32 changed) in rdev_update_connect_params() argument
513 trace_rdev_update_connect_params(&rdev->wiphy, dev, sme, changed); in rdev_update_connect_params()
514 ret = rdev->ops->update_connect_params(&rdev->wiphy, dev, sme, changed); in rdev_update_connect_params()
Dtrace.h1321 struct cfg80211_connect_params *sme),
1322 TP_ARGS(wiphy, netdev, sme),
1337 MAC_ASSIGN(bssid, sme->bssid);
1339 memcpy(__entry->ssid, sme->ssid, sme->ssid_len);
1340 __entry->auth_type = sme->auth_type;
1341 __entry->privacy = sme->privacy;
1342 __entry->wpa_versions = sme->crypto.wpa_versions;
1343 __entry->flags = sme->flags;
1344 MAC_ASSIGN(prev_bssid, sme->prev_bssid);
1356 struct cfg80211_connect_params *sme, u32 changed),
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c2028 struct cfg80211_connect_params *sme) in cfg80211_rtw_connect() argument
2041 sme->privacy, sme->key, sme->key_len, sme->key_idx); in cfg80211_rtw_connect()
2062 if (!sme->ssid || !sme->ssid_len) in cfg80211_rtw_connect()
2068 if (sme->ssid_len > IW_ESSID_MAX_SIZE) { in cfg80211_rtw_connect()
2075 ndis_ssid.SsidLength = sme->ssid_len; in cfg80211_rtw_connect()
2076 memcpy(ndis_ssid.Ssid, (u8 *)sme->ssid, sme->ssid_len); in cfg80211_rtw_connect()
2078 DBG_8192C("ssid =%s, len =%zu\n", ndis_ssid.Ssid, sme->ssid_len); in cfg80211_rtw_connect()
2081 if (sme->bssid) in cfg80211_rtw_connect()
2082 DBG_8192C("bssid ="MAC_FMT"\n", MAC_ARG(sme->bssid)); in cfg80211_rtw_connect()
2100 ret = rtw_cfg80211_set_wpa_version(psecuritypriv, sme->crypto.wpa_versions); in cfg80211_rtw_connect()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dcfg80211.c2166 struct cfg80211_connect_params *sme, bool privacy) in mwifiex_cfg80211_assoc() argument
2225 if (sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in mwifiex_cfg80211_assoc()
2229 auth_type = sme->auth_type; in mwifiex_cfg80211_assoc()
2232 if (sme->crypto.n_ciphers_pairwise) { in mwifiex_cfg80211_assoc()
2234 sme->crypto.ciphers_pairwise[0]; in mwifiex_cfg80211_assoc()
2238 if (sme->crypto.cipher_group) { in mwifiex_cfg80211_assoc()
2239 priv->sec_info.encryption_mode = sme->crypto.cipher_group; in mwifiex_cfg80211_assoc()
2242 if (sme->ie) in mwifiex_cfg80211_assoc()
2243 ret = mwifiex_set_gen_ie(priv, sme->ie, sme->ie_len); in mwifiex_cfg80211_assoc()
2245 if (sme->key) { in mwifiex_cfg80211_assoc()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/
Despi.c85 int i, sme = 1; in tricn_init() local
94 if (sme) { in tricn_init()
/kernel/linux/linux-5.10/include/net/
Dcfg80211.h4039 struct cfg80211_connect_params *sme);
4042 struct cfg80211_connect_params *sme,
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch59874 diff --git a/net/wireless/wext-sme.c b/net/wireless/wext-sme.c
59876 --- a/net/wireless/wext-sme.c
59877 +++ b/net/wireless/wext-sme.c
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch364602 diff --git a/net/wireless/wext-sme.c b/net/wireless/wext-sme.c
364604 --- a/net/wireless/wext-sme.c
364605 +++ b/net/wireless/wext-sme.c