Date: Mon, 27 Jul 2026 00:10:42 +0000 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: 912251ac6b18 - stable/15 - LinuxKPI: 802.11: stop ieee80211_start_tx_ba_session() if no HT supported Message-ID: <6a66a202.26fa2.71560175@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=912251ac6b186aa2716ddd51bde9a0e1f6b3c2e3 commit 912251ac6b186aa2716ddd51bde9a0e1f6b3c2e3 Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2026-07-17 20:59:08 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2026-07-26 16:48:33 +0000 LinuxKPI: 802.11: stop ieee80211_start_tx_ba_session() if no HT supported rtw89(4) would constantly try to start a TX BlockACK session even if no HT or higher was available. The only way to stop this (currently) is to return -EINVAL instead of any other error. Note: we should investigate if/when to call (*set_tid_config)() as that will also offer the ability to forbid BA. Sponsored by: The FreeBSD Foundation Reported by: arved, bnovkov Tested by: bnovkov (cherry picked from commit 8a1600428e937a41b65869c78ce847f7cabbad24) --- sys/compat/linuxkpi/common/src/linux_80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/compat/linuxkpi/common/src/linux_80211.c b/sys/compat/linuxkpi/common/src/linux_80211.c index e550e85a5ab9..df6d7c3158b3 100644 --- a/sys/compat/linuxkpi/common/src/linux_80211.c +++ b/sys/compat/linuxkpi/common/src/linux_80211.c @@ -6844,7 +6844,7 @@ linuxkpi_ieee80211_start_tx_ba_session(struct ieee80211_sta *sta, uint8_t tid, !sta->deflink.eht_cap.has_eht) { net80211_vap_printf(lsta->ni->ni_vap, "%s: HT or later not " "supported\n", __func__); - return (-ENOTSUPP); + return (-EINVAL); } #ifdef __notyet__home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a66a202.26fa2.71560175>
