libc/stdc_has_single_bit.c: fix gcc warning (-Wparentheses)
gcc14 is concerned that the operator precedence between - and & might
be confusing. Throw in some redundant parentheses to make it shut up.
The LLVM build was fine before this change.
Reported by: Martin Filla <freebsd at sysctl.cz>
Approved by: markj (mentor)
MFC after: 1 month
Fixes: 6296500a85c8474e3ff3fe2f8e4a9d56dd0acd64
Differential Revision: https://reviews.freebsd.org/D54057
mt76: add LINUXKPI_PARAM_PREFIX for module_param*
In order to not overwrite sysctl/tunables under compat.linuxkpi
we need to prefix the module_param* names with a per-driver/file
designator to make them (more) uniq. Add the FreeBSD specific
LINUXKPI_PARAM_PREFIX defines for that where missing in mt76.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
mt76: set appropriate CONFIG options for the module build
Always set CONFIG_ARCH_DMA_ADDR_T_64BIT as it is true for all
architectures we support. Add an option for CONFIG_NET_MEDIATEK_SOC_WED,
which we currently do not yet support.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
mt76: ieee80211_is_first_frag() operates on the seq_ctrl field not on fc.
Pass the correct field to ieee80211_is_first_frag(); otherwise the results
may vary.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
X-To-Upstream: yes
LinuxKPI: mt76: depend on CONFIG_NET_MEDIATEK_SOC_WED
If CONFIG_NET_MEDIATEK_SOC_WED is not set then be silent; if
CONFIG_NET_MEDIATEK_SOC_WED is set we will enable logic or rather te
pr_debug("TODO") calls for now.
Spsonsored by: The FreeBSD Foundation
MFC after: 3 days
mt76: util.h: extend worker name
In mt76_worker_setup() add the "name" argument to the description
for the worker thread. That way we have a chance to keep them apart.
While here, rename a variable and shorten the the (c)/SPDX section
according to new style.
MFC after: 3 days
LinuxKPI: 802.11: move ieee80211_offload_flags
Move the enum and leave a comment on the struct member for the vif
about the type.
No functional changes.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
LinuxKPI: 802.11: fill in more skeleton functions
Some of these are used by mt76 and while I was here and it only was
a handfull I figured I should just clean this all up.
There is one problem in that between 802.11az and 802.11-2024 action
frame formats have changed; I got compile errors from iwlwifi(4) given
I updated them to -2024 so we remain on older versions for the moment.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
dns/dnsmasq-devel: update to v2.92test22
| Fix failure to add client MAC address to queries in TCP mode.
| The options which cause dnsmasq to decorate a DNS query with the MAC
| address on the originating client can fail when the query is sent
| using TCP. Thanks to Bruno Ravara for spotting and
| characterising this bug.
Upstream Git changelog:
* eb60168 2025-11-28 | Fix SEGV in Dbus code. (tag: v2.92test22) [Simon Kelley]
* 57a2f57 2025-11-28 | Fix confusion in address checking code. [Simon Kelley]
* 7d5fbe7 2025-11-26 | Fix failure to add client MAC address to queries in TCP mode. [Simon Kelley]
* ded935b 2025-11-18 | Add captive-portal name support for DHCP options [Petr Menšík]
* aa9b71c 2025-11-18 | Merge translated strings. [Simon Kelley]
* e497f3f 2025-11-18 | Add Swedish translation. [Daniel Nylander]
(cherry picked from commit 83c5968d43ee3960adeda8f9e9b8379cd13c7c5c)
dns/dnsmasq-devel: update to v2.92rc1
Upstream changes since test22:
* cef7442 2025-12-01 | Log error if we try and use netlink in a child process. (tag: v2.92rc1) [Simon Kelley]
* 959dead 2025-11-30 | More fixes for DHCP ops in Dbus when DHCP not configured. [Simon Kelley]
MFH: 2025Q4
(cherry picked from commit 8c6c47f4e1d7b292df23144de0f35906f3129555)
dns/dnsmasq-devel: update to v2.92rc1
Upstream changes since test22:
* cef7442 2025-12-01 | Log error if we try and use netlink in a child process. (tag: v2.92rc1) [Simon Kelley]
* 959dead 2025-11-30 | More fixes for DHCP ops in Dbus when DHCP not configured. [Simon Kelley]
MFH: 2025Q4
databases/couchdb3: move to spidermonkey128
so we can remove spidermonkey102, couchdb3 is its last user.
Approved by: maintainer timeout (dch@, 15 days)
PR: 291086
lang/go124: Update to 1.24.11
Changes: go1.24.11 (released 2025-12-02) includes two security fixes
to the crypto/x509 package, as well as bug fixes to the
runtime. See the Go 1.24.11 milestone on our issue tracker
for details.