/hostap-latest/src/ap/ |
D | ap_list.c | 31 static int ap_list_beacon_olbc(struct hostapd_iface *iface, struct ap_info *ap) in ap_list_beacon_olbc() argument 37 iface->conf->channel != ap->channel) in ap_list_beacon_olbc() 40 if (ap->erp != -1 && (ap->erp & ERP_INFO_NON_ERP_PRESENT)) in ap_list_beacon_olbc() 44 int rate = (ap->supported_rates[i] & 0x7f) * 5; in ap_list_beacon_olbc() 53 static struct ap_info * ap_get_ap(struct hostapd_iface *iface, const u8 *ap) in ap_get_ap() argument 57 s = iface->ap_hash[STA_HASH(ap)]; in ap_get_ap() 58 while (s != NULL && !ether_addr_equal(s->addr, ap)) in ap_get_ap() 64 static void ap_ap_list_add(struct hostapd_iface *iface, struct ap_info *ap) in ap_ap_list_add() argument 67 ap->prev = iface->ap_list->prev; in ap_ap_list_add() 68 iface->ap_list->prev = ap; in ap_ap_list_add() [all …]
|
/hostap-latest/src/wps/ |
D | wps_er.c | 28 static void wps_er_ap_process(struct wps_er_ap *ap, struct wpabuf *msg); 29 static int wps_er_send_get_device_info(struct wps_er_ap *ap, 30 void (*m1_handler)(struct wps_er_ap *ap, 59 static struct wps_er_sta * wps_er_sta_get(struct wps_er_ap *ap, const u8 *addr, in wps_er_sta_get() argument 63 dl_list_for_each(sta, &ap->sta, struct wps_er_sta, list) { in wps_er_sta_get() 76 wps_er_sta_event(sta->ap->er->wps, sta, WPS_EV_ER_ENROLLEE_REMOVE); in wps_er_sta_free() 91 static void wps_er_sta_remove_all(struct wps_er_ap *ap) in wps_er_sta_remove_all() argument 94 dl_list_for_each_safe(sta, prev, &ap->sta, struct wps_er_sta, list) in wps_er_sta_remove_all() 103 struct wps_er_ap *ap; in wps_er_ap_get() local 104 dl_list_for_each(ap, &er->ap, struct wps_er_ap, list) { in wps_er_ap_get() [all …]
|
D | wps_er.h | 16 struct wps_er_ap *ap; member 67 void (*m1_handler)(struct wps_er_ap *ap, struct wpabuf *m1); 85 struct dl_list ap; member
|
D | wps_enrollee.c | 22 if (wps->wps->ap) in wps_build_wps_state() 121 if (wps->wps->ap && !wps->pbc_in_m1 && in wps_build_m1() 183 if (wps->wps->ap && random_pool_ready() != 1) { in wps_build_m3() 397 (wps->wps->ap && wps_build_ap_settings(wps, plain)) || in wps_build_m7() 408 if (wps->wps->ap && wps->wps->registrar) { in wps_build_m7() 442 if (wps->wps->ap) in wps_build_wsc_done() 475 if (wps->wps->ap) { in wps_enrollee_get_msg() 771 if (wps->wps->ap) in wps_process_creds() 808 if (!wps->wps->ap) in wps_process_ap_settings_e() 986 if (wps->wps->ap && in wps_process_m2() [all …]
|
D | wps_validate.c | 1724 int wps_validate_m7_encr(const struct wpabuf *tlvs, int ap, int wps2) in wps_validate_m7_encr() argument 1740 wps_validate_ssid(attr.ssid, attr.ssid_len, !ap) || in wps_validate_m7_encr() 1741 wps_validate_mac_addr(attr.mac_addr, !ap) || in wps_validate_m7_encr() 1742 wps_validate_auth_type(attr.auth_type, !ap) || in wps_validate_m7_encr() 1743 wps_validate_encr_type(attr.encr_type, !ap) || in wps_validate_m7_encr() 1746 attr.encr_type, !ap) || in wps_validate_m7_encr() 1798 int wps_validate_m8_encr(const struct wpabuf *tlvs, int ap, int wps2) in wps_validate_m8_encr() argument 1813 if (wps_validate_ssid(attr.ssid, attr.ssid_len, ap) || in wps_validate_m8_encr() 1814 wps_validate_auth_type(attr.auth_type, ap) || in wps_validate_m8_encr() 1815 wps_validate_encr_type(attr.encr_type, ap) || in wps_validate_m8_encr() [all …]
|
D | wps.h | 587 } ap; member 645 int ap; member 979 int wps_validate_m7_encr(const struct wpabuf *tlvs, int ap, int wps2); 981 int wps_validate_m8_encr(const struct wpabuf *tlvs, int ap, int wps2); 1068 static inline int wps_validate_m7_encr(const struct wpabuf *tlvs, int ap, in wps_validate_m7_encr() argument 1079 static inline int wps_validate_m8_encr(const struct wpabuf *tlvs, int ap, in wps_validate_m8_encr() argument
|
/hostap-latest/tests/hwsim/ |
D | test_ap_csa.py | 20 ap = hostapd.add_ap(apdev[0], params) 22 return ap 24 def switch_channel(ap, count, freq, extra=None): argument 28 ap.request(cmd) 30 ev = ap.wait_event(["CTRL-EVENT-STARTED-CHANNEL-SWITCH"], timeout=10) 36 ev = ap.wait_event(["CTRL-EVENT-CHANNEL-SWITCH"], timeout=10) 42 ev = ap.wait_event(["AP-CSA-FINISHED"], timeout=10) 71 ap = connect(dev[0], apdev) 76 hwsim_utils.test_connectivity(dev[0], ap) 77 switch_channel(ap, 10, 2462, extra="ht") [all …]
|
D | fst_module_aux.py | 126 def external_sta_connect(sta, ap, **kwargs): argument 130 if not isinstance(ap, FstAP): 132 hap = ap.get_instance() 133 sta.connect(ap.get_ssid(), **kwargs) 135 def disconnect_external_sta(sta, ap, check_disconnect=True): argument 139 if not isinstance(ap, FstAP): 143 hap = ap.get_instance() 146 raise Exception("No disconnection event received from %s" % ap.get_ssid()) 773 def connect(self, ap, **kwargs): argument 775 if not isinstance(ap, FstAP): [all …]
|
D | test_ap_acs.py | 15 def force_prev_ap_on_24g(ap): argument 18 hostapd.add_ap(ap, {"ssid": "open"}) 20 hostapd.remove_bss(ap) 22 def force_prev_ap_on_5g(ap, country="US"): argument 25 hostapd.add_ap(ap, {"ssid": "open", "hw_mode": "a", 28 hostapd.remove_bss(ap) 30 def force_prev_ap_on_6g(ap): argument 44 hostapd.add_ap(ap, params) 46 hostapd.remove_bss(ap)
|
D | test_ap_tdls.py | 20 def start_ap_wpa2_psk(ap): argument 22 return hostapd.add_ap(ap, params) 80 ap = wt.get_tdls_counter("valid_ap_path", bssid, addr0, addr1) 82 return [dl, inv_dl, ap, inv_ap] 88 [dl, inv_dl, ap, inv_ap] = wlantest_tdls_packet_counters(bssid, addr0, addr1) 93 if ap > 0: 102 [dl, inv_dl, ap, inv_ap] = wlantest_tdls_packet_counters(bssid, addr0, addr1) 107 if ap == 0:
|
D | test_nfc_wps.py | 18 def check_wpa2_connection(sta, ap, hapd, ssid, mixed=False): argument 22 if status['bssid'] != ap['bssid']: 465 def start_ap_er(er, ap, ssid): argument 477 hapd = hostapd.add_ap(ap, params) 481 er.wps_reg(ap['bssid'], ap_pin)
|
/hostap-latest/src/utils/ |
D | wpa_debug_zephyr.c | 29 va_list ap; in wpa_printf_impl() local 35 va_start(ap, fmt); in wpa_printf_impl() 36 vsnprintf(buffer, sizeof(buffer), fmt, ap); in wpa_printf_impl() 37 va_end(ap); in wpa_printf_impl() 179 va_list ap; in wpa_msg_impl() local 185 va_start(ap, fmt); in wpa_msg_impl() 186 buflen = vsnprintf(NULL, 0, fmt, ap) + 1; in wpa_msg_impl() 187 va_end(ap); in wpa_msg_impl() 194 va_start(ap, fmt); in wpa_msg_impl() 206 len = vsnprintf(buf, buflen, fmt, ap); in wpa_msg_impl() [all …]
|
D | wpa_debug.c | 211 va_list ap; in wpa_printf() local 215 va_start(ap, fmt); in wpa_printf() 217 ANDROID_LOG_NAME, fmt, ap); in wpa_printf() 218 va_end(ap); in wpa_printf() 222 va_start(ap, fmt); in wpa_printf() 223 vsyslog(syslog_priority(level), fmt, ap); in wpa_printf() 224 va_end(ap); in wpa_printf() 230 va_start(ap, fmt); in wpa_printf() 231 vfprintf(out_file, fmt, ap); in wpa_printf() 233 va_end(ap); in wpa_printf() [all …]
|
D | wpabuf.c | 300 va_list ap; in wpabuf_printf() local 304 va_start(ap, fmt); in wpabuf_printf() 305 res = vsnprintf(tmp, buf->size - buf->used, fmt, ap); in wpabuf_printf() 306 va_end(ap); in wpabuf_printf()
|
D | os_internal.c | 493 va_list ap; in os_snprintf() local 500 va_start(ap, format); in os_snprintf() 501 ret = vsnprintf(str, size, format, ap); in os_snprintf() 502 va_end(ap); in os_snprintf()
|
D | xml_libxml2.c | 34 va_list ap; in add_str() local 43 va_start(ap, fmt); in add_str() 44 len = vsnprintf(str->buf + str->len, MAX_STR, fmt, ap); in add_str() 45 va_end(ap); in add_str()
|
/hostap-latest/tests/remote/ |
D | test_example.py | 21 ap = None 28 ap = rutils.get_host(devices, refs[0]) 34 rutils.setup_hw([sta, ap], setup_params) 44 rutils.run_hostapd(ap, setup_params) 56 monitor.add(ap, monitors) 59 hapd = hostapd.add_ap(ap.dev, ap_params) 72 monitor.run(ap, setup_params) 79 ap_sta, sta_ap = rutils.check_connectivity(ap, sta, "ipv6") 83 monitor.remove(ap) 91 hostapd.remove_bss(ap.dev) [all …]
|
/hostap-latest/wpa_supplicant/ |
D | wps_supplicant.c | 751 struct wps_event_er_ap *ap) in wpa_supplicant_wps_event_er_ap_add() argument 756 uuid_bin2str(ap->uuid, uuid_str, sizeof(uuid_str)); in wpa_supplicant_wps_event_er_ap_add() 757 if (ap->pri_dev_type) in wpa_supplicant_wps_event_er_ap_add() 758 wps_dev_type_bin2str(ap->pri_dev_type, dev_type, in wpa_supplicant_wps_event_er_ap_add() 765 uuid_str, MAC2STR(ap->mac_addr), dev_type, ap->wps_state, in wpa_supplicant_wps_event_er_ap_add() 766 ap->friendly_name ? ap->friendly_name : "", in wpa_supplicant_wps_event_er_ap_add() 767 ap->manufacturer ? ap->manufacturer : "", in wpa_supplicant_wps_event_er_ap_add() 768 ap->model_description ? ap->model_description : "", in wpa_supplicant_wps_event_er_ap_add() 769 ap->model_name ? ap->model_name : "", in wpa_supplicant_wps_event_er_ap_add() 770 ap->manufacturer_url ? ap->manufacturer_url : "", in wpa_supplicant_wps_event_er_ap_add() [all …]
|
/hostap-latest/tests/fuzzing/ap-mgmt/ |
D | Makefile | 1 ALL=ap-mgmt 19 LIBS += $(SRC)/ap/libap.a 29 OBJS += ap-mgmt.o 40 ap-mgmt: $(OBJS) $(LIBS) 44 rm -f ap-mgmt *~ *.o *.d ../*~ ../*.o ../*.d
|
/hostap-latest/hs20/server/ |
D | hs20_spp_server.c | 35 va_list ap; in debug_print() local 41 va_start(ap, fmt); in debug_print() 42 vfprintf(ctx->debug_log, fmt, ap); in debug_print() 43 va_end(ap); in debug_print()
|
/hostap-latest/wpa_supplicant/wpa_gui-qt4/ |
D | icons.qrc | 4 <file alias="ap.svg">icons/ap.svg</file>
|
D | icons_png.qrc | 4 <file alias="ap.png">icons/hicolor/32x32/apps/ap.png</file>
|
/hostap-latest/src/tls/ |
D | tlsv1_server.c | 26 va_list ap; in tlsv1_server_log() local 30 va_start(ap, fmt); in tlsv1_server_log() 31 buflen = vsnprintf(NULL, 0, fmt, ap) + 1; in tlsv1_server_log() 32 va_end(ap); in tlsv1_server_log() 37 va_start(ap, fmt); in tlsv1_server_log() 38 vsnprintf(buf, buflen, fmt, ap); in tlsv1_server_log() 39 va_end(ap); in tlsv1_server_log()
|
/hostap-latest/src/common/ |
D | sae_pk.c | 546 bool ap, const u8 *m, size_t m_len, in sae_pk_hash_sig_data() argument 561 if (crypto_ec_point_to_bin(tmp->ec, ap ? tmp->own_commit_element_ecc : in sae_pk_hash_sig_data() 566 if (crypto_ec_point_to_bin(tmp->ec, ap ? tmp->peer_commit_element_ecc : in sae_pk_hash_sig_data() 570 if (crypto_bignum_to_bin(ap ? tmp->own_commit_scalar : in sae_pk_hash_sig_data() 574 crypto_bignum_to_bin(ap ? sae->peer_commit_scalar : in sae_pk_hash_sig_data() 581 wpabuf_put_data(sig_data, ap ? tmp->own_addr : tmp->peer_addr, in sae_pk_hash_sig_data() 583 wpabuf_put_data(sig_data, ap ? tmp->peer_addr : tmp->own_addr, in sae_pk_hash_sig_data()
|
/hostap-latest/wlantest/ |
D | wlantest.c | 285 va_list ap; in add_note() local 295 va_start(ap, fmt); in add_note() 296 wlen = vsnprintf(wt->notes[wt->num_notes], len, fmt, ap); in add_note() 297 va_end(ap); in add_note()
|