Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/staging/rtl8723bs/core/
A 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 …]
A 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()
A Drtw_mlme.c2097 memcpy(out_ie+ielength, psecuritypriv->wps_ie, psecuritypriv->wps_ie_len); in rtw_restruct_sec_ie()
/linux-6.3-rc2/drivers/staging/ks7010/
A Dks_wlan.h196 struct wps_ie { struct
221 struct wps_ie wps_ie; argument
/linux-6.3-rc2/drivers/staging/rtl8723bs/include/
A 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 …
A Drtw_security.h128 u8 wps_ie[MAX_WPS_IE_LEN];/* added in assoc req */ member
/linux-6.3-rc2/drivers/staging/rtl8712/
A 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()
A Dieee80211.h159 int r8712_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen);
A Drtl871x_security.h104 u8 wps_ie[MAX_WPA_IE_LEN << 2]; member
A 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()
A 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.3-rc2/drivers/net/wireless/marvell/mwifiex/
A 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()
A 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()
A Dinit.c140 priv->wps_ie = NULL; in mwifiex_init_priv()
A Dmain.h596 u8 *wps_ie; member
/linux-6.3-rc2/drivers/staging/rtl8723bs/os_dep/
A Dioctl_cfg80211.c1181 u8 *wps_ie; in rtw_cfg80211_set_probe_req_wpsp2pie() local
1185 wps_ie = rtw_get_wps_ie(buf, len, NULL, &wps_ielen); in rtw_cfg80211_set_probe_req_wpsp2pie()
1186 if (wps_ie) { in rtw_cfg80211_set_probe_req_wpsp2pie()
1197 memcpy(pmlmepriv->wps_probe_req_ie, wps_ie, wps_ielen); in rtw_cfg80211_set_probe_req_wpsp2pie()
1554 u8 *wps_ie; in rtw_cfg80211_set_wpa_ie() local
1556 wps_ie = rtw_get_wps_ie(buf, ielen, NULL, &wps_ielen); in rtw_cfg80211_set_wpa_ie()
1557 if (wps_ie && wps_ielen > 0) { in rtw_cfg80211_set_wpa_ie()
1559 memcpy(padapter->securitypriv.wps_ie, wps_ie, padapter->securitypriv.wps_ie_len); in rtw_cfg80211_set_wpa_ie()
A Dioctl_linux.c323 memcpy(padapter->securitypriv.wps_ie, &buf[cnt], padapter->securitypriv.wps_ie_len); in rtw_set_wpa_ie()
/linux-6.3-rc2/drivers/staging/rtl8192e/
A 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()
A Drtllib_softmac.c1353 if (wps_ie_len && ieee->wps_ie) in rtllib_association_req()
1354 skb_put_data(skb, ieee->wps_ie, wps_ie_len); in rtllib_association_req()
A Drtllib.h1506 u8 *wps_ie; member

Completed in 75 milliseconds