3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 17:59:25 +01:00

scan: Extract WFD IE payload into struct bss

This commit is contained in:
Andrew Zaborowski 2020-07-11 03:00:43 +02:00 committed by Denis Kenzior
parent 2fa3495e74
commit 75e014f72b
2 changed files with 4 additions and 0 deletions

View File

@ -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; return have_ssid;
} }

View File

@ -82,6 +82,8 @@ struct scan_bss {
uint8_t *rc_ie; /* Roaming consortium IE */ uint8_t *rc_ie; /* Roaming consortium IE */
uint8_t hs20_version; uint8_t hs20_version;
uint64_t parent_tsf; uint64_t parent_tsf;
uint8_t *wfd; /* Concatenated WFD IEs */
ssize_t wfd_size; /* Size of Concatenated WFD IEs */
bool mde_present : 1; bool mde_present : 1;
bool cc_present : 1; bool cc_present : 1;
bool cap_rm_neighbor_report : 1; bool cap_rm_neighbor_report : 1;