diff --git a/src/scan.c b/src/scan.c index 8e50052c..e74a69c1 100644 --- a/src/scan.c +++ b/src/scan.c @@ -1072,6 +1072,12 @@ static struct scan_bss *scan_parse_attr_bss(struct l_genl_attr *attr) &bss->p2p_size); break; + case NL80211_BSS_PARENT_TSF: + if (len != sizeof(uint64_t)) + goto fail; + + bss->parent_tsf = l_get_le64(data); + break; } } diff --git a/src/scan.h b/src/scan.h index cbbbe21a..8fc2aa56 100644 --- a/src/scan.h +++ b/src/scan.h @@ -67,6 +67,7 @@ struct scan_bss { uint8_t hessid[6]; uint8_t *rc_ie; /* Roaming consortium IE */ uint8_t hs20_version; + uint64_t parent_tsf; bool mde_present : 1; bool cc_present : 1; bool cap_rm_neighbor_report : 1;