Home
last modified time | relevance | path

Searched refs:sta_addr (Results 1 – 16 of 16) sorted by relevance

/freebsd-12.1/contrib/wpa/src/ap/
H A Dwpa_auth.h280 int (*set_vlan)(void *ctx, const u8 *sta_addr,
282 int (*get_vlan)(void *ctx, const u8 *sta_addr,
284 int (*set_identity)(void *ctx, const u8 *sta_addr,
287 int (*set_radius_cui)(void *ctx, const u8 *sta_addr,
290 void (*set_session_timeout)(void *ctx, const u8 *sta_addr,
292 int (*get_session_timeout)(void *ctx, const u8 *sta_addr);
296 int (*add_tspec)(void *ctx, const u8 *sta_addr, u8 *tspec_ie,
300 int (*start_ampe)(void *ctx, const u8 *sta_addr);
370 const u8 *pmk, size_t len, const u8 *sta_addr,
380 const u8 *sta_addr);
[all …]
H A Dwpa_auth_glue.c895 hostapd_wpa_auth_add_sta(void *ctx, const u8 *sta_addr) in hostapd_wpa_auth_add_sta() argument
902 MAC2STR(sta_addr)); in hostapd_wpa_auth_add_sta()
906 sta = ap_sta_add(hapd, sta_addr); in hostapd_wpa_auth_add_sta()
934 sta = ap_get_sta(hapd, sta_addr); in hostapd_wpa_auth_set_vlan()
967 sta = ap_get_sta(hapd, sta_addr); in hostapd_wpa_auth_get_vlan()
987 sta = ap_get_sta(hapd, sta_addr); in hostapd_wpa_auth_set_identity()
1029 sta = ap_get_sta(hapd, sta_addr); in hostapd_wpa_auth_get_identity()
1057 sta = ap_get_sta(hapd, sta_addr); in hostapd_wpa_auth_set_radius_cui()
1098 sta = ap_get_sta(hapd, sta_addr); in hostapd_wpa_auth_get_radius_cui()
1128 sta = ap_get_sta(hapd, sta_addr); in hostapd_wpa_auth_set_session_timeout()
[all …]
H A Dwpa_auth_ft.c38 const u8 *current_ap, const u8 *sta_addr,
755 const u8 *sta_addr) in wpa_ft_get_session_timeout() argument
764 const u8 *sta_addr, in wpa_ft_add_tspec() argument
3328 const u8 *sta_addr, *target_ap; in wpa_ft_action_rx() local
3349 sta_addr = data + 2; in wpa_ft_action_rx()
3361 MAC2STR(sm->addr), MAC2STR(sta_addr)); in wpa_ft_action_rx()
3424 sm = wpa_ft_add_sta(wpa_auth, sta_addr); in wpa_ft_rrb_rx_request()
3486 os_memcpy(pos, sta_addr, ETH_ALEN); in wpa_ft_send_rrb_auth_resp()
4323 const u8 *sta_addr, *target_ap_addr; in wpa_ft_rrb_rx() local
4376 sta_addr = pos; in wpa_ft_rrb_rx()
[all …]
H A Dpmksa_cache_auth.c555 if (attr->sta_addr) { in das_attr_match()
556 if (os_memcmp(attr->sta_addr, entry->spa, ETH_ALEN) != 0) in das_attr_match()
H A Dwpa_auth.c4398 const u8 *pmk, size_t len, const u8 *sta_addr, in wpa_auth_pmksa_add_preauth() argument
4409 sta_addr, session_timeout, eapol, in wpa_auth_pmksa_add_preauth()
4459 const u8 *sta_addr) in wpa_auth_pmksa_remove() argument
4465 pmksa = pmksa_cache_auth_get(wpa_auth->pmksa, sta_addr, NULL); in wpa_auth_pmksa_remove()
4468 MACSTR " based on request", MAC2STR(sta_addr)); in wpa_auth_pmksa_remove()
4543 wpa_auth_pmksa_get(struct wpa_authenticator *wpa_auth, const u8 *sta_addr, in wpa_auth_pmksa_get() argument
4548 return pmksa_cache_auth_get(wpa_auth->pmksa, sta_addr, pmkid); in wpa_auth_pmksa_get()
4883 const u8 *sta_addr, const u8 *pmkid) in wpa_auth_pmksa_get_fils_cache_id() argument
4892 idata.spa = sta_addr; in wpa_auth_pmksa_get_fils_cache_id()
H A Dgas_serv.c141 const u8 *sta_addr) in gas_serv_free_dialogs() argument
146 sta = ap_get_sta(hapd, sta_addr); in gas_serv_free_dialogs()
H A Dhostapd.c779 if (attr->sta_addr) { in hostapd_das_find_sta()
781 sta = ap_get_sta(hapd, attr->sta_addr); in hostapd_das_find_sta()
H A Ddrv_callbacks.c1896 data->wds_sta_interface.sta_addr); in wpa_supplicant_event()
/freebsd-12.1/contrib/wpa/src/radius/
H A Dradius_das.c63 u8 sta_addr[ETH_ALEN]; in radius_das_disconnect() local
114 if (hwaddr_aton2(tmp, sta_addr) < 0) { in radius_das_disconnect()
120 attrs.sta_addr = sta_addr; in radius_das_disconnect()
223 u8 sta_addr[ETH_ALEN]; in radius_das_coa() local
279 if (hwaddr_aton2(tmp, sta_addr) < 0) { in radius_das_coa()
285 attrs.sta_addr = sta_addr; in radius_das_coa()
H A Dradius_das.h30 const u8 *sta_addr; member
/freebsd-12.1/contrib/wpa/src/drivers/
H A Ddriver_hostap.c342 memcpy(param.sta_addr, addr, ETH_ALEN); in hostap_sta_set_flags()
418 memset(param->sta_addr, 0xff, ETH_ALEN); in wpa_driver_hostap_set_key()
420 memcpy(param->sta_addr, addr, ETH_ALEN); in wpa_driver_hostap_set_key()
474 os_memset(param->sta_addr, 0xff, ETH_ALEN); in hostap_get_seqnum()
476 os_memcpy(param->sta_addr, addr, ETH_ALEN); in hostap_get_seqnum()
649 memcpy(param.sta_addr, params->addr, ETH_ALEN); in hostap_sta_add()
666 memcpy(param.sta_addr, addr, ETH_ALEN); in hostap_sta_remove()
682 memcpy(param.sta_addr, addr, ETH_ALEN); in hostap_get_inact_sec()
698 memcpy(param.sta_addr, addr, ETH_ALEN); in hostap_sta_clear_stats()
H A Ddriver.h5629 const u8 *sta_addr; member
/freebsd-12.1/contrib/wpa/src/common/
H A Dwpa_common.h363 const u8 *anonce, const u8 *sta_addr, const u8 *bssid,
370 int wpa_ft_mic(const u8 *kck, size_t kck_len, const u8 *sta_addr,
388 const u8 *anonce, const u8 *sta_addr, const u8 *bssid,
H A Dwpa_common.c663 const u8 *anonce, const u8 *sta_addr, const u8 *bssid, in fils_key_auth_sk() argument
675 " AP-BSSID=" MACSTR, MAC2STR(sta_addr), MAC2STR(bssid)); in fils_key_auth_sk()
691 addr[2] = sta_addr; in fils_key_auth_sk()
725 addr[3] = sta_addr; in fils_key_auth_sk()
754 int wpa_ft_mic(const u8 *kck, size_t kck_len, const u8 *sta_addr, in wpa_ft_mic() argument
781 addr[num_elem] = sta_addr; in wpa_ft_mic()
1698 const u8 *sta_addr, const u8 *bssid, in wpa_pmk_r1_to_ptk() argument
1720 MAC2STR(bssid), MAC2STR(sta_addr)); in wpa_pmk_r1_to_ptk()
1728 os_memcpy(pos, sta_addr, ETH_ALEN); in wpa_pmk_r1_to_ptk()
1780 addr[5] = sta_addr; in wpa_pmk_r1_to_ptk()
H A Dieee802_11_defs.h937 u8 sta_addr[ETH_ALEN]; member
943 u8 sta_addr[ETH_ALEN]; member
/freebsd-12.1/contrib/wpa/wpa_supplicant/
H A Devents.c3460 const u8 *sta_addr, *target_ap_addr; in ft_rx_action() local
3470 sta_addr = data + 1; in ft_rx_action()
3475 MAC2STR(sta_addr), MAC2STR(target_ap_addr), status); in ft_rx_action()
3477 if (os_memcmp(sta_addr, wpa_s->own_addr, ETH_ALEN) != 0) { in ft_rx_action()
3479 " in FT Action Response", MAC2STR(sta_addr)); in ft_rx_action()