Home
last modified time | relevance | path

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

/drivers/staging/rtl8188eu/core/
Drtw_ieee80211.c747 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen) in rtw_get_wps_ie() argument
767 if (wps_ie) in rtw_get_wps_ie()
768 memcpy(wps_ie, &in_ie[cnt], 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
802 if ((wps_ie[0] != _VENDOR_SPECIFIC_IE_) || in rtw_get_wps_attr()
803 (memcmp(wps_ie + 2, wps_oui, 4))) in rtw_get_wps_attr()
807 attr_ptr = wps_ie + 6; /* goto first attr */ in rtw_get_wps_attr()
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
847 attr_ptr = rtw_get_wps_attr(wps_ie, wps_ielen, target_attr_id, NULL, &attr_len); in rtw_get_wps_attr_content()
[all …]
Drtw_mlme_ext.c373 u8 *wps_ie; in issue_beacon() local
384wps_ie = rtw_get_wps_ie(pmgntframe->buf_addr+TXDESC_OFFSET+sizeof(struct rtw_ieee80211_hdr_3addr)+… 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()
3189 if (elems.wps_ie) { in OnAssocReq()
3234 if (elems.wps_ie) { in OnAssocReq()
Drtw_mlme.c1816 memcpy(out_ie+ielength, psecuritypriv->wps_ie, psecuritypriv->wps_ie_len); in rtw_restruct_sec_ie()
/drivers/staging/rtl8723au/core/
Drtw_ieee80211.c611 const u8 *rtw_get_wps_attr23a(const u8 *wps_ie, uint wps_ielen, in rtw_get_wps_attr23a() argument
621 if (wps_ie[0] != WLAN_EID_VENDOR_SPECIFIC || in rtw_get_wps_attr23a()
622 memcmp(wps_ie + 2, wps_oui, 4)) { in rtw_get_wps_attr23a()
627 attr_ptr = wps_ie + 6; /* goto first attr */ in rtw_get_wps_attr23a()
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()
Drtw_mlme_ext.c1339 const u8 *pos, *p, *wpa_ie, *wps_ie; in OnAssocReq23a() local
1520 wps_ie = cfg80211_find_vendor_ie(WLAN_OUI_MICROSOFT, in OnAssocReq23a()
1525 if (wps_ie) { in OnAssocReq23a()
1546 if (wps_ie) { in OnAssocReq23a()
2363 const u8 *wps_ie; in issue_beacon23a() local
2420 wps_ie = cfg80211_find_vendor_ie(WLAN_OUI_MICROSOFT, in issue_beacon23a()
2424 if (wps_ie && wps_ie[1] > 0) { in issue_beacon23a()
2425 rtw_get_wps_attr_content23a(wps_ie, wps_ie[1], in issue_beacon23a()
Drtw_mlme.c1994 memcpy(out_ie + ielength, psecuritypriv->wps_ie, in rtw_restruct_sec_ie23a()
/drivers/staging/rtl8723au/include/
Dieee80211.h323 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…
Drtw_security.h134 u8 wps_ie[MAX_WPS_IE_LEN];/* added in assoc req */ member
/drivers/staging/rtl8723au/os_dep/
Dioctl_cfg80211.c1304 const u8 *wps_ie; in rtw_cfg80211_set_probe_req_wpsp2pie() local
1310 wps_ie = cfg80211_find_vendor_ie(WLAN_OUI_MICROSOFT, in rtw_cfg80211_set_probe_req_wpsp2pie()
1313 if (wps_ie) { in rtw_cfg80211_set_probe_req_wpsp2pie()
1314 DBG_8723A("probe_req_wps_ielen =%d\n", wps_ie[1]); in rtw_cfg80211_set_probe_req_wpsp2pie()
1322 pmlmepriv->wps_probe_req_ie = kmemdup(wps_ie, wps_ie[1], in rtw_cfg80211_set_probe_req_wpsp2pie()
1329 pmlmepriv->wps_probe_req_ie_len = wps_ie[1]; in rtw_cfg80211_set_probe_req_wpsp2pie()
1575 const u8 *wps_ie; in rtw_cfg80211_set_wpa_ie() local
1701 wps_ie = cfg80211_find_vendor_ie(WLAN_OUI_MICROSOFT, in rtw_cfg80211_set_wpa_ie()
1704 if (wps_ie && wps_ie[1] > 0) { in rtw_cfg80211_set_wpa_ie()
1705 DBG_8723A("got wps_ie, wps_ielen:%u\n", wps_ie[1]); in rtw_cfg80211_set_wpa_ie()
[all …]
/drivers/staging/rtl8188eu/include/
Dieee80211.h1065 u8 *wps_ie; member
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,
Drtw_security.h135 u8 wps_ie[MAX_WPS_IE_LEN];/* added in assoc req */ member
/drivers/staging/rtl8712/
Dieee80211.c401 int r8712_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen) in r8712_get_wps_ie() argument
413 memcpy(wps_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); in r8712_get_wps_ie()
Drtl871x_security.h111 u8 wps_ie[MAX_WPA_IE_LEN<<2]; member
Dieee80211.h765 int r8712_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen);
Drtl871x_ioctl_linux.c309 u8 wps_ie[512]; in translate_scan() local
314 wps_ie, &wps_ielen)) { in translate_scan()
319 &iwe, wps_ie); in translate_scan()
586 memcpy(padapter->securitypriv.wps_ie, in r871x_set_wpa_ie()
Drtl871x_mlme.c468 u8 wps_ie[512]; in is_desired_network() local
475 pnetwork->network.IELength, wps_ie, in is_desired_network()
1590 memcpy(out_ie + ielength, psecuritypriv->wps_ie, in r8712_restruct_sec_ie()
/drivers/net/wireless/mwifiex/
Dsta_ioctl.c853 priv->wps_ie = kzalloc(MWIFIEX_MAX_VSIE_LEN, GFP_KERNEL); in mwifiex_set_wps_ie()
854 if (!priv->wps_ie) in mwifiex_set_wps_ie()
857 memcpy(priv->wps_ie, ie_data_ptr, ie_len); in mwifiex_set_wps_ie()
861 priv->wps_ie_len, priv->wps_ie[0]); in mwifiex_set_wps_ie()
863 kfree(priv->wps_ie); in mwifiex_set_wps_ie()
Djoin.c262 memcpy(*buffer, priv->wps_ie, priv->wps_ie_len); in mwifiex_cmd_append_wps_ie()
268 kfree(priv->wps_ie); in mwifiex_cmd_append_wps_ie()
Dinit.c142 priv->wps_ie = NULL; in mwifiex_init_priv()
Dmain.h574 u8 *wps_ie; member
/drivers/staging/rtl8192e/
Drtllib_wx.c798 ieee->wps_ie = buf; in rtllib_wx_set_gen_ie()
803 kfree(ieee->wps_ie); in rtllib_wx_set_gen_ie()
804 ieee->wps_ie = NULL; in rtllib_wx_set_gen_ie()
Drtllib.h1567 u8 *wps_ie; member
Drtllib_softmac.c1365 if (wps_ie_len && ieee->wps_ie) { in rtllib_association_req()
1367 memcpy(tag, ieee->wps_ie, wps_ie_len); in rtllib_association_req()
/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c609 memcpy(padapter->securitypriv.wps_ie, &buf[cnt], padapter->securitypriv.wps_ie_len); in rtw_set_wpa_ie()