Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/
Drtw_ieee80211.c566 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen) in rtw_get_wps_ie() argument
586 if (wps_ie) in rtw_get_wps_ie()
587 memcpy(wps_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); in rtw_get_wps_ie()
611 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
620 if ((wps_ie[0] != _VENDOR_SPECIFIC_IE_) || in rtw_get_wps_attr()
621 (memcmp(wps_ie + 2, wps_oui, 4))) in rtw_get_wps_attr()
625 attr_ptr = wps_ie + 6; /* goto first attr */ in rtw_get_wps_attr()
627 while (attr_ptr - wps_ie < wps_ielen) { in rtw_get_wps_attr()
656 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
664 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.c354 u8 *wps_ie; in issue_beacon() local
366wps_ie = rtw_get_wps_ie(pmgntframe->buf_addr + TXDESC_OFFSET + sizeof(struct ieee80211_hdr_3addr) … in issue_beacon()
368 if (wps_ie && wps_ielen > 0) in issue_beacon()
369 rtw_get_wps_attr_content(wps_ie, wps_ielen, WPS_ATTR_SELECTED_REGISTRAR, (u8 *)(&sr), NULL); in issue_beacon()
3074 if (elems.wps_ie) { in OnAssocReq()
3118 if (elems.wps_ie) { in OnAssocReq()
Drtw_mlme.c1739 memcpy(out_ie + ielength, psecuritypriv->wps_ie, psecuritypriv->wps_ie_len); in rtw_restruct_sec_ie()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/
Drtw_ieee80211.c738 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen) in rtw_get_wps_ie() argument
758 if (wps_ie) in rtw_get_wps_ie()
759 memcpy(wps_ie, &in_ie[cnt], in_ie[cnt+1]+2); in rtw_get_wps_ie()
785 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
794 if ((wps_ie[0] != _VENDOR_SPECIFIC_IE_) || in rtw_get_wps_attr()
795 (memcmp(wps_ie + 2, wps_oui, 4))) { in rtw_get_wps_attr()
800 attr_ptr = wps_ie + 6; /* goto first attr */ in rtw_get_wps_attr()
802 while (attr_ptr - wps_ie < wps_ielen) { in rtw_get_wps_attr()
837 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
845 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.c1371 if (elems.wps_ie) { in OnAssocReq()
1419 if (elems.wps_ie) { in OnAssocReq()
2501 u8 *wps_ie; in issue_beacon() local
2505wps_ie = rtw_get_wps_ie(pmgntframe->buf_addr+TXDESC_OFFSET+sizeof(struct ieee80211_hdr_3addr)+_BEA… in issue_beacon()
2507 if (wps_ie && wps_ielen > 0) { in issue_beacon()
2508 rtw_get_wps_attr_content(wps_ie, wps_ielen, WPS_ATTR_SELECTED_REGISTRAR, (u8 *)(&sr), NULL); in issue_beacon()
Drtw_mlme.c2363 memcpy(out_ie+ielength, psecuritypriv->wps_ie, psecuritypriv->wps_ie_len); in rtw_restruct_sec_ie()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/
Dieee80211.h672 u8 *wps_ie; member
730 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen);
731 u8 *rtw_get_wps_attr(u8 *wps_ie, uint wps_ielen, u16 target_attr_id,
733 u8 *rtw_get_wps_attr_content(u8 *wps_ie, uint wps_ielen, u16 target_attr_id,
Drtw_security.h127 u8 wps_ie[MAX_WPS_IE_LEN];/* added in assoc req */ member
/kernel/linux/linux-5.10/drivers/staging/ks7010/
Dks_wlan.h196 struct wps_ie { struct
221 struct wps_ie wps_ie; argument
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
Dieee80211.h1085 u8 *wps_ie; member
1143 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen);
1144 u8 *rtw_get_wps_attr(u8 *wps_ie, uint wps_ielen, u16 target_attr_id, u8 *buf_attr, u32 *len_attr);
1145 u8 *rtw_get_wps_attr_content(u8 *wps_ie, uint wps_ielen, u16 target_attr_id, u8 *buf_content, uint …
Drtw_security.h130 u8 wps_ie[MAX_WPS_IE_LEN];/* added in assoc req */ member
/kernel/linux/linux-5.10/drivers/staging/rtl8712/
Dieee80211.c394 int r8712_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen) in r8712_get_wps_ie() argument
406 memcpy(wps_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); in r8712_get_wps_ie()
Dieee80211.h159 int r8712_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen);
Drtl871x_security.h104 u8 wps_ie[MAX_WPA_IE_LEN<<2]; member
Drtl871x_mlme.c419 u8 wps_ie[512]; in is_desired_network() local
426 pnetwork->network.IELength, wps_ie, in is_desired_network()
1538 memcpy(out_ie + ielength, psecuritypriv->wps_ie, in r8712_restruct_sec_ie()
Drtl871x_ioctl_linux.c191 u8 wps_ie[512]; in translate_scan_wps() local
196 wps_ie, &wps_ielen)) { in translate_scan_wps()
201 iwe, wps_ie); in translate_scan_wps()
578 memcpy(padapter->securitypriv.wps_ie, in r871x_set_wpa_ie()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dsta_ioctl.c875 priv->wps_ie = kzalloc(MWIFIEX_MAX_VSIE_LEN, GFP_KERNEL); in mwifiex_set_wps_ie()
876 if (!priv->wps_ie) in mwifiex_set_wps_ie()
879 memcpy(priv->wps_ie, ie_data_ptr, ie_len); in mwifiex_set_wps_ie()
883 priv->wps_ie_len, priv->wps_ie[0]); in mwifiex_set_wps_ie()
885 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.c151 priv->wps_ie = NULL; in mwifiex_init_priv()
Dmain.h605 u8 *wps_ie; member
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/
Drtllib_wx.c783 ieee->wps_ie = buf; in rtllib_wx_set_gen_ie()
788 kfree(ieee->wps_ie); in rtllib_wx_set_gen_ie()
789 ieee->wps_ie = NULL; in rtllib_wx_set_gen_ie()
Drtllib_softmac.c1355 if (wps_ie_len && ieee->wps_ie) { in rtllib_association_req()
1356 skb_put_data(skb, ieee->wps_ie, wps_ie_len); in rtllib_association_req()
Drtllib.h1512 u8 *wps_ie; member
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c1444 u8 *wps_ie; in rtw_cfg80211_set_probe_req_wpsp2pie() local
1453 if ((wps_ie = rtw_get_wps_ie(buf, len, NULL, &wps_ielen))) in rtw_cfg80211_set_probe_req_wpsp2pie()
1472 memcpy(pmlmepriv->wps_probe_req_ie, wps_ie, wps_ielen); in rtw_cfg80211_set_probe_req_wpsp2pie()
1906 u8 *wps_ie; in rtw_cfg80211_set_wpa_ie() local
1908 wps_ie = rtw_get_wps_ie(buf, ielen, NULL, &wps_ielen); in rtw_cfg80211_set_wpa_ie()
1909 if (wps_ie && wps_ielen > 0) { in rtw_cfg80211_set_wpa_ie()
1912 memcpy(padapter->securitypriv.wps_ie, wps_ie, padapter->securitypriv.wps_ie_len); in rtw_cfg80211_set_wpa_ie()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c595 memcpy(padapter->securitypriv.wps_ie, &buf[cnt], padapter->securitypriv.wps_ie_len); in rtw_set_wpa_ie()

12