Lines Matching refs:icon_entry

270 	struct icon_entry *icon_entry;  in hs20_anqp_send_req()  local
301 icon_entry = os_zalloc(sizeof(struct icon_entry)); in hs20_anqp_send_req()
302 if (!icon_entry) in hs20_anqp_send_req()
304 os_memcpy(icon_entry->bssid, dst, ETH_ALEN); in hs20_anqp_send_req()
305 icon_entry->file_name = os_malloc(payload_len + 1); in hs20_anqp_send_req()
306 if (!icon_entry->file_name) { in hs20_anqp_send_req()
307 os_free(icon_entry); in hs20_anqp_send_req()
310 os_memcpy(icon_entry->file_name, payload, payload_len); in hs20_anqp_send_req()
311 icon_entry->file_name[payload_len] = '\0'; in hs20_anqp_send_req()
312 icon_entry->dialog_token = res; in hs20_anqp_send_req()
314 dl_list_add(&wpa_s->icon_head, &icon_entry->list); in hs20_anqp_send_req()
321 static struct icon_entry * hs20_find_icon(struct wpa_supplicant *wpa_s, in hs20_find_icon()
325 struct icon_entry *icon; in hs20_find_icon()
327 dl_list_for_each(icon, &wpa_s->icon_head, struct icon_entry, list) { in hs20_find_icon()
341 struct icon_entry *icon; in hs20_get_icon()
374 static void hs20_free_icon_entry(struct icon_entry *icon) in hs20_free_icon_entry()
390 struct icon_entry *icon, *tmp; in hs20_del_icon()
402 dl_list_for_each_safe(icon, tmp, &wpa_s->icon_head, struct icon_entry, in hs20_del_icon()
442 struct icon_entry *new_icon) in hs20_remove_duplicate_icons()
444 struct icon_entry *icon, *tmp; in hs20_remove_duplicate_icons()
446 dl_list_for_each_safe(icon, tmp, &wpa_s->icon_head, struct icon_entry, in hs20_remove_duplicate_icons()
467 struct icon_entry *icon; in hs20_process_icon_binary_file()
469 dl_list_for_each(icon, &wpa_s->icon_head, struct icon_entry, list) { in hs20_process_icon_binary_file()