Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_ieee80211.c529 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 …]
Drtw_mlme_ext.c1154 if (elems.wps_ie) in OnAssocReq()
1188 if (elems.wps_ie) { in OnAssocReq()
4266 u8 *wps_ie; in issue_beacon() local
4269wps_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()
Drtw_mlme.c1773 memcpy(out_ie + ielength, psecuritypriv->wps_ie, psecuritypriv->wps_ie_len); in rtw_restruct_sec_ie()
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_ieee80211.c646 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 …]
Drtw_mlme_ext.c1126 if (elems.wps_ie) { in OnAssocReq()
1163 if (elems.wps_ie) { in OnAssocReq()
2174 u8 *wps_ie; in issue_beacon() local
2178wps_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()
Drtw_mlme.c2099 memcpy(out_ie+ielength, psecuritypriv->wps_ie, psecuritypriv->wps_ie_len); in rtw_restruct_sec_ie()
/linux-6.1.9/drivers/staging/ks7010/
Dks_wlan.h196 struct wps_ie { struct
221 struct wps_ie wps_ie; argument
/linux-6.1.9/drivers/staging/r8188eu/include/
Dieee80211.h722 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,
Drtw_security.h114 u8 wps_ie[MAX_WPS_IE_LEN];/* added in assoc req */ member
/linux-6.1.9/drivers/staging/rtl8723bs/include/
Dieee80211.h698 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 …
Drtw_security.h128 u8 wps_ie[MAX_WPS_IE_LEN];/* added in assoc req */ member
/linux-6.1.9/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.c417 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()
Drtl871x_ioctl_linux.c189 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/
Dsta_ioctl.c863 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()
Djoin.c250 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()
Dinit.c140 priv->wps_ie = NULL; in mwifiex_init_priv()
Dmain.h595 u8 *wps_ie; member
/linux-6.1.9/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c1177 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()
Dioctl_linux.c322 memcpy(padapter->securitypriv.wps_ie, &buf[cnt], padapter->securitypriv.wps_ie_len); in rtw_set_wpa_ie()
/linux-6.1.9/drivers/staging/rtl8192e/
Drtllib_wx.c764 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()
Drtllib_softmac.c1354 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()
Drtllib.h1512 u8 *wps_ie; member

12