Searched refs:psecnetwork (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/staging/rtl8712/ |
D | rtl871x_cmd.c | 339 struct wlan_bssid_ex *psecnetwork; in r8712_joinbss_cmd() local 370 psecnetwork = &psecuritypriv->sec_bss; in r8712_joinbss_cmd() 371 memcpy(psecnetwork, &pnetwork->network, sizeof(*psecnetwork)); in r8712_joinbss_cmd() 373 psecnetwork->IELength; in r8712_joinbss_cmd() 374 if ((psecnetwork->IELength - 12) < (256 - 1)) in r8712_joinbss_cmd() 376 &psecnetwork->IEs[12], psecnetwork->IELength - 12); in r8712_joinbss_cmd() 379 &psecnetwork->IEs[12], (256 - 1)); in r8712_joinbss_cmd() 380 psecnetwork->IELength = 0; in r8712_joinbss_cmd() 389 psecnetwork->IELength = r8712_restruct_sec_ie(padapter, in r8712_joinbss_cmd() 391 &psecnetwork->IEs[0], in r8712_joinbss_cmd() [all …]
|
/Linux-v5.10/drivers/staging/rtl8188eu/core/ |
D | rtw_cmd.c | 357 struct wlan_bssid_ex *psecnetwork; in rtw_joinbss_cmd() local 401 psecnetwork = &psecuritypriv->sec_bss; in rtw_joinbss_cmd() 402 if (!psecnetwork) { in rtw_joinbss_cmd() 413 memset(psecnetwork, 0, t_len); in rtw_joinbss_cmd() 415 memcpy(psecnetwork, &pnetwork->network, get_wlan_bssid_ex_sz(&pnetwork->network)); in rtw_joinbss_cmd() 417 psecuritypriv->authenticator_ie[0] = (unsigned char)psecnetwork->ie_length; in rtw_joinbss_cmd() 419 if (psecnetwork->ie_length - 12 < 255) in rtw_joinbss_cmd() 420 memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->ies[12], in rtw_joinbss_cmd() 421 psecnetwork->ie_length - 12); in rtw_joinbss_cmd() 423 memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->ies[12], 255); in rtw_joinbss_cmd() [all …]
|
/Linux-v5.10/drivers/staging/rtl8723bs/core/ |
D | rtw_cmd.c | 760 struct wlan_bssid_ex *psecnetwork; in rtw_joinbss_cmd() local 809 psecnetwork = (struct wlan_bssid_ex *)&psecuritypriv->sec_bss; in rtw_joinbss_cmd() 811 memset(psecnetwork, 0, t_len); in rtw_joinbss_cmd() 813 memcpy(psecnetwork, &pnetwork->network, get_wlan_bssid_ex_sz(&pnetwork->network)); in rtw_joinbss_cmd() 815 psecuritypriv->authenticator_ie[0] = (unsigned char)psecnetwork->IELength; in rtw_joinbss_cmd() 817 if ((psecnetwork->IELength-12) < (256-1)) { in rtw_joinbss_cmd() 818 memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->IEs[12], psecnetwork->IELength-12); in rtw_joinbss_cmd() 820 memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->IEs[12], (256-1)); in rtw_joinbss_cmd() 823 psecnetwork->IELength = 0; in rtw_joinbss_cmd() 833 …psecnetwork->IELength = rtw_restruct_sec_ie(padapter, &pnetwork->network.IEs[0], &psecnetwork->IEs… in rtw_joinbss_cmd() [all …]
|