mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-23 06:02:37 +01:00
scan: parse configurator connectivity element
This element has no data and indicates the AP supports configuring stations via DPP while also serving current stations.
This commit is contained in:
parent
5ab1a1298f
commit
945710fae1
@ -1097,6 +1097,9 @@ static void scan_parse_vendor_specific(struct scan_bss *bss, const void *data,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (is_ie_wfa_ie(data, len, IE_WFA_OI_CONFIGURATOR_CONNECTIVITY))
|
||||||
|
bss->dpp_configurator = true;
|
||||||
|
|
||||||
if (!ie_parse_network_cost(data, len, &cost_level, &cost_flags)) {
|
if (!ie_parse_network_cost(data, len, &cost_level, &cost_flags)) {
|
||||||
bss->cost_level = cost_level;
|
bss->cost_level = cost_level;
|
||||||
bss->cost_flags = cost_flags;
|
bss->cost_flags = cost_flags;
|
||||||
|
@ -90,6 +90,7 @@ struct scan_bss {
|
|||||||
bool hs20_dgaf_disable : 1;
|
bool hs20_dgaf_disable : 1;
|
||||||
uint8_t cost_level : 3;
|
uint8_t cost_level : 3;
|
||||||
uint8_t cost_flags : 4;
|
uint8_t cost_flags : 4;
|
||||||
|
bool dpp_configurator : 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct scan_parameters {
|
struct scan_parameters {
|
||||||
|
Loading…
Reference in New Issue
Block a user