/external/wpa_supplicant_8/src/ap/ |
D | ap_drv_ops.c | 44 int hostapd_set_ap_wps_ie(struct hostapd_data *hapd) in hostapd_set_ap_wps_ie() argument 49 if (hapd->driver == NULL || hapd->driver->set_ap_wps_ie == NULL) in hostapd_set_ap_wps_ie() 52 beacon = hapd->wps_beacon_ie; in hostapd_set_ap_wps_ie() 53 proberesp = hapd->wps_probe_resp_ie; in hostapd_set_ap_wps_ie() 56 if (hapd->wps_beacon_ie == NULL && hapd->p2p_beacon_ie == NULL) in hostapd_set_ap_wps_ie() 59 beacon = wpabuf_alloc((hapd->wps_beacon_ie ? in hostapd_set_ap_wps_ie() 60 wpabuf_len(hapd->wps_beacon_ie) : 0) + in hostapd_set_ap_wps_ie() 61 (hapd->p2p_beacon_ie ? in hostapd_set_ap_wps_ie() 62 wpabuf_len(hapd->p2p_beacon_ie) : 0)); in hostapd_set_ap_wps_ie() 65 if (hapd->wps_beacon_ie) in hostapd_set_ap_wps_ie() [all …]
|
D | hostapd.c | 41 static int hostapd_flush_old_stations(struct hostapd_data *hapd); 42 static int hostapd_setup_encryption(char *iface, struct hostapd_data *hapd); 43 static int hostapd_broadcast_wep_clear(struct hostapd_data *hapd); 48 static void hostapd_reload_bss(struct hostapd_data *hapd) in hostapd_reload_bss() argument 51 radius_client_reconfig(hapd->radius, hapd->conf->radius); in hostapd_reload_bss() 54 if (hostapd_setup_wpa_psk(hapd->conf)) { in hostapd_reload_bss() 59 if (hapd->conf->ieee802_1x || hapd->conf->wpa) in hostapd_reload_bss() 60 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 1); in hostapd_reload_bss() 62 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 0); in hostapd_reload_bss() 64 if (hapd->conf->wpa && hapd->wpa_auth == NULL) in hostapd_reload_bss() [all …]
|
D | ap_drv_ops.h | 24 int hostapd_set_ap_wps_ie(struct hostapd_data *hapd); 25 int hostapd_set_authorized(struct hostapd_data *hapd, 27 int hostapd_set_sta_flags(struct hostapd_data *hapd, struct sta_info *sta); 28 int hostapd_set_drv_ieee8021x(struct hostapd_data *hapd, const char *ifname, 30 int hostapd_set_bss_params(struct hostapd_data *hapd, int use_protection); 31 int hostapd_vlan_if_add(struct hostapd_data *hapd, const char *ifname); 32 int hostapd_vlan_if_remove(struct hostapd_data *hapd, const char *ifname); 33 int hostapd_set_wds_sta(struct hostapd_data *hapd, const u8 *addr, int aid, 35 int hostapd_sta_add(struct hostapd_data *hapd, 40 int hostapd_set_privacy(struct hostapd_data *hapd, int enabled); [all …]
|
D | sta_info.c | 38 static void ap_sta_remove_in_other_bss(struct hostapd_data *hapd, 45 int ap_for_each_sta(struct hostapd_data *hapd, in ap_for_each_sta() argument 46 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, in ap_for_each_sta() argument 52 for (sta = hapd->sta_list; sta; sta = sta->next) { in ap_for_each_sta() 53 if (cb(hapd, sta, ctx)) in ap_for_each_sta() 61 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta) in ap_get_sta() argument 65 s = hapd->sta_hash[STA_HASH(sta)]; in ap_get_sta() 72 static void ap_sta_list_del(struct hostapd_data *hapd, struct sta_info *sta) in ap_sta_list_del() argument 76 if (hapd->sta_list == sta) { in ap_sta_list_del() 77 hapd->sta_list = sta->next; in ap_sta_list_del() [all …]
|
D | beacon.c | 38 static u8 ieee802_11_erp_info(struct hostapd_data *hapd) in ieee802_11_erp_info() argument 42 if (hapd->iface->current_mode == NULL || in ieee802_11_erp_info() 43 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in ieee802_11_erp_info() 46 switch (hapd->iconf->cts_protection_type) { in ieee802_11_erp_info() 54 if (hapd->iface->olbc) in ieee802_11_erp_info() 58 if (hapd->iface->num_sta_non_erp > 0) { in ieee802_11_erp_info() 64 if (hapd->iface->num_sta_no_short_preamble > 0 || in ieee802_11_erp_info() 65 hapd->iconf->preamble == LONG_PREAMBLE) in ieee802_11_erp_info() 72 static u8 * hostapd_eid_ds_params(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_ds_params() argument 76 *eid++ = hapd->iconf->channel; in hostapd_eid_ds_params() [all …]
|
D | wps_hostapd.c | 39 static int hostapd_wps_upnp_init(struct hostapd_data *hapd, 41 static void hostapd_wps_upnp_deinit(struct hostapd_data *hapd); 63 struct hostapd_data *hapd = iface->bss[j]; in wps_for_each() local 64 int ret = data->func(hapd, data->ctx); in wps_for_each() 73 static int hostapd_wps_for_each(struct hostapd_data *hapd, in hostapd_wps_for_each() argument 77 struct hostapd_iface *iface = hapd->iface; in hostapd_wps_for_each() 91 struct hostapd_data *hapd = ctx; in hostapd_wps_new_psk_cb() local 93 struct hostapd_ssid *ssid = &hapd->conf->ssid; in hostapd_wps_new_psk_cb() 138 struct hostapd_data *hapd = ctx; in hostapd_wps_set_ie_cb() local 139 wpabuf_free(hapd->wps_beacon_ie); in hostapd_wps_set_ie_cb() [all …]
|
D | authsrv.c | 35 static int hostapd_sim_db_cb_sta(struct hostapd_data *hapd, in hostapd_sim_db_cb_sta() argument 46 struct hostapd_data *hapd = ctx; in hostapd_sim_db_cb() local 47 if (ap_for_each_sta(hapd, hostapd_sim_db_cb_sta, session_ctx) == 0) { in hostapd_sim_db_cb() 49 radius_server_eap_pending_cb(hapd->radius_srv, session_ctx); in hostapd_sim_db_cb() 97 static int hostapd_setup_radius_srv(struct hostapd_data *hapd) in hostapd_setup_radius_srv() argument 100 struct hostapd_bss_config *conf = hapd->conf; in hostapd_setup_radius_srv() 105 srv.eap_sim_db_priv = hapd->eap_sim_db_priv; in hostapd_setup_radius_srv() 106 srv.ssl_ctx = hapd->ssl_ctx; in hostapd_setup_radius_srv() 107 srv.msg_ctx = hapd->msg_ctx; in hostapd_setup_radius_srv() 117 srv.wps = hapd->wps; in hostapd_setup_radius_srv() [all …]
|
D | tkip_countermeasures.c | 31 struct hostapd_data *hapd = eloop_ctx; in ieee80211_tkip_countermeasures_stop() local 32 hapd->tkip_countermeasures = 0; in ieee80211_tkip_countermeasures_stop() 33 hostapd_drv_set_countermeasures(hapd, 0); in ieee80211_tkip_countermeasures_stop() 34 hostapd_logger(hapd, NULL, HOSTAPD_MODULE_IEEE80211, in ieee80211_tkip_countermeasures_stop() 39 static void ieee80211_tkip_countermeasures_start(struct hostapd_data *hapd) in ieee80211_tkip_countermeasures_start() argument 43 hostapd_logger(hapd, NULL, HOSTAPD_MODULE_IEEE80211, in ieee80211_tkip_countermeasures_start() 46 wpa_auth_countermeasures_start(hapd->wpa_auth); in ieee80211_tkip_countermeasures_start() 47 hapd->tkip_countermeasures = 1; in ieee80211_tkip_countermeasures_start() 48 hostapd_drv_set_countermeasures(hapd, 1); in ieee80211_tkip_countermeasures_start() 49 wpa_gtk_rekey(hapd->wpa_auth); in ieee80211_tkip_countermeasures_start() [all …]
|
D | wpa_auth_glue.c | 84 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_logger() local 100 hostapd_logger(hapd, addr, HOSTAPD_MODULE_WPA, hlevel, "%s", txt); in hostapd_wpa_auth_logger() 108 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_disconnect() local 112 ap_sta_disconnect(hapd, NULL, addr, reason); in hostapd_wpa_auth_disconnect() 118 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_mic_failure_report() local 119 michael_mic_failure(hapd, addr, 0); in hostapd_wpa_auth_mic_failure_report() 126 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_set_eapol() local 127 struct sta_info *sta = ap_get_sta(hapd, addr); in hostapd_wpa_auth_set_eapol() 138 ieee802_1x_set_sta_authorized(hapd, sta, value); in hostapd_wpa_auth_set_eapol() 168 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_get_eapol() local [all …]
|
D | ieee802_11.c | 46 u8 * hostapd_eid_supp_rates(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_supp_rates() argument 51 if (hapd->iface->current_rates == NULL) in hostapd_eid_supp_rates() 55 num = hapd->iface->num_rates; in hostapd_eid_supp_rates() 56 if (hapd->iconf->ieee80211n && hapd->iconf->require_ht) in hostapd_eid_supp_rates() 66 for (i = 0, count = 0; i < hapd->iface->num_rates && count < num; in hostapd_eid_supp_rates() 69 *pos = hapd->iface->current_rates[i].rate / 5; in hostapd_eid_supp_rates() 70 if (hapd->iface->current_rates[i].flags & HOSTAPD_RATE_BASIC) in hostapd_eid_supp_rates() 75 if (hapd->iconf->ieee80211n && hapd->iconf->require_ht && in hostapd_eid_supp_rates() 76 hapd->iface->num_rates < 8) in hostapd_eid_supp_rates() 83 u8 * hostapd_eid_ext_supp_rates(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_ext_supp_rates() argument [all …]
|
D | accounting.c | 35 static void accounting_sta_get_id(struct hostapd_data *hapd, 39 static struct radius_msg * accounting_msg(struct hostapd_data *hapd, in accounting_msg() argument 50 radius_client_get_id(hapd->radius)); in accounting_msg() 67 radius_msg_make_authenticator(msg, (u8 *) hapd, sizeof(*hapd)); in accounting_msg() 77 hapd->conf->ieee802_1x ? in accounting_msg() 100 if (hapd->conf->own_ip_addr.af == AF_INET && in accounting_msg() 102 (u8 *) &hapd->conf->own_ip_addr.u.v4, 4)) { in accounting_msg() 108 if (hapd->conf->own_ip_addr.af == AF_INET6 && in accounting_msg() 110 (u8 *) &hapd->conf->own_ip_addr.u.v6, 16)) { in accounting_msg() 116 if (hapd->conf->nas_identifier && in accounting_msg() [all …]
|
D | drv_callbacks.c | 40 int hostapd_notif_assoc(struct hostapd_data *hapd, const u8 *addr, in hostapd_notif_assoc() argument 65 hostapd_logger(hapd, addr, HOSTAPD_MODULE_IEEE80211, in hostapd_notif_assoc() 88 sta = ap_get_sta(hapd, addr); in hostapd_notif_assoc() 90 accounting_sta_stop(hapd, sta); in hostapd_notif_assoc() 92 sta = ap_sta_add(hapd, addr); in hostapd_notif_assoc() 106 if (hapd->conf->wpa) { in hostapd_notif_assoc() 108 if (hapd->conf->wps_state) { in hostapd_notif_assoc() 119 if (hapd->conf->wps_state && ie[0] == 0xdd && ie[1] >= 4 && in hostapd_notif_assoc() 126 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_assoc() 133 res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm, in hostapd_notif_assoc() [all …]
|
D | ieee802_1x.c | 44 static void ieee802_1x_finished(struct hostapd_data *hapd, 48 static void ieee802_1x_send(struct hostapd_data *hapd, struct sta_info *sta, in ieee802_1x_send() argument 66 xhdr->version = hapd->conf->eapol_version; in ieee802_1x_send() 76 rsn_preauth_send(hapd, sta, buf, len); in ieee802_1x_send() 78 hostapd_drv_hapd_send_eapol(hapd, sta->addr, buf, len, in ieee802_1x_send() 86 void ieee802_1x_set_sta_authorized(struct hostapd_data *hapd, in ieee802_1x_set_sta_authorized() argument 100 if((dev_addr = p2p_group_get_dev_addr(hapd->p2p_group, sta->addr))) in ieee802_1x_set_sta_authorized() 101 wpa_msg(hapd->msg_ctx, MSG_INFO, in ieee802_1x_set_sta_authorized() 105 wpa_msg(hapd->msg_ctx, MSG_INFO, in ieee802_1x_set_sta_authorized() 110 if(hapd->msg_ctx_parent) { in ieee802_1x_set_sta_authorized() [all …]
|
D | wps_hostapd.h | 20 int hostapd_init_wps(struct hostapd_data *hapd, 22 int hostapd_init_wps_complete(struct hostapd_data *hapd); 23 void hostapd_deinit_wps(struct hostapd_data *hapd); 24 void hostapd_update_wps(struct hostapd_data *hapd); 25 int hostapd_wps_add_pin(struct hostapd_data *hapd, const u8 *addr, 27 int hostapd_wps_button_pushed(struct hostapd_data *hapd, 29 int hostapd_wps_start_oob(struct hostapd_data *hapd, char *device_type, 31 int hostapd_wps_get_mib_sta(struct hostapd_data *hapd, const u8 *addr, 33 void hostapd_wps_ap_pin_disable(struct hostapd_data *hapd); 34 const char * hostapd_wps_ap_pin_random(struct hostapd_data *hapd, int timeout); [all …]
|
D | p2p_hostapd.c | 29 int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, in hostapd_p2p_get_mib_sta() argument 39 int hostapd_p2p_set_noa(struct hostapd_data *hapd, u8 count, int start, in hostapd_p2p_set_noa() argument 46 hapd->noa_enabled = 0; in hostapd_p2p_set_noa() 47 hapd->noa_start = 0; in hostapd_p2p_set_noa() 48 hapd->noa_duration = 0; in hostapd_p2p_set_noa() 54 return hostapd_driver_set_noa(hapd, count, start, duration); in hostapd_p2p_set_noa() 57 hapd->noa_enabled = 1; in hostapd_p2p_set_noa() 58 hapd->noa_start = start; in hostapd_p2p_set_noa() 59 hapd->noa_duration = duration; in hostapd_p2p_set_noa() 61 if (hapd->num_sta_no_p2p == 0) { in hostapd_p2p_set_noa() [all …]
|
D | ieee802_11_auth.c | 69 static int hostapd_acl_cache_get(struct hostapd_data *hapd, const u8 *addr, in hostapd_acl_cache_get() argument 77 entry = hapd->acl_cache; in hostapd_acl_cache_get() 113 static int hostapd_radius_acl_query(struct hostapd_data *hapd, const u8 *addr, in hostapd_radius_acl_query() argument 119 query->radius_id = radius_client_get_id(hapd->radius); in hostapd_radius_acl_query() 135 hapd->conf->radius->auth_server->shared_secret, in hostapd_radius_acl_query() 136 hapd->conf->radius->auth_server->shared_secret_len)) { in hostapd_radius_acl_query() 141 if (hapd->conf->own_ip_addr.af == AF_INET && in hostapd_radius_acl_query() 143 (u8 *) &hapd->conf->own_ip_addr.u.v4, 4)) { in hostapd_radius_acl_query() 149 if (hapd->conf->own_ip_addr.af == AF_INET6 && in hostapd_radius_acl_query() 151 (u8 *) &hapd->conf->own_ip_addr.u.v6, 16)) { in hostapd_radius_acl_query() [all …]
|
D | preauth_auth.c | 40 struct hostapd_data *hapd; member 51 struct hostapd_data *hapd = piface->hapd; in rsn_preauth_receive() local 67 if (os_memcmp(ethhdr->h_dest, hapd->own_addr, ETH_ALEN) != 0) { in rsn_preauth_receive() 73 sta = ap_get_sta(hapd, ethhdr->h_source); in rsn_preauth_receive() 80 sta = ap_sta_add(hapd, ethhdr->h_source); in rsn_preauth_receive() 85 ieee802_1x_new_station(hapd, sta); in rsn_preauth_receive() 87 ap_free_sta(hapd, sta); in rsn_preauth_receive() 98 ieee802_1x_receive(hapd, ethhdr->h_source, (u8 *) (ethhdr + 1), in rsn_preauth_receive() 103 static int rsn_preauth_iface_add(struct hostapd_data *hapd, const char *ifname) in rsn_preauth_iface_add() argument 112 piface->hapd = hapd; in rsn_preauth_iface_add() [all …]
|
D | ieee802_11_ht.c | 28 u8 * hostapd_eid_ht_capabilities(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_ht_capabilities() argument 33 if (!hapd->iconf->ieee80211n || !hapd->iface->current_mode || in hostapd_eid_ht_capabilities() 34 hapd->conf->disable_11n) in hostapd_eid_ht_capabilities() 42 cap->ht_capabilities_info = host_to_le16(hapd->iconf->ht_capab); in hostapd_eid_ht_capabilities() 43 cap->a_mpdu_params = hapd->iface->current_mode->a_mpdu_params; in hostapd_eid_ht_capabilities() 44 os_memcpy(cap->supported_mcs_set, hapd->iface->current_mode->mcs_set, in hostapd_eid_ht_capabilities() 57 u8 * hostapd_eid_ht_operation(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_ht_operation() argument 62 if (!hapd->iconf->ieee80211n || hapd->conf->disable_11n) in hostapd_eid_ht_operation() 71 oper->control_chan = hapd->iconf->channel; in hostapd_eid_ht_operation() 72 oper->operation_mode = host_to_le16(hapd->iface->ht_op_mode); in hostapd_eid_ht_operation() [all …]
|
D | ap_mlme.c | 58 void mlme_authenticate_indication(struct hostapd_data *hapd, in mlme_authenticate_indication() argument 61 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME, in mlme_authenticate_indication() 66 mlme_deletekeys_request(hapd, sta); in mlme_authenticate_indication() 82 void mlme_deauthenticate_indication(struct hostapd_data *hapd, in mlme_deauthenticate_indication() argument 85 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME, in mlme_deauthenticate_indication() 89 mlme_deletekeys_request(hapd, sta); in mlme_deauthenticate_indication() 105 void mlme_associate_indication(struct hostapd_data *hapd, struct sta_info *sta) in mlme_associate_indication() argument 107 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME, in mlme_associate_indication() 112 mlme_deletekeys_request(hapd, sta); in mlme_associate_indication() 130 void mlme_reassociate_indication(struct hostapd_data *hapd, in mlme_reassociate_indication() argument [all …]
|
D | ieee802_11.h | 24 void ieee802_11_mgmt(struct hostapd_data *hapd, const u8 *buf, size_t len, 26 void ieee802_11_mgmt_cb(struct hostapd_data *hapd, const u8 *buf, size_t len, 30 int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, size_t buflen); 31 int ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, 34 static inline int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, in ieee802_11_get_mib() argument 40 static inline int ieee802_11_get_mib_sta(struct hostapd_data *hapd, in ieee802_11_get_mib_sta() argument 47 u16 hostapd_own_capab_info(struct hostapd_data *hapd, struct sta_info *sta, 49 u8 * hostapd_eid_ext_capab(struct hostapd_data *hapd, u8 *eid); 50 u8 * hostapd_eid_supp_rates(struct hostapd_data *hapd, u8 *eid); 51 u8 * hostapd_eid_ext_supp_rates(struct hostapd_data *hapd, u8 *eid); [all …]
|
D | utils.c | 23 int hostapd_register_probereq_cb(struct hostapd_data *hapd, in hostapd_register_probereq_cb() argument 30 n = os_realloc(hapd->probereq_cb, (hapd->num_probereq_cb + 1) * in hostapd_register_probereq_cb() 35 hapd->probereq_cb = n; in hostapd_register_probereq_cb() 36 n = &hapd->probereq_cb[hapd->num_probereq_cb]; in hostapd_register_probereq_cb() 37 hapd->num_probereq_cb++; in hostapd_register_probereq_cb() 47 struct hostapd_data *hapd; member 60 if (ohapd == data->hapd) in prune_associations() 80 void hostapd_prune_associations(struct hostapd_data *hapd, const u8 *addr) in hostapd_prune_associations() argument 83 data.hapd = hapd; in hostapd_prune_associations() 85 if (hapd->iface->for_each_interface) in hostapd_prune_associations() [all …]
|
D | sta_info.h | 131 int ap_for_each_sta(struct hostapd_data *hapd, 132 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, 135 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta); 136 void ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta); 137 void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta); 138 void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta); 139 void hostapd_free_stas(struct hostapd_data *hapd); 141 void ap_sta_session_timeout(struct hostapd_data *hapd, struct sta_info *sta, 143 void ap_sta_no_session_timeout(struct hostapd_data *hapd, 145 struct sta_info * ap_sta_add(struct hostapd_data *hapd, const u8 *addr); [all …]
|
D | vlan_init.h | 20 int vlan_init(struct hostapd_data *hapd); 21 void vlan_deinit(struct hostapd_data *hapd); 22 struct hostapd_vlan * vlan_add_dynamic(struct hostapd_data *hapd, 25 int vlan_remove_dynamic(struct hostapd_data *hapd, int vlan_id); 26 int vlan_setup_encryption_dyn(struct hostapd_data *hapd, 30 static inline int vlan_init(struct hostapd_data *hapd) in vlan_init() argument 35 static inline void vlan_deinit(struct hostapd_data *hapd) in vlan_deinit() argument 39 static inline struct hostapd_vlan * vlan_add_dynamic(struct hostapd_data *hapd, in vlan_add_dynamic() argument 46 static inline int vlan_remove_dynamic(struct hostapd_data *hapd, int vlan_id) in vlan_remove_dynamic() argument 51 static inline int vlan_setup_encryption_dyn(struct hostapd_data *hapd, in vlan_setup_encryption_dyn() argument
|
/external/wpa_supplicant_8/hostapd/ |
D | ctrl_iface.c | 53 static void hostapd_ctrl_iface_send(struct hostapd_data *hapd, int level, 57 static int hostapd_ctrl_iface_attach(struct hostapd_data *hapd, in hostapd_ctrl_iface_attach() argument 69 dst->next = hapd->ctrl_dst; in hostapd_ctrl_iface_attach() 70 hapd->ctrl_dst = dst; in hostapd_ctrl_iface_attach() 78 static int hostapd_ctrl_iface_detach(struct hostapd_data *hapd, in hostapd_ctrl_iface_detach() argument 84 dst = hapd->ctrl_dst; in hostapd_ctrl_iface_detach() 91 hapd->ctrl_dst = dst->next; in hostapd_ctrl_iface_detach() 108 static int hostapd_ctrl_iface_level(struct hostapd_data *hapd, in hostapd_ctrl_iface_level() argument 117 dst = hapd->ctrl_dst; in hostapd_ctrl_iface_level() 136 static int hostapd_ctrl_iface_new_sta(struct hostapd_data *hapd, in hostapd_ctrl_iface_new_sta() argument [all …]
|
D | main.c | 68 struct hostapd_data *hapd = ctx; in hostapd_logger_cb() local 79 if (hapd && hapd->conf) { in hostapd_logger_cb() 80 conf_syslog_level = hapd->conf->logger_syslog_level; in hostapd_logger_cb() 81 conf_stdout_level = hapd->conf->logger_stdout_level; in hostapd_logger_cb() 82 conf_syslog = hapd->conf->logger_syslog; in hostapd_logger_cb() 83 conf_stdout = hapd->conf->logger_stdout; in hostapd_logger_cb() 116 if (hapd && hapd->conf && addr) in hostapd_logger_cb() 118 hapd->conf->iface, MAC2STR(addr), in hostapd_logger_cb() 120 else if (hapd && hapd->conf) in hostapd_logger_cb() 122 hapd->conf->iface, module_str ? " " : "", in hostapd_logger_cb() [all …]
|