| /src/external/bsd/wpa/dist/src/ap/ |
| hw_features.h | 17 int hostapd_get_hw_features(struct hostapd_iface *iface); 18 int hostapd_csa_update_hwmode(struct hostapd_iface *iface); 19 int hostapd_acs_completed(struct hostapd_iface *iface, int err); 20 int hostapd_select_hw_mode(struct hostapd_iface *iface); 24 int hostapd_check_ht_capab(struct hostapd_iface *iface); 25 int hostapd_check_edmg_capab(struct hostapd_iface *iface); 26 int hostapd_check_he_6ghz_capab(struct hostapd_iface *iface); 27 int hostapd_prepare_rates(struct hostapd_iface *iface, 29 void hostapd_stop_setup_timers(struct hostapd_iface *iface); 30 int hostapd_hw_skip_mode(struct hostapd_iface *iface, [all...] |
| hw_features.c | 75 int hostapd_get_hw_features(struct hostapd_iface *iface) 77 struct hostapd_data *hapd = iface->bss[0]; 98 iface->hw_flags = flags; 99 iface->dfs_domain = dfs_domain; 101 if (iface->current_mode) { 104 * hw mode is valid. Clear iface->current_mode temporarily as 109 mode = iface->current_mode->mode; 110 is_6ghz = iface->current_mode->is_6ghz; 111 iface->current_mode = NULL; 113 hostapd_free_hw_features(iface->hw_features, iface->num_hw_features) 499 struct hostapd_iface *iface = eloop_data; local [all...] |
| ap_list.c | 31 static int ap_list_beacon_olbc(struct hostapd_iface *iface, struct ap_info *ap) 35 if (iface->current_mode == NULL || 36 iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G || 37 iface->conf->channel != ap->channel) 53 static struct ap_info * ap_get_ap(struct hostapd_iface *iface, const u8 *ap) 57 s = iface->ap_hash[STA_HASH(ap)]; 64 static void ap_ap_list_add(struct hostapd_iface *iface, struct ap_info *ap) 66 if (iface->ap_list) { 67 ap->prev = iface->ap_list->prev; 68 iface->ap_list->prev = ap [all...] |
| acs.h | 15 enum hostapd_chan_status acs_init(struct hostapd_iface *iface); 16 void acs_cleanup(struct hostapd_iface *iface); 23 static inline enum hostapd_chan_status acs_init(struct hostapd_iface *iface) 29 static inline void acs_cleanup(struct hostapd_iface *iface)
|
| airtime_policy.h | 26 int airtime_policy_update_init(struct hostapd_iface *iface); 27 void airtime_policy_update_deinit(struct hostapd_iface *iface); 37 static inline int airtime_policy_update_init(struct hostapd_iface *iface) 42 static inline void airtime_policy_update_deinit(struct hostapd_iface *iface)
|
| dfs.c | 30 dfs_downgrade_bandwidth(struct hostapd_iface *iface, int *secondary_channel, 36 static bool dfs_use_radar_background(struct hostapd_iface *iface) 38 return (iface->drv_flags2 & WPA_DRIVER_FLAGS2_RADAR_BACKGROUND) && 39 iface->conf->enable_background_radar; 43 static int dfs_get_used_n_chans(struct hostapd_iface *iface, int *seg1) 49 if (iface->conf->ieee80211n && iface->conf->secondary_channel) 52 if (iface->conf->ieee80211ac || iface->conf->ieee80211ax) { 53 switch (hostapd_get_oper_chwidth(iface->conf)) [all...] |
| ap_list.h | 35 void ap_list_process_beacon(struct hostapd_iface *iface, 40 int ap_list_init(struct hostapd_iface *iface); 41 void ap_list_deinit(struct hostapd_iface *iface); 42 void ap_list_timer(struct hostapd_iface *iface); 44 static inline int ap_list_init(struct hostapd_iface *iface) 49 static inline void ap_list_deinit(struct hostapd_iface *iface) 53 static inline void ap_list_timer(struct hostapd_iface *iface)
|
| dfs.h | 12 int hostapd_handle_dfs(struct hostapd_iface *iface); 14 int hostapd_dfs_complete_cac(struct hostapd_iface *iface, int success, int freq, 17 int hostapd_dfs_pre_cac_expired(struct hostapd_iface *iface, int freq, 20 int hostapd_dfs_radar_detected(struct hostapd_iface *iface, int freq, 24 int hostapd_dfs_nop_finished(struct hostapd_iface *iface, int freq, 27 int hostapd_is_dfs_required(struct hostapd_iface *iface); 28 int hostapd_is_dfs_chan_available(struct hostapd_iface *iface); 29 int hostapd_dfs_start_cac(struct hostapd_iface *iface, int freq, 32 int hostapd_handle_dfs_offload(struct hostapd_iface *iface); 33 int hostapd_is_dfs_overlap(struct hostapd_iface *iface, enum chan_width width [all...] |
| eth_p_oui.c | 33 struct eth_p_oui_iface *iface; member in struct:eth_p_oui_ctx 53 struct eth_p_oui_iface *iface = ctx; local 73 dl_list_for_each(receiver, &iface->receiver, 91 struct eth_p_oui_iface *iface; local 104 interfaces = hapd->iface->interfaces; 106 dl_list_for_each(iface, &interfaces->eth_p_oui, struct eth_p_oui_iface, 108 if (os_strcmp(iface->ifname, ifname) != 0) 115 iface = os_zalloc(sizeof(*iface)); 116 if (!iface) 143 struct eth_p_oui_iface *iface; local 164 struct eth_p_oui_iface *iface = ctx->iface; local [all...] |
| bss_load.c | 47 struct hostapd_iface *iface = hapd->iface; local 52 err = hostapd_drv_get_survey(hapd, hapd->iface->freq); 64 iface->chan_util_samples_sum += iface->channel_utilization; 65 iface->chan_util_num_sample_periods += 67 if (iface->chan_util_num_sample_periods >= 69 iface->chan_util_average = 70 iface->chan_util_samples_sum / 71 (iface->chan_util_num_sample_periods [all...] |
| acs.c | 309 static int acs_request_scan(struct hostapd_iface *iface); 348 void acs_cleanup(struct hostapd_iface *iface) 352 for (i = 0; i < iface->num_hw_features; i++) 353 acs_cleanup_mode(&iface->hw_features[i]); 355 iface->chans_surveyed = 0; 356 iface->acs_num_completed_scans = 0; 357 iface->acs_num_retries = 0; 358 eloop_cancel_timeout(acs_scan_retry, iface, NULL); 362 static void acs_fail(struct hostapd_iface *iface) 365 acs_cleanup(iface); 1476 struct hostapd_iface *iface = eloop_data; local [all...] |
| ieee802_11_ht.c | 29 if (!hapd->iconf->ieee80211n || !hapd->iface->current_mode || 39 cap->a_mpdu_params = hapd->iface->current_mode->a_mpdu_params; 40 os_memcpy(cap->supported_mcs_set, hapd->iface->current_mode->mcs_set, 98 oper->operation_mode = host_to_le16(hapd->iface->ht_op_mode); 123 int hostapd_ht_operation_update(struct hostapd_iface *iface) 128 if (!iface->conf->ieee80211n || iface->conf->ht_op_mode_fixed) 132 __func__, iface->ht_op_mode); 134 if (!(iface->ht_op_mode & HT_OPER_OP_MODE_NON_GF_HT_STAS_PRESENT) 135 && iface->num_sta_ht_no_gf) 210 struct hostapd_iface *iface = hapd->iface; local 528 struct hostapd_iface *iface = eloop_data; local [all...] |
| beacon.h | 20 int ieee802_11_set_beacons(struct hostapd_iface *iface); 21 int ieee802_11_update_beacons(struct hostapd_iface *iface); 25 void sta_track_add(struct hostapd_iface *iface, const u8 *addr, int ssi_signal); 27 void sta_track_expire(struct hostapd_iface *iface, int force); 29 sta_track_seen_on(struct hostapd_iface *iface, const u8 *addr, 31 void sta_track_claim_taxonomy_info(struct hostapd_iface *iface, const u8 *addr,
|
| utils.c | 49 static int prune_associations(struct hostapd_iface *iface, void *ctx) 56 for (j = 0; j < iface->num_bss; j++) { 57 ohapd = iface->bss[j]; 66 if (ohapd->iface->fst && 67 data->hapd->iface->fst && 68 fst_are_ifaces_aggregated(ohapd->iface->fst, 69 data->hapd->iface->fst)) 83 ohapd->conf->iface, MAC2STR(osta->addr)); 108 if (hapd->iface->interfaces && 109 hapd->iface->interfaces->for_each_interface [all...] |
| hostapd.c | 64 static int hostapd_setup_encryption(char *iface, struct hostapd_data *hapd); 67 static int setup_interface2(struct hostapd_iface *iface); 78 int (*cb)(struct hostapd_iface *iface, 85 if (!interfaces->iface[i]) 87 ret = cb(interfaces->iface[i], ctx); 99 return hapd->iface->bss[0]; 110 for (i = 1; i < hapd->iface->num_bss; i++) 111 if (hapd->iface->bss[i] == hapd) 126 hostapd_setup_encryption(hapd->conf->iface, hapd); 161 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 1) 489 struct hostapd_iface *iface = ifaces->iface[i]; local 1971 struct hostapd_iface *iface = eloop_ctx; local 2461 struct hostapd_iface *iface = eloop_ctx; local 3244 struct hostapd_iface *iface = interfaces->iface[i]; local 3271 struct hostapd_iface *new_iface = NULL, *iface = NULL; local 3606 struct hostapd_iface **iface, *hapd_iface; local 4332 struct hostapd_iface *iface = hapd->iface; local 4592 struct hostapd_iface *iface = hapd->iface; local 4728 struct hostapd_iface *iface = interfaces->iface[i]; local 4788 struct hostapd_iface *iface; local [all...] |
| /src/external/bsd/wpa/dist/wpa_supplicant/ |
| wpa_priv.c | 56 static void wpa_priv_cmd_register(struct wpa_priv_interface *iface, 61 if (iface->drv_priv) { 63 if (iface->driver->deinit) 64 iface->driver->deinit(iface->drv_priv); 65 iface->drv_priv = NULL; 66 if (iface->drv_global_priv) { 67 iface->driver->global_deinit(iface->drv_global_priv); 68 iface->drv_global_priv = NULL 456 struct wpa_priv_interface *iface = l2_ctx->parent; local 639 struct wpa_priv_interface *iface = eloop_ctx; local 752 struct wpa_priv_interface *iface; local 1048 struct wpa_priv_interface *iface = ctx; local 1113 struct wpa_priv_interface *iface; local 1144 struct wpa_priv_interface *iface = ctx; local 1218 struct wpa_priv_interface *iface; local [all...] |
| main_none.c | 16 struct wpa_interface iface; local 28 memset(&iface, 0, sizeof(iface)); 31 if (wpa_supplicant_add_iface(global, &iface, NULL) == NULL)
|
| /src/external/bsd/wpa/dist/src/fst/ |
| fst.c | 22 static void fst_ctrl_iface_notify_peer_state_change(struct fst_iface *iface, 29 os_strlcpy(extra.peer_state.ifname, fst_iface_get_name(iface), 34 iface, NULL, &extra); 44 struct fst_iface *iface = NULL; local 68 iface = fst_iface_create(group, ifname, own_addr, iface_obj, cfg); 69 if (!iface) { 70 fst_printf_group(group, MSG_ERROR, "cannot create iface for %s", 77 fst_group_attach_iface(group, iface); 80 foreach_fst_ctrl_call(on_iface_added, iface); 82 fst_printf_iface(iface, MSG_DEBUG [all...] |
| /src/external/bsd/wpa/dist/hostapd/logwatch/ |
| hostapd | 29 if (my ($iface,$mac,$layer,$details) = ($line =~ /(.*?): STA (.*?) (.*?): (.*?)$/i)) { 34 $hostapd{$iface}->{$mac}->{$layer}->{$details}++; 41 foreach my $iface (sort keys %hostapd) { 42 print "Interface $iface:\n"; 43 foreach my $mac (sort keys %{$hostapd{$iface}}) { 45 foreach my $layer (sort keys %{$hostapd{$iface}->{$mac}}) { 47 foreach my $details (sort keys %{$hostapd{$iface}->{$mac}->{$layer}}) { 49 my $count = $hostapd{$iface}->{$mac}->{$layer}->{$details};
|
| /src/external/bsd/wpa/dist/wpa_supplicant/dbus/ |
| dbus_new_introspect.c | 30 struct interfaces *iface; local 32 dl_list_for_each(iface, list, struct interfaces, list) { 33 if (os_strcmp(iface->dbus_interface, dbus_interface) == 0) 34 return iface; /* already in the list */ 37 iface = os_zalloc(sizeof(struct interfaces)); 38 if (!iface) 40 iface->dbus_interface = os_strdup(dbus_interface); 41 iface->xml = wpabuf_alloc(16000); 42 if (iface->dbus_interface == NULL || iface->xml == NULL) 100 struct interfaces *iface; local 115 struct interfaces *iface; local 130 struct interfaces *iface; local 161 struct interfaces *iface, *n; local [all...] |
| /src/usr.sbin/altq/libaltq/ |
| qop_fifoq.c | 171 struct fifoq_interface iface; local 183 memset(&iface, 0, sizeof(iface)); 184 strncpy(iface.fifoq_ifname, ifinfo->ifname, IFNAMSIZ); 186 if (ioctl(fifoq_fd, FIFOQ_IF_ATTACH, &iface) < 0) 193 strncpy(conf.iface.fifoq_ifname, ifinfo->ifname, IFNAMSIZ); 199 LOG(LOG_INFO, 0, "fifoq attached to %s", iface.fifoq_ifname); 207 struct fifoq_interface iface; local 209 memset(&iface, 0, sizeof(iface)); 225 struct fifoq_interface iface; local 238 struct fifoq_interface iface; local [all...] |
| /src/usr.bin/rump_dhcpclient/ |
| bpf.c | 53 open_socket(struct interface *iface, int protocol) 90 strlcpy(ifr.ifr_name, iface->name, sizeof(ifr.ifr_name)); 97 if (iface->buffer_size != (size_t)buf_len) { 98 free(iface->buffer); 99 iface->buffer_size = buf_len; 100 iface->buffer = xmalloc(buf_len); 101 iface->buffer_len = iface->buffer_pos = 0; 114 fdp = &iface->arp_fd; 118 fdp = &iface->raw_fd [all...] |
| net.h | 85 const struct interface *iface; member in struct:rt 100 #define get_mtu(iface) do_mtu(iface, 0) 101 #define set_mtu(iface, mtu) do_mtu(iface, mtu) 115 #define add_address(iface, addr, net, brd) \ 116 if_address(iface, addr, net, brd, 1) 117 #define del_address(iface, addr, net) \ 118 if_address(iface, addr, net, NULL, -1) 119 #define has_address(iface, addr, net) [all...] |
| configure.c | 73 (srt || (!rt->iface || 74 rt->iface->metric == r->iface->metric)) && 116 desc_route("removing", f, f->iface->name); 126 n_route(struct rt *rt, const struct interface *iface) 131 !(iface->state->options->options & DHCPCD_GATEWAY)) 134 desc_route("adding", rt, iface->name); 135 if (!add_route(iface, &rt->dest, &rt->net, &rt->gate, iface->metric)) 139 if (rt->dest.s_addr == (iface->addr.s_addr & iface->net.s_addr) & [all...] |
| /src/usr.sbin/iwictl/ |
| iwictl.c | 62 char *iface = NULL; local 67 iface = argv[1]; 77 iface = optarg; 89 if (iface == NULL) 93 get_radio_state(iface); 96 get_statistics(iface); 104 (void)fprintf(stderr, "Usage: %s [-i] iface\n" 105 "\t%s [-i] iface -r\n", getprogname(), getprogname()); 111 do_req(const char *iface, unsigned long req, void *data) 121 (void)strncpy(ifr.ifr_name, iface, sizeof(ifr.ifr_name)) [all...] |