Home
last modified time | relevance | path

Searched refs:eid (Results 1 – 25 of 28) sorted by relevance

12

/hostap-latest/src/ap/
Dhs20.c22 u8 * hostapd_eid_hs20_indication(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_hs20_indication() argument
26 return eid; in hostapd_eid_hs20_indication()
27 *eid++ = WLAN_EID_VENDOR_SPECIFIC; in hostapd_eid_hs20_indication()
28 *eid++ = hapd->conf->hs20_release < 2 ? 5 : 7; in hostapd_eid_hs20_indication()
29 WPA_PUT_BE24(eid, OUI_WFA); in hostapd_eid_hs20_indication()
30 eid += 3; in hostapd_eid_hs20_indication()
31 *eid++ = HS20_INDICATION_OUI_TYPE; in hostapd_eid_hs20_indication()
37 *eid++ = conf; in hostapd_eid_hs20_indication()
39 WPA_PUT_LE16(eid, hapd->conf->anqp_domain_id); in hostapd_eid_hs20_indication()
40 eid += 2; in hostapd_eid_hs20_indication()
[all …]
Dieee802_11.h54 u8 * hostapd_eid_ext_capab(struct hostapd_data *hapd, u8 *eid,
56 u8 * hostapd_eid_qos_map_set(struct hostapd_data *hapd, u8 *eid);
57 u8 * hostapd_eid_supp_rates(struct hostapd_data *hapd, u8 *eid);
58 u8 * hostapd_eid_ext_supp_rates(struct hostapd_data *hapd, u8 *eid);
59 u8 * hostapd_eid_rm_enabled_capab(struct hostapd_data *hapd, u8 *eid,
61 u8 * hostapd_eid_ht_capabilities(struct hostapd_data *hapd, u8 *eid);
62 u8 * hostapd_eid_ht_operation(struct hostapd_data *hapd, u8 *eid);
63 u8 * hostapd_eid_vht_capabilities(struct hostapd_data *hapd, u8 *eid, u32 nsts);
64 u8 * hostapd_eid_vht_operation(struct hostapd_data *hapd, u8 *eid);
65 u8 * hostapd_eid_vendor_vht(struct hostapd_data *hapd, u8 *eid);
[all …]
Dieee802_11_shared.c37 struct sta_info *sta, u8 *eid) in hostapd_eid_assoc_comeback_time() argument
57 return hostapd_eid_timeout_interval(eid, type, timeout); in hostapd_eid_assoc_comeback_time()
483 u8 * hostapd_eid_ext_capab(struct hostapd_data *hapd, u8 *eid, in hostapd_eid_ext_capab() argument
486 u8 *pos = eid; in hostapd_eid_ext_capab()
515 while (len > 0 && eid[1 + len] == 0) { in hostapd_eid_ext_capab()
517 eid[1] = len; in hostapd_eid_ext_capab()
520 return eid; in hostapd_eid_ext_capab()
522 return eid + 2 + len; in hostapd_eid_ext_capab()
526 u8 * hostapd_eid_qos_map_set(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_qos_map_set() argument
528 u8 *pos = eid; in hostapd_eid_qos_map_set()
[all …]
Dp2p_hostapd.c94 u8 * hostapd_eid_p2p_manage(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_p2p_manage() argument
97 *eid++ = WLAN_EID_VENDOR_SPECIFIC; in hostapd_eid_p2p_manage()
98 *eid++ = 4 + 3 + 1; in hostapd_eid_p2p_manage()
99 WPA_PUT_BE32(eid, P2P_IE_VENDOR_TYPE); in hostapd_eid_p2p_manage()
100 eid += 4; in hostapd_eid_p2p_manage()
102 *eid++ = P2P_ATTR_MANAGEABILITY; in hostapd_eid_p2p_manage()
103 WPA_PUT_LE16(eid, 1); in hostapd_eid_p2p_manage()
104 eid += 2; in hostapd_eid_p2p_manage()
109 *eid++ = bitmap; in hostapd_eid_p2p_manage()
111 return eid; in hostapd_eid_p2p_manage()
Dieee802_11_he.c89 u8 * hostapd_eid_he_capab(struct hostapd_data *hapd, u8 *eid, in hostapd_eid_he_capab() argument
95 u8 *pos = eid; in hostapd_eid_he_capab()
99 return eid; in hostapd_eid_he_capab()
172 u8 * hostapd_eid_he_operation(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_he_operation() argument
175 u8 *pos = eid; in hostapd_eid_he_operation()
180 return eid; in hostapd_eid_he_operation()
291 u8 * hostapd_eid_he_mu_edca_parameter_set(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_he_mu_edca_parameter_set() argument
303 return eid; /* no MU EDCA Parameters configured */ in hostapd_eid_he_mu_edca_parameter_set()
305 pos = eid; in hostapd_eid_he_mu_edca_parameter_set()
322 u8 * hostapd_eid_spatial_reuse(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_spatial_reuse() argument
[all …]
Dbeacon.c40 static u8 * hostapd_eid_bss_load(struct hostapd_data *hapd, u8 *eid, size_t len) in hostapd_eid_bss_load() argument
43 return eid; in hostapd_eid_bss_load()
47 *eid++ = WLAN_EID_BSS_LOAD; in hostapd_eid_bss_load()
48 *eid++ = 5; in hostapd_eid_bss_load()
49 os_memcpy(eid, hapd->conf->bss_load_test, 5); in hostapd_eid_bss_load()
50 eid += 5; in hostapd_eid_bss_load()
51 return eid; in hostapd_eid_bss_load()
55 *eid++ = WLAN_EID_BSS_LOAD; in hostapd_eid_bss_load()
56 *eid++ = 5; in hostapd_eid_bss_load()
57 WPA_PUT_LE16(eid, hapd->num_sta); in hostapd_eid_bss_load()
[all …]
Dieee802_11_eht.c135 u8 * hostapd_eid_eht_capab(struct hostapd_data *hapd, u8 *eid, in hostapd_eid_eht_capab() argument
142 u8 *pos = eid, *length_pos; in hostapd_eid_eht_capab()
146 return eid; in hostapd_eid_eht_capab()
150 return eid; in hostapd_eid_eht_capab()
196 *length_pos = pos - (eid + 2); in hostapd_eid_eht_capab()
201 u8 * hostapd_eid_eht_operation(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_eht_operation() argument
205 u8 *pos = eid, seg0 = 0, seg1 = 0; in hostapd_eid_eht_operation()
212 return eid; in hostapd_eid_eht_operation()
275 return eid; in hostapd_eid_eht_operation()
443 u8 *eid, struct mld_info *mld_info, in hostapd_eid_eht_basic_ml_common() argument
[all …]
Dieee802_11.c91 static u8 * hostapd_eid_multi_ap(struct hostapd_data *hapd, u8 *eid, size_t len) in hostapd_eid_multi_ap() argument
96 return eid; in hostapd_eid_multi_ap()
115 return eid + add_multi_ap_ie(eid, len, &multi_ap); in hostapd_eid_multi_ap()
119 u8 * hostapd_eid_supp_rates(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_supp_rates() argument
121 u8 *pos = eid; in hostapd_eid_supp_rates()
126 return eid; in hostapd_eid_supp_rates()
186 u8 * hostapd_eid_ext_supp_rates(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_ext_supp_rates() argument
188 u8 *pos = eid; in hostapd_eid_ext_supp_rates()
194 return eid; in hostapd_eid_ext_supp_rates()
212 return eid; in hostapd_eid_ext_supp_rates()
[all …]
Dieee802_11_vht.c24 u8 * hostapd_eid_vht_capabilities(struct hostapd_data *hapd, u8 *eid, u32 nsts) in hostapd_eid_vht_capabilities() argument
28 u8 *pos = eid; in hostapd_eid_vht_capabilities()
31 return eid; in hostapd_eid_vht_capabilities()
75 u8 * hostapd_eid_vht_operation(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_vht_operation() argument
78 u8 *pos = eid; in hostapd_eid_vht_operation()
88 return eid; in hostapd_eid_vht_operation()
273 u8 * hostapd_eid_vendor_vht(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_vendor_vht() argument
275 u8 *pos = eid; in hostapd_eid_vendor_vht()
280 return eid; in hostapd_eid_vendor_vht()
Dwmm.c102 u8 * hostapd_eid_wmm(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_wmm() argument
104 u8 *pos = eid; in hostapd_eid_wmm()
113 return eid; in hostapd_eid_wmm()
115 eid[0] = WLAN_EID_VENDOR_SPECIFIC; in hostapd_eid_wmm()
143 eid[1] = pos - eid - 2; /* element length */ in hostapd_eid_wmm()
154 int hostapd_eid_wmm_valid(struct hostapd_data *hapd, const u8 *eid, size_t len) in hostapd_eid_wmm_valid() argument
158 wpa_hexdump(MSG_MSGDUMP, "WMM IE", eid, len); in hostapd_eid_wmm_valid()
166 wmm = (struct wmm_information_element *) eid; in hostapd_eid_wmm_valid()
Dwpa_auth_ie.c582 static u8 * wpa_write_osen(struct wpa_auth_config *conf, u8 *eid) in wpa_write_osen() argument
587 *eid++ = WLAN_EID_VENDOR_SPECIFIC; in wpa_write_osen()
588 len = eid++; /* to be filled */ in wpa_write_osen()
589 WPA_PUT_BE24(eid, OUI_WFA); in wpa_write_osen()
590 eid += 3; in wpa_write_osen()
591 *eid++ = HS20_OSEN_OUI_TYPE; in wpa_write_osen()
594 RSN_SELECTOR_PUT(eid, RSN_CIPHER_SUITE_NO_GROUP_ADDRESSED); in wpa_write_osen()
595 eid += RSN_SELECTOR_LEN; in wpa_write_osen()
598 WPA_PUT_LE16(eid, 1); in wpa_write_osen()
599 eid += 2; in wpa_write_osen()
[all …]
Dwmm.h16 u8 * hostapd_eid_wmm(struct hostapd_data *hapd, u8 *eid);
17 int hostapd_eid_wmm_valid(struct hostapd_data *hapd, const u8 *eid,
Dhs20.h14 u8 * hostapd_eid_hs20_indication(struct hostapd_data *hapd, u8 *eid);
15 u8 * hostapd_eid_osen(struct hostapd_data *hapd, u8 *eid);
Dieee802_11_ht.c24 u8 * hostapd_eid_ht_capabilities(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_ht_capabilities() argument
27 u8 *pos = eid; in hostapd_eid_ht_capabilities()
31 return eid; in hostapd_eid_ht_capabilities()
82 u8 * hostapd_eid_ht_operation(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_ht_operation() argument
85 u8 *pos = eid; in hostapd_eid_ht_operation()
89 return eid; in hostapd_eid_ht_operation()
Dp2p_hostapd.h33 u8 * hostapd_eid_p2p_manage(struct hostapd_data *hapd, u8 *eid);
Dbeacon.h34 const u8 * hostapd_wpa_ie(struct hostapd_data *hapd, u8 eid);
Dwnm_ap.c91 wnmsleep_ie.eid = WLAN_EID_WNMSLEEP; in ieee802_11_send_wnmsleep_resp()
720 if (report_ie->eid != WLAN_EID_EVENT_REPORT || in ieee802_11_rx_wnm_event_report()
Dwpa_auth.h602 u8 * hostapd_eid_assoc_fils_session(struct wpa_state_machine *sm, u8 *eid,
/hostap-latest/src/fst/
Dfst_group.c33 WPA_ASSERT(mbie->eid == WLAN_EID_MULTI_BAND); in fst_dump_mb_ies()
72 mbie->eid = WLAN_EID_MULTI_BAND; in fst_fill_mb_ie()
214 if (mbie->eid != WLAN_EID_MULTI_BAND) { in fst_mbie_get_peer_addr_for_band()
215 fst_printf(MSG_INFO, "unexpected eid %d", mbie->eid); in fst_mbie_get_peer_addr_for_band()
/hostap-latest/src/common/
Dieee802_11_defs.h1552 u8 eid; /* 221 = 0xdd */ member
2032 u8 eid; /* WLAN_EID_WNMSLEEP */ member
2066 u8 eid; /* WLAN_EID_EVENT_REPORT */ member
2106 u8 eid; member
2155 u8 eid; /* Element ID */ member
2217 u8 eid; /* Element ID */ member
2265 u8 eid; /* WLAN_EID_MULTI_BAND */ member
Dieee802_11_common.h280 const u8 * get_ie(const u8 *ies, size_t len, u8 eid);
/hostap-latest/wpa_supplicant/
Drrm.c415 if (msr_rep->eid != WLAN_EID_MEASURE_REPORT || in wpas_rrm_beacon_rep_update_last_frame()
1382 if (req->eid != WLAN_EID_MEASURE_REQUEST) { in wpas_rrm_process_msr_req_elems()
1385 req->eid); in wpas_rrm_process_msr_req_elems()
1489 report.tpc.eid = WLAN_EID_TPC_REPORT; in wpas_rrm_handle_link_measurement_request()
Dwnm_sta.c79 wnmsleep_ie->eid = WLAN_EID_WNMSLEEP; in ieee802_11_send_wnmsleep_req()
863 static int wpa_bss_ies_eq(struct wpa_bss *a, struct wpa_bss *b, u8 eid) in wpa_bss_ies_eq() argument
870 ie_a = wpa_bss_get_ie(a, eid); in wpa_bss_ies_eq()
871 ie_b = wpa_bss_get_ie(b, eid); in wpa_bss_ies_eq()
Dwmm_ac.c286 tspec->eid = WLAN_EID_VENDOR_SPECIFIC; in wmm_ac_build_addts_req()
/hostap-latest/tests/hwsim/
Dtest_rrm.py789 eid, elen = struct.unpack('BB', report[0:2])
793 if eid == 1:
802 if eid == 2:
804 if eid == 164:

12