LinuxKPI: netdevice: add structs net_device_path, net_device_path_ctx
mt76(4) is using this along with a mac80211.h functiontion pointer to
resolve a path in an offload case.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
LinuxKPi: 802.11: add more defines
Add more defines and a mac80211 op function pointer used by
mt76(4) at Linux v6.19-rc6.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
LinuxKPI: skbuff: implement skb_queue_splice()
Add skb_queue_splice() and use it in skb_queue_splice_init() which
already had that functionality (plus the init bit).
The new function is used by rtw89(4).
Sponosred by: The FreeBSD Foundation
MFC after: 3 days
LinuxKPI: 802.11: add new field to struct cfg80211_bitrate_mask
rtw89(4) accesses eht_mcs[].
Add the field to struct cfg80211_bitrate_mask.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
LinuxKPI: 802.11: rename enum ieee80211_tx_rate_flags and move file
What we used to call enum ieee80211_tx_rate_flags is now used as
enum mac80211_rate_control_flags for the ieee80211_tx_rate.flags
in rtw89(4). Rename the enum and move it to mac80211 as it seems
to belong there.
Sponsonred by: The FreeBSD Foundation
MFC after: 3 days
LinuxKPI: 802.11: Management MIC element can have 8 or 16 octets MIC
Management MIC element (MME) can have 8 or 16 octets MIC. Add a second
structure used by at least iwlwifi and update reference to latest
standard version.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
graphics/drm-515-kmod: re-add check for __FreeBSD_version < 1400081
Build breakages on FreeBSD 13 started to show up without any
other changes to the sources. Turns out when the port was disabled
for FreeBSD 16 and newer, the check for FreeBSD pre-1400081 was removed.
Re-add that check to avoid constant build failure reports.
Fixes: eef56dc01bd7
Reviewed by: manu, jrm
Differential Revision: https://reviews.freebsd.org/D54813
(cherry picked from commit c6170b7ca8837b44858fce98ed6f9db5cd697e0e)
biology/vsearch: Update to 2.30.4
Fix incorrect scores reported for some non-chimeric sequences
during chimera detection.
Changes: https://github.com/torognes/vsearch/releases
Reported by: portscout
graphics/drm-515-kmod: re-add check for __FreeBSD_version < 1400081
Build breakages on FreeBSD 13 started to show up without any
other changes to the sources. Turns out when the port was disabled
for FreeBSD 16 and newer, the check for FreeBSD pre-1400081 was removed.
Re-add that check to avoid constant build failure reports.
Fixes: eef56dc01bd7
Reviewed by: manu, jrm
Differential Revision: https://reviews.freebsd.org/D54813
socket.2: Cross-reference protocol families
While here, make wider use of Dv for socket types and protocol families
and reference fcntl(2) flags for the `type` argument values.
MFC after: 3 days
Reviewed by: glebius, ziaee
Differential Revision: https://reviews.freebsd.org/D54434
rpctls_impl.c: Use a direct cast to uintptr_t instead of __DECONST
This fixes the build on CHERI architectures where the compiler warns
about a direct cast between uint64_t and const void * inside of
__DECONST. However, GCC would also complain about this on 32-bit
kernels due to uint64_t not being the same size as a pointer. Also,
a direct cast to uintptr_t to right-size the cookie value is more
direct than using __DECONST given that there is no "const" pointer
involved in the expression.
Reviewed by: brooks, glebius
Obtained from: CheriBSD
Sponsored by: AFRL, DARPA
Differential Revision: https://reviews.freebsd.org/D54797
sound: Replace MIN() with min()
We use min() in most places.
No functional change intended.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
(cherry picked from commit eccd366b0a8ba7d902fcf0b1bec447926a75c36c)