/Linux-v5.10/drivers/staging/rtl8188eu/core/ |
D | rtw_ieee80211.c | 918 uint wpa_ielen; in rtw_get_cipher_info() local 923 pbuf = rtw_get_wpa_ie(&pnetwork->network.ies[12], &wpa_ielen, pnetwork->network.ie_length - 12); in rtw_get_cipher_info() 925 if (pbuf && (wpa_ielen > 0)) { in rtw_get_cipher_info() 926 RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("%s: wpa_ielen: %d", __func__, wpa_ielen)); in rtw_get_cipher_info() 927 …if (rtw_parse_wpa_ie(pbuf, wpa_ielen + 2, &group_cipher, &pairwise_cipher, &is8021x) == _SUCCESS) { in rtw_get_cipher_info() 938 pbuf = rtw_get_wpa2_ie(&pnetwork->network.ies[12], &wpa_ielen, pnetwork->network.ie_length - 12); in rtw_get_cipher_info() 940 if (pbuf && (wpa_ielen > 0)) { in rtw_get_cipher_info() 942 …if (rtw_parse_wpa2_ie(pbuf, wpa_ielen + 2, &group_cipher, &pairwise_cipher, &is8021x) == _SUCCESS)… in rtw_get_cipher_info()
|
D | rtw_wlan_util.c | 793 u32 wpa_ielen = 0; in rtw_check_bcn_info() local 941 pbuf = rtw_get_wpa_ie(&bssid->ies[12], &wpa_ielen, in rtw_check_bcn_info() 943 if (pbuf && (wpa_ielen > 0)) { in rtw_check_bcn_info() 944 …if (rtw_parse_wpa_ie(pbuf, wpa_ielen + 2, &group_cipher, &pairwise_cipher, &is_8021x) == _SUCCESS)… in rtw_check_bcn_info() 950 pbuf = rtw_get_wpa2_ie(&bssid->ies[12], &wpa_ielen, in rtw_check_bcn_info() 953 if (pbuf && (wpa_ielen > 0)) { in rtw_check_bcn_info() 954 …if (rtw_parse_wpa2_ie(pbuf, wpa_ielen + 2, &group_cipher, &pairwise_cipher, &is_8021x) == _SUCCESS… in rtw_check_bcn_info()
|
/Linux-v5.10/drivers/staging/rtl8723bs/core/ |
D | rtw_ieee80211.c | 1135 u32 wpa_ielen; in rtw_get_cipher_info() local 1140 pbuf = rtw_get_wpa_ie(&pnetwork->network.IEs[12], &wpa_ielen, pnetwork->network.IELength-12); in rtw_get_cipher_info() 1142 if (pbuf && (wpa_ielen > 0)) { in rtw_get_cipher_info() 1143 RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("rtw_get_cipher_info: wpa_ielen: %d", wpa_ielen)); in rtw_get_cipher_info() 1144 if (_SUCCESS == rtw_parse_wpa_ie(pbuf, wpa_ielen+2, &group_cipher, &pairwise_cipher, &is8021x)) { in rtw_get_cipher_info() 1153 pbuf = rtw_get_wpa2_ie(&pnetwork->network.IEs[12], &wpa_ielen, pnetwork->network.IELength-12); in rtw_get_cipher_info() 1155 if (pbuf && (wpa_ielen > 0)) { in rtw_get_cipher_info() 1157 … if (_SUCCESS == rtw_parse_wpa2_ie(pbuf, wpa_ielen+2, &group_cipher, &pairwise_cipher, &is8021x)) { in rtw_get_cipher_info()
|
D | rtw_wlan_util.c | 1233 u32 wpa_ielen = 0; in rtw_check_bcn_info() local 1390 pbuf = rtw_get_wpa_ie(&bssid->IEs[12], &wpa_ielen, bssid->IELength-12); in rtw_check_bcn_info() 1391 if (pbuf && (wpa_ielen > 0)) { in rtw_check_bcn_info() 1392 … if (_SUCCESS == rtw_parse_wpa_ie(pbuf, wpa_ielen+2, &group_cipher, &pairwise_cipher, &is_8021x)) { in rtw_check_bcn_info() 1398 pbuf = rtw_get_wpa2_ie(&bssid->IEs[12], &wpa_ielen, bssid->IELength-12); in rtw_check_bcn_info() 1400 if (pbuf && (wpa_ielen > 0)) { in rtw_check_bcn_info() 1401 …if (_SUCCESS == rtw_parse_wpa2_ie(pbuf, wpa_ielen+2, &group_cipher, &pairwise_cipher, &is_8021x)) { in rtw_check_bcn_info()
|
/Linux-v5.10/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_linux.c | 1946 u32 cnt = 0, wpa_ielen; in r871x_get_ap_info() local 1987 &wpa_ielen, pnetwork->network.IELength - 12); in r871x_get_ap_info() 1988 if (pbuf && (wpa_ielen > 0)) { in r871x_get_ap_info() 1993 &wpa_ielen, pnetwork->network.IELength - 12); in r871x_get_ap_info() 1994 if (pbuf && (wpa_ielen > 0)) { in r871x_get_ap_info()
|
/Linux-v5.10/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_cfg80211.c | 1783 int wpa_ielen = 0; in rtw_cfg80211_set_wpa_ie() local 1821 pwpa = rtw_get_wpa_ie(buf, &wpa_ielen, ielen); in rtw_cfg80211_set_wpa_ie() 1822 if (pwpa && wpa_ielen > 0) in rtw_cfg80211_set_wpa_ie() 1824 if (rtw_parse_wpa_ie(pwpa, wpa_ielen+2, &group_cipher, &pairwise_cipher, NULL) == _SUCCESS) in rtw_cfg80211_set_wpa_ie() 1828 memcpy(padapter->securitypriv.supplicant_ie, &pwpa[0], wpa_ielen+2); in rtw_cfg80211_set_wpa_ie() 1830 DBG_8192C("got wpa_ie, wpa_ielen:%u\n", wpa_ielen); in rtw_cfg80211_set_wpa_ie()
|
D | ioctl_linux.c | 2433 int wpa_ielen; in rtw_get_ap_info() local 2494 pbuf = rtw_get_wpa_ie(&pnetwork->network.IEs[12], &wpa_ielen, pnetwork->network.IELength-12); in rtw_get_ap_info() 2495 if (pbuf && (wpa_ielen > 0)) { in rtw_get_ap_info() 2500 pbuf = rtw_get_wpa2_ie(&pnetwork->network.IEs[12], &wpa_ielen, pnetwork->network.IELength-12); in rtw_get_ap_info() 2501 if (pbuf && (wpa_ielen > 0)) { in rtw_get_ap_info()
|