mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-03 10:32:33 +01:00
rrm: include actual parent TSF value
If the scan results included a parent TSF value use it.
This commit is contained in:
parent
e92424611a
commit
aa754cbb4a
@ -270,8 +270,13 @@ static size_t build_report_for_bss(struct rrm_beacon_req_info *beacon,
|
|||||||
to += 6;
|
to += 6;
|
||||||
/* Antenna identifier unknown */
|
/* Antenna identifier unknown */
|
||||||
*to++ = 0;
|
*to++ = 0;
|
||||||
/* Parent TSF - zero */
|
/*
|
||||||
memset(to, 0, 4);
|
* 802.11 9.4.2.22.7 Beacon report
|
||||||
|
*
|
||||||
|
* "The Parent TSF field contains the lower 4 octets of the measuring
|
||||||
|
* STA’s TSF timer value"
|
||||||
|
*/
|
||||||
|
l_put_le32((uint32_t)(bss->parent_tsf & 0xffffffff), to);
|
||||||
to += 4;
|
to += 4;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user