Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2025 14:52:52 GMT
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 6d2408973256 - stable/14 - LinuxKPI; 802.11 initalize ic_vht_cap.supp_mcs
Message-ID:  <202502101452.51AEqqHM028312@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=6d240897325657ca455b2b6e94107f9914f778a7

commit 6d240897325657ca455b2b6e94107f9914f778a7
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-01-10 23:55:59 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502101452.51AEqqHM028312>