Home
last modified time | relevance | path

Searched refs:wpa_auth (Results 1 – 25 of 36) sorted by relevance

12

/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Dwl_cfgvif.c1824 wl_get_mfp_capability(u8 rsn_cap, u32 *wpa_auth, u32 *mfp_val) in wl_get_mfp_capability() argument
1833 if (*wpa_auth & WPA2_AUTH_PSK_SHA256) { in wl_get_mfp_capability()
1834 *wpa_auth |= WPA2_AUTH_PSK; in wl_get_mfp_capability()
1835 } else if (*wpa_auth & WPA2_AUTH_1X_SHA256) { in wl_get_mfp_capability()
1836 *wpa_auth |= WPA2_AUTH_UNSPECIFIED; in wl_get_mfp_capability()
1844 if ((*wpa_auth == WPA3_AUTH_SAE_PSK) && (mfp != WL_MFP_REQUIRED)) { in wl_get_mfp_capability()
1847 } else if ((*wpa_auth == (WPA3_AUTH_SAE_PSK | WPA2_AUTH_PSK)) && in wl_get_mfp_capability()
1868 u32 wpa_auth = 0; in wl_validate_wpa2ie() local
1958 wpa_auth |= WPA3_AUTH_DPP_AKM; in wl_validate_wpa2ie()
1966 wpa_auth |= WPA_AUTH_NONE; in wl_validate_wpa2ie()
[all …]
Ddhd_pno.h210 int32 wpa_auth; member
572 extern void dhd_pno_set_epno_auth_flag(uint32 *wpa_auth);
Dwl_iapsta.c309 int auth=0, wpa_auth=0; in wl_ext_set_amode() local
315 wpa_auth = WPA2_AUTH_PSK; in wl_ext_set_amode()
319 wpa_auth = WPA_AUTH_DISABLED; in wl_ext_set_amode()
326 wpa_auth = WPA_AUTH_DISABLED; in wl_ext_set_amode()
330 wpa_auth = WPA_AUTH_DISABLED; in wl_ext_set_amode()
334 wpa_auth = WPA_AUTH_PSK; in wl_ext_set_amode()
338 wpa_auth = WPA2_AUTH_PSK; in wl_ext_set_amode()
342 wpa_auth = WPA2_AUTH_PSK | WPA_AUTH_PSK; in wl_ext_set_amode()
357 wl_ext_iovar_setint(dev, "wpa_auth", wpa_auth); in wl_ext_set_amode()
2302 int suppressed = 0, wpa_auth = 0; in wl_ext_in4way_sync_sta() local
[all …]
Dwl_android_ext.c152 uint wpa_auth; member
951 int auth=0, wpa_auth=0, wsec=0, mfp=0, i; in wl_ext_get_sec() local
957 wl_ext_iovar_getint(dev, "wpa_auth", &wpa_auth); in wl_ext_get_sec()
963 if (auth == WL_AUTH_OPEN_SYSTEM && wpa_auth == WPA_AUTH_DISABLED) { in wl_ext_get_sec()
965 } else if (auth == WL_AUTH_OPEN_SYSTEM && wpa_auth == WPA2_AUTH_PSK) { in wl_ext_get_sec()
969 auth, wpa_auth); in wl_ext_get_sec()
977 if (row->auth == auth && row->wpa_auth == wpa_auth) { in wl_ext_get_sec()
986 auth, wpa_auth); in wl_ext_get_sec()
1026 auth, wpa_auth, mfp, wsec); in wl_ext_get_sec()
Ddhd_pno.c284 dhd_pno_set_epno_auth_flag(uint32 *wpa_auth) in dhd_pno_set_epno_auth_flag() argument
286 switch (*wpa_auth) { in dhd_pno_set_epno_auth_flag()
288 *wpa_auth = WPA_AUTH_DISABLED; in dhd_pno_set_epno_auth_flag()
291 *wpa_auth = (WPA_AUTH_PSK | WPA2_AUTH_PSK); in dhd_pno_set_epno_auth_flag()
294 *wpa_auth = ~WPA_AUTH_NONE; in dhd_pno_set_epno_auth_flag()
297 DHD_ERROR(("%s: Unknown auth %d", __FUNCTION__, *wpa_auth)); in dhd_pno_set_epno_auth_flag()
298 *wpa_auth = WPA_AUTH_PFN_ANY; in dhd_pno_set_epno_auth_flag()
661 pfn_elem_buf[i].wpa_auth = htod32(iter->wpa_auth); in _dhd_pno_add_ssid()
1283 _pno_ssid->wpa_auth = WPA_AUTH_PFN_ANY; in dhd_pno_add_to_ssid_list()
4752 pfn_element.wpa_auth = htod32(netinfo[i].wpa_auth); in dhd_pno_set_add()
Dwl_cfg80211.h1102 u32 wpa_auth; member
2663 #define IS_AKM_SUITE_FT(sec) (sec->wpa_auth == WLAN_AKM_SUITE_FT_8021X || \
2664 sec->wpa_auth == WLAN_AKM_SUITE_FT_PSK)
2666 #define IS_AKM_SUITE_FT(sec) (sec->wpa_auth == WLAN_AKM_SUITE_FT_8021X)
2668 #define IS_AKM_SUITE_FT(sec) (sec->wpa_auth == WLAN_AKM_SUITE_FT_PSK)
Dwl_cfg80211.c1194 u32 wpa_auth; member
4589 return rsn_akm_wpa_auth_lookup_tbl[i].wpa_auth; in wl_rsn_akm_wpa_auth_lookup()
5315 sec->wpa_auth = sme->crypto.akm_suites[0]; in wl_set_key_mgmt()
6179 sec->wpa_auth, sec->auth_type, sec->wpa_versions, in wl_conn_debug_info()
6925 WL_MEM(("set_pmk: wpa_auth:%x akm:%x\n", sec->wpa_auth, params->cipher)); in wl_cfg80211_add_key()
6927 if (IS_AKM_SAE(sec->wpa_auth) || IS_AKM_OWE(sec->wpa_auth)) { in wl_cfg80211_add_key()
6928 WL_INFORM_MEM(("skip pmk set for akm:%x\n", sec->wpa_auth)); in wl_cfg80211_add_key()
6941 if ((sec->wpa_auth == WLAN_AKM_SUITE_8021X) || in wl_cfg80211_add_key()
6942 (sec->wpa_auth == WL_AKM_SUITE_SHA256_1X)) { in wl_cfg80211_add_key()
9910 ((sec->wpa_auth == WLAN_AKM_SUITE_8021X) || in wl_cfg80211_change_station()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Dwl_android_ext.c1077 int auth = -1, wpa_auth = -1; in wl_ext_get_amode() local
1080 wl_ext_iovar_getint(dev, "wpa_auth", &wpa_auth); in wl_ext_get_amode()
1084 if (auth == 0 && wpa_auth == 0) { in wl_ext_get_amode()
1086 } else if (auth == 0 && wpa_auth == 128) { in wl_ext_get_amode()
1091 if (auth == 0 && wpa_auth == 0) { in wl_ext_get_amode()
1093 } else if (auth == 1 && wpa_auth == 0) { in wl_ext_get_amode()
1095 } else if (auth == 0 && wpa_auth == 4) { in wl_ext_get_amode()
1097 } else if (auth == 0 && wpa_auth == 128) { in wl_ext_get_amode()
1099 } else if (auth == 0 && wpa_auth == 132) { in wl_ext_get_amode()
1139 int auth = 0, wpa_auth = 0; in wl_ext_set_amode() local
[all …]
Ddhd_pno.h226 int32 wpa_auth; member
568 extern void dhd_pno_set_epno_auth_flag(uint32 *wpa_auth);
Ddhd_pno.c261 void dhd_pno_set_epno_auth_flag(uint32 *wpa_auth) in dhd_pno_set_epno_auth_flag() argument
263 switch (*wpa_auth) { in dhd_pno_set_epno_auth_flag()
265 *wpa_auth = WPA_AUTH_DISABLED; in dhd_pno_set_epno_auth_flag()
268 *wpa_auth = (WPA_AUTH_PSK | WPA2_AUTH_PSK); in dhd_pno_set_epno_auth_flag()
271 *wpa_auth = ~WPA_AUTH_NONE; in dhd_pno_set_epno_auth_flag()
274 DHD_ERROR(("%s: Unknown auth %d", __FUNCTION__, *wpa_auth)); in dhd_pno_set_epno_auth_flag()
275 *wpa_auth = WPA_AUTH_PFN_ANY; in dhd_pno_set_epno_auth_flag()
640 pfn_elem_buf[i].wpa_auth = htod32(iter->wpa_auth); in _dhd_pno_add_ssid()
1269 _pno_ssid->wpa_auth = WPA_AUTH_PFN_ANY; in dhd_pno_add_to_ssid_list()
Dwl_cfg80211.c5327 sec->wpa_auth = sme->crypto.akm_suites[0]; in wl_set_key_mgmt()
8421 u32 wpa_auth = 0; in wl_validate_wpa2ie() local
8505 wpa_auth |= WPA_AUTH_NONE; in wl_validate_wpa2ie()
8508 wpa_auth |= WPA2_AUTH_UNSPECIFIED; in wl_validate_wpa2ie()
8511 wpa_auth |= WPA2_AUTH_PSK; in wl_validate_wpa2ie()
8515 wpa_auth |= WPA2_AUTH_PSK_SHA256; in wl_validate_wpa2ie()
8518 wpa_auth |= WPA2_AUTH_1X_SHA256; in wl_validate_wpa2ie()
8543 if (wpa_auth & WPA2_AUTH_PSK_SHA256) { in wl_validate_wpa2ie()
8544 wpa_auth |= WPA2_AUTH_PSK; in wl_validate_wpa2ie()
8545 } else if (wpa_auth & WPA2_AUTH_1X_SHA256) { in wl_validate_wpa2ie()
[all …]
Dwl_iw.c508 int wpa_auth = 0; in wl_iw_update_connect_status() local
532 error = dev_wlc_intvar_get(dev, "wpa_auth", &wpa_auth); in wl_iw_update_connect_status()
537 if (wpa_auth & (WPA_AUTH_PSK|WPA2_AUTH_PSK)) in wl_iw_update_connect_status()
Dwl_cfg80211.h457 u32 wpa_auth; member
Dwl_cfgvendor.c869 ssid_elem->wpa_auth = in wl_cfgvendor_epno_cfg()
880 dhd_pno_set_epno_auth_flag(&ssid_elem->wpa_auth); in wl_cfgvendor_epno_cfg()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Ddhd_pno.h227 int32 wpa_auth; member
586 extern void dhd_pno_set_epno_auth_flag(uint32 *wpa_auth);
Dwl_android_ext.c1077 int auth=0, wpa_auth=0, wsec=0, mfp=0, wsec_tmp; in wl_ext_get_sec() local
1082 wl_ext_iovar_getint(dev, "wpa_auth", &wpa_auth); in wl_ext_get_sec()
1088 if (auth == WL_AUTH_OPEN_SYSTEM && wpa_auth == WPA_AUTH_DISABLED) { in wl_ext_get_sec()
1090 } else if (auth == WL_AUTH_OPEN_SYSTEM && wpa_auth == WPA2_AUTH_PSK) { in wl_ext_get_sec()
1094 auth, wpa_auth); in wl_ext_get_sec()
1099 if (auth == WL_AUTH_OPEN_SYSTEM && wpa_auth == WPA_AUTH_DISABLED) { in wl_ext_get_sec()
1101 } else if (auth == WL_AUTH_SHARED_KEY && wpa_auth == WPA_AUTH_DISABLED) { in wl_ext_get_sec()
1103 } else if (auth == WL_AUTH_OPEN_SYSTEM && wpa_auth == WPA_AUTH_PSK) { in wl_ext_get_sec()
1105 } else if (auth == WL_AUTH_OPEN_SYSTEM && wpa_auth == WPA2_AUTH_PSK) { in wl_ext_get_sec()
1107 } else if (auth == WL_AUTH_OPEN_SYSTEM && wpa_auth == WPA2_AUTH_UNSPECIFIED) { in wl_ext_get_sec()
[all …]
Ddhd_pno.c283 dhd_pno_set_epno_auth_flag(uint32 *wpa_auth) in dhd_pno_set_epno_auth_flag() argument
285 switch (*wpa_auth) { in dhd_pno_set_epno_auth_flag()
287 *wpa_auth = WPA_AUTH_DISABLED; in dhd_pno_set_epno_auth_flag()
290 *wpa_auth = (WPA_AUTH_PSK | WPA2_AUTH_PSK); in dhd_pno_set_epno_auth_flag()
293 *wpa_auth = ~WPA_AUTH_NONE; in dhd_pno_set_epno_auth_flag()
296 DHD_ERROR(("%s: Unknown auth %d", __FUNCTION__, *wpa_auth)); in dhd_pno_set_epno_auth_flag()
297 *wpa_auth = WPA_AUTH_PFN_ANY; in dhd_pno_set_epno_auth_flag()
660 pfn_elem_buf[i].wpa_auth = htod32(iter->wpa_auth); in _dhd_pno_add_ssid()
1279 _pno_ssid->wpa_auth = WPA_AUTH_PFN_ANY; in dhd_pno_add_to_ssid_list()
Dwl_cfg80211.h672 u32 wpa_auth; member
2047 #define IS_AKM_SUITE_FT(sec) (sec->wpa_auth == WLAN_AKM_SUITE_FT_8021X || \
2048 sec->wpa_auth == WLAN_AKM_SUITE_FT_PSK)
2050 #define IS_AKM_SUITE_FT(sec) (sec->wpa_auth == WLAN_AKM_SUITE_FT_8021X)
2052 #define IS_AKM_SUITE_FT(sec) (sec->wpa_auth == WLAN_AKM_SUITE_FT_PSK)
Dwl_cfg80211.c1233 u32 wpa_auth; member
5436 return rsn_akm_wpa_auth_lookup_tbl[i].wpa_auth; in wl_rsn_akm_wpa_auth_lookup()
6044 sec->wpa_auth = sme->crypto.akm_suites[0]; in wl_set_key_mgmt()
7351 WL_MEM(("set_pmk: wpa_auth:%x akm:%x\n", sec->wpa_auth, params->cipher)); in wl_cfg80211_add_key()
7353 if (IS_AKM_SAE(sec->wpa_auth) || IS_AKM_OWE(sec->wpa_auth)) { in wl_cfg80211_add_key()
7354 WL_INFORM_MEM(("skip pmk set for akm:%x\n", sec->wpa_auth)); in wl_cfg80211_add_key()
7358 if ((sec->wpa_auth == WLAN_AKM_SUITE_8021X) || in wl_cfg80211_add_key()
7359 (sec->wpa_auth == WL_AKM_SUITE_SHA256_1X)) { in wl_cfg80211_add_key()
10185 u32 wpa_auth = 0; in wl_validate_wpa2ie() local
10269 wpa_auth |= WPA_AUTH_NONE; in wl_validate_wpa2ie()
[all …]
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Ddhd_pno.h218 int32 wpa_auth; member
590 extern void dhd_pno_set_epno_auth_flag(uint32 *wpa_auth);
Dwl_iapsta.c327 int auth = 0, wpa_auth = 0; in wl_ext_set_amode() local
333 wpa_auth = WPA2_AUTH_PSK; in wl_ext_set_amode()
337 wpa_auth = WPA_AUTH_DISABLED; in wl_ext_set_amode()
344 wpa_auth = WPA_AUTH_DISABLED; in wl_ext_set_amode()
348 wpa_auth = WPA_AUTH_DISABLED; in wl_ext_set_amode()
352 wpa_auth = WPA_AUTH_PSK; in wl_ext_set_amode()
356 wpa_auth = WPA2_AUTH_PSK; in wl_ext_set_amode()
360 wpa_auth = WPA2_AUTH_PSK | WPA_AUTH_PSK; in wl_ext_set_amode()
375 wl_ext_iovar_setint(dev, "wpa_auth", wpa_auth); in wl_ext_set_amode()
2851 int suppressed = 0, wpa_auth = 0; in wl_ext_in4way_sync_sta() local
[all …]
Dwl_android_ext.c164 uint wpa_auth; member
990 int auth = 0, wpa_auth = 0, wsec = 0, mfp = 0, i; in wl_ext_get_sec() local
996 wl_ext_iovar_getint(dev, "wpa_auth", &wpa_auth); in wl_ext_get_sec()
1002 if (auth == WL_AUTH_OPEN_SYSTEM && wpa_auth == WPA_AUTH_DISABLED) { in wl_ext_get_sec()
1004 } else if (auth == WL_AUTH_OPEN_SYSTEM && wpa_auth == WPA2_AUTH_PSK) { in wl_ext_get_sec()
1008 auth, wpa_auth); in wl_ext_get_sec()
1016 if (row->auth == auth && row->wpa_auth == wpa_auth) { in wl_ext_get_sec()
1025 auth, wpa_auth); in wl_ext_get_sec()
1066 wpa_auth, mfp, wsec); in wl_ext_get_sec()
Ddhd_pno.c276 void dhd_pno_set_epno_auth_flag(uint32 *wpa_auth) in dhd_pno_set_epno_auth_flag() argument
278 switch (*wpa_auth) { in dhd_pno_set_epno_auth_flag()
280 *wpa_auth = WPA_AUTH_DISABLED; in dhd_pno_set_epno_auth_flag()
283 *wpa_auth = (WPA_AUTH_PSK | WPA2_AUTH_PSK); in dhd_pno_set_epno_auth_flag()
286 *wpa_auth = ~WPA_AUTH_NONE; in dhd_pno_set_epno_auth_flag()
289 DHD_ERROR(("%s: Unknown auth %d", __FUNCTION__, *wpa_auth)); in dhd_pno_set_epno_auth_flag()
290 *wpa_auth = WPA_AUTH_PFN_ANY; in dhd_pno_set_epno_auth_flag()
676 pfn_elem_buf[i].wpa_auth = htod32(iter->wpa_auth); in _dhd_pno_add_ssid()
1322 _pno_ssid->wpa_auth = WPA_AUTH_PFN_ANY; in dhd_pno_add_to_ssid_list()
Dwl_cfg80211.h683 u32 wpa_auth; member
2080 (sec->wpa_auth == WLAN_AKM_SUITE_FT_8021X || \
2081 sec->wpa_auth == WLAN_AKM_SUITE_FT_PSK)
2083 #define IS_AKM_SUITE_FT(sec) (sec->wpa_auth == WLAN_AKM_SUITE_FT_8021X)
2085 #define IS_AKM_SUITE_FT(sec) (sec->wpa_auth == WLAN_AKM_SUITE_FT_PSK)
Dwl_cfg80211.c1288 u32 wpa_auth; member
5496 return rsn_akm_wpa_auth_lookup_tbl[i].wpa_auth; in wl_rsn_akm_wpa_auth_lookup()
6112 sec->wpa_auth = sme->crypto.akm_suites[0]; in wl_set_key_mgmt()
7495 WL_MEM(("set_pmk: wpa_auth:%x akm:%x\n", sec->wpa_auth, in wl_cfg80211_add_key()
7498 if (IS_AKM_SAE(sec->wpa_auth) || IS_AKM_OWE(sec->wpa_auth)) { in wl_cfg80211_add_key()
7499 WL_INFORM_MEM(("skip pmk set for akm:%x\n", sec->wpa_auth)); in wl_cfg80211_add_key()
7503 if ((sec->wpa_auth == WLAN_AKM_SUITE_8021X) || in wl_cfg80211_add_key()
7504 (sec->wpa_auth == WL_AKM_SUITE_SHA256_1X)) { in wl_cfg80211_add_key()
10391 u32 wpa_auth = 0; in wl_validate_wpa2ie() local
10479 wpa_auth |= WPA_AUTH_NONE; in wl_validate_wpa2ie()
[all …]

12