From nobody Wed Jun 15 21:06:56 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B5F4B831F07; Wed, 15 Jun 2022 21:06:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LNdCh4qcHz4YFd; Wed, 15 Jun 2022 21:06:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655327216; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+QWrPq7kTwe5gxDMu6qjc8c6wjdX9NI+aFBOCPsr65I=; b=Huqe0r40zs6tOlweGsjHGMloY+bmkO82WthBBtlOB0RZTu16T2i1ShQ94pgdXeqB9jg7Cl KAewptzN8C8XIsLT+06MB1yYIWKGICt2+k5oWrUP/OkgAYvNSj2EMj47hzVu+tXCjuzXzd WbSEyb5fMuiaw1IO51w8Yb4l9LqM3Ke8oaWAnq2zdbwuA2f+QvX2xT+uUK5AAnB45ovYM1 U71pr8ngarbHTreAFAh1eqyZST881zBkjf+fXwBEUfnoYpsgox7sBszOiX0rZqEcA2OQN6 XJNY2q6tmGYveCkPUvd6UKfEk7zhyWy6Aup+Sv4uSIjtQF3ORpCkdb2E88vXVQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 85C3525D2C; Wed, 15 Jun 2022 21:06:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25FL6uXW031935; Wed, 15 Jun 2022 21:06:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25FL6uVM031934; Wed, 15 Jun 2022 21:06:56 GMT (envelope-from git) Date: Wed, 15 Jun 2022 21:06:56 GMT Message-Id: <202206152106.25FL6uVM031934@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 799051e2caa8 - main - LinuxKPI: 802.11: ieee80211_start_tx_ba_session() List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 799051e2caa8fff3359a3bb90e0896b71b6e25be Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655327216; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+QWrPq7kTwe5gxDMu6qjc8c6wjdX9NI+aFBOCPsr65I=; b=XnOpEjKpMtaaaKKhjaEZ/HaCtsImx+djNbDZATq3nJO7K3645F8NdsayJsym2HfVQUAqGD 4pfjcRItGLyKTpPms7Pwv1Hbdy4e4XoXUTKTfqYwEXwT1FrLBzGCRyfmvzyc+UoHrDLaAU ijv3IePfQVL4/nLIGE+0wFeJmDOZ/MqdXWaIaEhPDWZ3a/2YOsagvICy7Tln2GZbHjC3xI pABQ3a8NVj+bt5pTbzr2za39pdERSW1JKkF4vMgthKaHI30BASVVhkfOF79yj2Yfin6bW4 OCj+XylXADaEpZxrkWfJEAuZWPGuZicSeBE252KuJv6jMi6GwOC3AhuTFs3cKw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655327216; a=rsa-sha256; cv=none; b=qJ1veQJ/ldF7TtAnwWApyTiVXlAzHWid5wTqG8slhgtMfO018jVebAW4Pca5CzjJVLSymG XozqTyvWptz8mHegZkM0OlzNrsOvIhBUBAeU4Z2WyXdPLcdOAtHS/FApyp7bh2+1kRka3p BrjNmP/oPU+MT+jOOck2mbRUnImo/suLGiHdOZyM2Zmtm6h64MwXvQNYV4W8mT0++FbNan gu4Jpkpcbra31yo61IW0K4Ng5w9AGn50+ZFQZFXzR4169FnfjwVHWIsEqjCly0P4zBvI68 UH+mVpSS665QMQirKLX7YByetpsG7BXZ4oBBlii6k5QD5DviU2yK5aqucFA/Sg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=799051e2caa8fff3359a3bb90e0896b71b6e25be commit 799051e2caa8fff3359a3bb90e0896b71b6e25be Author: Bjoern A. Zeeb AuthorDate: 2022-06-15 21:02:45 +0000 Commit: Bjoern A. Zeeb 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