Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_ieee80211.c491 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
522 *wpa_len = in_ie[cnt + 1] + 2; in rtw_get_sec_ie()
549 return *rsn_len + *wpa_len; in rtw_get_sec_ie()
970 u16 wpa_len = 0, rsn_len = 0; in rtw_get_bcn_info() local
983 rtw_get_sec_ie(pnetwork->network.ies, pnetwork->network.ie_length, NULL, &rsn_len, NULL, &wpa_len); in rtw_get_bcn_info()
985 …RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("%s: wpa_len =%d rsn_len =%d\n", __func__, wpa_len,… in rtw_get_bcn_info()
987 …RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("%s: wpa_len =%d rsn_len =%d\n", __func__, wpa_len,… in rtw_get_bcn_info()
991 } else if (wpa_len > 0) { in rtw_get_bcn_info()
Drtw_wlan_util.c842 u16 wpa_len = 0, rsn_len = 0; in rtw_check_bcn_info() local
978 rtw_get_sec_ie(bssid->ies, bssid->ie_length, NULL, &rsn_len, NULL, &wpa_len); in rtw_check_bcn_info()
982 } else if (wpa_len > 0) { in rtw_check_bcn_info()
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_ieee80211.c657 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
685 *wpa_len = in_ie[cnt+1]+2; in rtw_get_sec_ie()
709 return (*rsn_len + *wpa_len); in rtw_get_sec_ie()
1179 u16 wpa_len = 0, rsn_len = 0; in rtw_get_bcn_info() local
1194 rtw_get_sec_ie(pnetwork->network.IEs, pnetwork->network.IELength, NULL, &rsn_len, NULL, &wpa_len); in rtw_get_bcn_info()
1196 …le_rtl871x_mlme_c_, _drv_info_, ("rtw_get_bcn_info: wpa_len =%d rsn_len =%d\n", wpa_len, rsn_len)); in rtw_get_bcn_info()
1198 …le_rtl871x_mlme_c_, _drv_info_, ("rtw_get_bcn_info: wpa_len =%d rsn_len =%d\n", wpa_len, rsn_len)); in rtw_get_bcn_info()
1202 } else if (wpa_len > 0) { in rtw_get_bcn_info()
Drtw_wlan_util.c1287 u16 wpa_len = 0, rsn_len = 0; in rtw_check_bcn_info() local
1438 rtw_get_sec_ie(bssid->IEs, bssid->IELength, NULL, &rsn_len, NULL, &wpa_len); in rtw_check_bcn_info()
1442 } else if (wpa_len > 0) { in rtw_check_bcn_info()
/Linux-v4.19/drivers/staging/rtl8712/
Dieee80211.c372 u8 *wpa_ie, u16 *wpa_len) in r8712_get_sec_ie() argument
385 *wpa_len = in_ie[cnt + 1] + 2; in r8712_get_sec_ie()
398 return *rsn_len + *wpa_len; in r8712_get_sec_ie()
Drtl871x_ioctl_linux.c264 u16 wpa_len = 0, rsn_len = 0; in translate_scan() local
269 wpa_ie, &wpa_len); in translate_scan()
270 if (wpa_len > 0) { in translate_scan()
273 for (i = 0; i < wpa_len; i++) { in translate_scan()
286 iwe.u.data.length = (u16)wpa_len; in translate_scan()
Dieee80211.h750 u8 *wpa_ie, u16 *wpa_len);
/Linux-v4.19/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-v4.19/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c236 u16 wpa_len = 0, rsn_len = 0; in translate_scan() local
239 …w_get_sec_ie(pnetwork->network.IEs , pnetwork->network.IELength, rsn_ie,&rsn_len, wpa_ie,&wpa_len); in translate_scan()
241 …ule_rtl871x_mlme_c_, _drv_info_, ("rtw_wx_get_scan: wpa_len =%d rsn_len =%d\n", wpa_len, rsn_len)); in translate_scan()
246 if (wpa_len > 0) { in translate_scan()
249 for (i = 0; i < wpa_len; i++) in translate_scan()
252 if (wpa_len > 100) { in translate_scan()
253 printk("-----------------Len %d----------------\n", wpa_len); in translate_scan()
254 for (i = 0; i < wpa_len; i++) in translate_scan()
257 printk("-----------------Len %d----------------\n", wpa_len); in translate_scan()
267 iwe.u.data.length = wpa_len; in translate_scan()
/Linux-v4.19/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c234 u16 wpa_len = 0, rsn_len = 0; in translate_scan() local
237 …get_sec_ie(pnetwork->network.ies, pnetwork->network.ie_length, rsn_ie, &rsn_len, wpa_ie, &wpa_len); in translate_scan()
239 …ule_rtl871x_mlme_c_, _drv_info_, ("rtw_wx_get_scan: wpa_len =%d rsn_len =%d\n", wpa_len, rsn_len)); in translate_scan()
241 if (wpa_len > 0) { in translate_scan()
245 for (i = 0; i < wpa_len; i++) in translate_scan()
255 iwe.u.data.length = wpa_len; in translate_scan()
/Linux-v4.19/drivers/staging/rtl8188eu/include/
Dieee80211.h753 u8 *wpa_ie, u16 *wpa_len);
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Dieee80211.h1148 int rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, u8 *wpa_ie, u16 *wpa_len);