Home
last modified time | relevance | path

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

/linux/drivers/staging/rtl8723bs/core/
H A Drtw_ieee80211.c663 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen) in rtw_get_wps_ie() argument
690 if (wps_ie) in rtw_get_wps_ie()
691 memcpy(wps_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); in rtw_get_wps_ie()
716 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
728 if ((wps_ie[0] != WLAN_EID_VENDOR_SPECIFIC) || in rtw_get_wps_attr()
729 (memcmp(wps_ie + 2, wps_oui, 4))) { in rtw_get_wps_attr()
734 attr_ptr = wps_ie + 6; /* goto first attr */ in rtw_get_wps_attr()
736 while (attr_ptr - wps_ie < wps_ielen) { in rtw_get_wps_attr()
738 if (attr_ptr + 4 > wps_ie + wps_ielen) in rtw_get_wps_attr()
745 if (attr_ptr + attr_len > wps_ie + wps_ielen) in rtw_get_wps_attr()
[all …]
H A Drtw_mlme.c2086 memcpy(out_ie + ielength, psecuritypriv->wps_ie, psecuritypriv->wps_ie_len); in rtw_restruct_sec_ie()
/linux/drivers/net/wireless/nxp/nxpwifi/
H A Dsta_cfg.c693 priv->wps_ie = kzalloc(NXPWIFI_MAX_VSIE_LEN, GFP_KERNEL); in nxpwifi_set_wps_ie()
694 if (!priv->wps_ie) in nxpwifi_set_wps_ie()
697 memcpy(priv->wps_ie, ie_data_ptr, ie_len); in nxpwifi_set_wps_ie()
701 priv->wps_ie_len, priv->wps_ie[0]); in nxpwifi_set_wps_ie()
703 kfree(priv->wps_ie); in nxpwifi_set_wps_ie()
H A Djoin.c223 memcpy(*buffer, priv->wps_ie, priv->wps_ie_len); in nxpwifi_cmd_append_wps_ie()
228 kfree(priv->wps_ie); in nxpwifi_cmd_append_wps_ie()
H A Dinit.c122 priv->wps_ie = NULL; in nxpwifi_init_priv()
H A Dmain.h531 u8 *wps_ie; member
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_ioctl.c929 priv->wps_ie = kzalloc(MWIFIEX_MAX_VSIE_LEN, GFP_KERNEL); in mwifiex_set_wps_ie()
930 if (!priv->wps_ie) in mwifiex_set_wps_ie()
933 memcpy(priv->wps_ie, ie_data_ptr, ie_len); in mwifiex_set_wps_ie()
937 priv->wps_ie_len, priv->wps_ie[0]); in mwifiex_set_wps_ie()
939 kfree(priv->wps_ie); in mwifiex_set_wps_ie()
H 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()