mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
scan: parse parent TSF value in scan results
RRM can include this in measurement reports if present in scans
This commit is contained in:
parent
772061a7d0
commit
be4ab2826f
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user