Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3024605imj; Mon, 11 Feb 2019 12:30:09 -0800 (PST) X-Google-Smtp-Source: AHgI3IY1asmVcSw4M8xFIp2W4XgFaI4x92Kr6on8mX7j5t2ByyqfoyNafzKxq8tTbw31/8i+UMTc X-Received: by 2002:a65:4842:: with SMTP id i2mr80745pgs.176.1549917009035; Mon, 11 Feb 2019 12:30:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549917009; cv=none; d=google.com; s=arc-20160816; b=MjVMiJzrw09Sjkw6EQaeLJdjXjJulat9MjBhtkp2Im64NiaFAM2MJdIU/sI+HgQ8GL h+lA+uaTNnM0uBh1i4AEmj34SsQ1yl9Nj4IlRhwc4caz/bYg9ncfyOID82XdOmdsWNDE ZV1cvOWJmZZSRv6PZI9ZW/ZS3FGMncnNJ81cBuqqK2qimMgqnjE0KYR9IRfIdUqmL1Vu tuNTWoKtBaDK+KFpwF5akmS7XQ/kEbGfjeqxtCwoLyzc+xPNF3Xzw7sEaIi9ygZU4A1r /iHN9jDJVMGwGokTyVdWrc2AxUkVlEa4b+EpWhcByb/ipiGrJ2+kOZyriry6GW5npzdN nwyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=YW941E54xHMMPyHwyBXaIDFOtScDQlItI/dWfjvDBGY=; b=woOjkx9Of3xLJq1cFxGP/nho9mAl4qaePOideTKGgBT+ko5Zcw6pCqV0F0MnnPwHun ZXNUP7uKv7gfnqypxYVw3y1C11coJC435ktPV2qv9Fr7jlzIjB+Zt4QsSpHe5ROQoqXs zd3pUkBT9p4iOl5uCvw/Ek4c/HuW2Y7xbH16L82ofYgedgW4LcW5BfrTXGOlN9XcQBGF Klnbbump1yrhU7/wypYQIY7shOhRLsnm8JWwXvSpDX6ZU7fkeybSlXeGhlJfqcB1cfVp r6n8Uwf4zjuNAdEtNzdk2xsfejfQ0Nd/Zt8RebcuTe3GaVB+R2DKIZOvc72d2RF78dmp MW3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QZYnOFGz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b12si4622533pgj.327.2019.02.11.12.29.53; Mon, 11 Feb 2019 12:30:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QZYnOFGz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728735AbfBKRC4 (ORCPT + 99 others); Mon, 11 Feb 2019 12:02:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:56272 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727117AbfBKRC4 (ORCPT ); Mon, 11 Feb 2019 12:02:56 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 927CE2075C; Mon, 11 Feb 2019 17:02:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549904575; bh=TUhoqrv/yifi2ZPnN6hCWuPqVhYNjU8NVuKQJ0KTuOQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QZYnOFGzTHp+DKCw2Awg/JQML9dEXWvmWeAE5WeXcZxwNkHlfDog8j0pvu/8poFdg KJxyeTbx0lYeSmY8VPm0MndrBI33eKp63OJneDC8J91mhPLn2BLs1luJFnjakCR/Pn CHXaXnHsBI8gvUmlQG581nPTWoWv8yGi70+MbdBs= Date: Mon, 11 Feb 2019 18:02:52 +0100 From: Greg Kroah-Hartman To: Koen Vandeputte Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Lorenzo Bianconi , Kalle Valo , Sasha Levin Subject: Re: [PATCH 4.20 018/352] ath9k: dynack: use authentication messages for late ack Message-ID: <20190211170252.GE21634@kroah.com> References: <20190211141846.543045703@linuxfoundation.org> <20190211141847.541071852@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 11, 2019 at 04:48:30PM +0100, Koen Vandeputte wrote: > > On 11.02.19 15:14, Greg Kroah-Hartman wrote: > > 4.20-stable review patch. If anyone has any objections, please let me know. > > > > ------------------ > > > > [ Upstream commit 3831a2a0010c72e3956020cbf1057a1701a2e469 ] > > > > In order to properly support dynack in ad-hoc mode running > > wpa_supplicant, take into account authentication frames for > > 'late ack' detection. This patch has been tested on devices > > mounted on offshore high-voltage stations connected through > > ~24Km link > > > > Reported-by: Koen Vandeputte > > Tested-by: Koen Vandeputte > > Signed-off-by: Lorenzo Bianconi > > Signed-off-by: Kalle Valo > > Signed-off-by: Sasha Levin > > --- > > drivers/net/wireless/ath/ath9k/dynack.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/drivers/net/wireless/ath/ath9k/dynack.c b/drivers/net/wireless/ath/ath9k/dynack.c > > index 7334c9b09e82..cc0dc966c512 100644 > > --- a/drivers/net/wireless/ath/ath9k/dynack.c > > +++ b/drivers/net/wireless/ath/ath9k/dynack.c > > @@ -187,7 +187,8 @@ void ath_dynack_sample_tx_ts(struct ath_hw *ah, struct sk_buff *skb, > > /* late ACK */ > > if (ts->ts_status & ATH9K_TXERR_XRETRY) { > > if (ieee80211_is_assoc_req(hdr->frame_control) || > > - ieee80211_is_assoc_resp(hdr->frame_control)) { > > + ieee80211_is_assoc_resp(hdr->frame_control) || > > + ieee80211_is_auth(hdr->frame_control)) { > > ath_dbg(common, DYNACK, "late ack\n"); > > ath9k_hw_setslottime(ah, (LATEACK_TO - 3) / 2); > > ath9k_hw_set_ack_timeout(ah, LATEACK_TO); > > Dear Greg, > > No idea if this is the proper location to report this or if I should inform > stable@vger.. , but: > > This backport alone is useless without backporting following 2 commits below > also, unless the 2 wifi devices using dynack start off at very close > distance. > > Their commits messages indicate them as improvements, but they should be > considered as fixes. > > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.0-rc6&id=0c60c490830a1a756c80f8de8d33d9c6359d4a36 > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.0-rc6&id=9d3d65a91f027b8a9af5e63752d9b78cb10eb92d > > > It's safe to add them to all stables involved (4.20, 4.19, 4.14, 4.9) Thanks, that looks reasonable, now queued up. greg k-h