iwx: unbreak monitor mode support
A bunch of changes that turns it into a working mode (at least for me)
1) Call iwx_auth instead of iwx_run on -> RUN transition in monitor mode.
That's how it is intended to work because we never transition to the
AUTH state in this mode and current implementation of iwx_run just
results in endless 'firmware error' -> 'restart' loop.
2) Use ic_curchan instead of ic_bsschan while initializing NIC state;
the last one contains ANYC channel in monitor mode.
3) Do not print 'input_all returned -1' message - ieee80211_input_mimo_all
always returns -1 in monitor mode.
4) Always set IEEE80211_RADIOTAP_F_FCS in radiotap flags while in monitor mode.
While header documentation states it is controlled by IWX_MAC_FILTER_IN_CRC32
flag in practice IWX_MAC_FILTER_IN_PROMISC appends it as well - and it is
required since this is the only flag that allows to receive data and
control frames. While it alone is enough I left other flags in place for
smaller diff with other drivers.
[6 lines not shown]
ports-mgmt/portlint: Update to 2.27.0
* feat: Support {OPT}_{CMAKE|MESON} [1]
* fix: Do not warn on USE_LDCONFIG when other lib directories exist [2]
* chore: check that all dependencies are committed and have no changes
[3]
* feat: Check for __pycache__ directories [4]
* fix: Only check for committed depends when committer
* feat: Check that pkg names are valid when using comparisons [5]
PR: 298374 [1]
298555 [2]
299344 [3]
298710 [4]
298811 [5]
organization.dot: update clusteradm
I checked with zi@ and others in clusteradm.
Reviewed by: allanjude
Differential Revision: https://reviews.freebsd.org/D61816
organization.dot: update core secretary
I'm it for the time being.
Reviewed by: jrm, olivier, imp, glebius
Differential Revision: https://reviews.freebsd.org/D61815
organization.dot: update bugmeister
checked in with linimon@ about what this should say.
Reviewed by: ziaee
Differential Revision: https://reviews.freebsd.org/D61814
powerpc: fix the VSCR save and restore on little endian
VSCR was saved and restored through stvewx/lvewx at byte 12 of a
16 byte slot. Which element those instructions move at a given address
depends on the byte order, so on little-endian kernels they touched VR
bits 0-31 instead of the 96-127 where mfvscr/mtvscr keep VSCR: every
context switch and signal reset VSCR to 0, losing NJ and SAT.
Replicate the word into all four elements first so that the element
choice no longer matters.
VSCR[NJ] set with mtvscr read back as 0 after a usleep on a
little-endian kernel; it is preserved now.
Reviewed by: adrian, jhibbits
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D61525
(cherry picked from commit 27b4bb447eababd60da777065a813d2379050850)
powerpc: don't drop FPU and VMX ownership in grab_mcontext()
grab_mcontext() saved the FP and vector registers with save_fpu() and
save_vec(), which drop ownership: PCPU(fputhread) becomes NULL while
PCB_FPU stays set and the thread keeps using the unit. A later
cpu_update_pcb(), at fork(2) or thr_new(2), then skipped the save,
since save_fpu_nodrop() only saves for the thread that owns the unit,
and the child got the registers as they were at the getcontext() or
signal rather than at the fork. Use the nodrop variants.
A child forked after getcontext() saw the parent's f14 as it was at
the getcontext(); it sees the current value now.
Reviewed by: adrian, jhibbits
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D60837
(cherry picked from commit 8a79b6398f06f31947a2dada576c5f489c69d498)
powerpc64: don't reserve the red zone on the alternate signal stack
A 64-bit signal frame is 1552 bytes; rounded up and with the 512 byte
red zone added it needs 2096 bytes, more than MINSIGSTKSZ (2048), so a
handler on a minimum size alternate stack had its frame start 48 bytes
below the stack. The red zone only exists below the interrupted code's
stack pointer, so skip it only when the frame goes on that stack.
A handler on a MINSIGSTKSZ alternate stack overwrote the 48 bytes below
it; the frame stays within the stack now.
Reviewed by: jhibbits
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D61519
(cherry picked from commit 34005cb7d5caeee3f3073cbc2adc3b2841ef54d7)