Home
last modified time | relevance | path

Searched refs:wps_ielen (Results 1 – 10 of 10) sorted by relevance

/drivers/staging/rtl8188eu/core/
Drtw_ieee80211.c572 u8 rtw_is_wps_ie(u8 *ie_ptr, uint *wps_ielen) in rtw_is_wps_ie() argument
583 *wps_ielen = ie_ptr[1] + 2; in rtw_is_wps_ie()
598 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen) in rtw_get_wps_ie() argument
604 if (wps_ielen) in rtw_get_wps_ie()
605 *wps_ielen = 0; in rtw_get_wps_ie()
621 if (wps_ielen) in rtw_get_wps_ie()
622 *wps_ielen = in_ie[cnt + 1] + 2; in rtw_get_wps_ie()
644 u8 *rtw_get_wps_attr(u8 *wps_ie, uint wps_ielen, u16 target_attr_id, u8 *buf_attr, u32 *len_attr) in rtw_get_wps_attr() argument
660 while (attr_ptr - wps_ie < wps_ielen) { in rtw_get_wps_attr()
690 u8 *rtw_get_wps_attr_content(u8 *wps_ie, uint wps_ielen, u16 target_attr_id, u8 *buf_content, uint … in rtw_get_wps_attr_content() argument
[all …]
Drtw_ap.c1277 uint wps_ielen = 0, wps_offset, remainder_ielen; in update_bcn_wps_ie() local
1291 pwps_ie = rtw_get_wps_ie(ie+_FIXED_IE_LENGTH_, ielen-_FIXED_IE_LENGTH_, NULL, &wps_ielen); in update_bcn_wps_ie()
1293 if (pwps_ie == NULL || wps_ielen == 0) in update_bcn_wps_ie()
1298 premainder_ie = pwps_ie + wps_ielen; in update_bcn_wps_ie()
1300 remainder_ielen = ielen - wps_offset - wps_ielen; in update_bcn_wps_ie()
1308 wps_ielen = (uint)pwps_ie_src[1];/* to get ie data len */ in update_bcn_wps_ie()
1309 if ((wps_offset+wps_ielen+2+remainder_ielen) <= MAX_IE_SZ) { in update_bcn_wps_ie()
1310 memcpy(pwps_ie, pwps_ie_src, wps_ielen+2); in update_bcn_wps_ie()
1311 pwps_ie += (wps_ielen+2); in update_bcn_wps_ie()
1317 pnetwork->IELength = wps_offset + (wps_ielen+2) + remainder_ielen; in update_bcn_wps_ie()
Drtw_mlme_ext.c370 uint wps_ielen; in issue_beacon() local
381 pattrib->pktlen-sizeof(struct ieee80211_hdr_3addr)-_BEACON_IE_OFFSET_, NULL, &wps_ielen); in issue_beacon()
382 if (wps_ie && wps_ielen > 0) in issue_beacon()
383 rtw_get_wps_attr_content(wps_ie, wps_ielen, WPS_ATTR_SELECTED_REGISTRAR, (u8 *)(&sr), NULL); in issue_beacon()
470 uint wps_ielen; in issue_probersp() local
515 …_ie(cur_network->IEs+_FIXED_IE_LENGTH_, cur_network->IELength-_FIXED_IE_LENGTH_, NULL, &wps_ielen); in issue_probersp()
518 if ((pmlmepriv->wps_probe_resp_ie != NULL) && pwps_ie && (wps_ielen > 0)) { in issue_probersp()
524 premainder_ie = pwps_ie + wps_ielen; in issue_probersp()
526 remainder_ielen = cur_network->IELength - wps_offset - wps_ielen; in issue_probersp()
532 wps_ielen = (uint)pmlmepriv->wps_probe_resp_ie[1];/* to get ie data len */ in issue_probersp()
[all …]
Drtw_mlme.c522 uint wps_ielen; in rtw_is_desired_network() local
530 …ork.IEs+_FIXED_IE_LENGTH_, pnetwork->network.IELength-_FIXED_IE_LENGTH_, NULL, &wps_ielen) != NULL) in rtw_is_desired_network()
/drivers/staging/rtl8188eu/include/
Dieee80211.h877 u8 rtw_is_wps_ie(u8 *ie_ptr, uint *wps_ielen);
878 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen);
879 u8 *rtw_get_wps_attr(u8 *wps_ie, uint wps_ielen, u16 target_attr_id,
881 u8 *rtw_get_wps_attr_content(u8 *wps_ie, uint wps_ielen, u16 target_attr_id,
/drivers/staging/rtl8712/
Dieee80211.c396 int r8712_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen) in r8712_get_wps_ie() argument
409 *wps_ielen = in_ie[cnt + 1] + 2; in r8712_get_wps_ie()
Dieee80211.h751 int r8712_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen);
Drtl871x_ioctl_linux.c310 uint wps_ielen; in translate_scan() local
314 wps_ie, &wps_ielen)) { in translate_scan()
315 if (wps_ielen > 2) { in translate_scan()
317 iwe.u.data.length = (u16)wps_ielen; in translate_scan()
Drtl871x_mlme.c463 uint wps_ielen; in is_desired_network() local
470 &wps_ielen)) in is_desired_network()
/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c287 uint wps_ielen = 0; in translate_scan() local
293 if (rtw_is_wps_ie(&ie_ptr[cnt], &wps_ielen) && (wps_ielen > 2)) { in translate_scan()
296 iwe.u.data.length = (u16)wps_ielen; in translate_scan()