| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/ |
| H A D | wlioctl_defs.h | 539 #define WSEC_WEP_ENABLED(wsec) ((wsec) & WEP_ENABLED) argument 540 #define WSEC_TKIP_ENABLED(wsec) ((wsec) & TKIP_ENABLED) argument 541 #define WSEC_AES_ENABLED(wsec) ((wsec) & AES_ENABLED) argument 543 #define WSEC_WEP_ENABLED(wsec) NULL argument 544 #define WSEC_TKIP_ENABLED(wsec) NULL argument 545 #define WSEC_AES_ENABLED(wsec) NULL argument 556 #define WSEC_CKIP_KP_ENABLED(wsec) ((wsec) & CKIP_KP_ENABLED) argument 557 #define WSEC_CKIP_MIC_ENABLED(wsec) ((wsec) & CKIP_MIC_ENABLED) argument 558 #define WSEC_CKIP_ENABLED(wsec) ((wsec) & (CKIP_KP_ENABLED|CKIP_MIC_ENABLED)) argument 561 #define WSEC_ENABLED(wsec) \ argument [all …]
|
| H A D | bcmwpa.h | 92 ((bsscfg)->wsec & (WSEC_SWFLAG | FIPS_ENABLED)))) 95 ((bsscfg)->wsec & WSEC_SWFLAG))) 580 extern bool bcmwpa_cipher2wsec(uint8 *cipher, uint32 *wsec);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/ |
| H A D | wlioctl_defs.h | 539 #define WSEC_WEP_ENABLED(wsec) ((wsec) & WEP_ENABLED) argument 540 #define WSEC_TKIP_ENABLED(wsec) ((wsec) & TKIP_ENABLED) argument 541 #define WSEC_AES_ENABLED(wsec) ((wsec) & AES_ENABLED) argument 543 #define WSEC_WEP_ENABLED(wsec) NULL argument 544 #define WSEC_TKIP_ENABLED(wsec) NULL argument 545 #define WSEC_AES_ENABLED(wsec) NULL argument 556 #define WSEC_CKIP_KP_ENABLED(wsec) ((wsec) & CKIP_KP_ENABLED) argument 557 #define WSEC_CKIP_MIC_ENABLED(wsec) ((wsec) & CKIP_MIC_ENABLED) argument 558 #define WSEC_CKIP_ENABLED(wsec) ((wsec) & (CKIP_KP_ENABLED|CKIP_MIC_ENABLED)) argument 561 #define WSEC_ENABLED(wsec) \ argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/ |
| H A D | wlioctl_defs.h | 450 #define WSEC_WEP_ENABLED(wsec) ((wsec) & WEP_ENABLED) argument 451 #define WSEC_TKIP_ENABLED(wsec) ((wsec) & TKIP_ENABLED) argument 452 #define WSEC_AES_ENABLED(wsec) ((wsec) & AES_ENABLED) argument 455 #define WSEC_CKIP_KP_ENABLED(wsec) ((wsec) & CKIP_KP_ENABLED) argument 456 #define WSEC_CKIP_MIC_ENABLED(wsec) ((wsec) & CKIP_MIC_ENABLED) argument 457 #define WSEC_CKIP_ENABLED(wsec) ((wsec) & (CKIP_KP_ENABLED|CKIP_MIC_ENABLED)) argument 460 #define WSEC_ENABLED(wsec) \ argument 461 ((wsec) & (WEP_ENABLED | TKIP_ENABLED | AES_ENABLED | CKIP_KP_ENABLED | \ 464 #define WSEC_ENABLED(wsec) \ argument 465 ((wsec) & \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/ |
| H A D | wlioctl_defs.h | 483 #define WSEC_WEP_ENABLED(wsec) ((wsec) & WEP_ENABLED) argument 484 #define WSEC_TKIP_ENABLED(wsec) ((wsec) & TKIP_ENABLED) argument 485 #define WSEC_AES_ENABLED(wsec) ((wsec) & (AES_ENABLED | AES_GCMP256)) argument 494 #define WSEC_CKIP_KP_ENABLED(wsec) ((wsec) & CKIP_KP_ENABLED) argument 495 #define WSEC_CKIP_MIC_ENABLED(wsec) ((wsec) & CKIP_MIC_ENABLED) argument 496 #define WSEC_CKIP_ENABLED(wsec) ((wsec) & (CKIP_KP_ENABLED|CKIP_MIC_ENABLED)) argument 499 #define WSEC_ENABLED(wsec) \ argument 500 ((wsec) & (WEP_ENABLED | TKIP_ENABLED | AES_ENABLED | CKIP_KP_ENABLED | \ 503 #define WSEC_ENABLED(wsec) \ argument 504 ((wsec) & \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/ |
| H A D | wlioctl_defs.h | 483 #define WSEC_WEP_ENABLED(wsec) ((wsec) & WEP_ENABLED) argument 484 #define WSEC_TKIP_ENABLED(wsec) ((wsec) & TKIP_ENABLED) argument 485 #define WSEC_AES_ENABLED(wsec) ((wsec) & (AES_ENABLED | AES_GCMP256)) argument 494 #define WSEC_CKIP_KP_ENABLED(wsec) ((wsec) & CKIP_KP_ENABLED) argument 495 #define WSEC_CKIP_MIC_ENABLED(wsec) ((wsec) & CKIP_MIC_ENABLED) argument 496 #define WSEC_CKIP_ENABLED(wsec) ((wsec) & (CKIP_KP_ENABLED|CKIP_MIC_ENABLED)) argument 499 #define WSEC_ENABLED(wsec) \ argument 500 ((wsec) & (WEP_ENABLED | TKIP_ENABLED | AES_ENABLED | CKIP_KP_ENABLED | \ 503 #define WSEC_ENABLED(wsec) \ argument 504 ((wsec) & \ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/ |
| H A D | wlioctl_defs.h | 483 #define WSEC_WEP_ENABLED(wsec) ((wsec) & WEP_ENABLED) argument 484 #define WSEC_TKIP_ENABLED(wsec) ((wsec) & TKIP_ENABLED) argument 485 #define WSEC_AES_ENABLED(wsec) ((wsec) & AES_ENABLED) argument 494 #define WSEC_CKIP_KP_ENABLED(wsec) ((wsec) & CKIP_KP_ENABLED) argument 495 #define WSEC_CKIP_MIC_ENABLED(wsec) ((wsec) & CKIP_MIC_ENABLED) argument 496 #define WSEC_CKIP_ENABLED(wsec) ((wsec) & (CKIP_KP_ENABLED|CKIP_MIC_ENABLED)) argument 499 #define WSEC_ENABLED(wsec) \ argument 500 ((wsec) & (WEP_ENABLED | TKIP_ENABLED | AES_ENABLED | CKIP_KP_ENABLED | \ 503 #define WSEC_ENABLED(wsec) \ argument 504 ((wsec) & \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | bcmwpa.c | 1382 bcmwpa_cipher2wsec(uint8 *cipher, uint32 *wsec) in bcmwpa_cipher2wsec() argument 1389 *wsec = 0; in bcmwpa_cipher2wsec() 1392 *wsec = SMS4_ENABLED; in bcmwpa_cipher2wsec() 1403 *wsec = 0; in bcmwpa_cipher2wsec() 1407 *wsec = WEP_ENABLED; in bcmwpa_cipher2wsec() 1410 *wsec = TKIP_ENABLED; in bcmwpa_cipher2wsec() 1417 *wsec = AES_ENABLED; in bcmwpa_cipher2wsec() 1422 *wsec = SMS4_ENABLED; in bcmwpa_cipher2wsec() 1437 uint32 wsec = 0; in bcmwpa_wpaciphers2wsec() local 1442 wsec = WEP_ENABLED; in bcmwpa_wpaciphers2wsec() [all …]
|
| H A D | wl_cfgvif.c | 1752 s32 wsec = 0; in wl_validate_opensecurity() local 1763 wsec = WEP_ENABLED; in wl_validate_opensecurity() 1764 WL_DBG(("Setting wsec to %d for WEP \n", wsec)); in wl_validate_opensecurity() 1768 err = wldev_iovar_setint_bsscfg(dev, "wsec", wsec, bssidx); in wl_validate_opensecurity() 1888 u32 wsec; in wl_validate_wpa2ie() local 1973 wsec = (pval | gval | SES_OW_ENABLED); in wl_validate_wpa2ie() 2079 err = wldev_iovar_setint_bsscfg(dev, "wsec", wsec, bssidx); in wl_validate_wpa2ie() 2099 sec->fw_wsec = wsec; in wl_validate_wpa2ie() 2120 u32 wsec; in wl_validate_wpaie() local 2234 wsec = (pval | gval | SES_OW_ENABLED); in wl_validate_wpaie() [all …]
|
| H A D | wl_iw.c | 2411 int error, val, wsec; in wl_iw_set_encode() local 2437 wsec = (dwrq->flags & IW_ENCODE_DISABLED) ? 0 : WEP_ENABLED; in wl_iw_set_encode() 2439 if ((error = dev_wlc_intvar_set(dev, "wsec", wsec))) in wl_iw_set_encode() 2500 int error, val, wsec, auth; in wl_iw_get_encode() local 2525 if ((error = dev_wlc_ioctl(dev, WLC_GET_WSEC, &wsec, sizeof(wsec))) || in wl_iw_get_encode() 2531 wsec = dtoh32(wsec); in wl_iw_get_encode() 2538 if (!(wsec & (WEP_ENABLED | TKIP_ENABLED | AES_ENABLED))) { in wl_iw_get_encode() 3089 int wsec; in wl_iw_set_wpaauth() local 3099 if ((error = dev_wlc_intvar_get(dev, "wsec", &wsec))) in wl_iw_set_wpaauth() 3102 if (!WSEC_ENABLED(wsec)) { in wl_iw_set_wpaauth()
|
| H A D | wl_android_ext.c | 186 uint wsec; member 1003 int auth=0, wpa_auth=0, wsec=0, mfp=0, i; in wl_ext_get_sec() local 1010 wl_ext_iovar_getint(dev, "wsec", &wsec); in wl_ext_get_sec() 1054 if (wsec == WSEC_NONE) { in wl_ext_get_sec() 1065 if (row->wsec == (wsec&0x7)) { in wl_ext_get_sec() 1073 bytes_written += snprintf(sec+bytes_written, total_len, "/0x%x", wsec); in wl_ext_get_sec() 1078 auth, wpa_auth, mfp, wsec); in wl_ext_get_sec()
|
| H A D | wl_iapsta.c | 611 int wsec=0; in wl_ext_set_emode() local 625 wsec = AES_ENABLED; in wl_ext_set_emode() 627 wsec = WSEC_NONE; in wl_ext_set_emode() 632 wsec = WSEC_NONE; in wl_ext_set_emode() 635 wsec = WEP_ENABLED; in wl_ext_set_emode() 639 wsec = TKIP_ENABLED; in wl_ext_set_emode() 645 wsec = AES_ENABLED; in wl_ext_set_emode() 651 wsec = TKIP_ENABLED | AES_ENABLED; in wl_ext_set_emode() 657 if (dhd->conf->chip == BCM43430_CHIP_ID && cur_if->ifidx > 0 && wsec >= 2 && in wl_ext_set_emode() 659 wsec |= WSEC_SWFLAG; // terence 20180628: fix me, this is a workaround in wl_ext_set_emode() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | wl_cfgvif.c | 1759 s32 wsec = 0; in wl_validate_opensecurity() local 1770 wsec = WEP_ENABLED; in wl_validate_opensecurity() 1771 WL_DBG(("Setting wsec to %d for WEP \n", wsec)); in wl_validate_opensecurity() 1775 err = wldev_iovar_setint_bsscfg(dev, "wsec", wsec, bssidx); in wl_validate_opensecurity() 1895 u32 wsec; in wl_validate_wpa2ie() local 1980 wsec = (pval | gval | SES_OW_ENABLED); in wl_validate_wpa2ie() 2086 err = wldev_iovar_setint_bsscfg(dev, "wsec", wsec, bssidx); in wl_validate_wpa2ie() 2106 sec->fw_wsec = wsec; in wl_validate_wpa2ie() 2127 u32 wsec; in wl_validate_wpaie() local 2241 wsec = (pval | gval | SES_OW_ENABLED); in wl_validate_wpaie() [all …]
|
| H A D | wl_iw.c | 2451 int error, val, wsec; in wl_iw_set_encode() local 2477 wsec = (dwrq->flags & IW_ENCODE_DISABLED) ? 0 : WEP_ENABLED; in wl_iw_set_encode() 2479 if ((error = dev_wlc_intvar_set(dev, "wsec", wsec))) in wl_iw_set_encode() 2541 int error, val, wsec, auth; in wl_iw_get_encode() local 2566 if ((error = dev_wlc_ioctl(dev, WLC_GET_WSEC, &wsec, sizeof(wsec))) || in wl_iw_get_encode() 2572 wsec = dtoh32(wsec); in wl_iw_get_encode() 2579 if (!(wsec & (WEP_ENABLED | TKIP_ENABLED | AES_ENABLED))) { in wl_iw_get_encode() 3136 int wsec; in wl_iw_set_wpaauth() local 3146 if ((error = dev_wlc_intvar_get(dev, "wsec", &wsec))) in wl_iw_set_wpaauth() 3149 if (!WSEC_ENABLED(wsec)) { in wl_iw_set_wpaauth()
|
| H A D | wl_android_ext.c | 191 uint wsec; member 1014 int auth=0, wpa_auth=0, wsec=0, mfp=0, i; in wl_ext_get_sec() local 1021 wl_ext_iovar_getint(dev, "wsec", &wsec); in wl_ext_get_sec() 1065 if (wsec == WSEC_NONE) { in wl_ext_get_sec() 1076 if (row->wsec == (wsec&0x7)) { in wl_ext_get_sec() 1084 bytes_written += snprintf(sec+bytes_written, total_len, "/0x%x", wsec); in wl_ext_get_sec() 1089 auth, wpa_auth, mfp, wsec); in wl_ext_get_sec()
|
| H A D | wl_iapsta.c | 647 int wsec=0; in wl_ext_set_emode() local 656 wsec = AES_ENABLED; in wl_ext_set_emode() 658 wsec = WSEC_NONE; in wl_ext_set_emode() 663 wsec = WSEC_NONE; in wl_ext_set_emode() 666 wsec = WEP_ENABLED; in wl_ext_set_emode() 670 wsec = TKIP_ENABLED; in wl_ext_set_emode() 676 wsec = AES_ENABLED; in wl_ext_set_emode() 682 wsec = TKIP_ENABLED | AES_ENABLED; in wl_ext_set_emode() 688 if (dhd->conf->chip == BCM43430_CHIP_ID && cur_if->ifidx > 0 && wsec >= 2 && in wl_ext_set_emode() 690 wsec |= WSEC_SWFLAG; // terence 20180628: fix me, this is a workaround in wl_ext_set_emode() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/rtc/ |
| H A D | ftrtc010.c | 25 unsigned int wsec; /* 0x24 */ member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | cfg80211.c | 1440 s32 wsec = 0; in brcmf_cfg80211_join_ibss() local 1497 wsec |= WEP_ENABLED; in brcmf_cfg80211_join_ibss() 1499 err = brcmf_fil_iovar_int_set(ifp, "wsec", wsec); in brcmf_cfg80211_join_ibss() 1681 s32 wsec; in brcmf_set_wsec_mode() local 1734 wsec = pval | gval; in brcmf_set_wsec_mode() 1735 err = brcmf_fil_bsscfg_int_set(ifp, "wsec", wsec); in brcmf_set_wsec_mode() 2360 u32 wsec; in brcmf_cfg80211_config_default_key() local 2368 err = brcmf_fil_bsscfg_int_get(ifp, "wsec", &wsec); in brcmf_cfg80211_config_default_key() 2374 if (wsec & WEP_ENABLED) { in brcmf_cfg80211_config_default_key() 2434 s32 wsec; in brcmf_cfg80211_add_key() local [all …]
|
| H A D | fwil_types.h | 850 __le32 wsec; member
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | wl_iw.c | 2173 int error, val, wsec; local 2199 wsec = (dwrq->flags & IW_ENCODE_DISABLED) ? 0 : WEP_ENABLED; 2201 if ((error = dev_wlc_intvar_set(dev, "wsec", wsec))) 2262 int error, val, wsec, auth; local 2287 if ((error = dev_wlc_ioctl(dev, WLC_GET_WSEC, &wsec, sizeof(wsec))) || 2293 wsec = dtoh32(wsec); 2300 if (!(wsec & (WEP_ENABLED | TKIP_ENABLED | AES_ENABLED))) { 2827 int wsec; local 2837 if ((error = dev_wlc_intvar_get(dev, "wsec", &wsec))) 2840 if (!WSEC_ENABLED(wsec)) {
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | wl_iw.c | 2179 int error, val, wsec; local 2205 wsec = (dwrq->flags & IW_ENCODE_DISABLED) ? 0 : WEP_ENABLED; 2207 if ((error = dev_wlc_intvar_set(dev, "wsec", wsec))) 2268 int error, val, wsec, auth; local 2293 if ((error = dev_wlc_ioctl(dev, WLC_GET_WSEC, &wsec, sizeof(wsec))) || 2299 wsec = dtoh32(wsec); 2306 if (!(wsec & (WEP_ENABLED | TKIP_ENABLED | AES_ENABLED))) { 2833 int wsec; local 2843 if ((error = dev_wlc_intvar_get(dev, "wsec", &wsec))) 2846 if (!WSEC_ENABLED(wsec)) {
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | wl_iw.c | 2179 int error, val, wsec; local 2205 wsec = (dwrq->flags & IW_ENCODE_DISABLED) ? 0 : WEP_ENABLED; 2207 if ((error = dev_wlc_intvar_set(dev, "wsec", wsec))) 2268 int error, val, wsec, auth; local 2293 if ((error = dev_wlc_ioctl(dev, WLC_GET_WSEC, &wsec, sizeof(wsec))) || 2299 wsec = dtoh32(wsec); 2306 if (!(wsec & (WEP_ENABLED | TKIP_ENABLED | AES_ENABLED))) { 2833 int wsec; local 2843 if ((error = dev_wlc_intvar_get(dev, "wsec", &wsec))) 2846 if (!WSEC_ENABLED(wsec)) {
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | wl_iw.c | 2407 int error, val, wsec; in wl_iw_set_encode() local 2433 wsec = (dwrq->flags & IW_ENCODE_DISABLED) ? 0 : WEP_ENABLED; in wl_iw_set_encode() 2435 if ((error = dev_wlc_intvar_set(dev, "wsec", wsec))) in wl_iw_set_encode() 2496 int error, val, wsec, auth; in wl_iw_get_encode() local 2521 if ((error = dev_wlc_ioctl(dev, WLC_GET_WSEC, &wsec, sizeof(wsec))) || in wl_iw_get_encode() 2527 wsec = dtoh32(wsec); in wl_iw_get_encode() 2534 if (!(wsec & (WEP_ENABLED | TKIP_ENABLED | AES_ENABLED))) { in wl_iw_get_encode() 3082 int wsec; in wl_iw_set_wpaauth() local 3092 if ((error = dev_wlc_intvar_get(dev, "wsec", &wsec))) in wl_iw_set_wpaauth() 3095 if (!WSEC_ENABLED(wsec)) { in wl_iw_set_wpaauth()
|
| H A D | wl_android_ext.c | 1088 int auth=0, wpa_auth=0, wsec=0, mfp=0; in wl_ext_get_sec() local 1094 wl_ext_iovar_getint(dev, "wsec", &wsec); in wl_ext_get_sec() 1142 if (wsec == WSEC_NONE) { in wl_ext_get_sec() 1150 if (wsec == WSEC_NONE) { in wl_ext_get_sec() 1152 } else if (wsec == WEP_ENABLED) { in wl_ext_get_sec() 1154 } else if (wsec == (TKIP_ENABLED|AES_ENABLED) || in wl_ext_get_sec() 1155 wsec == (WSEC_SWFLAG|TKIP_ENABLED|AES_ENABLED)) { in wl_ext_get_sec() 1157 } else if (wsec == TKIP_ENABLED || wsec == (WSEC_SWFLAG|TKIP_ENABLED)) { in wl_ext_get_sec() 1159 } else if (wsec == AES_ENABLED || wsec == (WSEC_SWFLAG|AES_ENABLED)) { in wl_ext_get_sec() 1162 bytes_written += snprintf(sec+bytes_written, total_len, "/0x%x", wsec); in wl_ext_get_sec() [all …]
|
| H A D | wl_cfg80211.c | 137 #define IW_WSEC_ENABLED(wsec) ((wsec) & (WEP_ENABLED | TKIP_ENABLED | AES_ENABLED | SMS4_ENABLED)) argument 139 #define IW_WSEC_ENABLED(wsec) ((wsec) & (WEP_ENABLED | TKIP_ENABLED | AES_ENABLED)) argument 6102 s32 wsec; in wl_cfg80211_config_default_key() local 6113 err = wldev_iovar_getint_bsscfg(dev, "wsec", &wsec, bssidx); in wl_cfg80211_config_default_key() 6118 if (wsec == WEP_ENABLED) { in wl_cfg80211_config_default_key() 6372 s32 wsec = 0; in wl_cfg80211_add_key() local 6508 err = wldev_iovar_getint_bsscfg(dev, "wsec", &wsec, bssidx); in wl_cfg80211_add_key() 6514 wsec |= val; in wl_cfg80211_add_key() 6515 err = wldev_iovar_setint_bsscfg(dev, "wsec", wsec, bssidx); in wl_cfg80211_add_key() 6581 s32 wsec; in wl_cfg80211_get_key() local [all …]
|