Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/rtl8723bs/core/
H A Drtw_ieee80211.c1000 u32 wpa_ielen; in rtw_get_cipher_info() local
1005 pbuf = rtw_get_wpa_ie(&pnetwork->network.ies[12], &wpa_ielen, pnetwork->network.ie_length-12); in rtw_get_cipher_info()
1007 if (pbuf && (wpa_ielen > 0)) { in rtw_get_cipher_info()
1008 if (_SUCCESS == rtw_parse_wpa_ie(pbuf, wpa_ielen+2, &group_cipher, &pairwise_cipher, &is8021x)) { in rtw_get_cipher_info()
1015 pbuf = rtw_get_wpa2_ie(&pnetwork->network.ies[12], &wpa_ielen, pnetwork->network.ie_length-12); in rtw_get_cipher_info()
1017 if (pbuf && (wpa_ielen > 0)) { in rtw_get_cipher_info()
1018 … if (_SUCCESS == rtw_parse_wpa2_ie(pbuf, wpa_ielen+2, &group_cipher, &pairwise_cipher, &is8021x)) { in rtw_get_cipher_info()
H A Drtw_wlan_util.c1158 u32 wpa_ielen = 0; in rtw_check_bcn_info() local
1285 pbuf = rtw_get_wpa_ie(&bssid->ies[12], &wpa_ielen, bssid->ie_length-12); in rtw_check_bcn_info()
1286 if (pbuf && (wpa_ielen > 0)) { in rtw_check_bcn_info()
1287 rtw_parse_wpa_ie(pbuf, wpa_ielen + 2, &group_cipher, in rtw_check_bcn_info()
1290 pbuf = rtw_get_wpa2_ie(&bssid->ies[12], &wpa_ielen, bssid->ie_length-12); in rtw_check_bcn_info()
1292 if (pbuf && (wpa_ielen > 0)) in rtw_check_bcn_info()
1293 rtw_parse_wpa2_ie(pbuf, wpa_ielen + 2, &group_cipher, in rtw_check_bcn_info()
/openbmc/linux/drivers/staging/rtl8712/
H A Drtl871x_ioctl_linux.c1944 u32 cnt = 0, wpa_ielen; in r871x_get_ap_info() local
1985 &wpa_ielen, pnetwork->network.IELength - 12); in r871x_get_ap_info()
1986 if (pbuf && (wpa_ielen > 0)) { in r871x_get_ap_info()
1991 &wpa_ielen, pnetwork->network.IELength - 12); in r871x_get_ap_info()
1992 if (pbuf && (wpa_ielen > 0)) { in r871x_get_ap_info()
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/
H A Dioctl_cfg80211.c1428 int wpa_ielen = 0; in rtw_cfg80211_set_wpa_ie() local
1457 pwpa = rtw_get_wpa_ie(buf, &wpa_ielen, ielen); in rtw_cfg80211_set_wpa_ie()
1458 if (pwpa && wpa_ielen > 0) { in rtw_cfg80211_set_wpa_ie()
1459 if (rtw_parse_wpa_ie(pwpa, wpa_ielen + 2, &group_cipher, &pairwise_cipher, NULL) == _SUCCESS) { in rtw_cfg80211_set_wpa_ie()
1462 memcpy(padapter->securitypriv.supplicant_ie, &pwpa[0], wpa_ielen + 2); in rtw_cfg80211_set_wpa_ie()