From nobody Fri Jan 16 19:40:28 2026 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dt9Ds1NqPz6NlGC for ; Fri, 16 Jan 2026 19:40:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dt9Dr6R7Wz3wV0 for ; Fri, 16 Jan 2026 19:40:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768592428; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qHPbtYpMQtGIDEpbrcEqNfee9/dYAgL8Bb4JT2ZuVT4=; b=iYkiKT4S7UZME+VPW+HUVh/i5U5BcZ3xKWMB+9D3C+Wf6hgHn8fxguslg7bWQtUFAwSU+W G/ZbIXjRGjIpA3Sh5In+OgKKJBlqiYFCDMOBkqVLuiI97LYIna0LfeK5piO1y26ITAj2fW YNummeiqs2IcI9StE0lcMiNDndnQ4MyB4md2BuzeDv+seoN7x9WWaDK9wFpTCpyBedM2l6 PYQR3oEh6cURuxPyKe4NodpvTJyx7P+6M1lSAZpbQlx9//ZzRz2KmS0C+uOFuCWLbOAnWI WNFSGrTM8UOWuEPlkayVM1PoIfITOPp+43rlcAuoQzSKTgxIuNmKlNB+57Y9JQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768592428; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qHPbtYpMQtGIDEpbrcEqNfee9/dYAgL8Bb4JT2ZuVT4=; b=jCPian+tBSPLLh7MvNxIZ21DraVrWQCE1vBpsNLp2pXr4dZK2Z3Mxj5IGgd61fyluQaAk8 4G23e4/HKWKIQHIc9HPGODuHWhjZa0L45HG5Cj3p8DqM3PBHrOoVcCnxzU+9IcDNz3iDMP 4NSWW9ZQdyhA9VMsaoUdBAUX3zYkDTAJt9nNFxyIm6O8a8bSz6AbqwJpxJeGEGdH2NHoLn d4OtRAUcORg4/mU8E77/5cYeAxBxpMsK9lMK9/My+NAVWUPy5VULawiQvyx49odtYT4Vc0 isJ05PP/NyZucYK1+1aABdGcHqiE7zFPlwY/0VvmvRz29SnRTMGeSgSL5TN0RA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1768592428; a=rsa-sha256; cv=none; b=SpDvVdDplpYcq/ITECQbrEUw6pyEvP4sunnr1c/Fyc+XWgYOaajYNm1CJI3XhvaVZI8EwR DfEtIzXx4fvTR9Fdqh5iJPi+AGiqGDCdDFBLotNlHDOLr54l/H5q5ZMOm4Qfvv8X+Pl9Bx BY3QNt6rhGD/Wf7lr6dJPuu86qvCCK7QlRsLsj2V3+Kp7Ldf63vvDjIBujG/SS33ugpprf oMgJAqn8iViW0og/+DQX3pYmE4inBukzVCnFbXaeZ8o7LpgT8lNsFP4TkHSIVjoWq7f34z 18bGPhSVHpLfm44QWn8MNzahbFltTMoDu/vHaYm9glzeOYwqwLUbchV6kH5koA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dt9Dr5stnzC6W for ; Fri, 16 Jan 2026 19:40:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id dbcf by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 16 Jan 2026 19:40:28 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Bjoern A. Zeeb Subject: git: d784cfcd5c44 - stable/14 - LinuxKPI: 802.11: announce netdev features under boot -v List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: d784cfcd5c44ad0dc1a92ce5a42421ff06688089 Auto-Submitted: auto-generated Date: Fri, 16 Jan 2026 19:40:28 +0000 Message-Id: <696a942c.dbcf.1a25db36@gitrepo.freebsd.org> The branch stable/14 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=d784cfcd5c44ad0dc1a92ce5a42421ff06688089 commit d784cfcd5c44ad0dc1a92ce5a42421ff06688089 Author: Bjoern A. Zeeb AuthorDate: 2025-05-10 01:44:52 +0000 Commit: Bjoern A. Zeeb CommitDate: 2026-01-16 19:37:42 +0000 LinuxKPI: 802.11: announce netdev features under boot -v Under bootverbose print the announced netdev features during ifattach. Helps us to debug problems amongst drivers if needed. Leave a comment where to add checksum offlooading setting on the ifp if we get there (this would be based on netdev features). Sponsored by: The FreeBSD Foundation MFC after: 3 days (cherry picked from commit 8c1fdcf8c4026290d122f573e1207188ac029bac) --- sys/compat/linuxkpi/common/src/linux_80211.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sys/compat/linuxkpi/common/src/linux_80211.c b/sys/compat/linuxkpi/common/src/linux_80211.c index 783e54070538..464650c4fd3b 100644 --- a/sys/compat/linuxkpi/common/src/linux_80211.c +++ b/sys/compat/linuxkpi/common/src/linux_80211.c @@ -3877,10 +3877,12 @@ lkpi_ic_vap_create(struct ieee80211com *ic, const char name[IFNAMSIZ], /* Force MC init. */ lkpi_update_mcast_filter(ic, true); - IMPROVE(); - ieee80211_vap_setup(ic, vap, name, unit, opmode, flags, bssid); + /* Now we have a valid vap->iv_ifp. Any checksum offloading goes below. */ + + IMPROVE(); + /* Override with LinuxKPI method so we can drive mac80211/cfg80211. */ lvif->iv_newstate = vap->iv_newstate; vap->iv_newstate = lkpi_iv_newstate; @@ -6364,8 +6366,10 @@ linuxkpi_ieee80211_ifattach(struct ieee80211_hw *hw) hw->wiphy->max_scan_ie_len -= lhw->scan_ie_len; } - if (bootverbose) + if (bootverbose) { + ic_printf(ic, "netdev_features %b\n", hw->netdev_features, NETIF_F_BITS); ieee80211_announce(ic); + } return (0); err: