/linux-6.1.9/drivers/staging/r8188eu/core/ |
D | rtw_ieee80211.c | 529 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen) in rtw_get_wps_ie() argument 549 if (wps_ie) in rtw_get_wps_ie() 550 memcpy(wps_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); in rtw_get_wps_ie() 574 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 583 if ((wps_ie[0] != _VENDOR_SPECIFIC_IE_) || in rtw_get_wps_attr() 584 (memcmp(wps_ie + 2, wps_oui, 4))) in rtw_get_wps_attr() 588 attr_ptr = wps_ie + 6; /* goto first attr */ in rtw_get_wps_attr() 590 while (attr_ptr - wps_ie < wps_ielen) { in rtw_get_wps_attr() 619 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 627 attr_ptr = rtw_get_wps_attr(wps_ie, wps_ielen, target_attr_id, NULL, &attr_len); in rtw_get_wps_attr_content() [all …]
|
D | rtw_mlme_ext.c | 1154 if (elems.wps_ie) in OnAssocReq() 1188 if (elems.wps_ie) { in OnAssocReq() 4266 u8 *wps_ie; in issue_beacon() local 4269 …wps_ie = rtw_get_wps_ie(pmgntframe->buf_addr + TXDESC_OFFSET + sizeof(struct ieee80211_hdr_3addr) … in issue_beacon() 4271 if (wps_ie && wps_ielen > 0) in issue_beacon() 4272 rtw_get_wps_attr_content(wps_ie, wps_ielen, WPS_ATTR_SELECTED_REGISTRAR, (u8 *)(&sr), NULL); in issue_beacon()
|
D | rtw_mlme.c | 1773 memcpy(out_ie + ielength, psecuritypriv->wps_ie, psecuritypriv->wps_ie_len); in rtw_restruct_sec_ie()
|
/linux-6.1.9/drivers/staging/rtl8723bs/core/ |
D | rtw_ieee80211.c | 646 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen) in rtw_get_wps_ie() argument 666 if (wps_ie) in rtw_get_wps_ie() 667 memcpy(wps_ie, &in_ie[cnt], in_ie[cnt+1]+2); in rtw_get_wps_ie() 692 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 701 if ((wps_ie[0] != WLAN_EID_VENDOR_SPECIFIC) || in rtw_get_wps_attr() 702 (memcmp(wps_ie + 2, wps_oui, 4))) { in rtw_get_wps_attr() 707 attr_ptr = wps_ie + 6; /* goto first attr */ in rtw_get_wps_attr() 709 while (attr_ptr - wps_ie < wps_ielen) { in rtw_get_wps_attr() 742 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 750 attr_ptr = rtw_get_wps_attr(wps_ie, wps_ielen, target_attr_id, NULL, &attr_len); in rtw_get_wps_attr_content() [all …]
|
D | rtw_mlme_ext.c | 1126 if (elems.wps_ie) { in OnAssocReq() 1163 if (elems.wps_ie) { in OnAssocReq() 2174 u8 *wps_ie; in issue_beacon() local 2178 …wps_ie = rtw_get_wps_ie(pmgntframe->buf_addr+TXDESC_OFFSET+sizeof(struct ieee80211_hdr_3addr)+_BEA… in issue_beacon() 2180 if (wps_ie && wps_ielen > 0) in issue_beacon() 2181 rtw_get_wps_attr_content(wps_ie, wps_ielen, WPS_ATTR_SELECTED_REGISTRAR, (u8 *)(&sr), NULL); in issue_beacon()
|
D | rtw_mlme.c | 2099 memcpy(out_ie+ielength, psecuritypriv->wps_ie, psecuritypriv->wps_ie_len); in rtw_restruct_sec_ie()
|
/linux-6.1.9/drivers/staging/ks7010/ |
D | ks_wlan.h | 196 struct wps_ie { struct 221 struct wps_ie wps_ie; argument
|
/linux-6.1.9/drivers/staging/r8188eu/include/ |
D | ieee80211.h | 722 u8 *wps_ie; member 773 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen); 774 u8 *rtw_get_wps_attr(u8 *wps_ie, uint wps_ielen, u16 target_attr_id, 776 u8 *rtw_get_wps_attr_content(u8 *wps_ie, uint wps_ielen, u16 target_attr_id,
|
D | rtw_security.h | 114 u8 wps_ie[MAX_WPS_IE_LEN];/* added in assoc req */ member
|
/linux-6.1.9/drivers/staging/rtl8723bs/include/ |
D | ieee80211.h | 698 u8 *wps_ie; member 749 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen); 750 u8 *rtw_get_wps_attr(u8 *wps_ie, uint wps_ielen, u16 target_attr_id, u8 *buf_attr, u32 *len_attr); 751 u8 *rtw_get_wps_attr_content(u8 *wps_ie, uint wps_ielen, u16 target_attr_id, u8 *buf_content, uint …
|
D | rtw_security.h | 128 u8 wps_ie[MAX_WPS_IE_LEN];/* added in assoc req */ member
|
/linux-6.1.9/drivers/staging/rtl8712/ |
D | ieee80211.c | 394 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()
|
D | ieee80211.h | 159 int r8712_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen);
|
D | rtl871x_security.h | 104 u8 wps_ie[MAX_WPA_IE_LEN << 2]; member
|
D | rtl871x_mlme.c | 417 u8 wps_ie[512]; in is_desired_network() local 424 pnetwork->network.IELength, wps_ie, in is_desired_network() 1496 memcpy(out_ie + ielength, psecuritypriv->wps_ie, in r8712_restruct_sec_ie()
|
D | rtl871x_ioctl_linux.c | 189 u8 wps_ie[512]; in translate_scan_wps() local 194 wps_ie, &wps_ielen)) { in translate_scan_wps() 199 iwe, wps_ie); in translate_scan_wps() 576 memcpy(padapter->securitypriv.wps_ie, in r871x_set_wpa_ie()
|
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/ |
D | sta_ioctl.c | 863 priv->wps_ie = kzalloc(MWIFIEX_MAX_VSIE_LEN, GFP_KERNEL); in mwifiex_set_wps_ie() 864 if (!priv->wps_ie) in mwifiex_set_wps_ie() 867 memcpy(priv->wps_ie, ie_data_ptr, ie_len); in mwifiex_set_wps_ie() 871 priv->wps_ie_len, priv->wps_ie[0]); in mwifiex_set_wps_ie() 873 kfree(priv->wps_ie); in mwifiex_set_wps_ie()
|
D | join.c | 250 memcpy(*buffer, priv->wps_ie, priv->wps_ie_len); in mwifiex_cmd_append_wps_ie() 256 kfree(priv->wps_ie); in mwifiex_cmd_append_wps_ie()
|
D | init.c | 140 priv->wps_ie = NULL; in mwifiex_init_priv()
|
D | main.h | 595 u8 *wps_ie; member
|
/linux-6.1.9/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_cfg80211.c | 1177 u8 *wps_ie; in rtw_cfg80211_set_probe_req_wpsp2pie() local 1181 wps_ie = rtw_get_wps_ie(buf, len, NULL, &wps_ielen); in rtw_cfg80211_set_probe_req_wpsp2pie() 1182 if (wps_ie) { in rtw_cfg80211_set_probe_req_wpsp2pie() 1193 memcpy(pmlmepriv->wps_probe_req_ie, wps_ie, wps_ielen); in rtw_cfg80211_set_probe_req_wpsp2pie() 1550 u8 *wps_ie; in rtw_cfg80211_set_wpa_ie() local 1552 wps_ie = rtw_get_wps_ie(buf, ielen, NULL, &wps_ielen); in rtw_cfg80211_set_wpa_ie() 1553 if (wps_ie && wps_ielen > 0) { in rtw_cfg80211_set_wpa_ie() 1555 memcpy(padapter->securitypriv.wps_ie, wps_ie, padapter->securitypriv.wps_ie_len); in rtw_cfg80211_set_wpa_ie()
|
D | ioctl_linux.c | 322 memcpy(padapter->securitypriv.wps_ie, &buf[cnt], padapter->securitypriv.wps_ie_len); in rtw_set_wpa_ie()
|
/linux-6.1.9/drivers/staging/rtl8192e/ |
D | rtllib_wx.c | 764 ieee->wps_ie = buf; in rtllib_wx_set_gen_ie() 769 kfree(ieee->wps_ie); in rtllib_wx_set_gen_ie() 770 ieee->wps_ie = NULL; in rtllib_wx_set_gen_ie()
|
D | rtllib_softmac.c | 1354 if (wps_ie_len && ieee->wps_ie) in rtllib_association_req() 1355 skb_put_data(skb, ieee->wps_ie, wps_ie_len); in rtllib_association_req()
|
D | rtllib.h | 1512 u8 *wps_ie; member
|