Home
last modified time | relevance | path

Searched refs:rsn (Results 1 – 14 of 14) sorted by relevance

/external/wpa_supplicant_8/wpa_supplicant/
Dmesh_rsn.c139 static int __mesh_rsn_auth_init(struct mesh_rsn *rsn, const u8 *addr) in __mesh_rsn_auth_init() argument
157 cb.ctx = rsn; in __mesh_rsn_auth_init()
163 rsn->auth = wpa_init(addr, &conf, &cb); in __mesh_rsn_auth_init()
164 if (rsn->auth == NULL) { in __mesh_rsn_auth_init()
170 if (random_get_bytes(rsn->mgtk, 16) < 0) { in __mesh_rsn_auth_init()
171 wpa_deinit(rsn->auth); in __mesh_rsn_auth_init()
176 wpa_drv_set_key(rsn->wpa_s, WPA_ALG_IGTK, NULL, 4, 1, in __mesh_rsn_auth_init()
177 seq, sizeof(seq), rsn->mgtk, sizeof(rsn->mgtk)); in __mesh_rsn_auth_init()
180 wpa_drv_set_key(rsn->wpa_s, WPA_ALG_CCMP, NULL, 1, 1, in __mesh_rsn_auth_init()
181 seq, sizeof(seq), rsn->mgtk, sizeof(rsn->mgtk)); in __mesh_rsn_auth_init()
[all …]
Dmesh_rsn.h26 void mesh_rsn_get_pmkid(struct mesh_rsn *rsn, struct sta_info *sta, u8 *pmkid);
29 int mesh_rsn_protect_frame(struct mesh_rsn *rsn, struct sta_info *sta,
Dsme.c264 const u8 *rsn; in sme_send_authentication() local
267 rsn = wpa_bss_get_ie(bss, WLAN_EID_RSN); in sme_send_authentication()
268 if (!rsn) { in sme_send_authentication()
271 } else if (wpa_parse_wpa_ie(rsn, 2 + rsn[1], &ied) == 0 && in sme_send_authentication()
395 const u8 *rsn = wpa_bss_get_ie(bss, WLAN_EID_RSN); in sme_send_authentication() local
397 if (rsn && wpa_parse_wpa_ie(rsn, 2 + rsn[1], &_ie) == 0 && in sme_send_authentication()
Devents.c1326 const u8 *ssid, *rsn; in wpa_supplicant_rsn_preauth_scan_results() local
1332 rsn = wpa_bss_get_ie(bss, WLAN_EID_RSN); in wpa_supplicant_rsn_preauth_scan_results()
1333 if (rsn == NULL) in wpa_supplicant_rsn_preauth_scan_results()
1336 rsn_preauth_scan_result(wpa_s->wpa, bss->bssid, ssid, rsn); in wpa_supplicant_rsn_preauth_scan_results()
Dwpa_supplicant.c2486 const u8 *rsn = wpa_bss_get_ie(bss, WLAN_EID_RSN); in wpas_start_assoc_cb() local
2488 if (rsn && wpa_parse_wpa_ie(rsn, 2 + rsn[1], &ie) == 0 && in wpas_start_assoc_cb()
/external/wpa_supplicant_8/src/rsn_supp/
Dpreauth.h22 const u8 *ssid, const u8 *rsn);
56 const u8 *ssid, const u8 *rsn) in rsn_preauth_scan_result() argument
Dpreauth.c470 const u8 *ssid, const u8 *rsn) in rsn_preauth_scan_result() argument
482 if (wpa_parse_wpa_ie(rsn, 2 + rsn[1], &ie)) in rsn_preauth_scan_result()
Dwpa.c1003 struct wpa_ie_data rsn; in ft_validate_rsnie() local
1012 if (wpa_parse_wpa_ie_rsn(ie->rsn_ie, ie->rsn_ie_len, &rsn) < 0 || in ft_validate_rsnie()
1013 rsn.num_pmkid != 1 || rsn.pmkid == NULL) { in ft_validate_rsnie()
1019 if (os_memcmp_const(rsn.pmkid, sm->pmk_r1_name, WPA_PMK_NAME_LEN) != 0) in ft_validate_rsnie()
1025 rsn.pmkid, WPA_PMK_NAME_LEN); in ft_validate_rsnie()
2650 struct wpa_ie_data rsn; in wpa_sm_get_status() local
2651 if (wpa_parse_wpa_ie_rsn(sm->ap_rsn_ie, sm->ap_rsn_ie_len, &rsn) in wpa_sm_get_status()
2653 rsn.capabilities & (WPA_CAPABILITY_MFPR | in wpa_sm_get_status()
2656 (rsn.capabilities & in wpa_sm_get_status()
2670 struct wpa_ie_data rsn; in wpa_sm_pmf_enabled() local
[all …]
Dwpa_ft.c770 parse.rsn - 2, parse.rsn_len + 2, in wpa_ft_validate_reassoc_resp()
/external/autotest/server/site_tests/network_WiFi_RoamSuspendSSID/
Dcontrol.rsn7 NAME = 'network_WiFi_RoamSuspendSSID.rsn'
/external/wpa_supplicant_8/src/common/
Dwpa_common.c367 parse->rsn = pos; in wpa_ft_parse_ies()
369 ret = wpa_parse_wpa_ie_rsn(parse->rsn - 2, in wpa_ft_parse_ies()
416 if (parse->rsn) in wpa_ft_parse_ies()
Dwpa_common.h424 const u8 *rsn; member
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ft.c1006 if (parse.rsn == NULL) { in wpa_ft_validate_reassoc()
1112 parse.rsn - 2, parse.rsn_len + 2, in wpa_ft_validate_reassoc()
1131 parse.rsn - 2, parse.rsn_len + 2); in wpa_ft_validate_reassoc()
/external/icu/icu4c/source/i18n/
Drbnf.cpp1055 UnicodeString rsn(ruleSetName); in getRuleSetDisplayName() local
1056 int32_t ix = localizations->indexForRuleSet(rsn.getTerminatedBuffer()); in getRuleSetDisplayName()