commit 75e014f72be0ea1b0f4f3eda20415552b9ad9796
parent 2fa3495e74082d95176285c98473b2c1ce19aebe
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date: Sat, 11 Jul 2020 03:00:43 +0200
scan: Extract WFD IE payload into struct bss
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/scan.c b/src/scan.c
@@ -1102,6 +1102,8 @@ static bool scan_parse_bss_information_elements(struct scan_bss *bss,
}
}
+ bss->wfd = ie_tlv_extract_wfd_payload(data, len, &bss->wfd_size);
+
return have_ssid;
}
diff --git a/src/scan.h b/src/scan.h
@@ -82,6 +82,8 @@ struct scan_bss {
uint8_t *rc_ie; /* Roaming consortium IE */
uint8_t hs20_version;
uint64_t parent_tsf;
+ uint8_t *wfd; /* Concatenated WFD IEs */
+ ssize_t wfd_size; /* Size of Concatenated WFD IEs */
bool mde_present : 1;
bool cc_present : 1;
bool cap_rm_neighbor_report : 1;