eiwd

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

commit d4e3ec52b26bfcbc30ec8d30973b7bed014cfc68
parent 6852cf0a3ea862b8e0cbf47dfb5b04276dc2cef1
Author: James Prestwood <prestwoj@gmail.com>
Date:   Thu,  4 Nov 2021 10:57:56 -0700

scan: keep track of HS20 DGAF Disable bit in scan_bss

Diffstat:
Msrc/scan.c | 4+++-
Msrc/scan.h | 1+
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/scan.c b/src/scan.c @@ -1058,6 +1058,7 @@ static void scan_parse_vendor_specific(struct scan_bss *bss, const void *data, { uint16_t cost_level; uint16_t cost_flags; + bool dgaf_disable; if (!bss->wpa && is_ie_wpa_ie(data, len)) { bss->wpa = l_memdup(data - 2, len + 2); @@ -1072,9 +1073,10 @@ static void scan_parse_vendor_specific(struct scan_bss *bss, const void *data, if (is_ie_wfa_ie(data, len, IE_WFA_OI_HS20_INDICATION)) { if (ie_parse_hs20_indication_from_data(data - 2, len + 2, &bss->hs20_version, NULL, NULL, - NULL) < 0) + &dgaf_disable) < 0) return; + bss->hs20_dgaf_disable = dgaf_disable; bss->hs20_capable = true; return; } diff --git a/src/scan.h b/src/scan.h @@ -87,6 +87,7 @@ struct scan_bss { bool hs20_capable : 1; bool force_default_sae_group : 1; bool proxy_arp : 1; + bool hs20_dgaf_disable : 1; uint8_t cost_level : 3; uint8_t cost_flags : 4; };