| /linux-4.4.14/drivers/staging/rtl8188eu/core/ |
| D | rtw_ieee80211.c | 721 u8 rtw_is_wps_ie(u8 *ie_ptr, uint *wps_ielen) in rtw_is_wps_ie() argument 732 *wps_ielen = ie_ptr[1]+2; in rtw_is_wps_ie() 747 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen) in rtw_get_wps_ie() argument 753 if (wps_ielen) in rtw_get_wps_ie() 754 *wps_ielen = 0; in rtw_get_wps_ie() 770 if (wps_ielen) in rtw_get_wps_ie() 771 *wps_ielen = in_ie[cnt+1]+2; in rtw_get_wps_ie() 793 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 809 while (attr_ptr - wps_ie < wps_ielen) { in rtw_get_wps_attr() 839 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 …]
|
| D | rtw_ap.c | 1311 uint wps_ielen = 0, wps_offset, remainder_ielen; in update_bcn_wps_ie() local 1325 pwps_ie = rtw_get_wps_ie(ie+_FIXED_IE_LENGTH_, ielen-_FIXED_IE_LENGTH_, NULL, &wps_ielen); in update_bcn_wps_ie() 1327 if (pwps_ie == NULL || wps_ielen == 0) in update_bcn_wps_ie() 1332 premainder_ie = pwps_ie + wps_ielen; in update_bcn_wps_ie() 1334 remainder_ielen = ielen - wps_offset - wps_ielen; in update_bcn_wps_ie() 1342 wps_ielen = (uint)pwps_ie_src[1];/* to get ie data len */ in update_bcn_wps_ie() 1343 if ((wps_offset+wps_ielen+2+remainder_ielen) <= MAX_IE_SZ) { in update_bcn_wps_ie() 1344 memcpy(pwps_ie, pwps_ie_src, wps_ielen+2); in update_bcn_wps_ie() 1345 pwps_ie += (wps_ielen+2); in update_bcn_wps_ie() 1351 pnetwork->IELength = wps_offset + (wps_ielen+2) + remainder_ielen; in update_bcn_wps_ie()
|
| D | rtw_mlme_ext.c | 374 uint wps_ielen; in issue_beacon() local 385 pattrib->pktlen-sizeof(struct rtw_ieee80211_hdr_3addr)-_BEACON_IE_OFFSET_, NULL, &wps_ielen); in issue_beacon() 386 if (wps_ie && wps_ielen > 0) in issue_beacon() 387 rtw_get_wps_attr_content(wps_ie, wps_ielen, WPS_ATTR_SELECTED_REGISTRAR, (u8 *)(&sr), NULL); in issue_beacon() 474 uint wps_ielen; in issue_probersp() local 519 …_ie(cur_network->IEs+_FIXED_IE_LENGTH_, cur_network->IELength-_FIXED_IE_LENGTH_, NULL, &wps_ielen); in issue_probersp() 522 if ((pmlmepriv->wps_probe_resp_ie != NULL) && pwps_ie && (wps_ielen > 0)) { in issue_probersp() 528 premainder_ie = pwps_ie + wps_ielen; in issue_probersp() 530 remainder_ielen = cur_network->IELength - wps_offset - wps_ielen; in issue_probersp() 536 wps_ielen = (uint)pmlmepriv->wps_probe_resp_ie[1];/* to get ie data len */ in issue_probersp() [all …]
|
| D | rtw_mlme.c | 551 uint wps_ielen; in rtw_is_desired_network() local 559 …ork.IEs+_FIXED_IE_LENGTH_, pnetwork->network.IELength-_FIXED_IE_LENGTH_, NULL, &wps_ielen) != NULL) in rtw_is_desired_network()
|
| /linux-4.4.14/drivers/staging/rtl8723au/include/ |
| D | ieee80211.h | 323 const u8 *rtw_get_wps_attr23a(const u8 *wps_ie, uint wps_ielen, u16 target_attr_id ,u8 *buf_attr, u… 324 const u8 *rtw_get_wps_attr_content23a(const u8 *wps_ie, uint wps_ielen, u16 target_attr_id ,u8 *buf…
|
| /linux-4.4.14/drivers/staging/rtl8723au/core/ |
| D | rtw_ieee80211.c | 611 const u8 *rtw_get_wps_attr23a(const u8 *wps_ie, uint wps_ielen, in rtw_get_wps_attr23a() argument 629 while (attr_ptr - wps_ie < wps_ielen) { in rtw_get_wps_attr23a() 667 const u8 *rtw_get_wps_attr_content23a(const u8 *wps_ie, uint wps_ielen, in rtw_get_wps_attr_content23a() argument 673 attr_ptr = rtw_get_wps_attr23a(wps_ie, wps_ielen, target_attr_id, in rtw_get_wps_attr_content23a()
|
| /linux-4.4.14/drivers/staging/rtl8188eu/include/ |
| D | ieee80211.h | 1134 u8 rtw_is_wps_ie(u8 *ie_ptr, uint *wps_ielen); 1135 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen); 1136 u8 *rtw_get_wps_attr(u8 *wps_ie, uint wps_ielen, u16 target_attr_id, 1138 u8 *rtw_get_wps_attr_content(u8 *wps_ie, uint wps_ielen, u16 target_attr_id,
|
| /linux-4.4.14/drivers/staging/rtl8712/ |
| D | ieee80211.c | 401 int r8712_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen) in r8712_get_wps_ie() argument 414 *wps_ielen = in_ie[cnt + 1] + 2; in r8712_get_wps_ie()
|
| D | ieee80211.h | 765 int r8712_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen);
|
| D | rtl871x_ioctl_linux.c | 310 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()
|
| D | rtl871x_mlme.c | 469 uint wps_ielen; in is_desired_network() local 476 &wps_ielen)) in is_desired_network()
|
| /linux-4.4.14/drivers/staging/rtl8188eu/os_dep/ |
| D | ioctl_linux.c | 289 uint wps_ielen = 0; in translate_scan() local 295 if (rtw_is_wps_ie(&ie_ptr[cnt], &wps_ielen) && (wps_ielen > 2)) { in translate_scan() 298 iwe.u.data.length = (u16)wps_ielen; in translate_scan()
|
| /linux-4.4.14/drivers/staging/rtl8723au/os_dep/ |
| D | ioctl_cfg80211.c | 2728 uint len, ielen, wps_ielen = 0; in rtw_add_beacon() local 2763 DBG_8723A("add bcn, wps_ielen =%d\n", wps_ielen); in rtw_add_beacon()
|