[Bug 277356] iwlwifi(4): unable to associate to AP if set `ether random` (LinuxKPI 802.11 compat code problem?)
Date: Fri, 14 Jun 2024 20:17:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277356 Bjoern A. Zeeb <bz@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|wireless@FreeBSD.org |bz@FreeBSD.org Status|Open |In Progress Summary|iwlwifi(4): unable to |iwlwifi(4): unable to |associate to AP if set |associate to AP if set |`ether random` |`ether random` (LinuxKPI | |802.11 compat code | |problem?) --- Comment #4 from Bjoern A. Zeeb <bz@FreeBSD.org> --- And as a note to myself: We do memcpy(vif->addr, mac, IEEE80211_ADDR_LEN); in vap_create() but we likely do not synch it again afterwards. So that could be the problem. We likely should re-synch all that state (or what is needed) when coming out of INIT before going into SCAN (as scan also may depend on that addr). We should also go and see if we can implement the equivalent of NL80211_SCAN_FLAG_RANDOM_ADDR which most LinuxKPI based drivers would honor. -- You are receiving this mail because: You are the assignee for the bug.