aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2026-07-17 20:59:08 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2026-07-17 21:05:28 +0000
commit8a1600428e937a41b65869c78ce847f7cabbad24 (patch)
treee20c2c52fc9bc7ba19c385e63d2d8137225dbe2b
parent1403ca10189c47ad1de3915eeb030deddc114685 (diff)
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
-rw-r--r--sys/compat/linuxkpi/common/src/linux_80211.c2
1 files changed, 1 insertions, 1 deletions
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__