From nobody Fri Jul 01 14:57:44 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 4CCD28A39B6; Fri, 1 Jul 2022 14:57:45 +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 4LZJGJ4kYHz4dp0; Fri, 1 Jul 2022 14:57:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656687464; 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=1Fj2fMNCb/jmpMvu0vs1iXqdRcRuYdr2NvhbKnS0tng=; b=YizZpB6f8RN8Za0VprKa11l9okfieFvV93IS0lVZYJwfgLfn8/Z6NDJZj7O9kZixx40Q0l +W9/hCuFaghPkX/HSI6mw2Om/YAPvaylYxFwdE601NyrMVS5SnBHfzyppqsICgXI2KW4Op Pjlzm+k/sV6plFdQMtqCjoGqM6gSjmR0JptGY8XJPV4ybq6SaOFVxrN9ZzPQEpKGWmx6T9 N+VjGnatfsiMwed9uGkvtu5PmS7AjY8NP26Sfohog8OF8OqOhnVezNKAO+wYm87tMUJPts d+lQgdn1ViIwyj+Se2FGiBbEPjy0Q963ZMz5lk7F0RsX3YBw74WQ+/Bja00Ewg== 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 5C52A1D6A1; Fri, 1 Jul 2022 14:57:44 +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 261EviEk057895; Fri, 1 Jul 2022 14:57:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 261EviCd057894; Fri, 1 Jul 2022 14:57:44 GMT (envelope-from git) Date: Fri, 1 Jul 2022 14:57:44 GMT Message-Id: <202207011457.261EviCd057894@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: f5d0b181f4f0 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: f5d0b181f4f06e95b7011b94f5f39f40e2ba3174 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656687464; 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=1Fj2fMNCb/jmpMvu0vs1iXqdRcRuYdr2NvhbKnS0tng=; b=FRN3qm/VBDNvB5iVqToOweEfUtiRWoR8I6liqor8L6p1IrBGNccLjImnChTWOSE1Azb6YF NfkGwnP0fsmKRmqIPyW7HQ2XbPAj/8CLU5p17ySfoFbKfQzkdUPcMndLERwp1dk/CGpWtQ 3w4TyQqYwVi0xo14HBUTB1KGu/br0xh/luB3gkmGWZGYhEchhKLOEaNyQ8SxgBKD1gI03L m8aO4J6fLASKYu2ESYb0vsQ+cYC+tjQ28GmoMEBVYNPdTyFN42XYvnwweEJ+RrKyFp1YbN E//YHC4kifAQTwGkimiyHm7CZF/7OVYlVe4YyxZQqgVneVWBMh4bbDo4VbyL6A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656687464; a=rsa-sha256; cv=none; b=lKxmGcXgINCil5CmZOdfidd55d/DCrLjs/fqo/qVQA4tpOOZToju68BIFoSEizfqVnEL5N zQnlEmx6gBnwNOHyfy2t7c3wgMc2irLmXGZIZFwxLYvQDvHF4UJr9STJJT/bAhguIsZvf8 wExKYKM1W2YmEKwNEfJXaiOAKaqXnMM5gI8WYtTTLcsWpjjnFpC8lxJndE6aFZYC7CEPnj A5ROoFe3girIgBiOu92kChvZh+qcCCa9YVrw4bk3ydbdVzRRB2tETsrZeblulq9M9Pf67v +ailHvkl58MRsx5rp+pObACWaSkclCRKayUeewTEQRrFTw9VqQqevuEtOI5TXg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=f5d0b181f4f06e95b7011b94f5f39f40e2ba3174 commit f5d0b181f4f06e95b7011b94f5f39f40e2ba3174 Author: Bjoern A. Zeeb AuthorDate: 2022-06-15 21:02:45 +0000 Commit: Bjoern A. Zeeb 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