Home
last modified time | relevance | path

Searched refs:psecnetwork (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_cmd.c451 struct wlan_bssid_ex *psecnetwork; in r8712_joinbss_cmd() local
482 psecnetwork = &psecuritypriv->sec_bss; in r8712_joinbss_cmd()
483 if (!psecnetwork) { in r8712_joinbss_cmd()
487 memcpy(psecnetwork, &pnetwork->network, sizeof(*psecnetwork)); in r8712_joinbss_cmd()
489 psecnetwork->IELength; in r8712_joinbss_cmd()
490 if ((psecnetwork->IELength - 12) < (256 - 1)) in r8712_joinbss_cmd()
492 &psecnetwork->IEs[12], psecnetwork->IELength - 12); in r8712_joinbss_cmd()
495 &psecnetwork->IEs[12], (256 - 1)); in r8712_joinbss_cmd()
496 psecnetwork->IELength = 0; in r8712_joinbss_cmd()
505 psecnetwork->IELength = r8712_restruct_sec_ie(padapter, in r8712_joinbss_cmd()
[all …]
/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_cmd.c351 struct wlan_bssid_ex *psecnetwork; in rtw_joinbss_cmd() local
394 psecnetwork = (struct wlan_bssid_ex *)&psecuritypriv->sec_bss; in rtw_joinbss_cmd()
395 if (!psecnetwork) { in rtw_joinbss_cmd()
406 memset(psecnetwork, 0, t_len); in rtw_joinbss_cmd()
408 memcpy(psecnetwork, &pnetwork->network, get_wlan_bssid_ex_sz(&pnetwork->network)); in rtw_joinbss_cmd()
410 psecuritypriv->authenticator_ie[0] = (unsigned char)psecnetwork->ie_length; in rtw_joinbss_cmd()
412 if ((psecnetwork->ie_length-12) < (256-1)) in rtw_joinbss_cmd()
413 memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->ies[12], psecnetwork->ie_length-12); in rtw_joinbss_cmd()
415 memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->ies[12], (256-1)); in rtw_joinbss_cmd()
417 psecnetwork->ie_length = 0; in rtw_joinbss_cmd()
[all …]
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_cmd.c790 struct wlan_bssid_ex *psecnetwork; in rtw_joinbss_cmd() local
839 psecnetwork = (struct wlan_bssid_ex *)&psecuritypriv->sec_bss; in rtw_joinbss_cmd()
840 if (psecnetwork == NULL) { in rtw_joinbss_cmd()
849 memset(psecnetwork, 0, t_len); in rtw_joinbss_cmd()
851 memcpy(psecnetwork, &pnetwork->network, get_wlan_bssid_ex_sz(&pnetwork->network)); in rtw_joinbss_cmd()
854 psecuritypriv->authenticator_ie[0] = (unsigned char)psecnetwork->IELength; in rtw_joinbss_cmd()
856 if ((psecnetwork->IELength-12) < (256-1)) { in rtw_joinbss_cmd()
857 memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->IEs[12], psecnetwork->IELength-12); in rtw_joinbss_cmd()
859 memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->IEs[12], (256-1)); in rtw_joinbss_cmd()
862 psecnetwork->IELength = 0; in rtw_joinbss_cmd()
[all …]