Date: Fri, 31 Jan 2025 23:53:40 GMT From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: ecb2e5f9c30a - main - LinuxKPI; 802.11 initalize ic_vht_cap.supp_mcs Message-ID: <202501312353.50VNreGc016931@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=ecb2e5f9c30a8c0ae491d07b2300e37eb599c298 commit ecb2e5f9c30a8c0ae491d07b2300e37eb599c298 Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2025-01-10 23:55:59 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2025-01-31 23:53:30 +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 MFC after: 3 days --- 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 77e23775ba19..9d601050ba69 100644 --- a/sys/compat/linuxkpi/common/src/linux_80211.c +++ b/sys/compat/linuxkpi/common/src/linux_80211.c @@ -4551,6 +4551,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?202501312353.50VNreGc016931>