/linux-4.1.27/drivers/staging/rtl8188eu/core/ |
H A D | rtw_ieee80211.c | 740 * @wps_ie: If not NULL and WPS IE is found, WPS IE will be copied to the buf starting from wps_ie 745 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen) rtw_get_wps_ie() argument 765 if (wps_ie) rtw_get_wps_ie() 766 memcpy(wps_ie, &in_ie[cnt], in_ie[cnt+1]+2); rtw_get_wps_ie() 783 * @wps_ie: Address of WPS IE to search 784 * @wps_ielen: Length limit from wps_ie 791 u8 *rtw_get_wps_attr(u8 *wps_ie, uint wps_ielen, u16 target_attr_id, u8 *buf_attr, u32 *len_attr) rtw_get_wps_attr() argument 800 if ((wps_ie[0] != _VENDOR_SPECIFIC_IE_) || rtw_get_wps_attr() 801 (memcmp(wps_ie + 2, wps_oui, 4))) rtw_get_wps_attr() 805 attr_ptr = wps_ie + 6; /* goto first attr */ rtw_get_wps_attr() 807 while (attr_ptr - wps_ie < wps_ielen) { rtw_get_wps_attr() 829 * @wps_ie: Address of WPS IE to search 830 * @wps_ielen: Length limit from wps_ie 837 u8 *rtw_get_wps_attr_content(u8 *wps_ie, uint wps_ielen, u16 target_attr_id, u8 *buf_content, uint *len_content) rtw_get_wps_attr_content() argument 845 attr_ptr = rtw_get_wps_attr(wps_ie, wps_ielen, target_attr_id, NULL, &attr_len); rtw_get_wps_attr_content() 913 elems->wps_ie = pos; rtw_ieee802_11_parse_vendor_specific() 1123 u8 *wps_ie; dump_wps_ie() local 1126 wps_ie = rtw_get_wps_ie(ie, ie_len, NULL, &wps_ielen); dump_wps_ie() 1127 if (wps_ie != ie || wps_ielen == 0) dump_wps_ie()
|
H A D | rtw_mlme_ext.c | 1089 if (elems.wps_ie) { OnAssocReq() 1094 /* wpabuf_free(sta->wps_ie); */ OnAssocReq() 1095 /* sta->wps_ie = wpabuf_alloc_copy(elems.wps_ie + 4, */ OnAssocReq() 1134 if (elems.wps_ie) { OnAssocReq() 2024 u8 *wps_ie; issue_beacon() local 2035 wps_ie = rtw_get_wps_ie(pmgntframe->buf_addr+TXDESC_OFFSET+sizeof(struct rtw_ieee80211_hdr_3addr)+_BEACON_IE_OFFSET_, issue_beacon() 2037 if (wps_ie && wps_ielen > 0) issue_beacon() 2038 rtw_get_wps_attr_content(wps_ie, wps_ielen, WPS_ATTR_SELECTED_REGISTRAR, (u8 *)(&sr), NULL); issue_beacon() 2333 /* add wps_ie for wps2.0 */ _issue_probereq()
|
H A D | rtw_mlme.c | 549 /* u8 wps_ie[512]; */ rtw_is_desired_network() 1811 memcpy(out_ie+ielength, psecuritypriv->wps_ie, psecuritypriv->wps_ie_len); rtw_restruct_sec_ie()
|
/linux-4.1.27/drivers/staging/rtl8723au/core/ |
H A D | rtw_ieee80211.c | 600 * @wps_ie: Address of WPS IE to search 601 * @wps_ielen: Length limit from wps_ie 610 const u8 *rtw_get_wps_attr23a(const u8 *wps_ie, uint wps_ielen, rtw_get_wps_attr23a() argument 620 if (wps_ie[0] != WLAN_EID_VENDOR_SPECIFIC || rtw_get_wps_attr23a() 621 memcmp(wps_ie + 2, wps_oui, 4)) { rtw_get_wps_attr23a() 626 attr_ptr = wps_ie + 6; /* goto first attr */ rtw_get_wps_attr23a() 628 while (attr_ptr - wps_ie < wps_ielen) { rtw_get_wps_attr23a() 656 * @wps_ie: Address of WPS IE to search 657 * @wps_ielen: Length limit from wps_ie 666 const u8 *rtw_get_wps_attr_content23a(const u8 *wps_ie, uint wps_ielen, rtw_get_wps_attr_content23a() argument 672 attr_ptr = rtw_get_wps_attr23a(wps_ie, wps_ielen, target_attr_id, rtw_get_wps_attr_content23a()
|
H A D | rtw_mlme_ext.c | 1340 const u8 *pos, *p, *wpa_ie, *wps_ie; OnAssocReq23a() local 1521 wps_ie = cfg80211_find_vendor_ie(WLAN_OUI_MICROSOFT, OnAssocReq23a() 1526 if (wps_ie) { OnAssocReq23a() 1547 if (wps_ie) { OnAssocReq23a() 2370 const u8 *wps_ie; issue_beacon23a() local 2427 wps_ie = cfg80211_find_vendor_ie(WLAN_OUI_MICROSOFT, issue_beacon23a() 2431 if (wps_ie && wps_ie[1] > 0) { issue_beacon23a() 2432 rtw_get_wps_attr_content23a(wps_ie, wps_ie[1], issue_beacon23a() 2748 /* add wps_ie for wps2.0 */ _issue_probereq()
|
H A D | rtw_mlme.c | 1994 memcpy(out_ie + ielength, psecuritypriv->wps_ie, rtw_restruct_sec_ie23a()
|
/linux-4.1.27/drivers/staging/rtl8723au/include/ |
H A D | ieee80211.h | 323 const u8 *rtw_get_wps_attr23a(const u8 *wps_ie, uint wps_ielen, u16 target_attr_id ,u8 *buf_attr, u32 *len_attr); 324 const u8 *rtw_get_wps_attr_content23a(const u8 *wps_ie, uint wps_ielen, u16 target_attr_id ,u8 *buf_content);
|
H A D | rtw_security.h | 134 u8 wps_ie[MAX_WPS_IE_LEN];/* added in assoc req */ member in struct:security_priv
|
/linux-4.1.27/drivers/staging/rtl8723au/os_dep/ |
H A D | ioctl_cfg80211.c | 1304 const u8 *wps_ie; rtw_cfg80211_set_probe_req_wpsp2pie() local 1310 wps_ie = cfg80211_find_vendor_ie(WLAN_OUI_MICROSOFT, rtw_cfg80211_set_probe_req_wpsp2pie() 1313 if (wps_ie) { rtw_cfg80211_set_probe_req_wpsp2pie() 1314 DBG_8723A("probe_req_wps_ielen =%d\n", wps_ie[1]); rtw_cfg80211_set_probe_req_wpsp2pie() 1322 pmlmepriv->wps_probe_req_ie = kmemdup(wps_ie, wps_ie[1], rtw_cfg80211_set_probe_req_wpsp2pie() 1329 pmlmepriv->wps_probe_req_ie_len = wps_ie[1]; rtw_cfg80211_set_probe_req_wpsp2pie() 1575 const u8 *wps_ie; rtw_cfg80211_set_wpa_ie() local 1701 wps_ie = cfg80211_find_vendor_ie(WLAN_OUI_MICROSOFT, rtw_cfg80211_set_wpa_ie() 1704 if (wps_ie && wps_ie[1] > 0) { rtw_cfg80211_set_wpa_ie() 1705 DBG_8723A("got wps_ie, wps_ielen:%u\n", wps_ie[1]); rtw_cfg80211_set_wpa_ie() 1706 padapter->securitypriv.wps_ie_len = wps_ie[1]; rtw_cfg80211_set_wpa_ie() 1707 memcpy(padapter->securitypriv.wps_ie, wps_ie, rtw_cfg80211_set_wpa_ie()
|
/linux-4.1.27/drivers/staging/rtl8712/ |
H A D | ieee80211.c | 397 int r8712_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen) r8712_get_wps_ie() argument 409 memcpy(wps_ie, &in_ie[cnt], in_ie[cnt+1]+2); r8712_get_wps_ie()
|
H A D | rtl871x_security.h | 111 u8 wps_ie[MAX_WPA_IE_LEN<<2]; member in struct:security_priv
|
H A D | rtl871x_ioctl_linux.c | 336 u8 wps_ie[512]; translate_scan() local 341 wps_ie, &wps_ielen) == true) { translate_scan() 346 &iwe, wps_ie); translate_scan() 595 {/* set wps_ie */ r871x_set_wpa_ie() 610 memcpy(padapter->securitypriv.wps_ie, r871x_set_wpa_ie()
|
H A D | rtl871x_mlme.c | 476 u8 wps_ie[512]; is_desired_network() local 483 pnetwork->network.IELength, wps_ie, is_desired_network() 1594 memcpy(out_ie+ielength, psecuritypriv->wps_ie, r8712_restruct_sec_ie()
|
H A D | ieee80211.h | 790 int r8712_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen);
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
H A D | sta_ioctl.c | 822 priv->wps_ie = kzalloc(MWIFIEX_MAX_VSIE_LEN, GFP_KERNEL); mwifiex_set_wps_ie() 823 if (!priv->wps_ie) mwifiex_set_wps_ie() 826 memcpy(priv->wps_ie, ie_data_ptr, ie_len); mwifiex_set_wps_ie() 829 priv->wps_ie_len, priv->wps_ie[0]); mwifiex_set_wps_ie() 831 kfree(priv->wps_ie); mwifiex_set_wps_ie()
|
H A D | init.c | 141 priv->wps_ie = NULL; mwifiex_init_priv()
|
H A D | join.c | 259 memcpy(*buffer, priv->wps_ie, priv->wps_ie_len); mwifiex_cmd_append_wps_ie() 265 kfree(priv->wps_ie); mwifiex_cmd_append_wps_ie()
|
H A D | main.h | 521 u8 *wps_ie; member in struct:mwifiex_private
|
/linux-4.1.27/drivers/staging/rtl8192e/ |
H A D | rtllib_wx.c | 858 ieee->wps_ie = buf; rtllib_wx_set_gen_ie() 863 kfree(ieee->wps_ie); rtllib_wx_set_gen_ie() 864 ieee->wps_ie = NULL; rtllib_wx_set_gen_ie()
|
H A D | rtllib_softmac.c | 1383 if (wps_ie_len && ieee->wps_ie) { rtllib_association_req() 1385 memcpy(tag, ieee->wps_ie, wps_ie_len); rtllib_association_req()
|
H A D | rtllib.h | 2124 u8 *wps_ie; member in struct:rtllib_device
|
/linux-4.1.27/drivers/staging/rtl8188eu/include/ |
H A D | ieee80211.h | 1146 u8 *wps_ie; member in struct:rtw_ieee802_11_elems 1216 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen); 1217 u8 *rtw_get_wps_attr(u8 *wps_ie, uint wps_ielen, u16 target_attr_id, 1219 u8 *rtw_get_wps_attr_content(u8 *wps_ie, uint wps_ielen, u16 target_attr_id,
|
H A D | rtw_security.h | 135 u8 wps_ie[MAX_WPS_IE_LEN];/* added in assoc req */ member in struct:security_priv
|
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/ |
H A D | ioctl_linux.c | 596 {/* set wps_ie */ rtw_set_wpa_ie() 607 memcpy(padapter->securitypriv.wps_ie, &buf[cnt], padapter->securitypriv.wps_ie_len); rtw_set_wpa_ie()
|