Home
last modified time | relevance | path

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

/freebsd-src/contrib/wpa/src/ap/
H A Dwpa_auth.h374 struct wpa_state_machine * (*add_sta)(void *ctx, const u8 *sta_addr);
375 int (*add_sta_ft)(void *ctx, const u8 *sta_addr);
376 int (*set_vlan)(void *ctx, const u8 *sta_addr,
378 int (*get_vlan)(void *ctx, const u8 *sta_addr,
380 int (*set_identity)(void *ctx, const u8 *sta_addr,
382 size_t (*get_identity)(void *ctx, const u8 *sta_addr, const u8 **buf);
383 int (*set_radius_cui)(void *ctx, const u8 *sta_addr,
385 size_t (*get_radius_cui)(void *ctx, const u8 *sta_addr, const u8 **buf);
386 void (*set_session_timeout)(void *ctx, const u8 *sta_addr,
388 int (*get_session_timeout)(void *ctx, const u8 *sta_addr);
[all...]
H A Dwpa_auth_glue.c1088 hostapd_wpa_auth_add_sta(void *ctx, const u8 *sta_addr) in hostapd_wpa_auth_add_sta_ft()
1096 MAC2STR(sta_addr)); in hostapd_wpa_auth_add_sta_ft()
1097 ret = hostapd_add_sta_node(hapd, sta_addr, WLAN_AUTH_FT); in hostapd_wpa_auth_add_sta_ft()
1108 sta = ap_sta_add(hapd, sta_addr); in hostapd_wpa_auth_add_sta_ft()
1131 static int hostapd_wpa_auth_add_sta_ft(void *ctx, const u8 *sta_addr) in hostapd_wpa_auth_set_vlan()
1136 sta = ap_get_sta(hapd, sta_addr); in hostapd_wpa_auth_set_vlan()
1159 static int hostapd_wpa_auth_set_vlan(void *ctx, const u8 *sta_addr, in hostapd_wpa_auth_get_vlan()
1165 sta = ap_get_sta(hapd, sta_addr); in hostapd_wpa_auth_set_identity() argument
1200 static int hostapd_wpa_auth_get_vlan(void *ctx, const u8 *sta_addr, in hostapd_wpa_auth_set_identity()
1206 sta = ap_get_sta(hapd, sta_addr); in hostapd_wpa_auth_get_identity() argument
1041 hostapd_wpa_auth_add_sta(void * ctx,const u8 * sta_addr) hostapd_wpa_auth_add_sta() argument
1084 hostapd_wpa_auth_add_sta_ft(void * ctx,const u8 * sta_addr) hostapd_wpa_auth_add_sta_ft() argument
1112 hostapd_wpa_auth_set_vlan(void * ctx,const u8 * sta_addr,struct vlan_description * vlan) hostapd_wpa_auth_set_vlan() argument
1145 hostapd_wpa_auth_get_vlan(void * ctx,const u8 * sta_addr,struct vlan_description * vlan) hostapd_wpa_auth_get_vlan() argument
1235 hostapd_wpa_auth_set_radius_cui(void * ctx,const u8 * sta_addr,const u8 * radius_cui,size_t radius_cui_len) hostapd_wpa_auth_set_radius_cui() argument
1274 hostapd_wpa_auth_get_radius_cui(void * ctx,const u8 * sta_addr,const u8 ** buf) hostapd_wpa_auth_get_radius_cui() argument
1306 hostapd_wpa_auth_set_session_timeout(void * ctx,const u8 * sta_addr,int session_timeout) hostapd_wpa_auth_set_session_timeout() argument
1328 hostapd_wpa_auth_get_session_timeout(void * ctx,const u8 * sta_addr) hostapd_wpa_auth_get_session_timeout() argument
1384 hostapd_wpa_auth_add_tspec(void * ctx,const u8 * sta_addr,u8 * tspec_ie,size_t tspec_ielen) hostapd_wpa_auth_add_tspec() argument
[all...]
H A Dwpa_auth_ft.c43 const u8 *current_ap, const u8 *sta_addr,
677 wpa_ft_add_sta(struct wpa_authenticator *wpa_auth, const u8 *sta_addr) in wpa_ft_add_sta()
681 return wpa_auth->cb->add_sta(wpa_auth->cb_ctx, sta_addr); in wpa_ft_set_vlan()
686 const u8 *sta_addr, struct vlan_description *vlan) in wpa_ft_set_vlan()
690 return wpa_auth->cb->set_vlan(wpa_auth->cb_ctx, sta_addr, vlan); in wpa_ft_get_vlan()
695 const u8 *sta_addr, struct vlan_description *vlan) in wpa_ft_get_vlan()
699 return wpa_auth->cb->get_vlan(wpa_auth->cb_ctx, sta_addr, vlan);
704 wpa_ft_set_identity(struct wpa_authenticator *wpa_auth, const u8 *sta_addr, in wpa_ft_set_identity()
709 return wpa_auth->cb->set_identity(wpa_auth->cb_ctx, sta_addr, identity,
715 wpa_ft_get_identity(struct wpa_authenticator *wpa_auth, const u8 *sta_addr, in wpa_ft_get_identity()
673 wpa_ft_add_sta(struct wpa_authenticator * wpa_auth,const u8 * sta_addr) wpa_ft_add_sta() argument
682 wpa_ft_set_vlan(struct wpa_authenticator * wpa_auth,const u8 * sta_addr,struct vlan_description * vlan) wpa_ft_set_vlan() argument
691 wpa_ft_get_vlan(struct wpa_authenticator * wpa_auth,const u8 * sta_addr,struct vlan_description * vlan) wpa_ft_get_vlan() argument
700 wpa_ft_set_identity(struct wpa_authenticator * wpa_auth,const u8 * sta_addr,const u8 * identity,size_t identity_len) wpa_ft_set_identity() argument
711 wpa_ft_get_identity(struct wpa_authenticator * wpa_auth,const u8 * sta_addr,const u8 ** buf) wpa_ft_get_identity() argument
722 wpa_ft_set_radius_cui(struct wpa_authenticator * wpa_auth,const u8 * sta_addr,const u8 * radius_cui,size_t radius_cui_len) wpa_ft_set_radius_cui() argument
733 wpa_ft_get_radius_cui(struct wpa_authenticator * wpa_auth,const u8 * sta_addr,const u8 ** buf) wpa_ft_get_radius_cui() argument
745 wpa_ft_set_session_timeout(struct wpa_authenticator * wpa_auth,const u8 * sta_addr,int session_timeout) wpa_ft_set_session_timeout() argument
756 wpa_ft_get_session_timeout(struct wpa_authenticator * wpa_auth,const u8 * sta_addr) wpa_ft_get_session_timeout() argument
765 wpa_ft_add_tspec(struct wpa_authenticator * wpa_auth,const u8 * sta_addr,u8 * tspec_ie,size_t tspec_ielen) wpa_ft_add_tspec() argument
3555 const u8 *sta_addr, *target_ap; wpa_ft_action_rx() local
3642 wpa_ft_rrb_rx_request(struct wpa_authenticator * wpa_auth,const u8 * current_ap,const u8 * sta_addr,const u8 * body,size_t len) wpa_ft_rrb_rx_request() argument
3680 wpa_ft_send_rrb_auth_resp(struct wpa_state_machine * sm,const u8 * current_ap,const u8 * sta_addr,u16 status,const u8 * resp_ies,size_t resp_ies_len) wpa_ft_send_rrb_auth_resp() argument
4555 const u8 *sta_addr, *target_ap_addr; wpa_ft_rrb_rx() local
[all...]
H A Dpmksa_cache_auth.c577 if (attr->sta_addr) { in das_attr_match()
578 if (!ether_addr_equal(attr->sta_addr, entry->spa)) in das_attr_match()
H A Dwpa_auth.c6251 const u8 *pmk, size_t len, const u8 *sta_addr,
6262 sta_addr, session_timeout, eapol,
6319 const u8 *sta_addr)
6325 pmksa = pmksa_cache_auth_get(wpa_auth->pmksa, sta_addr, NULL);
6328 MACSTR " based on request", MAC2STR(sta_addr));
6413 wpa_auth_pmksa_get(struct wpa_authenticator *wpa_auth, const u8 *sta_addr,
6418 return pmksa_cache_auth_get(wpa_auth->pmksa, sta_addr, pmkid);
6756 const u8 *sta_addr, const u8 *pmkid)
6765 idata.spa = sta_addr;
4803 wpa_auth_pmksa_add_preauth(struct wpa_authenticator * wpa_auth,const u8 * pmk,size_t len,const u8 * sta_addr,int session_timeout,struct eapol_state_machine * eapol) wpa_auth_pmksa_add_preauth() argument
4864 wpa_auth_pmksa_remove(struct wpa_authenticator * wpa_auth,const u8 * sta_addr) wpa_auth_pmksa_remove() argument
4948 wpa_auth_pmksa_get(struct wpa_authenticator * wpa_auth,const u8 * sta_addr,const u8 * pmkid) wpa_auth_pmksa_get() argument
5289 wpa_auth_pmksa_get_fils_cache_id(struct wpa_authenticator * wpa_auth,const u8 * sta_addr,const u8 * pmkid) wpa_auth_pmksa_get_fils_cache_id() argument
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.c988 if (attr->sta_addr) { in hostapd_das_disconnect()
990 sta = ap_get_sta(hapd, attr->sta_addr); in hostapd_das_disconnect()
H A Ddrv_callbacks.c2274 wpa_msg(hapd->msg_ctx, MSG_INFO, "%sifname=%s sta_addr=" MACSTR,
2559 sta = ap_get_sta(hapd, data->port_authorized.sta_addr);
2730 data->wds_sta_interface.sta_addr);
/freebsd-src/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()
228 u8 sta_addr[ETH_ALEN]; in radius_das_coa()
284 if (hwaddr_aton2(tmp, sta_addr) < 0) { in radius_das_coa()
290 attrs.sta_addr = sta_addr; in radius_das_coa()
223 u8 sta_addr[ETH_ALEN]; radius_das_coa() local
H A Dradius_das.h30 const u8 *sta_addr; member
/freebsd-src/contrib/wpa/src/drivers/
H A Ddriver_hostap.c343 memcpy(param.sta_addr, addr, ETH_ALEN); in hostap_sta_set_flags()
422 memset(param->sta_addr, 0xff, ETH_ALEN); in wpa_driver_hostap_set_key()
424 memcpy(param->sta_addr, addr, ETH_ALEN); in wpa_driver_hostap_set_key()
478 os_memset(param->sta_addr, 0xff, ETH_ALEN); in hostap_get_seqnum()
480 os_memcpy(param->sta_addr, addr, ETH_ALEN); in hostap_get_seqnum()
653 memcpy(param.sta_addr, params->addr, ETH_ALEN); in hostap_sta_add()
670 memcpy(param.sta_addr, addr, ETH_ALEN); in hostap_sta_remove()
686 memcpy(param.sta_addr, addr, ETH_ALEN); in hostap_get_inact_sec()
702 memcpy(param.sta_addr, addr, ETH_ALEN); in hostap_sta_clear_stats()
H A Ddriver_hostap.h153 u8 sta_addr[ETH_ALEN]; member
H A Ddriver.h6771 const u8 *sta_addr;
6815 * @sta_addr: For AP mode, the MAC address of the associated STA
6824 const u8 *sta_addr;
6001 const u8 *sta_addr; global() member
H A Ddriver_nl80211.c8450 event.wds_sta_interface.sta_addr = addr; in nl80211_disable_11b_rates()
8475 event.wds_sta_interface.sta_addr = addr; in wpa_driver_nl80211_deinit_ap()
/freebsd-src/contrib/wpa/src/common/
H A Dwpa_common.h479 const u8 *anonce, const u8 *sta_addr, const u8 *bssid,
486 int wpa_ft_mic(int key_mgmt, const u8 *kck, size_t kck_len, const u8 *sta_addr,
508 const u8 *anonce, const u8 *sta_addr, const u8 *bssid,
H A Dwpa_common.c803 const u8 *anonce, const u8 *sta_addr, const u8 *bssid, in fils_key_auth_sk()
815 " AP-BSSID=" MACSTR, MAC2STR(sta_addr), MAC2STR(bssid));
831 addr[2] = sta_addr; in wpa_ft_mic()
865 addr[3] = sta_addr; in wpa_ft_mic()
894 int wpa_ft_mic(int key_mgmt, const u8 *kck, size_t kck_len, const u8 *sta_addr, in wpa_ft_mic()
929 addr[num_elem] = sta_addr; in wpa_ft_parse_ftie()
2420 const u8 *sta_addr, const u8 *bssid, in wpa_akm_to_suite()
2460 MAC2STR(bssid), MAC2STR(sta_addr)); in wpa_compare_rsn_ie()
2468 os_memcpy(pos, sta_addr, ETH_ALEN); in wpa_compare_rsn_ie()
2534 addr[5] = sta_addr; in wpa_insert_pmkid()
728 fils_key_auth_sk(const u8 * ick,size_t ick_len,const u8 * snonce,const u8 * anonce,const u8 * sta_addr,const u8 * bssid,const u8 * g_sta,size_t g_sta_len,const u8 * g_ap,size_t g_ap_len,int akmp,u8 * key_auth_sta,u8 * key_auth_ap,size_t * key_auth_len) fils_key_auth_sk() argument
819 wpa_ft_mic(const u8 * kck,size_t kck_len,const u8 * sta_addr,const u8 * ap_addr,u8 transaction_seqnum,const u8 * mdie,size_t mdie_len,const u8 * ftie,size_t ftie_len,const u8 * rsnie,size_t rsnie_len,const u8 * ric,size_t ric_len,const u8 * rsnxe,size_t rsnxe_len,u8 * mic) wpa_ft_mic() argument
2040 wpa_pmk_r1_to_ptk(const u8 * pmk_r1,size_t pmk_r1_len,const u8 * snonce,const u8 * anonce,const u8 * sta_addr,const u8 * bssid,const u8 * pmk_r1_name,struct wpa_ptk * ptk,u8 * ptk_name,int akmp,int cipher,size_t kdk_len) wpa_pmk_r1_to_ptk() argument
[all...]
H A Dieee802_11_defs.h1068 u8 sta_addr[ETH_ALEN];
1074 u8 sta_addr[ETH_ALEN];
990 u8 sta_addr[ETH_ALEN]; global() member
996 u8 sta_addr[ETH_ALEN]; global() member
/freebsd-src/sys/contrib/dev/iwlwifi/fw/api/
H A Dtx.h609 * @sta_addr: MAC address
625 u8 sta_addr[ETH_ALEN];
623 u8 sta_addr[ETH_ALEN]; global() member
/freebsd-src/contrib/wpa/wpa_supplicant/
H A Devents.c4963 const u8 *sta_addr, *target_ap_addr; in wpa_supplicant_event()
4973 sta_addr = data + 1; in wpa_supplicant_event()
4978 MAC2STR(sta_addr), MAC2STR(target_ap_addr), status); in wpa_supplicant_event()
4980 if (!ether_addr_equal(sta_addr, wpa_s->own_addr)) { in wpa_supplicant_event()
4982 " in FT Action Response", MAC2STR(sta_addr)); in wpa_supplicant_event()
6880 data->port_authorized.sta_addr);
4048 const u8 *sta_addr, *target_ap_addr; ft_rx_action() local
/freebsd-src/sys/contrib/dev/iwlwifi/mvm/
H A Dtx.c2306 ba_notif->sta_addr, ba_notif->sta_id); in iwl_mvm_flush_sta()
/freebsd-src/sys/dev/iwm/
H A Dif_iwmreg.h5211 * @sta_addr: MAC address
5227 uint8_t sta_addr[ETHER_ADDR_LEN];
5223 uint8_t sta_addr[ETHER_ADDR_LEN]; global() member