Home
last modified time | relevance | path

Searched refs:wpa_ielen (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_ieee80211.c927 uint wpa_ielen; in rtw_get_cipher_info() local
932 pbuf = rtw_get_wpa_ie(&pnetwork->network.ies[12], &wpa_ielen, pnetwork->network.ie_length - 12); in rtw_get_cipher_info()
934 if (pbuf && (wpa_ielen > 0)) { in rtw_get_cipher_info()
935 RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("%s: wpa_ielen: %d", __func__, wpa_ielen)); in rtw_get_cipher_info()
936 …if (_SUCCESS == rtw_parse_wpa_ie(pbuf, wpa_ielen + 2, &group_cipher, &pairwise_cipher, &is8021x)) { in rtw_get_cipher_info()
945 pbuf = rtw_get_wpa2_ie(&pnetwork->network.ies[12], &wpa_ielen, pnetwork->network.ie_length - 12); in rtw_get_cipher_info()
947 if (pbuf && (wpa_ielen > 0)) { in rtw_get_cipher_info()
949 …if (_SUCCESS == rtw_parse_wpa2_ie(pbuf, wpa_ielen + 2, &group_cipher, &pairwise_cipher, &is8021x))… in rtw_get_cipher_info()
Drtw_wlan_util.c847 u32 wpa_ielen = 0; in rtw_check_bcn_info() local
995 pbuf = rtw_get_wpa_ie(&bssid->ies[12], &wpa_ielen, bssid->ie_length-12); in rtw_check_bcn_info()
996 if (pbuf && (wpa_ielen > 0)) { in rtw_check_bcn_info()
997 … if (_SUCCESS == rtw_parse_wpa_ie(pbuf, wpa_ielen+2, &group_cipher, &pairwise_cipher, &is_8021x)) { in rtw_check_bcn_info()
1003 pbuf = rtw_get_wpa2_ie(&bssid->ies[12], &wpa_ielen, bssid->ie_length-12); in rtw_check_bcn_info()
1005 if (pbuf && (wpa_ielen > 0)) { in rtw_check_bcn_info()
1006 …if (_SUCCESS == rtw_parse_wpa2_ie(pbuf, wpa_ielen+2, &group_cipher, &pairwise_cipher, &is_8021x)) { in rtw_check_bcn_info()
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_ieee80211.c1136 u32 wpa_ielen; in rtw_get_cipher_info() local
1141 pbuf = rtw_get_wpa_ie(&pnetwork->network.IEs[12], &wpa_ielen, pnetwork->network.IELength-12); in rtw_get_cipher_info()
1143 if (pbuf && (wpa_ielen > 0)) { in rtw_get_cipher_info()
1144 RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("rtw_get_cipher_info: wpa_ielen: %d", wpa_ielen)); in rtw_get_cipher_info()
1145 if (_SUCCESS == rtw_parse_wpa_ie(pbuf, wpa_ielen+2, &group_cipher, &pairwise_cipher, &is8021x)) { in rtw_get_cipher_info()
1154 pbuf = rtw_get_wpa2_ie(&pnetwork->network.IEs[12], &wpa_ielen, pnetwork->network.IELength-12); in rtw_get_cipher_info()
1156 if (pbuf && (wpa_ielen > 0)) { in rtw_get_cipher_info()
1158 … if (_SUCCESS == rtw_parse_wpa2_ie(pbuf, wpa_ielen+2, &group_cipher, &pairwise_cipher, &is8021x)) { in rtw_get_cipher_info()
Drtw_wlan_util.c1292 u32 wpa_ielen = 0; in rtw_check_bcn_info() local
1455 pbuf = rtw_get_wpa_ie(&bssid->IEs[12], &wpa_ielen, bssid->IELength-12); in rtw_check_bcn_info()
1456 if (pbuf && (wpa_ielen > 0)) { in rtw_check_bcn_info()
1457 … if (_SUCCESS == rtw_parse_wpa_ie(pbuf, wpa_ielen+2, &group_cipher, &pairwise_cipher, &is_8021x)) { in rtw_check_bcn_info()
1463 pbuf = rtw_get_wpa2_ie(&bssid->IEs[12], &wpa_ielen, bssid->IELength-12); in rtw_check_bcn_info()
1465 if (pbuf && (wpa_ielen > 0)) { in rtw_check_bcn_info()
1466 …if (_SUCCESS == rtw_parse_wpa2_ie(pbuf, wpa_ielen+2, &group_cipher, &pairwise_cipher, &is_8021x)) { in rtw_check_bcn_info()
/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c1951 u32 cnt = 0, wpa_ielen; in r871x_get_ap_info() local
1992 &wpa_ielen, pnetwork->network.IELength - 12); in r871x_get_ap_info()
1993 if (pbuf && (wpa_ielen > 0)) { in r871x_get_ap_info()
1998 &wpa_ielen, pnetwork->network.IELength - 12); in r871x_get_ap_info()
1999 if (pbuf && (wpa_ielen > 0)) { in r871x_get_ap_info()
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c1806 int wpa_ielen = 0; in rtw_cfg80211_set_wpa_ie() local
1845 pwpa = rtw_get_wpa_ie(buf, &wpa_ielen, ielen); in rtw_cfg80211_set_wpa_ie()
1846 if (pwpa && wpa_ielen>0) in rtw_cfg80211_set_wpa_ie()
1848 if (rtw_parse_wpa_ie(pwpa, wpa_ielen+2, &group_cipher, &pairwise_cipher, NULL) == _SUCCESS) in rtw_cfg80211_set_wpa_ie()
1852 memcpy(padapter->securitypriv.supplicant_ie, &pwpa[0], wpa_ielen+2); in rtw_cfg80211_set_wpa_ie()
1854 DBG_8192C("got wpa_ie, wpa_ielen:%u\n", wpa_ielen); in rtw_cfg80211_set_wpa_ie()
Dioctl_linux.c2450 u32 cnt = 0, wpa_ielen; in rtw_get_ap_info() local
2510 pbuf = rtw_get_wpa_ie(&pnetwork->network.IEs[12], &wpa_ielen, pnetwork->network.IELength-12); in rtw_get_ap_info()
2511 if (pbuf && (wpa_ielen>0)) { in rtw_get_ap_info()
2516 pbuf = rtw_get_wpa2_ie(&pnetwork->network.IEs[12], &wpa_ielen, pnetwork->network.IELength-12); in rtw_get_ap_info()
2517 if (pbuf && (wpa_ielen>0)) { in rtw_get_ap_info()