/external/wpa_supplicant_8/src/ap/ |
H A D | tkip_countermeasures.c | 36 struct sta_info *sta; local 48 while ((sta = hapd->sta_list)) { 49 sta->acct_terminate_cause = 51 if (sta->flags & WLAN_STA_AUTH) { 53 hapd, sta, 56 hostapd_drv_sta_deauth(hapd, sta->addr, 58 ap_free_sta(hapd, sta); 75 struct sta_info *sta = ap_get_sta(hapd, addr); local 76 if (sta != NULL) { 77 wpa_auth_sta_local_mic_failure_report(sta [all...] |
H A D | x_snoop.c | 96 struct sta_info *sta, u8 *buf, 108 MAC2STR(dst_addr), MAC2STR(sta->addr), (unsigned int) len); 113 os_memcpy(buf, sta->addr, ETH_ALEN); 118 MACSTR, MAC2STR(sta->addr)); 95 x_snoop_mcast_to_ucast_convert_send(struct hostapd_data *hapd, struct sta_info *sta, u8 *buf, size_t len) argument
|
H A D | x_snoop.h | 23 struct sta_info *sta, u8 *buf, 45 struct sta_info *sta, void *buf, 44 x_snoop_mcast_to_ucast_convert_send(struct hostapd_data *hapd, struct sta_info *sta, void *buf, size_t len) argument
|
H A D | authsrv.c | 30 struct sta_info *sta, void *ctx) 32 if (eapol_auth_eap_pending_cb(sta->eapol_sm, ctx) == 0) 29 hostapd_sim_db_cb_sta(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) argument
|
H A D | dhcp_snoop.c | 37 struct sta_info *sta; local 96 sta = ap_get_sta(hapd, b->hw_addr); 97 if (!sta) 102 MAC2STR(sta->addr), 106 if (sta->ipaddr == b->your_ip) 109 if (sta->ipaddr != 0) { 112 ipaddr_str(be_to_host32(sta->ipaddr))); 114 (u8 *) &sta->ipaddr); 118 prefixlen, sta->addr); 125 sta [all...] |
H A D | mbo_ap.c | 19 void mbo_ap_sta_free(struct sta_info *sta) argument 23 info = sta->non_pref_chan; 24 sta->non_pref_chan = NULL; 33 static void mbo_ap_parse_non_pref_chan(struct sta_info *sta, argument 54 if (!sta->non_pref_chan) { 55 sta->non_pref_chan = info; 57 tmp = sta->non_pref_chan; 78 MAC2STR(sta->addr), info->op_class, info->pref, 83 void mbo_ap_check_sta_assoc(struct hostapd_data *hapd, struct sta_info *sta, argument 98 sta 115 mbo_ap_get_info(struct sta_info *sta, char *buf, size_t buflen) argument 168 mbo_ap_wnm_notif_req_cell_capa(struct sta_info *sta, const u8 *buf, size_t len) argument 180 mbo_ap_wnm_notif_req_elem(struct sta_info *sta, u8 type, const u8 *buf, size_t len, int *first_non_pref_chan) argument 213 struct sta_info *sta; local [all...] |
H A D | ndisc_snoop.c | 41 static int sta_ip6addr_add(struct sta_info *sta, struct in6_addr *addr) argument 51 dl_list_add_tail(&sta->ip6addr, &ip6addr->list); 57 void sta_ip6addr_del(struct hostapd_data *hapd, struct sta_info *sta) argument 61 dl_list_for_each_safe(ip6addr, prev, &sta->ip6addr, struct ip6addr, 69 static int sta_has_ip6addr(struct sta_info *sta, struct in6_addr *addr) argument 73 dl_list_for_each(ip6addr, &sta->ip6addr, struct ip6addr, list) { 87 struct sta_info *sta; local 89 for (sta = hapd->sta_list; sta; sta 103 struct sta_info *sta; local [all...] |
H A D | preauth_auth.c | 47 struct sta_info *sta; local 67 sta = ap_get_sta(hapd, ethhdr->h_source); 68 if (sta && (sta->flags & WLAN_STA_ASSOC)) { 70 "STA " MACSTR, MAC2STR(sta->addr)); 73 if (!sta && hdr->type == IEEE802_1X_TYPE_EAPOL_START) { 74 sta = ap_sta_add(hapd, ethhdr->h_source); 75 if (sta == NULL) 77 sta->flags = WLAN_STA_PREAUTH; 79 ieee802_1x_new_station(hapd, sta); 188 struct sta_info *sta = timeout_ctx; local 195 rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta, int success) argument 231 rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta, u8 *buf, size_t len) argument 268 rsn_preauth_free_station(struct hostapd_data *hapd, struct sta_info *sta) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | ap_mlme.c | 43 * @sta: peer STA data 50 * PeerSTAAddress = sta->addr 51 * AuthenticationType = sta->auth_alg (WLAN_AUTH_OPEN / WLAN_AUTH_SHARED_KEY) 54 struct sta_info *sta) 56 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME, 59 MAC2STR(sta->addr), mlme_auth_alg_str(sta->auth_alg)); 60 if (sta->auth_alg != WLAN_AUTH_FT && 61 sta->auth_alg != WLAN_AUTH_FILS_SK && 62 sta 53 mlme_authenticate_indication(struct hostapd_data *hapd, struct sta_info *sta) argument 82 mlme_deauthenticate_indication(struct hostapd_data *hapd, struct sta_info *sta, u16 reason_code) argument 106 mlme_associate_indication(struct hostapd_data *hapd, struct sta_info *sta) argument 133 mlme_reassociate_indication(struct hostapd_data *hapd, struct sta_info *sta) argument 161 mlme_disassociate_indication(struct hostapd_data *hapd, struct sta_info *sta, u16 reason_code) argument 182 mlme_deletekeys_request(struct hostapd_data *hapd, struct sta_info *sta) argument [all...] |
H A D | ieee802_11.h | 28 int ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, 38 struct sta_info *sta, 70 int hostapd_get_aid(struct hostapd_data *hapd, struct sta_info *sta); 71 u16 copy_sta_ht_capab(struct hostapd_data *hapd, struct sta_info *sta, 73 u16 copy_sta_vendor_vht(struct hostapd_data *hapd, struct sta_info *sta, 76 void update_ht_state(struct hostapd_data *hapd, struct sta_info *sta); 77 void ht40_intolerant_add(struct hostapd_iface *iface, struct sta_info *sta); 78 void ht40_intolerant_remove(struct hostapd_iface *iface, struct sta_info *sta); 79 u16 copy_sta_vht_capab(struct hostapd_data *hapd, struct sta_info *sta, 81 u16 set_sta_vht_opmode(struct hostapd_data *hapd, struct sta_info *sta, 37 ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument 109 sae_clear_retransmit_timer(struct hostapd_data *hapd, struct sta_info *sta) argument [all...] |
H A D | mbo_ap.h | 18 void mbo_ap_check_sta_assoc(struct hostapd_data *hapd, struct sta_info *sta, 20 int mbo_ap_get_info(struct sta_info *sta, char *buf, size_t buflen); 23 void mbo_ap_sta_free(struct sta_info *sta); 28 struct sta_info *sta, 33 static inline int mbo_ap_get_info(struct sta_info *sta, char *buf, argument 45 static inline void mbo_ap_sta_free(struct sta_info *sta) argument 27 mbo_ap_check_sta_assoc(struct hostapd_data *hapd, struct sta_info *sta, struct ieee802_11_elems *elems) argument
|
H A D | p2p_hostapd.c | 23 int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, argument 26 if (sta->p2p_ie == NULL) 29 return p2p_ie_text(sta->p2p_ie, buf, buf + buflen);
|
H A D | preauth_auth.h | 16 void rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta, 18 void rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta, 20 void rsn_preauth_free_station(struct hostapd_data *hapd, struct sta_info *sta); 34 struct sta_info *sta, 40 struct sta_info *sta, 46 struct sta_info *sta) 33 rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta, int success) argument 39 rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta, u8 *buf, size_t len) argument 45 rsn_preauth_free_station(struct hostapd_data *hapd, struct sta_info *sta) argument
|
H A D | tkip_countermeasures.c | 36 struct sta_info *sta; local 48 while ((sta = hapd->sta_list)) { 49 sta->acct_terminate_cause = 51 if (sta->flags & WLAN_STA_AUTH) { 53 hapd, sta, 56 hostapd_drv_sta_deauth(hapd, sta->addr, 58 ap_free_sta(hapd, sta); 75 struct sta_info *sta = ap_get_sta(hapd, addr); local 76 if (sta != NULL) { 77 wpa_auth_sta_local_mic_failure_report(sta [all...] |
H A D | x_snoop.c | 96 struct sta_info *sta, u8 *buf, 108 MAC2STR(dst_addr), MAC2STR(sta->addr), (unsigned int) len); 113 os_memcpy(buf, sta->addr, ETH_ALEN); 118 MACSTR, MAC2STR(sta->addr)); 95 x_snoop_mcast_to_ucast_convert_send(struct hostapd_data *hapd, struct sta_info *sta, u8 *buf, size_t len) argument
|
H A D | x_snoop.h | 23 struct sta_info *sta, u8 *buf, 45 struct sta_info *sta, void *buf, 44 x_snoop_mcast_to_ucast_convert_send(struct hostapd_data *hapd, struct sta_info *sta, void *buf, size_t len) argument
|
H A D | authsrv.c | 30 struct sta_info *sta, void *ctx) 32 if (eapol_auth_eap_pending_cb(sta->eapol_sm, ctx) == 0) 29 hostapd_sim_db_cb_sta(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) argument
|
H A D | dhcp_snoop.c | 37 struct sta_info *sta; local 96 sta = ap_get_sta(hapd, b->hw_addr); 97 if (!sta) 102 MAC2STR(sta->addr), 106 if (sta->ipaddr == b->your_ip) 109 if (sta->ipaddr != 0) { 112 ipaddr_str(be_to_host32(sta->ipaddr))); 114 (u8 *) &sta->ipaddr); 118 prefixlen, sta->addr); 125 sta [all...] |
H A D | mbo_ap.c | 19 void mbo_ap_sta_free(struct sta_info *sta) argument 23 info = sta->non_pref_chan; 24 sta->non_pref_chan = NULL; 33 static void mbo_ap_parse_non_pref_chan(struct sta_info *sta, argument 54 if (!sta->non_pref_chan) { 55 sta->non_pref_chan = info; 57 tmp = sta->non_pref_chan; 78 MAC2STR(sta->addr), info->op_class, info->pref, 83 void mbo_ap_check_sta_assoc(struct hostapd_data *hapd, struct sta_info *sta, argument 98 sta 115 mbo_ap_get_info(struct sta_info *sta, char *buf, size_t buflen) argument 168 mbo_ap_wnm_notif_req_cell_capa(struct sta_info *sta, const u8 *buf, size_t len) argument 180 mbo_ap_wnm_notif_req_elem(struct sta_info *sta, u8 type, const u8 *buf, size_t len, int *first_non_pref_chan) argument 213 struct sta_info *sta; local [all...] |
H A D | ndisc_snoop.c | 41 static int sta_ip6addr_add(struct sta_info *sta, struct in6_addr *addr) argument 51 dl_list_add_tail(&sta->ip6addr, &ip6addr->list); 57 void sta_ip6addr_del(struct hostapd_data *hapd, struct sta_info *sta) argument 61 dl_list_for_each_safe(ip6addr, prev, &sta->ip6addr, struct ip6addr, 69 static int sta_has_ip6addr(struct sta_info *sta, struct in6_addr *addr) argument 73 dl_list_for_each(ip6addr, &sta->ip6addr, struct ip6addr, list) { 87 struct sta_info *sta; local 89 for (sta = hapd->sta_list; sta; sta 103 struct sta_info *sta; local [all...] |
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | authsrv.c | 30 struct sta_info *sta, void *ctx) 32 if (eapol_auth_eap_pending_cb(sta->eapol_sm, ctx) == 0) 29 hostapd_sim_db_cb_sta(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) argument
|
H A D | dhcp_snoop.c | 37 struct sta_info *sta; local 96 sta = ap_get_sta(hapd, b->hw_addr); 97 if (!sta) 102 MAC2STR(sta->addr), 106 if (sta->ipaddr == b->your_ip) 109 if (sta->ipaddr != 0) { 112 ipaddr_str(be_to_host32(sta->ipaddr))); 114 (u8 *) &sta->ipaddr); 118 prefixlen, sta->addr); 125 sta [all...] |
H A D | mbo_ap.c | 19 void mbo_ap_sta_free(struct sta_info *sta) argument 23 info = sta->non_pref_chan; 24 sta->non_pref_chan = NULL; 33 static void mbo_ap_parse_non_pref_chan(struct sta_info *sta, argument 54 if (!sta->non_pref_chan) { 55 sta->non_pref_chan = info; 57 tmp = sta->non_pref_chan; 78 MAC2STR(sta->addr), info->op_class, info->pref, 83 void mbo_ap_check_sta_assoc(struct hostapd_data *hapd, struct sta_info *sta, argument 98 sta 115 mbo_ap_get_info(struct sta_info *sta, char *buf, size_t buflen) argument 168 mbo_ap_wnm_notif_req_cell_capa(struct sta_info *sta, const u8 *buf, size_t len) argument 180 mbo_ap_wnm_notif_req_elem(struct sta_info *sta, u8 type, const u8 *buf, size_t len, int *first_non_pref_chan) argument 213 struct sta_info *sta; local [all...] |
H A D | ndisc_snoop.c | 41 static int sta_ip6addr_add(struct sta_info *sta, struct in6_addr *addr) argument 51 dl_list_add_tail(&sta->ip6addr, &ip6addr->list); 57 void sta_ip6addr_del(struct hostapd_data *hapd, struct sta_info *sta) argument 61 dl_list_for_each_safe(ip6addr, prev, &sta->ip6addr, struct ip6addr, 69 static int sta_has_ip6addr(struct sta_info *sta, struct in6_addr *addr) argument 73 dl_list_for_each(ip6addr, &sta->ip6addr, struct ip6addr, list) { 87 struct sta_info *sta; local 89 for (sta = hapd->sta_list; sta; sta 103 struct sta_info *sta; local [all...] |
H A D | preauth_auth.c | 47 struct sta_info *sta; local 67 sta = ap_get_sta(hapd, ethhdr->h_source); 68 if (sta && (sta->flags & WLAN_STA_ASSOC)) { 70 "STA " MACSTR, MAC2STR(sta->addr)); 73 if (!sta && hdr->type == IEEE802_1X_TYPE_EAPOL_START) { 74 sta = ap_sta_add(hapd, ethhdr->h_source); 75 if (sta == NULL) 77 sta->flags = WLAN_STA_PREAUTH; 79 ieee802_1x_new_station(hapd, sta); 188 struct sta_info *sta = timeout_ctx; local 195 rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta, int success) argument 231 rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta, u8 *buf, size_t len) argument 268 rsn_preauth_free_station(struct hostapd_data *hapd, struct sta_info *sta) argument [all...] |