git: f5d0b181f4f0 - stable/13 - LinuxKPI: 802.11: ieee80211_start_tx_ba_session()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Jul 2022 14:57:44 UTC
The branch stable/13 has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=f5d0b181f4f06e95b7011b94f5f39f40e2ba3174
commit f5d0b181f4f06e95b7011b94f5f39f40e2ba3174
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2022-06-15 21:02:45 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2022-07-01 13:49:11 +0000
LinuxKPI: 802.11: ieee80211_start_tx_ba_session()
For as long as we do not implement the compat code for tx aggregation
return -EINVAL in ieee80211_start_tx_ba_session() as both rtw88 and
rtw89 check for this value and only then disable further attempts.
(cherry picked from commit 799051e2caa8fff3359a3bb90e0896b71b6e25be)
---
sys/compat/linuxkpi/common/include/net/mac80211.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/compat/linuxkpi/common/include/net/mac80211.h b/sys/compat/linuxkpi/common/include/net/mac80211.h
index dcdad44665a3..b5ee9467591d 100644
--- a/sys/compat/linuxkpi/common/include/net/mac80211.h
+++ b/sys/compat/linuxkpi/common/include/net/mac80211.h
@@ -1914,7 +1914,7 @@ static __inline int
ieee80211_start_tx_ba_session(struct ieee80211_sta *sta, uint8_t tid, int x)
{
TODO();
- return (ENXIO);
+ return (-EINVAL);
}
static __inline void