Home
last modified time | relevance | path

Searched refs:wpa_len (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.1/drivers/staging/rtl8712/
Dieee80211.c365 u8 *wpa_ie, u16 *wpa_len) in r8712_get_sec_ie() argument
378 *wpa_len = in_ie[cnt + 1] + 2; in r8712_get_sec_ie()
391 return *rsn_len + *wpa_len; in r8712_get_sec_ie()
Dieee80211.h158 u8 *wpa_ie, u16 *wpa_len);
Drtl871x_ioctl_linux.c133 u16 wpa_len = 0, rsn_len = 0; in translate_scan_wpa() local
138 wpa_ie, &wpa_len); in translate_scan_wpa()
139 if (wpa_len > 0) { in translate_scan_wpa()
142 for (i = 0; i < wpa_len; i++) { in translate_scan_wpa()
155 iwe->u.data.length = (u16)wpa_len; in translate_scan_wpa()
/Linux-v6.1/drivers/staging/r8188eu/core/
Drtw_ieee80211.c468 int rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, u8 *wpa_ie, u16 *wpa_len) in rtw_get_sec_ie() argument
485 *wpa_len = in_ie[cnt + 1] + 2; in rtw_get_sec_ie()
500 return *rsn_len + *wpa_len; in rtw_get_sec_ie()
1082 u16 wpa_len = 0, rsn_len = 0; in rtw_get_bcn_info() local
1096 rtw_get_sec_ie(pnetwork->network.IEs, pnetwork->network.IELength, NULL, &rsn_len, NULL, &wpa_len); in rtw_get_bcn_info()
1100 } else if (wpa_len > 0) { in rtw_get_bcn_info()
Drtw_wlan_util.c882 u16 wpa_len = 0, rsn_len = 0; in rtw_check_bcn_info() local
995 rtw_get_sec_ie(bssid->IEs, bssid->IELength, NULL, &rsn_len, NULL, &wpa_len); in rtw_check_bcn_info()
999 } else if (wpa_len > 0) { in rtw_check_bcn_info()
/Linux-v6.1/drivers/staging/rtl8723bs/core/
Drtw_ieee80211.c604 void rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, u8 *wpa_ie, u16 *wpa_len) in rtw_get_sec_ie() argument
621 *wpa_len = in_ie[cnt + 1] + 2; in rtw_get_sec_ie()
1035 u16 wpa_len = 0, rsn_len = 0; in rtw_get_bcn_info() local
1050 rtw_get_sec_ie(pnetwork->network.ies, pnetwork->network.ie_length, NULL, &rsn_len, NULL, &wpa_len); in rtw_get_bcn_info()
1054 } else if (wpa_len > 0) { in rtw_get_bcn_info()
Drtw_wlan_util.c1157 u16 wpa_len = 0, rsn_len = 0; in rtw_check_bcn_info() local
1275 rtw_get_sec_ie(bssid->ies, bssid->ie_length, NULL, &rsn_len, NULL, &wpa_len); in rtw_check_bcn_info()
1279 else if (wpa_len > 0) in rtw_check_bcn_info()
/Linux-v6.1/drivers/net/wireless/intersil/hostap/
Dhostap_80211_rx.c399 size_t ssid_len = 0, wpa_len = 0, rsn_len = 0; in hostap_rx_sta_beacon() local
422 wpa_len = pos[1] + 2; in hostap_rx_sta_beacon()
438 if (wpa_len > MAX_WPA_IE_LEN) in hostap_rx_sta_beacon()
439 wpa_len = MAX_WPA_IE_LEN; in hostap_rx_sta_beacon()
454 memcpy(bss->wpa_ie, wpa, wpa_len); in hostap_rx_sta_beacon()
455 bss->wpa_ie_len = wpa_len; in hostap_rx_sta_beacon()
/Linux-v6.1/drivers/staging/r8188eu/include/
Dieee80211.h770 u8 *wpa_ie, u16 *wpa_len);
/Linux-v6.1/drivers/staging/rtl8723bs/include/
Dieee80211.h747 void rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, u8 *wpa_ie, u16 *wpa_len);
/Linux-v6.1/drivers/staging/r8188eu/os_dep/
Dioctl_linux.c240 u16 wpa_len = 0, rsn_len = 0; in translate_scan() local
257 …_get_sec_ie(pnetwork->network.IEs, pnetwork->network.IELength, rsn_ie, &rsn_len, wpa_ie, &wpa_len); in translate_scan()
259 if (wpa_len > 0) { in translate_scan()
263 for (i = 0; i < wpa_len; i++) in translate_scan()
273 iwe.u.data.length = wpa_len; in translate_scan()