mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-17 17:43:06 -05:00
Save RM enabled capability of station with AP SME
Save RM enabled capability element of an associating station when hostapd use the device AP SME similarly to how this information is saved with SME-on-hostapd cases. This allows radio measurement operations (e.g., REQ_BEACON) to be used. Signed-off-by: Ouden <Ouden.Biz@gmail.com>
This commit is contained in:
parent
e9ac44fcbc
commit
fae7e64aa3
@ -623,6 +623,11 @@ skip_wpa_check:
|
||||
pfs_fail:
|
||||
#endif /* CONFIG_DPP2 */
|
||||
|
||||
if (elems.rrm_enabled &&
|
||||
elems.rrm_enabled_len >= sizeof(sta->rrm_enabled_capa))
|
||||
os_memcpy(sta->rrm_enabled_capa, elems.rrm_enabled,
|
||||
sizeof(sta->rrm_enabled_capa));
|
||||
|
||||
#if defined(CONFIG_IEEE80211R_AP) || defined(CONFIG_FILS) || defined(CONFIG_OWE)
|
||||
hostapd_sta_assoc(hapd, addr, reassoc, status, buf, p - buf);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user