Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/
Drtw_ieee80211.c481 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
512 *wpa_len = in_ie[cnt + 1] + 2; in rtw_get_sec_ie()
963 u16 wpa_len = 0, rsn_len = 0; in rtw_get_bcn_info() local
976 rtw_get_sec_ie(pnetwork->network.ies, pnetwork->network.ie_length, NULL, &rsn_len, NULL, &wpa_len); in rtw_get_bcn_info()
978 …RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("%s: wpa_len =%d rsn_len =%d\n", __func__, wpa_len,… in rtw_get_bcn_info()
980 …RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("%s: wpa_len =%d rsn_len =%d\n", __func__, wpa_len,… in rtw_get_bcn_info()
984 } else if (wpa_len > 0) { in rtw_get_bcn_info()
Drtw_wlan_util.c788 u16 wpa_len = 0, rsn_len = 0; in rtw_check_bcn_info() local
924 rtw_get_sec_ie(bssid->ies, bssid->ie_length, NULL, &rsn_len, NULL, &wpa_len); in rtw_check_bcn_info()
928 } else if (wpa_len > 0) { in rtw_check_bcn_info()
/kernel/linux/linux-5.10/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.c135 u16 wpa_len = 0, rsn_len = 0; in translate_scan_wpa() local
140 wpa_ie, &wpa_len); in translate_scan_wpa()
141 if (wpa_len > 0) { in translate_scan_wpa()
144 for (i = 0; i < wpa_len; i++) { in translate_scan_wpa()
157 iwe->u.data.length = (u16)wpa_len; in translate_scan_wpa()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/
Drtw_ieee80211.c658 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
686 *wpa_len = in_ie[cnt+1]+2; in rtw_get_sec_ie()
1178 u16 wpa_len = 0, rsn_len = 0; in rtw_get_bcn_info() local
1193 rtw_get_sec_ie(pnetwork->network.IEs, pnetwork->network.IELength, NULL, &rsn_len, NULL, &wpa_len); in rtw_get_bcn_info()
1195 …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()
1197 …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()
1201 } else if (wpa_len > 0) { in rtw_get_bcn_info()
Drtw_wlan_util.c1228 u16 wpa_len = 0, rsn_len = 0; in rtw_check_bcn_info() local
1373 rtw_get_sec_ie(bssid->IEs, bssid->IELength, NULL, &rsn_len, NULL, &wpa_len); in rtw_check_bcn_info()
1377 } else if (wpa_len > 0) { in rtw_check_bcn_info()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c232 u16 wpa_len = 0, rsn_len = 0; in translate_scan() local
234 …_get_sec_ie(pnetwork->network.IEs, pnetwork->network.IELength, rsn_ie, &rsn_len, wpa_ie, &wpa_len); in translate_scan()
236 …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()
244 for (i = 0; i < wpa_len; i++) in translate_scan()
247 if (wpa_len > 100) { in translate_scan()
248 printk("-----------------Len %d----------------\n", wpa_len); in translate_scan()
249 for (i = 0; i < wpa_len; i++) in translate_scan()
252 printk("-----------------Len %d----------------\n", wpa_len); in translate_scan()
262 iwe.u.data.length = wpa_len; in translate_scan()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c228 u16 wpa_len = 0, rsn_len = 0; in translate_scan() local
235 …get_sec_ie(pnetwork->network.ies, pnetwork->network.ie_length, rsn_ie, &rsn_len, wpa_ie, &wpa_len); in translate_scan()
237 …ule_rtl871x_mlme_c_, _drv_info_, ("rtw_wx_get_scan: wpa_len =%d rsn_len =%d\n", wpa_len, rsn_len)); in translate_scan()
239 if (wpa_len > 0) { in translate_scan()
242 for (i = 0; i < wpa_len; i++) in translate_scan()
252 iwe.u.data.length = wpa_len; in translate_scan()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/
Dieee80211.h727 u8 *wpa_ie, u16 *wpa_len);
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
Dieee80211.h1140 void rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, u8 *wpa_ie, u16 *wpa_len);