Searched refs:wpa_versions (Results 1 – 14 of 14) sorted by relevance
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | uap_cmd.c | 52 if (params->crypto.wpa_versions & in mwifiex_set_secure_params() 57 if (params->crypto.wpa_versions & in mwifiex_set_secure_params() 64 if (params->crypto.wpa_versions & in mwifiex_set_secure_params() 69 if (params->crypto.wpa_versions & in mwifiex_set_secure_params() 85 if (params->crypto.wpa_versions & NL80211_WPA_VERSION_1) in mwifiex_set_secure_params() 88 if (params->crypto.wpa_versions & NL80211_WPA_VERSION_2) in mwifiex_set_secure_params() 93 if (params->crypto.wpa_versions & NL80211_WPA_VERSION_1) in mwifiex_set_secure_params() 96 if (params->crypto.wpa_versions & NL80211_WPA_VERSION_2) in mwifiex_set_secure_params()
|
/openbmc/linux/net/wireless/ |
H A D | wext-compat.c | 1047 static int cfg80211_set_wpa_version(struct wireless_dev *wdev, u32 wpa_versions) in cfg80211_set_wpa_version() argument 1049 if (wpa_versions & ~(IW_AUTH_WPA_VERSION_WPA | in cfg80211_set_wpa_version() 1054 if ((wpa_versions & IW_AUTH_WPA_VERSION_DISABLED) && in cfg80211_set_wpa_version() 1055 (wpa_versions & (IW_AUTH_WPA_VERSION_WPA| in cfg80211_set_wpa_version() 1059 if (wpa_versions & IW_AUTH_WPA_VERSION_DISABLED) in cfg80211_set_wpa_version() 1060 wdev->wext.connect.crypto.wpa_versions &= in cfg80211_set_wpa_version() 1063 if (wpa_versions & IW_AUTH_WPA_VERSION_WPA) in cfg80211_set_wpa_version() 1064 wdev->wext.connect.crypto.wpa_versions |= in cfg80211_set_wpa_version() 1067 if (wpa_versions & IW_AUTH_WPA_VERSION_WPA2) in cfg80211_set_wpa_version() 1068 wdev->wext.connect.crypto.wpa_versions |= in cfg80211_set_wpa_version()
|
H A D | trace.h | 597 __entry->wpa_ver = settings->crypto.wpa_versions; 1413 __field(u32, wpa_versions) 1425 __entry->wpa_versions = sme->crypto.wpa_versions; 1434 __entry->wpa_versions, __entry->flags, __entry->prev_bssid)
|
H A D | nl80211.c | 10684 static bool nl80211_valid_wpa_versions(u32 wpa_versions) in nl80211_valid_wpa_versions() argument 10686 return !(wpa_versions & ~(NL80211_WPA_VERSION_1 | in nl80211_valid_wpa_versions() 10919 settings->wpa_versions = in nl80211_crypto_settings() 10921 if (!nl80211_valid_wpa_versions(settings->wpa_versions)) in nl80211_crypto_settings()
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | cfg80211.h | 118 u32 wpa_versions; member
|
H A D | cfg80211.c | 1947 if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_1) in brcmf_set_wpa_version() 1949 else if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_2) in brcmf_set_wpa_version() 1951 else if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_3) in brcmf_set_wpa_version() 1962 sec->wpa_versions = sme->crypto.wpa_versions; in brcmf_set_wpa_version() 2249 sec->wpa_versions, sec->cipher_pairwise); in brcmf_set_sharedkey() 2251 if (sec->wpa_versions & (NL80211_WPA_VERSION_1 | NL80211_WPA_VERSION_2 | in brcmf_set_sharedkey()
|
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/ |
H A D | cfg80211.c | 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()
|
/openbmc/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | cfg80211.c | 546 ath6kl_set_wpa_version(vif, sme->crypto.wpa_versions); in ath6kl_cfg80211_connect() 2827 if (info->crypto.wpa_versions & NL80211_WPA_VERSION_1) in ath6kl_start_ap() 2829 if (info->crypto.wpa_versions & NL80211_WPA_VERSION_2) in ath6kl_start_ap() 2833 if (info->crypto.wpa_versions & NL80211_WPA_VERSION_1) in ath6kl_start_ap() 2835 if (info->crypto.wpa_versions & NL80211_WPA_VERSION_2) in ath6kl_start_ap()
|
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/ |
H A D | commands.c | 278 aen->wpa_versions = cpu_to_le32(s->crypto.wpa_versions); in qtnf_cmd_send_start_ap() 2131 aen->wpa_versions = cpu_to_le32(sme->crypto.wpa_versions); in qtnf_cmd_send_connect()
|
H A D | qlink.h | 196 __le32 wpa_versions; member
|
/openbmc/linux/drivers/net/wireless/legacy/ |
H A D | rndis_wlan.c | 2164 sme->privacy, sme->crypto.wpa_versions, sme->auth_type, in rndis_connect() 2177 ret = set_auth_mode(usbdev, sme->crypto.wpa_versions, sme->auth_type, in rndis_connect()
|
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/ |
H A D | ioctl_cfg80211.c | 1691 ret = rtw_cfg80211_set_wpa_version(psecuritypriv, sme->crypto.wpa_versions); in cfg80211_rtw_connect()
|
/openbmc/linux/include/net/ |
H A D | cfg80211.h | 1146 u32 wpa_versions; member
|
/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H A D | cfg80211.c | 1068 c->wpa_versions, c->cipher_group); in wil_print_crypto()
|