Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/src/ap/
H A Dwpa_auth.h421 struct wpa_state_machine * (*add_sta)(void *ctx, const u8 *sta_addr);
422 int (*add_sta_ft)(void *ctx, const u8 *sta_addr);
423 int (*set_vlan)(void *ctx, const u8 *sta_addr,
425 int (*get_vlan)(void *ctx, const u8 *sta_addr,
427 int (*set_identity)(void *ctx, const u8 *sta_addr,
429 size_t (*get_identity)(void *ctx, const u8 *sta_addr, const u8 **buf);
430 int (*set_radius_cui)(void *ctx, const u8 *sta_addr,
432 size_t (*get_radius_cui)(void *ctx, const u8 *sta_addr, const u8 **buf);
433 void (*set_session_timeout)(void *ctx, const u8 *sta_addr,
435 int (*get_session_timeout)(void *ctx, const u8 *sta_addr);
[all …]
H A Dwpa_auth_glue.c1262 hostapd_wpa_auth_add_sta(void *ctx, const u8 *sta_addr) in hostapd_wpa_auth_add_sta() argument
1270 MAC2STR(sta_addr)); in hostapd_wpa_auth_add_sta()
1271 ret = hostapd_add_sta_node(hapd, sta_addr, WLAN_AUTH_FT); in hostapd_wpa_auth_add_sta()
1282 sta = ap_sta_add(hapd, sta_addr); in hostapd_wpa_auth_add_sta()
1305 static int hostapd_wpa_auth_add_sta_ft(void *ctx, const u8 *sta_addr) in hostapd_wpa_auth_add_sta_ft() argument
1310 sta = ap_get_sta(hapd, sta_addr); in hostapd_wpa_auth_add_sta_ft()
1333 static int hostapd_wpa_auth_set_vlan(void *ctx, const u8 *sta_addr, in hostapd_wpa_auth_set_vlan() argument
1339 sta = ap_get_sta(hapd, sta_addr); in hostapd_wpa_auth_set_vlan()
1374 static int hostapd_wpa_auth_get_vlan(void *ctx, const u8 *sta_addr, in hostapd_wpa_auth_get_vlan() argument
1380 sta = ap_get_sta(hapd, sta_addr); in hostapd_wpa_auth_get_vlan()
[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() argument
681 return wpa_auth->cb->add_sta(wpa_auth->cb_ctx, sta_addr); in wpa_ft_add_sta()
686 const u8 *sta_addr, struct vlan_description *vlan) in wpa_ft_set_vlan() argument
690 return wpa_auth->cb->set_vlan(wpa_auth->cb_ctx, sta_addr, vlan); in wpa_ft_set_vlan()
695 const u8 *sta_addr, struct vlan_description *vlan) in wpa_ft_get_vlan() argument
699 return wpa_auth->cb->get_vlan(wpa_auth->cb_ctx, sta_addr, vlan); in wpa_ft_get_vlan()
704 wpa_ft_set_identity(struct wpa_authenticator *wpa_auth, const u8 *sta_addr, in wpa_ft_set_identity() argument
709 return wpa_auth->cb->set_identity(wpa_auth->cb_ctx, sta_addr, identity, in wpa_ft_set_identity()
715 wpa_ft_get_identity(struct wpa_authenticator *wpa_auth, const u8 *sta_addr, in wpa_ft_get_identity() argument
[all …]
H A Dieee802_11_eht.c2170 u8 sta_addr[ETH_ALEN]; in hostapd_parse_link_reconf_req_sta_profile() local
2184 os_memset(sta_addr, 0, ETH_ALEN); in hostapd_parse_link_reconf_req_sta_profile()
2282 os_memcpy(sta_addr, sta_info + 1, ETH_ALEN); in hostapd_parse_link_reconf_req_sta_profile()
2283 wpa_printf(MSG_DEBUG, "MLD: Link STA addr=" MACSTR, MAC2STR(sta_addr)); in hostapd_parse_link_reconf_req_sta_profile()
2307 MACSTR, link_id, MAC2STR(sta_addr)); in hostapd_parse_link_reconf_req_sta_profile()
2313 sta_addr)) { in hostapd_parse_link_reconf_req_sta_profile()
2316 MAC2STR(sta_addr)); in hostapd_parse_link_reconf_req_sta_profile()
2347 sta_addr)) { in hostapd_parse_link_reconf_req_sta_profile()
2369 os_memcpy(info->peer_addr, sta_addr, ETH_ALEN); in hostapd_parse_link_reconf_req_sta_profile()
H A Dpmksa_cache_auth.c588 if (attr->sta_addr) { in das_attr_match()
589 if (!ether_addr_equal(attr->sta_addr, entry->spa)) in das_attr_match()
H A Dwpa_auth.c6847 const u8 *pmk, size_t len, const u8 *sta_addr, argument
6858 sta_addr, session_timeout, eapol,
6946 const u8 *sta_addr) argument
6953 pmksa = pmksa_cache_auth_get(wpa_auth->pmksa, sta_addr, NULL);
6956 MACSTR " based on request", MAC2STR(sta_addr));
6963 sta_addr, NULL);
6968 MAC2STR(sta_addr));
7082 wpa_auth_pmksa_get(struct wpa_authenticator *wpa_auth, const u8 *sta_addr, argument
7087 return pmksa_cache_auth_get(wpa_auth->pmksa, sta_addr, pmkid);
7092 const u8 *sta_addr, const u8 **pmk, size_t *pmk_len, argument
[all …]
H A Dap_drv_ops.c1398 int hostapd_remove_pmkid(struct hostapd_data *hapd, const u8 *sta_addr, in hostapd_remove_pmkid() argument
1404 params.bssid = sta_addr; in hostapd_remove_pmkid()
H A Dap_drv_ops.h490 int hostapd_remove_pmkid(struct hostapd_data *hapd, const u8 *sta_addr,
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 Ddrv_callbacks.c2761 sta = ap_get_sta(hapd, data->port_authorized.sta_addr); in wpa_supplicant_event()
2935 data->wds_sta_interface.sta_addr); in wpa_supplicant_event()
H A Dieee802_11.c3957 const u8 *own_addr, const u8 *sta_addr, in pasn_set_keys_from_cache() argument
3962 entry = ptksa_cache_get(hapd->ptksa, sta_addr, cipher); in pasn_set_keys_from_cache()
3965 " not present in PTKSA cache", MAC2STR(sta_addr)); in pasn_set_keys_from_cache()
3978 MAC2STR(sta_addr)); in pasn_set_keys_from_cache()
3979 hostapd_drv_set_secure_ranging_ctx(hapd, own_addr, sta_addr, cipher, in pasn_set_keys_from_cache()
H A Dhostapd.c1068 if (attr->sta_addr) { in hostapd_das_find_sta()
1070 sta = ap_get_sta(hapd, attr->sta_addr); in hostapd_das_find_sta()
/freebsd/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() local
284 if (hwaddr_aton2(tmp, sta_addr) < 0) { in radius_das_coa()
290 attrs.sta_addr = sta_addr; in radius_das_coa()
H A Dradius_das.h30 const u8 *sta_addr; member
/freebsd/contrib/wpa/src/common/
H A Dwpa_common.h501 const u8 *anonce, const u8 *sta_addr, const u8 *bssid,
508 int wpa_ft_mic(int key_mgmt, const u8 *kck, size_t kck_len, const u8 *sta_addr,
530 const u8 *anonce, const u8 *sta_addr, const u8 *bssid,
H A Dwpa_common.c935 const u8 *anonce, const u8 *sta_addr, const u8 *bssid, in fils_key_auth_sk() argument
947 " AP-BSSID=" MACSTR, MAC2STR(sta_addr), MAC2STR(bssid)); in fils_key_auth_sk()
963 addr[2] = sta_addr; in fils_key_auth_sk()
997 addr[3] = sta_addr; in fils_key_auth_sk()
1026 int wpa_ft_mic(int key_mgmt, const u8 *kck, size_t kck_len, const u8 *sta_addr, in wpa_ft_mic() argument
1061 addr[num_elem] = sta_addr; in wpa_ft_mic()
2700 const u8 *sta_addr, const u8 *bssid, in wpa_pmk_r1_to_ptk() argument
2740 MAC2STR(bssid), MAC2STR(sta_addr)); in wpa_pmk_r1_to_ptk()
2748 os_memcpy(pos, sta_addr, ETH_ALEN); in wpa_pmk_r1_to_ptk()
2814 addr[5] = sta_addr; in wpa_pmk_r1_to_ptk()
H A Dieee802_11_defs.h1110 u8 sta_addr[ETH_ALEN]; member
1116 u8 sta_addr[ETH_ALEN]; member
/freebsd/sys/contrib/dev/iwlwifi/fw/api/
H A Dtx.h634 u8 sta_addr[ETH_ALEN]; member
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dmain.c775 u8 sta_addr[ETH_ALEN]; member
788 sta = ieee80211_find_sta_by_ifaddr(data->hw, data->sta_addr, mac); in __mt7915_drop_sta()
812 memcpy(data.sta_addr, sta->addr, ETH_ALEN); in mt7915_drop_other_sta()
/freebsd/contrib/wpa/src/drivers/
H A Ddriver.h7613 const u8 *sta_addr; member
7666 const u8 *sta_addr; member
H A Ddriver_nl80211_event.c4043 event.port_authorized.sta_addr = addr; in nl80211_port_authorized()
H A Ddriver_nl80211.c9346 event.wds_sta_interface.sta_addr = addr; in i802_set_wds_sta()
9377 event.wds_sta_interface.sta_addr = addr; in i802_set_wds_sta()
/freebsd/contrib/wpa/wpa_supplicant/
H A Devents.c5576 const u8 *sta_addr, *target_ap_addr; in ft_rx_action() local
5592 sta_addr = data + 1; in ft_rx_action()
5597 MAC2STR(sta_addr), MAC2STR(target_ap_addr), status); in ft_rx_action()
5599 if (!ether_addr_equal(sta_addr, wpa_s->own_addr)) { in ft_rx_action()
5601 " in FT Action Response", MAC2STR(sta_addr)); in ft_rx_action()
7729 data->port_authorized.sta_addr); in wpa_supplicant_event()
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dtx.c2157 ba_notif->sta_addr, ba_notif->sta_id); in iwl_mvm_rx_ba_notif()
/freebsd/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