Home
last modified time | relevance | path

Searched refs:wpsie (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/drivers/staging/r8188eu/core/
Drtw_mlme_ext.c1817 u8 wpsie[255] = { 0x00 }, p2pie[255] = { 0x00 }; in issue_p2p_GO_request() local
1867 *(__be32 *)(wpsie) = cpu_to_be32(WPSOUI); in issue_p2p_GO_request()
1872 *(__be16 *)(wpsie + wpsielen) = cpu_to_be16(WPS_ATTR_VER1); in issue_p2p_GO_request()
1876 *(__be16 *)(wpsie + wpsielen) = cpu_to_be16(0x0001); in issue_p2p_GO_request()
1880 wpsie[wpsielen++] = WPS_VERSION_1; /* Version 1.0 */ in issue_p2p_GO_request()
1884 *(__be16 *)(wpsie + wpsielen) = cpu_to_be16(WPS_ATTR_DEVICE_PWID); in issue_p2p_GO_request()
1888 *(__be16 *)(wpsie + wpsielen) = cpu_to_be16(0x0002); in issue_p2p_GO_request()
1894 *(__be16 *)(wpsie + wpsielen) = cpu_to_be16(WPS_DPID_USER_SPEC); in issue_p2p_GO_request()
1896 *(__be16 *)(wpsie + wpsielen) = cpu_to_be16(WPS_DPID_REGISTRAR_SPEC); in issue_p2p_GO_request()
1898 *(__be16 *)(wpsie + wpsielen) = cpu_to_be16(WPS_DPID_PBC); in issue_p2p_GO_request()
[all …]
Drtw_p2p.c249 u8 wpsie[100] = { 0x00 }; in issue_p2p_provision_resp() local
294 RTW_PUT_BE32(wpsie, WPSOUI); in issue_p2p_provision_resp()
299 RTW_PUT_BE16(wpsie + wpsielen, WPS_ATTR_CONF_METHOD); in issue_p2p_provision_resp()
303 RTW_PUT_BE16(wpsie + wpsielen, 0x0002); in issue_p2p_provision_resp()
307 RTW_PUT_BE16(wpsie + wpsielen, config_method); in issue_p2p_provision_resp()
310 …pframe = rtw_set_ie(pframe, _VENDOR_SPECIFIC_IE_, wpsielen, (unsigned char *)wpsie, &pattrib->pktl… in issue_p2p_provision_resp()
988 u8 *wpsie; in process_p2p_provdisc_req() local
995wpsie = rtw_get_wps_ie(frame_body + _PUBLIC_ACTION_IE_OFFSET_, len - _PUBLIC_ACTION_IE_OFFSET_, NU… in process_p2p_provdisc_req()
996 if (wpsie) { in process_p2p_provdisc_req()
997 …if (rtw_get_wps_attr_content(wpsie, wps_ielen, WPS_ATTR_CONF_METHOD, (u8 *)&be_tmp, &attr_contentl… in process_p2p_provdisc_req()
[all …]
/Linux-v5.15/drivers/staging/r8188eu/os_dep/
Dioctl_linux.c2960 u8 *wpsie; in rtw_p2p_get_wps_configmethod() local
2965wpsie = rtw_get_wps_ie(&pnetwork->network.IEs[12], pnetwork->network.IELength - 12, NULL, &wpsie_l… in rtw_p2p_get_wps_configmethod()
2966 if (wpsie) { in rtw_p2p_get_wps_configmethod()
2967 … rtw_get_wps_attr_content(wpsie, wpsie_len, WPS_ATTR_CONF_METHOD, (u8 *)&be_tmp, &attr_contentlen); in rtw_p2p_get_wps_configmethod()
3110 u8 *wpsie; in rtw_p2p_get_device_type() local
3115 wpsie = rtw_get_wps_ie(&pnetwork->network.IEs[12], in rtw_p2p_get_device_type()
3118 if (wpsie) { in rtw_p2p_get_device_type()
3119 rtw_get_wps_attr_content(wpsie, wpsie_len, WPS_ATTR_PRIMARY_DEV_TYPE, dev_type, &dev_type_len); in rtw_p2p_get_device_type()
3186 u8 *wpsie; in rtw_p2p_get_device_name() local
3190wpsie = rtw_get_wps_ie(&pnetwork->network.IEs[12], pnetwork->network.IELength - 12, NULL, &wpsie_l… in rtw_p2p_get_device_name()
[all …]
/Linux-v5.15/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c254 u8 *wpsie = NULL; in rtw_cfg80211_inform_bss() local
256wpsie = rtw_get_wps_ie(pnetwork->network.ies+_FIXED_IE_LENGTH_, pnetwork->network.ie_length-_FIXED… in rtw_cfg80211_inform_bss()
258 if (wpsie && wpsielen > 0) in rtw_cfg80211_inform_bss()
259 psr = rtw_get_wps_attr_content(wpsie, wpsielen, WPS_ATTR_SELECTED_REGISTRAR, (u8 *)(&sr), NULL); in rtw_cfg80211_inform_bss()