The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=8a1600428e937a41b65869c78ce847f7cabbad24
commit 8a1600428e937a41b65869c78ce847f7cabbad24 Author: Bjoern A. Zeeb <[email protected]> AuthorDate: 2026-07-17 20:59:08 +0000 Commit: Bjoern A. Zeeb <[email protected]> CommitDate: 2026-07-17 21:05:28 +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 MFC after: 3 days --- 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 ffce2fe48e10..355d0c160472 100644 --- a/sys/compat/linuxkpi/common/src/linux_80211.c +++ b/sys/compat/linuxkpi/common/src/linux_80211.c @@ -6850,7 +6850,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__
