Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jun 2022 21:06:56 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: 799051e2caa8 - main - LinuxKPI: 802.11: ieee80211_start_tx_ba_session()
Message-ID:  <202206152106.25FL6uVM031934@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=799051e2caa8fff3359a3bb90e0896b71b6e25be

commit 799051e2caa8fff3359a3bb90e0896b71b6e25be
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2022-06-15 21:02:45 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2022-06-15 21:05:33 +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.
    
    MFC after:      3 days
---
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206152106.25FL6uVM031934>