Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/staging/r8188eu/core/
Drtw_mlme_ext.c1553 u8 wpsie[255] = { 0x00 }, p2pie[255] = { 0x00 }; in issue_p2p_GO_request() local
1602 *(__be32 *)(wpsie) = cpu_to_be32(WPSOUI); in issue_p2p_GO_request()
1607 *(__be16 *)(wpsie + wpsielen) = cpu_to_be16(WPS_ATTR_VER1); in issue_p2p_GO_request()
1611 *(__be16 *)(wpsie + wpsielen) = cpu_to_be16(0x0001); in issue_p2p_GO_request()
1615 wpsie[wpsielen++] = WPS_VERSION_1; /* Version 1.0 */ in issue_p2p_GO_request()
1619 *(__be16 *)(wpsie + wpsielen) = cpu_to_be16(WPS_ATTR_DEVICE_PWID); in issue_p2p_GO_request()
1623 *(__be16 *)(wpsie + wpsielen) = cpu_to_be16(0x0002); in issue_p2p_GO_request()
1629 *(__be16 *)(wpsie + wpsielen) = cpu_to_be16(WPS_DPID_USER_SPEC); in issue_p2p_GO_request()
1631 *(__be16 *)(wpsie + wpsielen) = cpu_to_be16(WPS_DPID_REGISTRAR_SPEC); in issue_p2p_GO_request()
1633 *(__be16 *)(wpsie + wpsielen) = cpu_to_be16(WPS_DPID_PBC); in issue_p2p_GO_request()
[all …]
Drtw_p2p.c241 u8 wpsie[100] = { 0x00 }; in issue_p2p_provision_resp() local
286 RTW_PUT_BE32(wpsie, WPSOUI); in issue_p2p_provision_resp()
291 RTW_PUT_BE16(wpsie + wpsielen, WPS_ATTR_CONF_METHOD); in issue_p2p_provision_resp()
295 RTW_PUT_BE16(wpsie + wpsielen, 0x0002); in issue_p2p_provision_resp()
299 RTW_PUT_BE16(wpsie + wpsielen, config_method); in issue_p2p_provision_resp()
302 …pframe = rtw_set_ie(pframe, _VENDOR_SPECIFIC_IE_, wpsielen, (unsigned char *)wpsie, &pattrib->pktl… in issue_p2p_provision_resp()
965 u8 *wpsie; in process_p2p_provdisc_req() local
972wpsie = rtw_get_wps_ie(frame_body + _PUBLIC_ACTION_IE_OFFSET_, len - _PUBLIC_ACTION_IE_OFFSET_, NU… in process_p2p_provdisc_req()
973 if (wpsie) { in process_p2p_provdisc_req()
974 …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-5.19.10/drivers/staging/r8188eu/os_dep/
Dioctl_linux.c2322 u8 *wpsie; in rtw_p2p_get_wps_configmethod() local
2327wpsie = rtw_get_wps_ie(&pnetwork->network.IEs[12], pnetwork->network.IELength - 12, NULL, &wpsie_l… in rtw_p2p_get_wps_configmethod()
2328 if (wpsie) { in rtw_p2p_get_wps_configmethod()
2329 … rtw_get_wps_attr_content(wpsie, wpsie_len, WPS_ATTR_CONF_METHOD, (u8 *)&be_tmp, &attr_contentlen); in rtw_p2p_get_wps_configmethod()
2468 u8 *wpsie; in rtw_p2p_get_device_type() local
2473 wpsie = rtw_get_wps_ie(&pnetwork->network.IEs[12], in rtw_p2p_get_device_type()
2476 if (wpsie) { in rtw_p2p_get_device_type()
2477 rtw_get_wps_attr_content(wpsie, wpsie_len, WPS_ATTR_PRIMARY_DEV_TYPE, dev_type, &dev_type_len); in rtw_p2p_get_device_type()
2542 u8 *wpsie; in rtw_p2p_get_device_name() local
2546wpsie = rtw_get_wps_ie(&pnetwork->network.IEs[12], pnetwork->network.IELength - 12, NULL, &wpsie_l… in rtw_p2p_get_device_name()
[all …]
/linux-5.19.10/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c248 u8 *wpsie = NULL; in rtw_cfg80211_inform_bss() local
250wpsie = rtw_get_wps_ie(pnetwork->network.ies+_FIXED_IE_LENGTH_, pnetwork->network.ie_length-_FIXED… in rtw_cfg80211_inform_bss()
252 if (wpsie && wpsielen > 0) in rtw_cfg80211_inform_bss()
253 psr = rtw_get_wps_attr_content(wpsie, wpsielen, WPS_ATTR_SELECTED_REGISTRAR, (u8 *)(&sr), NULL); in rtw_cfg80211_inform_bss()