* [PATCH 3/5] scan: keep track of HS20 DGAF Disable bit in scan_bss
@ 2021-11-04 17:57 James Prestwood
0 siblings, 0 replies; only message in thread
From: James Prestwood @ 2021-11-04 17:57 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 1224 bytes --]
---
src/scan.c | 4 +++-
src/scan.h | 1 +
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/scan.c b/src/scan.c
index 815cb3f2..da7d129f 100644
--- 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
index 0378ccca..2920a1d2 100644
--- 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;
};
--
2.31.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-04 17:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-04 17:57 [PATCH 3/5] scan: keep track of HS20 DGAF Disable bit in scan_bss James Prestwood
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.