Home
last modified time | relevance | path

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

123

/third_party/wpa_supplicant/wpa_supplicant-2.9/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.h49 u8 * hostapd_eid_ext_capab(struct hostapd_data *hapd, u8 *eid);
50 u8 * hostapd_eid_qos_map_set(struct hostapd_data *hapd, u8 *eid);
51 u8 * hostapd_eid_supp_rates(struct hostapd_data *hapd, u8 *eid);
52 u8 * hostapd_eid_ext_supp_rates(struct hostapd_data *hapd, u8 *eid);
53 u8 * hostapd_eid_ht_capabilities(struct hostapd_data *hapd, u8 *eid);
54 u8 * hostapd_eid_ht_operation(struct hostapd_data *hapd, u8 *eid);
55 u8 * hostapd_eid_secondary_channel(struct hostapd_data *hapd, u8 *eid);
56 u8 * hostapd_eid_vht_capabilities(struct hostapd_data *hapd, u8 *eid, u32 nsts);
57 u8 * hostapd_eid_vht_operation(struct hostapd_data *hapd, u8 *eid);
58 u8 * hostapd_eid_vendor_vht(struct hostapd_data *hapd, u8 *eid);
[all …]
Dieee802_11_vht.c23 u8 * hostapd_eid_vht_capabilities(struct hostapd_data *hapd, u8 *eid, u32 nsts) in hostapd_eid_vht_capabilities() argument
27 u8 *pos = eid; in hostapd_eid_vht_capabilities()
30 return eid; in hostapd_eid_vht_capabilities()
74 u8 * hostapd_eid_vht_operation(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_vht_operation() argument
77 u8 *pos = eid; in hostapd_eid_vht_operation()
167 u8 * hostapd_eid_wb_chsw_wrapper(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_wb_chsw_wrapper() argument
174 return eid; in hostapd_eid_wb_chsw_wrapper()
193 return eid; in hostapd_eid_wb_chsw_wrapper()
201 return eid; in hostapd_eid_wb_chsw_wrapper()
206 return eid; in hostapd_eid_wb_chsw_wrapper()
[all …]
Dieee802_11_shared.c25 struct sta_info *sta, u8 *eid) in hostapd_eid_assoc_comeback_time() argument
27 u8 *pos = eid; in hostapd_eid_assoc_comeback_time()
402 u8 * hostapd_eid_ext_capab(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_ext_capab() argument
404 u8 *pos = eid; in hostapd_eid_ext_capab()
446 return eid; in hostapd_eid_ext_capab()
459 while (len > 0 && eid[1 + len] == 0) { in hostapd_eid_ext_capab()
461 eid[1] = len; in hostapd_eid_ext_capab()
464 return eid; in hostapd_eid_ext_capab()
466 return eid + 2 + len; in hostapd_eid_ext_capab()
470 u8 * hostapd_eid_qos_map_set(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_qos_map_set() argument
[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()
Dbeacon.c39 static u8 * hostapd_eid_rm_enabled_capab(struct hostapd_data *hapd, u8 *eid, in hostapd_eid_rm_enabled_capab() argument
50 return eid; in hostapd_eid_rm_enabled_capab()
52 *eid++ = WLAN_EID_RRM_ENABLED_CAPABILITIES; in hostapd_eid_rm_enabled_capab()
53 *eid++ = RRM_CAPABILITIES_IE_LEN; in hostapd_eid_rm_enabled_capab()
54 os_memcpy(eid, hapd->conf->radio_measurements, RRM_CAPABILITIES_IE_LEN); in hostapd_eid_rm_enabled_capab()
56 return eid + RRM_CAPABILITIES_IE_LEN; in hostapd_eid_rm_enabled_capab()
60 static u8 * hostapd_eid_bss_load(struct hostapd_data *hapd, u8 *eid, size_t len) in hostapd_eid_bss_load() argument
63 return eid; in hostapd_eid_bss_load()
67 *eid++ = WLAN_EID_BSS_LOAD; in hostapd_eid_bss_load()
68 *eid++ = 5; in hostapd_eid_bss_load()
[all …]
Dieee802_11_he.c47 u8 * hostapd_eid_he_capab(struct hostapd_data *hapd, u8 *eid, in hostapd_eid_he_capab() argument
53 u8 *pos = eid; in hostapd_eid_he_capab()
57 return eid; in hostapd_eid_he_capab()
129 u8 * hostapd_eid_he_operation(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_he_operation() argument
132 u8 *pos = eid; in hostapd_eid_he_operation()
137 return eid; in hostapd_eid_he_operation()
175 u8 * hostapd_eid_he_mu_edca_parameter_set(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_he_mu_edca_parameter_set() argument
187 return eid; /* no MU EDCA Parameters configured */ in hostapd_eid_he_mu_edca_parameter_set()
189 pos = eid; in hostapd_eid_he_mu_edca_parameter_set()
206 u8 * hostapd_eid_spatial_reuse(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_spatial_reuse() argument
[all …]
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()
88 return eid; in hostapd_eid_ht_operation()
111 u8 * hostapd_eid_secondary_channel(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_secondary_channel() argument
117 return eid; in hostapd_eid_secondary_channel()
124 return eid; in hostapd_eid_secondary_channel()
126 *eid++ = WLAN_EID_SECONDARY_CHANNEL_OFFSET; in hostapd_eid_secondary_channel()
[all …]
Dwmm.c109 u8 * hostapd_eid_wmm(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_wmm() argument
111 u8 *pos = eid; in hostapd_eid_wmm()
118 return eid; in hostapd_eid_wmm()
120 eid[0] = WLAN_EID_VENDOR_SPECIFIC; in hostapd_eid_wmm()
148 eid[1] = pos - eid - 2; /* element length */ in hostapd_eid_wmm()
159 int hostapd_eid_wmm_valid(struct hostapd_data *hapd, const u8 *eid, size_t len) in hostapd_eid_wmm_valid() argument
163 wpa_hexdump(MSG_MSGDUMP, "WMM IE", eid, len); in hostapd_eid_wmm_valid()
171 wmm = (struct wmm_information_element *) eid; in hostapd_eid_wmm_valid()
Dwpa_auth_ie.c381 static u8 * wpa_write_osen(struct wpa_auth_config *conf, u8 *eid) in wpa_write_osen() argument
386 *eid++ = WLAN_EID_VENDOR_SPECIFIC; in wpa_write_osen()
387 len = eid++; /* to be filled */ in wpa_write_osen()
388 WPA_PUT_BE24(eid, OUI_WFA); in wpa_write_osen()
389 eid += 3; in wpa_write_osen()
390 *eid++ = HS20_OSEN_OUI_TYPE; in wpa_write_osen()
393 RSN_SELECTOR_PUT(eid, RSN_CIPHER_SUITE_NO_GROUP_ADDRESSED); in wpa_write_osen()
394 eid += RSN_SELECTOR_LEN; in wpa_write_osen()
397 WPA_PUT_LE16(eid, 1); in wpa_write_osen()
398 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,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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.h48 u8 * hostapd_eid_ext_capab(struct hostapd_data *hapd, u8 *eid);
49 u8 * hostapd_eid_qos_map_set(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);
52 u8 * hostapd_eid_rm_enabled_capab(struct hostapd_data *hapd, u8 *eid,
54 u8 * hostapd_eid_ht_capabilities(struct hostapd_data *hapd, u8 *eid);
55 u8 * hostapd_eid_ht_operation(struct hostapd_data *hapd, u8 *eid);
56 u8 * hostapd_eid_vht_capabilities(struct hostapd_data *hapd, u8 *eid, u32 nsts);
57 u8 * hostapd_eid_vht_operation(struct hostapd_data *hapd, u8 *eid);
58 u8 * hostapd_eid_vendor_vht(struct hostapd_data *hapd, u8 *eid);
[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_shared.c24 struct sta_info *sta, u8 *eid) in hostapd_eid_assoc_comeback_time() argument
26 u8 *pos = eid; in hostapd_eid_assoc_comeback_time()
451 u8 * hostapd_eid_ext_capab(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_ext_capab() argument
453 u8 *pos = eid; in hostapd_eid_ext_capab()
475 while (len > 0 && eid[1 + len] == 0) { in hostapd_eid_ext_capab()
477 eid[1] = len; in hostapd_eid_ext_capab()
480 return eid; in hostapd_eid_ext_capab()
482 return eid + 2 + len; in hostapd_eid_ext_capab()
486 u8 * hostapd_eid_qos_map_set(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_qos_map_set() argument
488 u8 *pos = eid; in hostapd_eid_qos_map_set()
[all …]
Dbeacon.c39 static u8 * hostapd_eid_bss_load(struct hostapd_data *hapd, u8 *eid, size_t len) in hostapd_eid_bss_load() argument
42 return eid; in hostapd_eid_bss_load()
46 *eid++ = WLAN_EID_BSS_LOAD; in hostapd_eid_bss_load()
47 *eid++ = 5; in hostapd_eid_bss_load()
48 os_memcpy(eid, hapd->conf->bss_load_test, 5); in hostapd_eid_bss_load()
49 eid += 5; in hostapd_eid_bss_load()
50 return eid; in hostapd_eid_bss_load()
54 *eid++ = WLAN_EID_BSS_LOAD; in hostapd_eid_bss_load()
55 *eid++ = 5; in hostapd_eid_bss_load()
56 WPA_PUT_LE16(eid, hapd->num_sta); in hostapd_eid_bss_load()
[all …]
Dieee802_11_he.c83 u8 * hostapd_eid_he_capab(struct hostapd_data *hapd, u8 *eid, in hostapd_eid_he_capab() argument
89 u8 *pos = eid; in hostapd_eid_he_capab()
93 return eid; in hostapd_eid_he_capab()
164 u8 * hostapd_eid_he_operation(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_he_operation() argument
167 u8 *pos = eid; in hostapd_eid_he_operation()
172 return eid; in hostapd_eid_he_operation()
259 u8 * hostapd_eid_he_mu_edca_parameter_set(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_he_mu_edca_parameter_set() argument
271 return eid; /* no MU EDCA Parameters configured */ in hostapd_eid_he_mu_edca_parameter_set()
273 pos = eid; in hostapd_eid_he_mu_edca_parameter_set()
290 u8 * hostapd_eid_spatial_reuse(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_spatial_reuse() argument
[all …]
Dieee802_11_vht.c23 u8 * hostapd_eid_vht_capabilities(struct hostapd_data *hapd, u8 *eid, u32 nsts) in hostapd_eid_vht_capabilities() argument
27 u8 *pos = eid; in hostapd_eid_vht_capabilities()
30 return eid; in hostapd_eid_vht_capabilities()
74 u8 * hostapd_eid_vht_operation(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_vht_operation() argument
77 u8 *pos = eid; in hostapd_eid_vht_operation()
80 return eid; in hostapd_eid_vht_operation()
259 u8 * hostapd_eid_vendor_vht(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_vendor_vht() argument
261 u8 *pos = eid; in hostapd_eid_vendor_vht()
266 return eid; in hostapd_eid_vendor_vht()
Dwmm.c109 u8 * hostapd_eid_wmm(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_wmm() argument
111 u8 *pos = eid; in hostapd_eid_wmm()
120 return eid; in hostapd_eid_wmm()
122 eid[0] = WLAN_EID_VENDOR_SPECIFIC; in hostapd_eid_wmm()
150 eid[1] = pos - eid - 2; /* element length */ in hostapd_eid_wmm()
161 int hostapd_eid_wmm_valid(struct hostapd_data *hapd, const u8 *eid, size_t len) in hostapd_eid_wmm_valid() argument
165 wpa_hexdump(MSG_MSGDUMP, "WMM IE", eid, len); in hostapd_eid_wmm_valid()
173 wmm = (struct wmm_information_element *) eid; in hostapd_eid_wmm_valid()
Dwpa_auth_ie.c431 static u8 * wpa_write_osen(struct wpa_auth_config *conf, u8 *eid) in wpa_write_osen() argument
436 *eid++ = WLAN_EID_VENDOR_SPECIFIC; in wpa_write_osen()
437 len = eid++; /* to be filled */ in wpa_write_osen()
438 WPA_PUT_BE24(eid, OUI_WFA); in wpa_write_osen()
439 eid += 3; in wpa_write_osen()
440 *eid++ = HS20_OSEN_OUI_TYPE; in wpa_write_osen()
443 RSN_SELECTOR_PUT(eid, RSN_CIPHER_SUITE_NO_GROUP_ADDRESSED); in wpa_write_osen()
444 eid += RSN_SELECTOR_LEN; in wpa_write_osen()
447 WPA_PUT_LE16(eid, 1); in wpa_write_osen()
448 eid += 2; in wpa_write_osen()
[all …]
Dieee802_11.c91 u8 * hostapd_eid_multi_ap(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_multi_ap() argument
96 return eid; in hostapd_eid_multi_ap()
102 return eid + add_multi_ap_ie(eid, 9, multi_ap_val); in hostapd_eid_multi_ap()
106 u8 * hostapd_eid_supp_rates(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_supp_rates() argument
108 u8 *pos = eid; in hostapd_eid_supp_rates()
113 return eid; in hostapd_eid_supp_rates()
162 u8 * hostapd_eid_ext_supp_rates(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_ext_supp_rates() argument
164 u8 *pos = eid; in hostapd_eid_ext_supp_rates()
169 return eid; in hostapd_eid_ext_supp_rates()
183 return eid; in hostapd_eid_ext_supp_rates()
[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,
/third_party/musl/porting/liteos_a/user/src/unistd/
Dsetxid.c8 int id, eid, sid; member
16 int ret = -__syscall(c->nr, c->id, c->eid, c->sid); in do_setxid()
28 int __setxid(int nr, int id, int eid, int sid) in __setxid() argument
32 struct ctx c = { .nr = nr, .id = id, .eid = eid, .sid = sid, .err = -1 }; in __setxid()
/third_party/musl/src/unistd/
Dsetxid.c8 int id, eid, sid; member
16 int ret = -__syscall(c->nr, c->id, c->eid, c->sid); in do_setxid()
28 int __setxid(int nr, int id, int eid, int sid) in __setxid() argument
32 struct ctx c = { .nr = nr, .id = id, .eid = eid, .sid = sid, .err = -1 }; in __setxid()
/third_party/ffmpeg/libavformat/
Dlibsrt.c56 int eid; member
169 int eid = srt_epoll_create(); in libsrt_epoll_create() local
170 if (eid < 0) in libsrt_epoll_create()
172 if (srt_epoll_add_usock(eid, fd, &modes) < 0) { in libsrt_epoll_create()
173 srt_epoll_release(eid); in libsrt_epoll_create()
176 return eid; in libsrt_epoll_create()
179 static int libsrt_network_wait_fd(URLContext *h, int eid, int write) in libsrt_network_wait_fd() argument
186 ret = srt_epoll_wait(eid, error, &errlen, ready, &len, POLLING_TIME, 0, 0, 0, 0); in libsrt_network_wait_fd()
188 ret = srt_epoll_wait(eid, ready, &len, error, &errlen, POLLING_TIME, 0, 0, 0, 0); in libsrt_network_wait_fd()
203 static int libsrt_network_wait_fd_timeout(URLContext *h, int eid, int write, int64_t timeout, AVIOI… in libsrt_network_wait_fd_timeout() argument
[all …]

123