HomeSort by relevance Sort by last modified time
    Searched refs:ies (Results 1 - 25 of 44) sorted by null

1 2

  /system/connectivity/shill/wifi/
wifi_endpoint_unittest.cc 113 void AddIEWithData(uint8_t type, vector<uint8_t> data, vector<uint8_t>* ies) {
114 ies->push_back(type); // type
115 ies->push_back(data.size()); // length
116 ies->insert(ies->end(), data.begin(), data.end());
119 void AddIE(uint8_t type, vector<uint8_t>* ies) {
120 AddIEWithData(type, vector<uint8_t>(1), ies);
125 vector<uint8_t>* ies) {
126 ies->push_back(IEEE_80211::kElemIdVendor); // type
127 ies->push_back(4 + data.size()); // lengt
333 vector<uint8_t> ies; local
341 vector<uint8_t> ies; local
350 vector<uint8_t> ies; local
359 vector<uint8_t> ies; local
368 vector<uint8_t> ies; local
378 vector<uint8_t> ies; local
387 vector<uint8_t> ies; local
396 vector<uint8_t> ies; local
414 vector<uint8_t> ies; local
422 vector<uint8_t> ies; local
437 vector<uint8_t> ies; local
446 vector<uint8_t> ies; local
478 vector<uint8_t> ies; local
491 vector<uint8_t> ies; local
523 vector<uint8_t> ies; local
544 vector<uint8_t> ies; local
557 vector<uint8_t> ies; local
571 vector<uint8_t> ies; local
584 vector<uint8_t> ies; local
596 vector<uint8_t> ies; local
609 vector<uint8_t> ies; local
622 vector<uint8_t> ies; local
639 vector<uint8_t> ies; local
651 vector<uint8_t> ies; local
664 vector<uint8_t> ies; local
677 vector<uint8_t> ies; local
    [all...]
wifi_endpoint.cc 421 vector<uint8_t> ies = properties.GetUint8s(WPASupplicant::kBSSPropertyIEs); local
434 for (it = ies.begin();
435 std::distance(it, ies.end()) > 1; // Ensure Length field is within PDU.
438 if (std::distance(it, ies.end()) < ie_len) {
  /external/wpa_supplicant_8/wpa_supplicant/
mesh.h 17 int wpas_mesh_scan_result_text(const u8 *ies, size_t ies_len, char *buf,
28 const u8 *ies, size_t ie_len);
36 const u8 *ies, size_t ie_len)
sme.h 20 const u8 *ies, size_t ies_len);
56 const u8 *ies, size_t ies_len)
wmm_ac.h 163 void wmm_ac_notify_assoc(struct wpa_supplicant *wpa_s, const u8 *ies,
mesh.c 302 const u8 *ies, size_t ie_len)
309 if (ieee802_11_parse_elems(ies, ie_len, &elems, 0) == ParseFailed) {
411 params.ies = wpa_s->ifmsh->mconf->rsn_ie;
449 static int mesh_attr_text(const u8 *ies, size_t ies_len, char *buf, char *end)
456 if (ieee802_11_parse_elems(ies, ies_len, &elems, 0) == ParseFailed)
537 int wpas_mesh_scan_result_text(const u8 *ies, size_t ies_len, char *buf,
540 return mesh_attr_text(ies, ies_len, buf, end);
mesh_mpm.c 1013 const u8 *ies; local
1026 ies = mgmt->u.action.u.slf_prot_action.variable;
1041 WPA_GET_LE16(ies));
1042 ies += 2; /* capability */
1046 wpa_printf(MSG_DEBUG, "MPM: AID 0x%x", WPA_GET_LE16(ies));
1047 ies += 2; /* aid */
1051 /* check for mesh peering, mesh id and mesh config IEs */
1052 if (ieee802_11_parse_elems(ies, ie_len, &elems, 0) == ParseFailed) {
1053 wpa_printf(MSG_DEBUG, "MPM: Failed to parse PLINK IEs");
1121 ies, ie_len))
    [all...]
wmm_ac.c 421 wmm_ac_process_param_elem(struct wpa_supplicant *wpa_s, const u8 *ies,
430 if (ieee802_11_parse_elems(ies, ies_len, &elems, 1) == ParseFailed) {
431 wpa_printf(MSG_DEBUG, "WMM AC: could not parse assoc ies");
466 static int wmm_ac_init(struct wpa_supplicant *wpa_s, const u8 *ies,
477 if (!ies) {
478 wpa_printf(MSG_ERROR, "WMM AC: Missing IEs");
491 assoc_data = wmm_ac_process_param_elem(wpa_s, ies, ies_len);
536 void wmm_ac_notify_assoc(struct wpa_supplicant *wpa_s, const u8 *ies,
539 if (wmm_ac_init(wpa_s, ies, ies_len, wmm_params))
wps_supplicant.h 48 int wpas_wps_scan_result_text(const u8 *ies, size_t ies_len, char *pos,
sme.c 827 wpa_hexdump(MSG_MSGDUMP, "SME: Authentication response IEs",
828 data->auth.ies, data->auth.ies_len);
836 data->auth.status_code, data->auth.ies,
856 if (data->auth.ies && data->auth.ies_len) {
860 wpa_snprintf_hex(ie_txt, buflen, data->auth.ies,
906 if (wpa_ft_process_response(wpa_s->wpa, data->auth.ies,
992 wpa_dbg(wpa_s, MSG_DEBUG, "SME: Could not parse own IEs?!");
1032 const u8 *ies, size_t ies_len)
1034 if (md == NULL || ies == NULL) {
1044 wpa_hexdump(MSG_DEBUG, "SME: FT IEs", ies, ies_len)
    [all...]
wpas_glue.c 532 const u8 *ies, size_t ies_len)
536 return sme_update_ft_ies(wpa_s, md, ies, ies_len);
537 return wpa_drv_update_ft_ies(wpa_s, md, ies, ies_len);
543 const u8 *ies, size_t ies_len)
562 * FT IEs
576 os_memcpy(pos, ies, ies_len);
p2p_supplicant.h 69 int wpas_p2p_scan_result_text(const u8 *ies, size_t ies_len, char *buf,
82 void wpas_p2p_scan_ie(struct wpa_supplicant *wpa_s, struct wpabuf *ies);
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
InformationElementUtilTest.java 256 InformationElement[] ies = new InformationElement[] { ie }; local
261 String result = InformationElementUtil.Capabilities.buildCapabilities(ies, beaconCap);
282 InformationElement[] ies = new InformationElement[] { ie }; local
287 String result = InformationElementUtil.Capabilities.buildCapabilities(ies, beaconCap);
307 InformationElement[] ies = new InformationElement[] { ie }; local
312 String result = InformationElementUtil.Capabilities.buildCapabilities(ies, beaconCap);
332 InformationElement[] ies = new InformationElement[] { ie }; local
337 String result = InformationElementUtil.Capabilities.buildCapabilities(ies, beaconCap);
356 InformationElement[] ies = new InformationElement[] { ie }; local
361 String result = InformationElementUtil.Capabilities.buildCapabilities(ies, beaconCap)
381 InformationElement[] ies = new InformationElement[] { ie }; local
    [all...]
  /external/wpa_supplicant_8/src/common/
ieee802_11_common.c 65 * IEs.
184 * @start: Pointer to the start of IEs
213 wpa_hexdump(MSG_MSGDUMP, "IEs", start, len);
370 elems->mb_ies.ies[elems->mb_ies.nof_ies].ie = pos;
371 elems->mb_ies.ies[elems->mb_ies.nof_ies].ie_len = elen;
399 int ieee802_11_ie_count(const u8 *ies, size_t ies_len)
404 if (ies == NULL)
407 pos = ies;
408 end = ies + ies_len;
421 struct wpabuf * ieee802_11_vendor_ie_concat(const u8 *ies, size_t ies_len
    [all...]
ieee802_11_common.h 20 } ies[MAX_NOF_MB_IES_SUPPORTED]; member in struct:mb_ies_info
106 int ieee802_11_ie_count(const u8 *ies, size_t ies_len);
107 struct wpabuf * ieee802_11_vendor_ie_concat(const u8 *ies, size_t ies_len,
150 const u8 * get_ie(const u8 *ies, size_t len, u8 eid);
wpa_common.c 342 int wpa_ft_parse_ies(const u8 *ies, size_t ies_len,
352 if (ies == NULL)
355 pos = ies;
356 end = ies + ies_len;
413 * Check that the protected IE count matches with IEs included in the
423 wpa_printf(MSG_DEBUG, "FT: Some required IEs not included in "
445 wpa_printf(MSG_DEBUG, "FT: %d protected IEs missing from "
1255 return 0; /* identical IEs */
    [all...]
wpa_common.h 245 * 3/4: one or two RSN IEs + GTK IE (encrypted)
412 int wpa_insert_pmkid(u8 *ies, size_t *ies_len, const u8 *pmkid);
435 int wpa_ft_parse_ies(const u8 *ies, size_t ies_len, struct wpa_ft_ies *parse);
  /external/wpa_supplicant_8/src/rsn_supp/
wpa.h 48 int (*update_ft_ies)(void *ctx, const u8 *md, const u8 *ies,
51 const u8 *ies, size_t ies_len);
351 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len);
353 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len,
358 int wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies,
366 wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len)
378 wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len,
394 wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, size_t ies_len,
404 void wpa_tdls_ap_ies(struct wpa_sm *sm, const u8 *ies, size_t len);
405 void wpa_tdls_assoc_resp_ies(struct wpa_sm *sm, const u8 *ies, size_t len)
    [all...]
wpa_i.h 235 const u8 *ies, size_t ies_len)
238 return sm->ctx->update_ft_ies(sm->ctx->ctx, md, ies, ies_len);
244 const u8 *ies, size_t ies_len)
248 ies, ies_len);
wpa_ft.c 54 * @ies: Association Response IEs or %NULL to clear FT parameters
55 * @ies_len: Length of ies buffer in octets
58 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len)
65 if (wpa_ft_parse_ies(ies, ies_len, &ft) < 0)
126 * wpa_ft_gen_req_ies - Generate FT (IEEE 802.11r) IEs for Auth/ReAssoc Request
128 * @len: Buffer for returning the length of the IEs
137 * Returns: Pointer to buffer with IEs or %NULL on failure
369 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len,
382 wpa_hexdump(MSG_DEBUG, "FT: Response IEs", ies, ies_len)
    [all...]
  /external/wpa_supplicant_8/src/p2p/
p2p_dev_disc.c 313 struct wpabuf *ies; local
317 ies = p2p_build_probe_resp_ies(p2p, NULL, 0);
318 if (ies == NULL)
325 ies) < 0) {
328 wpabuf_free(ies);
p2p.c 257 struct wpabuf *ies; local
291 ies = p2p_build_probe_resp_ies(p2p, NULL, 0);
292 if (ies == NULL)
300 ies) < 0) {
304 wpabuf_free(ies);
311 struct wpabuf *ies; local
340 ies = p2p_build_probe_resp_ies(p2p, NULL, 0);
341 if (ies == NULL)
346 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, freq, timeout, ies) < 0) {
349 wpabuf_free(ies);
2272 struct wpabuf *ies; local
    [all...]
  /external/wpa_supplicant_8/src/ap/
wpa_auth_ft.c 305 const u8 *ies, size_t ies_len,
354 sm->ft_pending_req_ies = wpabuf_alloc_copy(ies, ies_len);
506 const u8 *ies, size_t ies_len)
514 ies, ies_len);
529 if (ieee802_11_parse_elems((u8 *) ies, ies_len, &parse, 1) ==
531 wpa_printf(MSG_DEBUG, "FT: Failed to parse request IEs");
799 const u8 *ies, size_t ies_len,
819 wpa_hexdump(MSG_DEBUG, "FT: Received authentication frame IEs",
820 ies, ies_len);
822 if (wpa_ft_parse_ies(ies, ies_len, &parse) < 0)
1142 const u8 *ies; local
    [all...]
wpa_auth.h 319 u16 auth_transaction, const u8 *ies, size_t ies_len,
322 const u8 *ies, size_t ies_len),
324 u16 wpa_ft_validate_reassoc(struct wpa_state_machine *sm, const u8 *ies,
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
InformationElementUtil.java 517 * @param ies -- Information Element array
521 public static String buildCapabilities(InformationElement[] ies, BitSet beaconCap) {
526 if (ies == null || beaconCap == null) {
533 for (InformationElement ie : ies) {

Completed in 255 milliseconds

1 2