mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-26 09:32:34 +01:00
scan: keep track of OWE Transition element
This commit is contained in:
parent
df6221bcb2
commit
a94c0ed29e
@ -936,6 +936,13 @@ static void scan_parse_vendor_specific(struct scan_bss *bss, const void *data,
|
||||
return;
|
||||
}
|
||||
|
||||
if (is_ie_wfa_ie(data, len, IE_WFA_OI_OWE_TRANSITION)) {
|
||||
ie_parse_owe_transition(data - 2, len + 2, bss->owe_trans_bssid,
|
||||
bss->owe_trans_ssid,
|
||||
&bss->owe_trans_ssid_len);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!ie_parse_network_cost(data, len, &cost_level, &cost_flags)) {
|
||||
bss->cost_level = cost_level;
|
||||
bss->cost_flags = cost_flags;
|
||||
|
@ -76,6 +76,9 @@ struct scan_bss {
|
||||
uint64_t parent_tsf;
|
||||
uint8_t *wfd; /* Concatenated WFD IEs */
|
||||
ssize_t wfd_size; /* Size of Concatenated WFD IEs */
|
||||
uint8_t owe_trans_ssid[32];
|
||||
size_t owe_trans_ssid_len;
|
||||
uint8_t owe_trans_bssid[6];
|
||||
bool mde_present : 1;
|
||||
bool cc_present : 1;
|
||||
bool cap_rm_neighbor_report : 1;
|
||||
|
Loading…
Reference in New Issue
Block a user