3
0
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:
James Prestwood 2019-11-15 10:39:25 -08:00 committed by Denis Kenzior
parent 772061a7d0
commit be4ab2826f
2 changed files with 7 additions and 0 deletions

View File

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

View File

@ -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;