Home
last modified time | relevance | path

Searched refs:subelem (Results 1 – 4 of 4) sorted by relevance

/external/wpa_supplicant_8/wpa_supplicant/
Dwifi_display.c200 int subelem; in wifi_display_subelem_set() local
208 subelem = atoi(cmd); in wifi_display_subelem_set()
209 if (subelem < 0 || subelem >= MAX_WFD_SUBELEMS) in wifi_display_subelem_set()
220 wpa_printf(MSG_DEBUG, "WFD: Clear subelement %d", subelem); in wifi_display_subelem_set()
225 wpabuf_put_u8(e, subelem); in wifi_display_subelem_set()
230 wpa_printf(MSG_DEBUG, "WFD: Set subelement %d", subelem); in wifi_display_subelem_set()
233 wpabuf_free(global->wfd_subelem[subelem]); in wifi_display_subelem_set()
234 global->wfd_subelem[subelem] = e; in wifi_display_subelem_set()
244 int subelem; in wifi_display_subelem_get() local
246 subelem = atoi(cmd); in wifi_display_subelem_get()
[all …]
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ft.c98 u8 *buf, size_t len, const u8 *subelem, in wpa_write_ftie() argument
133 if (subelem) { in wpa_write_ftie()
134 os_memcpy(pos, subelem, subelem_len); in wpa_write_ftie()
418 u8 *subelem; in wpa_ft_gtk_subelem() local
452 subelem = os_zalloc(subelem_len); in wpa_ft_gtk_subelem()
453 if (subelem == NULL) in wpa_ft_gtk_subelem()
456 subelem[0] = FTIE_SUBELEM_GTK; in wpa_ft_gtk_subelem()
457 subelem[1] = 11 + key_len + 8; in wpa_ft_gtk_subelem()
459 WPA_PUT_LE16(&subelem[2], gsm->GN & 0x03); in wpa_ft_gtk_subelem()
460 subelem[4] = gsm->GTK_len; in wpa_ft_gtk_subelem()
[all …]
Dwpa_auth_i.h242 u8 *buf, size_t len, const u8 *subelem,
/external/wpa_supplicant_8/src/p2p/
Dp2p_sd.c22 u8 subelem; in wfd_wsd_supported() local
32 subelem = *pos++; in wfd_wsd_supported()
38 if (subelem == WFD_SUBELEM_DEVICE_INFO && len >= 6) { in wfd_wsd_supported()