Lines Matching refs:file_name
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()
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()
323 const char *file_name) in hs20_find_icon() argument
329 os_strcmp(icon->file_name, file_name) == 0 && icon->image) in hs20_find_icon()
338 const char *file_name, size_t offset, size_t size, in hs20_get_icon() argument
348 MAC2STR(bssid), file_name, (unsigned int) offset, in hs20_get_icon()
351 icon = hs20_find_icon(wpa_s, bssid, file_name); in hs20_get_icon()
379 icon->file_name ? icon->file_name : "N/A", in hs20_free_icon_entry()
381 os_free(icon->file_name); in hs20_free_icon_entry()
388 const char *file_name) in hs20_del_icon() argument
395 else if (!file_name) in hs20_del_icon()
400 MACSTR " file name %s", MAC2STR(bssid), file_name); in hs20_del_icon()
405 (!file_name || in hs20_del_icon()
406 os_strcmp(icon->file_name, file_name) == 0)) { in hs20_del_icon()
451 os_strcmp(icon->file_name, new_icon->file_name) == 0) { in hs20_remove_duplicate_icons()
479 MAC2STR(sa), icon->file_name, in hs20_process_icon_binary_file()