Lines Matching defs:wps_ie
641 * @wps_ie: If not NULL and WPS IE is found, WPS IE will be copied to the buf starting from wps_ie
646 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen)
666 if (wps_ie)
667 memcpy(wps_ie, &in_ie[cnt], in_ie[cnt+1]+2);
684 * @wps_ie: Address of WPS IE to search
685 * @wps_ielen: Length limit from wps_ie
692 u8 *rtw_get_wps_attr(u8 *wps_ie, uint wps_ielen, u16 target_attr_id, u8 *buf_attr, u32 *len_attr)
701 if ((wps_ie[0] != WLAN_EID_VENDOR_SPECIFIC) ||
702 (memcmp(wps_ie + 2, wps_oui, 4))) {
707 attr_ptr = wps_ie + 6; /* goto first attr */
709 while (attr_ptr - wps_ie < wps_ielen) {
734 * @wps_ie: Address of WPS IE to search
735 * @wps_ielen: Length limit from wps_ie
742 u8 *rtw_get_wps_attr_content(u8 *wps_ie, uint wps_ielen, u16 target_attr_id, u8 *buf_content, uint *len_content)
750 attr_ptr = rtw_get_wps_attr(wps_ie, wps_ielen, target_attr_id, NULL, &attr_len);
809 elems->wps_ie = pos;