Searched refs:wps_ie (Results 1 - 24 of 24) sorted by relevance

/linux-4.1.27/drivers/staging/rtl8188eu/core/
H A Drtw_ieee80211.c740 * @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 Drtw_mlme_ext.c1089 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 Drtw_mlme.c549 /* 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 Drtw_ieee80211.c600 * @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 Drtw_mlme_ext.c1340 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 Drtw_mlme.c1994 memcpy(out_ie + ielength, psecuritypriv->wps_ie, rtw_restruct_sec_ie23a()
/linux-4.1.27/drivers/staging/rtl8723au/include/
H A Dieee80211.h323 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 Drtw_security.h134 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 Dioctl_cfg80211.c1304 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 Dieee80211.c397 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 Drtl871x_security.h111 u8 wps_ie[MAX_WPA_IE_LEN<<2]; member in struct:security_priv
H A Drtl871x_ioctl_linux.c336 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 Drtl871x_mlme.c476 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 Dieee80211.h790 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 Dsta_ioctl.c822 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 Dinit.c141 priv->wps_ie = NULL; mwifiex_init_priv()
H A Djoin.c259 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 Dmain.h521 u8 *wps_ie; member in struct:mwifiex_private
/linux-4.1.27/drivers/staging/rtl8192e/
H A Drtllib_wx.c858 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 Drtllib_softmac.c1383 if (wps_ie_len && ieee->wps_ie) { rtllib_association_req()
1385 memcpy(tag, ieee->wps_ie, wps_ie_len); rtllib_association_req()
H A Drtllib.h2124 u8 *wps_ie; member in struct:rtllib_device
/linux-4.1.27/drivers/staging/rtl8188eu/include/
H A Dieee80211.h1146 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 Drtw_security.h135 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 Dioctl_linux.c596 {/* set wps_ie */ rtw_set_wpa_ie()
607 memcpy(padapter->securitypriv.wps_ie, &buf[cnt], padapter->securitypriv.wps_ie_len); rtw_set_wpa_ie()

Completed in 694 milliseconds