| /hostap-latest/src/fst/ |
| D | fst_ctrl_iface.c | 35 static bool format_session_state_extra(const union fst_event_extra *extra, in format_session_state_extra() argument 43 ss = &extra->session_state; in format_session_state_extra() 47 switch (ss->extra.to_initial.reason) { in format_session_state_extra() 49 if (ss->extra.to_initial.reject_code != WLAN_STATUS_SUCCESS) in format_session_state_extra() 51 ss->extra.to_initial.reject_code); in format_session_state_extra() 55 switch (ss->extra.to_initial.initiator) { in format_session_state_extra() 74 fst_reason_name(ss->extra.to_initial.reason), in format_session_state_extra() 83 const union fst_event_extra *extra) in fst_ctrl_iface_notify() argument 110 if (!extra) in fst_ctrl_iface_notify() 112 is = &extra->iface_state; in fst_ctrl_iface_notify() [all …]
|
| D | fst.c | 26 union fst_event_extra extra; in fst_ctrl_iface_notify_peer_state_change() local 28 extra.peer_state.connected = connected; in fst_ctrl_iface_notify_peer_state_change() 29 os_strlcpy(extra.peer_state.ifname, fst_iface_get_name(iface), in fst_ctrl_iface_notify_peer_state_change() 30 sizeof(extra.peer_state.ifname)); in fst_ctrl_iface_notify_peer_state_change() 31 os_memcpy(extra.peer_state.addr, peer_addr, ETH_ALEN); in fst_ctrl_iface_notify_peer_state_change() 34 iface, NULL, &extra); in fst_ctrl_iface_notify_peer_state_change()
|
| D | fst_session.c | 112 union fst_event_extra *extra) in fst_session_notify_ctrl() argument 114 foreach_fst_ctrl_call(on_event, event_type, NULL, s, extra); in fst_session_notify_ctrl() 120 union fst_session_state_switch_extra *extra) in fst_session_set_state() argument 130 if (extra) in fst_session_set_state() 131 evext.session_state.extra = *extra; in fst_session_set_state() 171 union fst_session_state_switch_extra extra = { in fst_session_timeout_handler() local 178 fst_session_set_state(s, FST_SESSION_STATE_INITIAL, &extra); in fst_session_timeout_handler()
|
| D | fst_ctrl_aux.h | 79 } extra; member
|
| D | fst.h | 209 const union fst_event_extra *extra);
|
| /hostap-latest/src/eap_common/ |
| D | eap_peap_common.c | 23 u8 extra[2]; in peap_prfplus() local 43 extra[0] = 0; in peap_prfplus() 44 extra[1] = 0; in peap_prfplus() 48 addr[4] = extra; in peap_prfplus() 60 extra[0] = buf_len & 0xff; in peap_prfplus() 62 addr[3] = extra; in peap_prfplus()
|
| D | eap_sim_common.h | 87 const u8 *mac, const u8 *extra, size_t extra_len); 89 const u8 *extra, size_t extra_len); 99 const u8 *mac, const u8 *extra, 102 u8 *mac, const u8 *extra, size_t extra_len); 127 const u8 *mac, const u8 *extra, in eap_sim_verify_mac_sha256() argument 216 const u8 *extra, size_t extra_len);
|
| D | eap_sim_common.c | 166 const u8 *mac, const u8 *extra, size_t extra_len) in eap_sim_verify_mac() argument 184 addr[1] = extra; in eap_sim_verify_mac() 192 extra, extra_len); in eap_sim_verify_mac() 205 const u8 *extra, size_t extra_len) in eap_sim_add_mac() argument 213 addr[1] = extra; in eap_sim_add_mac() 220 extra, extra_len); in eap_sim_add_mac() 360 const u8 *mac, const u8 *extra, size_t extra_len) in eap_sim_verify_mac_sha256() argument 378 addr[1] = extra; in eap_sim_verify_mac_sha256() 386 extra, extra_len); in eap_sim_verify_mac_sha256() 399 u8 *mac, const u8 *extra, size_t extra_len) in eap_sim_add_mac_sha256() argument [all …]
|
| /hostap-latest/tests/hwsim/ |
| D | test_ap_csa.py | 24 def switch_channel(ap, count, freq, extra=None): argument 26 if extra: 27 cmd += " " + extra 77 switch_channel(ap, 10, 2462, extra="ht") 96 switch_channel(ap, 10, 2462, extra="ht") 99 switch_channel(ap, 10, 2412, extra="ht") 160 switch_channel(ap, 2, 2462, extra="ht") 171 switch_channel(ap, 10, 2462, extra="ht")
|
| D | wpasupplicant.py | 481 extra = " freq=" + str(freq) 483 extra = "" 484 id = self.request("SELECT_NETWORK " + str(id) + extra) 508 def get_status(self, extra=None): argument 509 if extra: 510 extra = "-" + extra 512 extra = "" 513 res = self.request("STATUS" + extra) 524 def get_status_field(self, field, extra=None): argument 525 vals = self.get_status(extra) [all …]
|
| D | p2p_utils.py | 118 def invite(inv, resp, extra=None, persistent_reconnect=True, use_listen=True): argument 133 if extra: 134 cmd = cmd + " " + extra 192 def invite_from_go(go, cli, terminate=True, extra=None): argument 194 invite(go, cli, extra=extra)
|
| D | test_sigma_dut.py | 678 for extra in tests: 681 dut.cmd_check(cmd + extra) 693 for extra in tests: 696 dut.cmd_check(cmd + extra) 785 for extra in tests: 788 dut.cmd_check(cmd + extra) 1574 extra="DPPAuthDirection,Mutual,") 1581 def run_sigma_dut_dpp_qr_mutual_init_enrollee_check(dev, apdev, extra='', argument 1618 …hRole,Initiator,%sDPPProvisioningRole,Enrollee,DPPBS,QR,DPPTimeout,6,DPPWaitForConnect,Yes" % extra 1664 def run_sigma_dut_dpp_qr_mutual_resp_enrollee(dev, apdev, extra=None): argument [all …]
|
| D | hostapd.py | 497 extra=None): argument 501 if extra: 502 cmd += " " + extra 522 extra=None, own=None, role=None, neg_freq=None, argument 536 if extra: 537 cmd += " " + extra 559 extra=None, use_id=None, ver=None): argument 572 if extra: 573 cmd += extra + " "
|
| D | test_dpp.py | 459 dev[1].dpp_auth_init(uri=uri0, extra=init_extra, configurator=conf_id, 944 …extra = "conf=sta-psk pass=%s ssid=%s @CONF-OBJ-SEP@ conf=sta-sae pass=%s ssid=%s" % (pass1h, ssid… 948 init_extra=extra, 997 …extra = "conf=sta-psk psk=%s ssid=%s @CONF-OBJ-SEP@ conf=sta-sae pass=%s ssid=%s" % (psk1, ssid1h,… 1001 init_extra=extra, 1050 …extra = "conf=ap-sae pass=%s ssid=%s @CONF-OBJ-SEP@ conf=sta-sae pass=%s ssid=%s" % (pass1h, ssid1… 1052 init_extra=extra, 1199 extra = "conf_extra_name=org.example conf_extra_value=" 1201 extra += binascii.hexlify(json.encode()).decode() 1203 init_extra="conf=sta-dpp " + extra, [all …]
|
| D | test_owe.py | 856 def hapd_assoc(hapd, extra): argument 874 resp['payload'] = payload + extra 902 for extra in tests: 906 hapd_assoc(hapd, extra)
|
| /hostap-latest/src/p2p/ |
| D | p2p_group.c | 212 size_t extra = 0; in p2p_group_build_beacon_ie() local 216 extra = wpabuf_len(group->p2p->wfd_ie_beacon); in p2p_group_build_beacon_ie() 221 extra += wpabuf_len(group->p2p->vendor_elem[VENDOR_ELEM_BEACON_P2P_GO]); in p2p_group_build_beacon_ie() 223 ie = wpabuf_alloc(257 + extra); in p2p_group_build_beacon_ie() 466 struct wpabuf *extra; in p2p_group_build_probe_resp_ie() local 467 extra = wpabuf_dup(group->p2p->vendor_elem[VENDOR_ELEM_PROBE_RESP_P2P_GO]); in p2p_group_build_probe_resp_ie() 468 ie = wpabuf_concat(extra, ie); in p2p_group_build_probe_resp_ie() 650 size_t extra = 0; in p2p_group_assoc_resp_ie() local 654 extra = wpabuf_len(group->wfd_ie); in p2p_group_assoc_resp_ie() 659 extra += wpabuf_len(group->p2p->vendor_elem[VENDOR_ELEM_P2P_ASSOC_RESP]); in p2p_group_assoc_resp_ie() [all …]
|
| D | p2p_invitation.c | 26 size_t extra = 0; in p2p_build_invitation_req() local 47 extra = wpabuf_len(wfd_ie); in p2p_build_invitation_req() 51 extra += wpabuf_len(p2p->vendor_elem[VENDOR_ELEM_P2P_INV_REQ]); in p2p_build_invitation_req() 53 buf = wpabuf_alloc(1000 + extra); in p2p_build_invitation_req() 121 size_t extra = 0; in p2p_build_invitation_resp() local 141 extra = wpabuf_len(wfd_ie); in p2p_build_invitation_resp() 145 extra += wpabuf_len(p2p->vendor_elem[VENDOR_ELEM_P2P_INV_RESP]); in p2p_build_invitation_resp() 147 buf = wpabuf_alloc(1000 + extra); in p2p_build_invitation_resp()
|
| D | p2p_go_neg.c | 144 size_t extra = 0; in p2p_build_go_neg_req() local 150 extra = wpabuf_len(p2p->wfd_ie_go_neg); in p2p_build_go_neg_req() 154 extra += wpabuf_len(p2p->vendor_elem[VENDOR_ELEM_P2P_GO_NEG_REQ]); in p2p_build_go_neg_req() 156 buf = wpabuf_alloc(1000 + extra); in p2p_build_go_neg_req() 296 size_t extra = 0; in p2p_build_go_neg_resp() local 305 extra = wpabuf_len(p2p->wfd_ie_go_neg); in p2p_build_go_neg_resp() 309 extra += wpabuf_len(p2p->vendor_elem[VENDOR_ELEM_P2P_GO_NEG_RESP]); in p2p_build_go_neg_resp() 311 buf = wpabuf_alloc(1000 + extra); in p2p_build_go_neg_resp() 1148 size_t extra = 0; in p2p_build_go_neg_conf() local 1155 extra = wpabuf_len(p2p->wfd_ie_go_neg); in p2p_build_go_neg_conf() [all …]
|
| D | p2p_pd.c | 190 size_t extra = 0; in p2p_build_prov_disc_req() local 198 extra = wpabuf_len(p2p->wfd_ie_prov_disc_req); in p2p_build_prov_disc_req() 202 extra += wpabuf_len(p2p->vendor_elem[VENDOR_ELEM_P2P_PD_REQ]); in p2p_build_prov_disc_req() 205 extra += os_strlen(p2p->p2ps_prov->info) + 1 + in p2p_build_prov_disc_req() 208 buf = wpabuf_alloc(1000 + extra); in p2p_build_prov_disc_req() 266 size_t extra = 0; in p2p_build_prov_disc_resp() local 287 extra = wpabuf_len(wfd_ie); in p2p_build_prov_disc_resp() 291 extra += wpabuf_len(p2p->vendor_elem[VENDOR_ELEM_P2P_PD_RESP]); in p2p_build_prov_disc_resp() 293 buf = wpabuf_alloc(1000 + extra); in p2p_build_prov_disc_resp()
|
| /hostap-latest/wpa_supplicant/examples/ |
| D | dpp-nfc.py | 143 def get_status(wpas, extra=None): argument 144 if extra: 145 extra = "-" + extra 147 extra = "" 148 res = wpas.request("STATUS" + extra) 160 def get_status_field(wpas, field, extra=None): argument 161 vals = get_status(wpas, extra) 198 if get_status_field(wpas, "beacon_set", extra="DRIVER") is None: 477 extra = " role=enrollee" 479 extra = " role=configurator " + config_params [all …]
|
| /hostap-latest/src/wps/ |
| D | wps_module_tests.c | 18 int extra; member 291 switch (test->extra) { in wps_attr_parse_tests()
|
| /hostap-latest/wpa_supplicant/ |
| D | interworking.c | 98 struct wpabuf *extra) in anqp_build_req() argument 105 (extra ? wpabuf_len(extra) : 0)); in anqp_build_req() 115 if (extra) in anqp_build_req() 116 wpabuf_put_buf(buf, extra); in anqp_build_req() 255 struct wpabuf *extra = NULL; in interworking_anqp_send_req() local 287 extra = wpabuf_alloc(100); in interworking_anqp_send_req() 288 if (!extra) in interworking_anqp_send_req() 291 len_pos = gas_anqp_add_element(extra, ANQP_VENDOR_SPECIFIC); in interworking_anqp_send_req() 292 wpabuf_put_be24(extra, OUI_WFA); in interworking_anqp_send_req() 293 wpabuf_put_u8(extra, HS20_ANQP_OUI_TYPE); in interworking_anqp_send_req() [all …]
|
| /hostap-latest/src/common/ |
| D | sae_pk.c | 749 size_t extra; in sae_pk_valid_fingerprint() local 752 extra = 8 - tmp->fingerprint_bits % 8; in sae_pk_valid_fingerprint() 754 *pos = (*pos >> extra) << extra; in sae_pk_valid_fingerprint()
|
| /hostap-latest/tests/ |
| D | cipher-and-key-mgmt-testing.txt | 266 Variant 1: Include extra Message 1/4 275 Variant 2: Include two extra Message 1/4 304 Variant 1: Include extra Message 1/4 313 Variant 2: Include two extra Message 1/4
|
| /hostap-latest/wlantest/ |
| D | rx_mgmt.c | 1575 struct wpabuf *extra = NULL; in rx_mgmt_reassoc_req() local 1715 extra = wpabuf_alloc(MAX_NUM_MLD_LINKS * ETH_ALEN); in rx_mgmt_reassoc_req() 1716 if (!extra) in rx_mgmt_reassoc_req() 1720 wpabuf_put_data(extra, in rx_mgmt_reassoc_req() 1734 extra, in rx_mgmt_reassoc_req() 1736 wpabuf_free(extra); in rx_mgmt_reassoc_req() 1740 wpabuf_free(extra); in rx_mgmt_reassoc_req() 2192 struct wpabuf *extra = NULL, *rsne = NULL, *rsnxe = NULL; in rx_mgmt_reassoc_resp() local 2324 extra = wpabuf_alloc(MAX_NUM_MLD_LINKS * ETH_ALEN); in rx_mgmt_reassoc_resp() 2327 if (!extra || !rsne || !rsnxe) in rx_mgmt_reassoc_resp() [all …]
|