freebsd-nq/contrib
Bjoern A. Zeeb bfb202c455 WPA: driver_bsd.c: backout upstream IFF_ change and add logging
This reverts the state to our old supplicant logic setting or clearing
IFF_UP if needed.  In addition this adds logging for the cases in which
we do (not) change the interface state.

Depending on testing this seems to help bringing WiFi up or not log
any needed changes (which would be the expected wpa_supplicant logic
now).  People should look out for ``(changed)`` log entries (at least
if debugging the issue; this way we will at least have data points).

There is a hypothesis still pondered that the entire IFF_UP toggling
only exploits a race in net80211 (see further discssussions for more
debugging and alternative solutions see D38508 and D38753).
That may also explain why the changes to the rc startup script [1]
only helped partially for some people to no longer see the
continuous CTRL-EVENT-SCAN-FAILED.

It is highly likely that we will want further changes and until
we know for sure that people are seeing ''(changed)'' events
this should stay local.  Should we need to upstream this we'll
likely need #ifdef __FreeBSD__ around this code.

[1] 5fcdc19a81 and
    d06d7eb091

Sponsored by:	The FreeBSD Foundation
MFC after:	10 days
Reviewed by:	cy, enweiwu (earlier)
Differential Revision: https://reviews.freebsd.org/D38807
2023-03-23 23:51:24 +00:00
..
arm-optimized-routines Import the updated Arm Optimized Routines 2022-09-06 17:20:29 +01:00
atf
bc contrib/bc: update to version 6.4.0 2023-03-10 11:33:33 +01:00
bearssl Merge commit 'd84e570b54961e8874bbd8de25635eb96be0977e' 2023-02-20 22:13:27 -08:00
bionic-x86_64-string Import bionic's x86_64 optimized string routines 2022-08-16 13:27:11 -04:00
blacklist blacklistd: diff reduction against upstream 2023-01-23 11:22:10 -05:00
bmake Merge bmake-20230208 2023-02-09 17:23:23 -08:00
bsddialog contrib/bsddialog: Import version 0.4 2022-09-25 15:09:16 +02:00
bsnmp bsnmp: Remove "All Rights Reserved" from FreeBSD Foundation copyrights 2023-03-03 08:11:39 -05:00
byacc byacc: Adjust expected test output to match our patches. 2023-02-22 20:05:02 +01:00
bzip2
capsicum-test Update capsicum-test to eab7a83b05becf64439b4b256b3d756b353fbbbb 2022-09-13 13:42:46 -04:00
com_err
cortex-strings
dialog
diff gnu diff3: apply patch to committed src, rather than at build time 2022-11-13 21:33:40 -05:00
dma dma: restore addition of newline when missing from input 2022-10-12 11:59:01 -04:00
ee
elftoolchain readelf: fix -wR option, memory leaks, and -wf minor bug 2023-03-06 12:51:23 -05:00
expat MFV: expat 2.5.0 2022-11-17 22:15:00 -08:00
file MFV: Restore the ability to process files from stdin immediately. 2022-10-27 00:12:53 -07:00
flex
gdtoa
googletest
hyperv/tools
jemalloc jemalloc: Define SWAP_RESERVE_* if not provided by the system headers 2022-09-17 01:35:35 +03:00
kyua
ldns
ldns-host
less MFV: less v608 2022-09-05 22:52:39 -07:00
lib9p lib9p: Remove potential buffer overwrite in l9p_puqids() 2022-08-08 12:50:43 -04:00
libarchive libarchive: merge from vendor branch 2022-12-13 20:21:13 +01:00
libbegemot
libc-pwcache
libc-vis
libcbor
libcxxrt Merge libcxxrt commit 5d8a15823a103bbc27f1bfdcf2b5aa008fab57dd 2022-08-08 12:50:48 -04:00
libdivsufsort
libedit libedit: update to snapshot 2023-01-06 2023-02-06 14:25:06 +01:00
libevent
libexecinfo
libfido2
libpcap libpcap: Make pcap/bpf.h a wrapper around system net/bpf.h 2023-02-16 11:37:51 -04:00
libucl
libxo Merge commit '7087c8de43b0d5d27c52da6ba2ba4957b7e336ff' into new_merge 2023-01-30 00:04:21 -05:00
llvm-project llvm: make sure to use ELFv2 ABI on powerpc64 2023-02-17 00:53:30 +01:00
lua lua: Update to 5.4.4 2023-02-08 10:33:26 -07:00
lutok
mandoc mandoc: workaround lack of macro parsing in list -width 2022-05-31 10:06:46 -05:00
mknod
mtree
ncurses
netbsd-tests netbsd-tests: Remove some pointless sleeps from message queue tests 2023-03-10 17:06:46 -05:00
netcat netcat: Allow nc to be an if_tun tunnel broker 2023-01-17 10:05:49 +00:00
ntp
nvi
ofed irdma(4): Add code for compilation on stable/13 branch 2023-02-06 14:37:39 -08:00
one-true-awk
openbsm OpenBSM: fix free() in au_read_rec error case 2022-10-24 09:49:30 -04:00
opencsd/decoder
openpam
openresolv
pam_modules/pam_passwdqc
pf
pjdfstest
pnglite
pnpinfo
processor-trace
sendmail Note upgrade to sendmail 8.17.1 2023-02-01 02:22:39 +00:00
smbfs
sqlite3 sqlite3: Vendor import of sqlite3 3.41.0 2023-02-28 05:28:07 -08:00
tcp_wrappers tcp_wrappers: Use ANSI (c89) definitions for one more function 2023-03-21 16:09:13 -04:00
tcpdump
tcsh
telnet Remove telnetd sources 2022-10-05 17:27:14 +01:00
terminus contrib/terminus: update to terminus-font-4.49.1 2022-02-02 15:42:18 +02:00
tnftp
traceroute
tzcode tzcode: Resurrect tzsetwall(3) with a deprecation warning. 2023-02-09 19:35:34 +01:00
tzdata contrib/tzdata: import tzdata 2023a 2023-03-23 09:33:45 +08:00
unbound unbound: Vendor import 1.17.1 2023-01-14 21:39:31 -08:00
unvis
vis
wireguard-tools Merge commit '93bf91b4012a28610672d2266366dfa0a663b70f' into HEAD 2022-11-04 22:46:21 -05:00
wpa WPA: driver_bsd.c: backout upstream IFF_ change and add logging 2023-03-23 23:51:24 +00:00
xz MFV: xz 5.4.2. 2023-03-19 19:30:08 -07:00