From nobody Mon Feb 10 14:52:52 2025 X-Original-To: dev-commits-src-all@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 4Ys6y032vyz5mH7Z; Mon, 10 Feb 2025 14:52:56 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ys6xx1ML1z4Lkh; Mon, 10 Feb 2025 14:52:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739199173; 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=Sma8j3AAP0jL2lfiT7PEZj/O4tavN1d1nY2FC+g/0B4=; b=xmZQFjeiSxOAaXgj8G08wI64uN0AlYfDc2nLSyMRmw/UQEcCqr9+kyRQyhphGIBZcOk/UR 9LRhSsVaKy9JxseBH9GWJlAMKmYQOXCPDFAzsWFT2vZ4Q0UcjtB1jiayWRH9Bgzmk03cZw uqPXR4SGYXAbstOI/g2TkrDG7wHmIN3FIkKg8pBfXLU1dZrGck0khTkiWjO2tbGWgnAerQ lU5MKLWWs/qUlfY/o6W99xx6dENy4QqI3JEZnAbe7bIg7fOL85N6NxIlb9gHoBBiR/jPc0 2oa28fHzTQaUDTlrnocmzluYIrnPU+8DPnUY24dplFxeWueEdXwlnkQGWLDs6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739199173; 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=Sma8j3AAP0jL2lfiT7PEZj/O4tavN1d1nY2FC+g/0B4=; b=TmC6bUgvPTcQ/S8i3ia9H678E44baFSarzPVOvPIIfPaVsITcIGjLvJzrG9MwjJRn0RUYO pOKmIE3tsyWKgOHdf2v3tZrPsLvt/m+q4ry5JNNfeotjNYVDtQHNE1Mp8ROv1xI4ciBPl6 p/W/STPQK+N9Mz7aIsH/dDwMCVRlVu2pEdzYSXbiD5Z09X3ty3LkV74C/zSaxxv0smaAwW PHnFFzPwzYsGMcCS/I4KknrW0lJryvJY070F5hopK1Zc1mhuQu3urnLCCflLR3qKxwFsnX c/yMvQLPX/cGymvq8j+yEyjdu5gzKPZr5W6MkF91LbTC2uN9hZfxqR3SSoD99Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739199173; a=rsa-sha256; cv=none; b=fI6KSGFbwWjHLr2TJrwZYk7Oz5yYZoARN0Uhw9Euo1eGYVpfKA/4ckUEs4N5eVFJsg2RYb hnw9OSTHdIleIpnHzW7NgE5BFVaKixA3TN8ry3kOU5C3k5aJz5RicxMgEPv6SaYQocoeGh gFKyPij1+ImxE28SkibXx/pB7ySuFYYPLJJDe4NuSgheZqV1QEb4ohNAseBywr1vTM5un5 eOz4bZdHk969wx+strVtyWxOsFmX05VjKz6cTpFNGnFFPp2mD7u2+qaUnDxAGXQserY9nJ iZqWb9UriDzLPXUn7rTUUgvCiv60gIQGNY2Bw1tPKOz9QRyTa3545ocbU0f4SA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Ys6xx0WGVzXJn; Mon, 10 Feb 2025 14:52:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 51AEqqsn028315; Mon, 10 Feb 2025 14:52:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 51AEqqHM028312; Mon, 10 Feb 2025 14:52:52 GMT (envelope-from git) Date: Mon, 10 Feb 2025 14:52:52 GMT Message-Id: <202502101452.51AEqqHM028312@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 6d2408973256 - stable/14 - LinuxKPI; 802.11 initalize ic_vht_cap.supp_mcs List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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: 6d240897325657ca455b2b6e94107f9914f778a7 Auto-Submitted: auto-generated The branch stable/14 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=6d240897325657ca455b2b6e94107f9914f778a7 commit 6d240897325657ca455b2b6e94107f9914f778a7 Author: Bjoern A. Zeeb AuthorDate: 2025-01-10 23:55:59 +0000 Commit: Bjoern A. Zeeb CommitDate: 2025-02-10 14:52:10 +0000 LinuxKPI; 802.11 initalize ic_vht_cap.supp_mcs Given the channel struct has an extra bool we cannot assign the information 1:1 to net80211. While the caps where assigned the suppoerted mcs sets were not. Fix that. Sponsored by: The FreeBSD Foundation (cherry picked from commit ecb2e5f9c30a8c0ae491d07b2300e37eb599c298) --- sys/compat/linuxkpi/common/src/linux_80211.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/compat/linuxkpi/common/src/linux_80211.c b/sys/compat/linuxkpi/common/src/linux_80211.c index 2741f52aca9c..d0dde529c7a8 100644 --- a/sys/compat/linuxkpi/common/src/linux_80211.c +++ b/sys/compat/linuxkpi/common/src/linux_80211.c @@ -4552,6 +4552,8 @@ lkpi_ic_getradiocaps(struct ieee80211com *ic, int maxchan, ic->ic_flags_ext |= IEEE80211_FEXT_VHT; ic->ic_vht_cap.vht_cap_info = hw->wiphy->bands[NL80211_BAND_5GHZ]->vht_cap.cap; + ic->ic_vht_cap.supp_mcs = + hw->wiphy->bands[NL80211_BAND_5GHZ]->vht_cap.vht_mcs; setbit(bands, IEEE80211_MODE_VHT_5GHZ); chan_flags |= NET80211_CBW_FLAG_VHT80;