eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit be4ab2826ff30661a262e179dcbc94b75041e13a
parent 772061a7d0db4fdceaa3fda3b4ba0f66cdb02ae8
Author: James Prestwood <prestwoj@gmail.com>
Date:   Fri, 15 Nov 2019 10:39:25 -0800

scan: parse parent TSF value in scan results

RRM can include this in measurement reports if present in scans

Diffstat:
Msrc/scan.c | 6++++++
Msrc/scan.h | 1+
2 files changed, 7 insertions(+), 0 deletions(-)

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