| /OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/os_dep/ |
| H A D | ioctl_linux.c | 347 struct ndis_802_11_wep *pwep = NULL; in wpa_set_encryption() local 392 pwep = (struct ndis_802_11_wep *)rtw_malloc(wep_total_len); in wpa_set_encryption() 393 if (!pwep) { in wpa_set_encryption() 397 memset(pwep, 0, wep_total_len); in wpa_set_encryption() 398 pwep->KeyLength = wep_key_len; in wpa_set_encryption() 399 pwep->Length = wep_total_len; in wpa_set_encryption() 408 pwep->KeyIndex = wep_key_idx; in wpa_set_encryption() 409 pwep->KeyIndex |= 0x80000000; in wpa_set_encryption() 410 memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); in wpa_set_encryption() 413 if (rtw_set_802_11_add_wep(padapter, pwep) == (u8)_FAIL) in wpa_set_encryption() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/os_dep/ |
| H A D | ioctl_linux.c | 426 struct ndis_802_11_wep *pwep = NULL; in wpa_set_encryption() local 476 pwep = kzalloc(wep_total_len, GFP_KERNEL); in wpa_set_encryption() 477 if (pwep == NULL) { in wpa_set_encryption() 482 pwep->KeyLength = wep_key_len; in wpa_set_encryption() 483 pwep->Length = wep_total_len; in wpa_set_encryption() 494 pwep->KeyIndex = wep_key_idx; in wpa_set_encryption() 495 pwep->KeyIndex |= 0x80000000; in wpa_set_encryption() 497 memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); in wpa_set_encryption() 502 if (rtw_set_802_11_add_wep(padapter, pwep) == (u8)_FAIL) in wpa_set_encryption() 515 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength); in wpa_set_encryption() [all …]
|
| H A D | ioctl_cfg80211.c | 2127 struct ndis_802_11_wep *pwep = NULL; in cfg80211_rtw_connect() local 2142 pwep = rtw_malloc(wep_total_len); in cfg80211_rtw_connect() 2143 if (pwep == NULL) { in cfg80211_rtw_connect() 2149 memset(pwep, 0, wep_total_len); in cfg80211_rtw_connect() 2151 pwep->KeyLength = wep_key_len; in cfg80211_rtw_connect() 2152 pwep->Length = wep_total_len; in cfg80211_rtw_connect() 2165 pwep->KeyIndex = wep_key_idx; in cfg80211_rtw_connect() 2166 pwep->KeyIndex |= 0x80000000; in cfg80211_rtw_connect() 2168 memcpy(pwep->KeyMaterial, (void *)sme->key, pwep->KeyLength); in cfg80211_rtw_connect() 2170 if (rtw_set_802_11_add_wep(padapter, pwep) == (u8)_FAIL) in cfg80211_rtw_connect() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8712/ |
| H A D | rtl871x_ioctl_linux.c | 373 struct NDIS_802_11_WEP *pwep = NULL; in wpa_set_encryption() local 404 pwep = kzalloc(sizeof(*pwep), GFP_ATOMIC); in wpa_set_encryption() 405 if (!pwep) in wpa_set_encryption() 407 pwep->KeyLength = wep_key_len; in wpa_set_encryption() 408 pwep->Length = wep_key_len + in wpa_set_encryption() 414 pwep->KeyIndex = wep_key_idx; in wpa_set_encryption() 415 pwep->KeyIndex |= 0x80000000; in wpa_set_encryption() 416 memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); in wpa_set_encryption() 418 if (r8712_set_802_11_add_wep(padapter, pwep)) in wpa_set_encryption() 430 pwep->KeyMaterial, in wpa_set_encryption() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/os_dep/linux/ |
| H A D | ioctl_linux.c | 1368 NDIS_802_11_WEP *pwep = NULL; in wpa_set_encryption() local 1437 pwep =(NDIS_802_11_WEP *) rtw_malloc(wep_total_len); in wpa_set_encryption() 1438 if(pwep == NULL){ in wpa_set_encryption() 1443 _rtw_memset(pwep, 0, wep_total_len); in wpa_set_encryption() 1445 pwep->KeyLength = wep_key_len; in wpa_set_encryption() 1446 pwep->Length = wep_total_len; in wpa_set_encryption() 1459 pwep->KeyIndex = wep_key_idx; in wpa_set_encryption() 1460 pwep->KeyIndex |= 0x80000000; in wpa_set_encryption() 1462 _rtw_memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); in wpa_set_encryption() 1468 if(rtw_set_802_11_add_wep(padapter, pwep) == (u8)_FAIL) in wpa_set_encryption() [all …]
|
| H A D | ioctl_cfg80211.c | 3357 NDIS_802_11_WEP *pwep = NULL; local 3372 pwep =(NDIS_802_11_WEP *) rtw_malloc(wep_total_len); 3373 if(pwep == NULL){ 3379 _rtw_memset(pwep, 0, wep_total_len); 3381 pwep->KeyLength = wep_key_len; 3382 pwep->Length = wep_total_len; 3395 pwep->KeyIndex = wep_key_idx; 3396 pwep->KeyIndex |= 0x80000000; 3398 _rtw_memcpy(pwep->KeyMaterial, (void *)sme->key, pwep->KeyLength); 3400 if(rtw_set_802_11_add_wep(padapter, pwep) == (u8)_FAIL) [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/os_dep/linux/ |
| H A D | ioctl_linux.c | 4716 NDIS_802_11_WEP *pwep = NULL; local 4786 pwep = (NDIS_802_11_WEP *)rtw_malloc(wep_total_len); 4787 if (pwep == NULL) { 4792 _rtw_memset(pwep, 0, wep_total_len); 4794 pwep->KeyLength = wep_key_len; 4795 pwep->Length = wep_total_len; 4799 pwep->KeyIndex = wep_key_idx; 4801 _rtw_memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); 4811 if (pwep->KeyLength == 13) { 4819 …_rtw_memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength… [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/os_dep/linux/ |
| H A D | ioctl_linux.c | 4716 NDIS_802_11_WEP *pwep = NULL; local 4786 pwep = (NDIS_802_11_WEP *)rtw_malloc(wep_total_len); 4787 if (pwep == NULL) { 4792 _rtw_memset(pwep, 0, wep_total_len); 4794 pwep->KeyLength = wep_key_len; 4795 pwep->Length = wep_total_len; 4799 pwep->KeyIndex = wep_key_idx; 4801 _rtw_memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); 4811 if (pwep->KeyLength == 13) { 4819 …_rtw_memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength… [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/os_dep/linux/ |
| H A D | ioctl_cfg80211.c | 3289 NDIS_802_11_WEP *pwep = NULL; local 3304 pwep =(NDIS_802_11_WEP *) rtw_malloc(wep_total_len); 3305 if(pwep == NULL){ 3311 _rtw_memset(pwep, 0, wep_total_len); 3313 pwep->KeyLength = wep_key_len; 3314 pwep->Length = wep_total_len; 3327 pwep->KeyIndex = wep_key_idx; 3328 pwep->KeyIndex |= 0x80000000; 3330 _rtw_memcpy(pwep->KeyMaterial, (void *)sme->key, pwep->KeyLength); 3332 if(rtw_set_802_11_add_wep(padapter, pwep) == (u8)_FAIL) [all …]
|
| H A D | ioctl_linux.c | 8239 NDIS_802_11_WEP *pwep = NULL; local 8319 pwep =(NDIS_802_11_WEP *)rtw_malloc(wep_total_len); 8320 if(pwep == NULL){ 8325 _rtw_memset(pwep, 0, wep_total_len); 8327 pwep->KeyLength = wep_key_len; 8328 pwep->Length = wep_total_len; 8332 pwep->KeyIndex = wep_key_idx; 8334 _rtw_memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); 8345 if(pwep->KeyLength==13) 8354 …_rtw_memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength… [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/os_dep/linux/ |
| H A D | ioctl_cfg80211.c | 2998 NDIS_802_11_WEP *pwep = NULL; local 3012 pwep = (NDIS_802_11_WEP *) rtw_malloc(wep_total_len); 3013 if (pwep == NULL) { 3019 _rtw_memset(pwep, 0, wep_total_len); 3021 pwep->KeyLength = wep_key_len; 3022 pwep->Length = wep_total_len; 3033 pwep->KeyIndex = wep_key_idx; 3034 pwep->KeyIndex |= 0x80000000; 3036 _rtw_memcpy(pwep->KeyMaterial, (void *)sme->key, pwep->KeyLength); 3038 if (rtw_set_802_11_add_wep(padapter, pwep) == (u8)_FAIL) [all …]
|
| H A D | ioctl_linux.c | 7518 NDIS_802_11_WEP *pwep = NULL; local 7588 pwep = (NDIS_802_11_WEP *)rtw_malloc(wep_total_len); 7589 if (pwep == NULL) { 7594 _rtw_memset(pwep, 0, wep_total_len); 7596 pwep->KeyLength = wep_key_len; 7597 pwep->Length = wep_total_len; 7601 pwep->KeyIndex = wep_key_idx; 7603 _rtw_memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); 7613 if (pwep->KeyLength == 13) { 7621 …_rtw_memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength… [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/os_dep/linux/ |
| H A D | ioctl_linux.c | 6890 NDIS_802_11_WEP *pwep = NULL; local 6960 pwep = (NDIS_802_11_WEP *)rtw_malloc(wep_total_len); 6961 if (pwep == NULL) { 6966 _rtw_memset(pwep, 0, wep_total_len); 6968 pwep->KeyLength = wep_key_len; 6969 pwep->Length = wep_total_len; 6973 pwep->KeyIndex = wep_key_idx; 6975 _rtw_memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); 6985 if (pwep->KeyLength == 13) { 6993 …_rtw_memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength… [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/os_dep/linux/ |
| H A D | ioctl_linux.c | 6883 NDIS_802_11_WEP *pwep = NULL; local 6953 pwep = (NDIS_802_11_WEP *)rtw_malloc(wep_total_len); 6954 if (pwep == NULL) { 6959 _rtw_memset(pwep, 0, wep_total_len); 6961 pwep->KeyLength = wep_key_len; 6962 pwep->Length = wep_total_len; 6966 pwep->KeyIndex = wep_key_idx; 6968 _rtw_memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); 6978 if (pwep->KeyLength == 13) { 6986 …_rtw_memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength… [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/os_dep/linux/ |
| H A D | ioctl_linux.c | 6879 NDIS_802_11_WEP *pwep = NULL; local 6949 pwep = (NDIS_802_11_WEP *)rtw_malloc(wep_total_len); 6950 if (pwep == NULL) { 6955 _rtw_memset(pwep, 0, wep_total_len); 6957 pwep->KeyLength = wep_key_len; 6958 pwep->Length = wep_total_len; 6962 pwep->KeyIndex = wep_key_idx; 6964 _rtw_memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); 6974 if (pwep->KeyLength == 13) { 6982 …_rtw_memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength… [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/os_dep/linux/ |
| H A D | ioctl_linux.c | 6884 NDIS_802_11_WEP *pwep = NULL; local 6954 pwep = (NDIS_802_11_WEP *)rtw_malloc(wep_total_len); 6955 if (pwep == NULL) { 6960 _rtw_memset(pwep, 0, wep_total_len); 6962 pwep->KeyLength = wep_key_len; 6963 pwep->Length = wep_total_len; 6967 pwep->KeyIndex = wep_key_idx; 6969 _rtw_memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); 6979 if (pwep->KeyLength == 13) { 6987 …_rtw_memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength… [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/os_dep/linux/ |
| H A D | ioctl_linux.c | 7186 NDIS_802_11_WEP *pwep = NULL; local 7256 pwep = (NDIS_802_11_WEP *)rtw_malloc(wep_total_len); 7257 if (pwep == NULL) { 7262 _rtw_memset(pwep, 0, wep_total_len); 7264 pwep->KeyLength = wep_key_len; 7265 pwep->Length = wep_total_len; 7269 pwep->KeyIndex = wep_key_idx; 7271 _rtw_memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); 7281 if (pwep->KeyLength == 13) { 7289 …_rtw_memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength… [all …]
|
| H A D | ioctl_cfg80211.c | 3181 NDIS_802_11_WEP *pwep = NULL; local 3195 pwep = (NDIS_802_11_WEP *) rtw_malloc(wep_total_len); 3196 if (pwep == NULL) { 3202 _rtw_memset(pwep, 0, wep_total_len); 3204 pwep->KeyLength = wep_key_len; 3205 pwep->Length = wep_total_len; 3216 pwep->KeyIndex = wep_key_idx; 3217 pwep->KeyIndex |= 0x80000000; 3219 _rtw_memcpy(pwep->KeyMaterial, (void *)sme->key, pwep->KeyLength); 3221 if (rtw_set_802_11_add_wep(padapter, pwep) == (u8)_FAIL) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/os_dep/linux/ |
| H A D | ioctl_linux.c | 6883 NDIS_802_11_WEP *pwep = NULL; local 6953 pwep = (NDIS_802_11_WEP *)rtw_malloc(wep_total_len); 6954 if (pwep == NULL) { 6959 _rtw_memset(pwep, 0, wep_total_len); 6961 pwep->KeyLength = wep_key_len; 6962 pwep->Length = wep_total_len; 6966 pwep->KeyIndex = wep_key_idx; 6968 _rtw_memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); 6978 if (pwep->KeyLength == 13) { 6986 …_rtw_memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength… [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/os_dep/linux/ |
| H A D | ioctl_linux.c | 6900 NDIS_802_11_WEP *pwep = NULL; local 6970 pwep = (NDIS_802_11_WEP *)rtw_malloc(wep_total_len); 6971 if (pwep == NULL) { 6976 _rtw_memset(pwep, 0, wep_total_len); 6978 pwep->KeyLength = wep_key_len; 6979 pwep->Length = wep_total_len; 6983 pwep->KeyIndex = wep_key_idx; 6985 _rtw_memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); 6995 if (pwep->KeyLength == 13) { 7003 …_rtw_memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength… [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/os_dep/linux/ |
| H A D | ioctl_linux.c | 6900 NDIS_802_11_WEP *pwep = NULL; local 6970 pwep = (NDIS_802_11_WEP *)rtw_malloc(wep_total_len); 6971 if (pwep == NULL) { 6976 _rtw_memset(pwep, 0, wep_total_len); 6978 pwep->KeyLength = wep_key_len; 6979 pwep->Length = wep_total_len; 6983 pwep->KeyIndex = wep_key_idx; 6985 _rtw_memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); 6995 if (pwep->KeyLength == 13) { 7003 …_rtw_memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength… [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/os_dep/linux/ |
| H A D | ioctl_linux.c | 6827 NDIS_802_11_WEP *pwep = NULL; local 6897 pwep = (NDIS_802_11_WEP *)rtw_malloc(wep_total_len); 6898 if (pwep == NULL) { 6903 _rtw_memset(pwep, 0, wep_total_len); 6905 pwep->KeyLength = wep_key_len; 6906 pwep->Length = wep_total_len; 6910 pwep->KeyIndex = wep_key_idx; 6912 _rtw_memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); 6922 if (pwep->KeyLength == 13) { 6930 …_rtw_memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength… [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/os_dep/linux/ |
| H A D | ioctl_linux.c | 6811 NDIS_802_11_WEP *pwep = NULL; local 6881 pwep = (NDIS_802_11_WEP *)rtw_malloc(wep_total_len); 6882 if (pwep == NULL) { 6887 _rtw_memset(pwep, 0, wep_total_len); 6889 pwep->KeyLength = wep_key_len; 6890 pwep->Length = wep_total_len; 6894 pwep->KeyIndex = wep_key_idx; 6896 _rtw_memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); 6906 if (pwep->KeyLength == 13) { 6914 …_rtw_memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength… [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/os_dep/linux/ |
| H A D | ioctl_linux.c | 6819 NDIS_802_11_WEP *pwep = NULL; local 6889 pwep = (NDIS_802_11_WEP *)rtw_malloc(wep_total_len); 6890 if (pwep == NULL) { 6895 _rtw_memset(pwep, 0, wep_total_len); 6897 pwep->KeyLength = wep_key_len; 6898 pwep->Length = wep_total_len; 6902 pwep->KeyIndex = wep_key_idx; 6904 _rtw_memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); 6914 if (pwep->KeyLength == 13) { 6922 …_rtw_memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength… [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/os_dep/linux/ |
| H A D | ioctl_linux.c | 6820 NDIS_802_11_WEP *pwep = NULL; local 6890 pwep = (NDIS_802_11_WEP *)rtw_malloc(wep_total_len); 6891 if (pwep == NULL) { 6896 _rtw_memset(pwep, 0, wep_total_len); 6898 pwep->KeyLength = wep_key_len; 6899 pwep->Length = wep_total_len; 6903 pwep->KeyIndex = wep_key_idx; 6905 _rtw_memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); 6915 if (pwep->KeyLength == 13) { 6923 …_rtw_memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength… [all …]
|