mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
scan: keep track of HS20 DGAF Disable bit in scan_bss
This commit is contained in:
parent
6852cf0a3e
commit
d4e3ec52b2
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user