Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp900603ybp; Fri, 4 Oct 2019 06:46:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqxWpjJoJWkbU1M7WySWhwFWp+g+z1wJGt2hjVwIx3WUGfYZSJeL1dX6z/1rkccDb4zUhNYo X-Received: by 2002:a17:906:4a5a:: with SMTP id a26mr12540599ejv.154.1570196789009; Fri, 04 Oct 2019 06:46:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570196789; cv=none; d=google.com; s=arc-20160816; b=xHxJWCh5Y6QCt2yzvUkXuWs+54Yy/Dv/QV6aTmJeWxij60ugsku5u1p2QTQiC6Cl5/ xc8SO7SoQJaShyegrl3aU6eH8fJyseDbZcz0/ctaB7s1K2slIDtivU0i1NxXqWRXThBb Tydet0alhN+40sNLcmxEFRKsfzQKQ7LdNfdlptACBz9BlWXTFi6qr9Zc0uBMBNLFuTsL GOYPytzHfq2eLOf97dkErFqt0q22zY5jTZ1KdIfrFRz7xpeQHxtzS+jdPJeEnWkXbIv3 7oeFky0RnZYbOBzBYOKUqOojnaA5+m2UL8tFD3uDV9BMndHnzFmgZHKg7qHMzZedg2QW kIGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:user-agent:cc:to :references:in-reply-to:from:subject:content-transfer-encoding :mime-version:dmarc-filter:dkim-signature:dkim-signature; bh=vaWUK9mejHaq/6b4cInlYL8ON2l7ciMoYocHqATfLEE=; b=SffX3lhbfM2DJfwkg81ycwoHpplcJnZ88ZLfRu6DCMG4XTi9opGwLFqcr6ouf2ey2R 0EBnv4CfF7PRpct8dP7IsE1+esU5lwMCrGd4FAROKjEHTjAAYR15tdiK2vMiMvv4/DNb SiKgLJJtvr472+eXGwduyRRlYW/tJnlMixLePUJk8hxOI3yxNu7MdlFJQ77Vj1kj32I5 I+8FLvnplVkEl7HL4PhP+iSbvF5pYhd8Rad5n0d+2uB1M2VUoWIYbcfqiZ5t7UiYTm7t UI01xO3D4kBfZ7DehVWPQKyLRlVCritfhpjO8dSJTXOphC9x05L30a9ZDnVXtwRoKa+y DtWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=k0yKs3yX; dkim=pass header.i=@codeaurora.org header.s=default header.b=Lw6xUodu; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-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 f47si3658014ede.263.2019.10.04.06.46.03; Fri, 04 Oct 2019 06:46:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-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=@codeaurora.org header.s=default header.b=k0yKs3yX; dkim=pass header.i=@codeaurora.org header.s=default header.b=Lw6xUodu; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388529AbfJDNpl (ORCPT + 99 others); Fri, 4 Oct 2019 09:45:41 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:50132 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388333AbfJDNpl (ORCPT ); Fri, 4 Oct 2019 09:45:41 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 5303761A41; Fri, 4 Oct 2019 13:45:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1570196740; bh=jjtSBgHBMuL6Z65eU5Sa2jOPwDNDnj8Bxh1IJnw7s2s=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=k0yKs3yXIsU/2qFZFC2k9+gsZPdSWhCyNQBjAr3cQzM6WygYHRvQLKN4ntZR5pMAW OY5BbWY5mcmAmGOcGJs8Lj4CBT1ZESC4xn71KdsU59O+85mU3E56k2sKU/BKpbPpYf 1qXKCNvzhiAr5IVRGlHsyiT8n3nGUQ6kTxoSvNro= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MISSING_DATE,MISSING_MID,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id E0D8E613A8; Fri, 4 Oct 2019 13:45:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1570196739; bh=jjtSBgHBMuL6Z65eU5Sa2jOPwDNDnj8Bxh1IJnw7s2s=; h=Subject:From:In-Reply-To:References:To:Cc:From; b=Lw6xUoduYqJ6nXfjGkyfNa65tOMQuQoS+oBjfMS9SVa/oK3GCaRIj+9DgHbkIZ2WT 5RZgGcA1lnqRKCNUNdFr+eblcaVdf6xRYO7c89JnUGk5H2gE69NBRt3/FaeGh60CGS u5C/wGLlfzFpdZOFr40MkIfJhofdhzjScVaDw5ps= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E0D8E613A8 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH 01/14] rtw88: check firmware leave lps successfully From: Kalle Valo In-Reply-To: <20191002063531.18135-2-yhchuang@realtek.com> References: <20191002063531.18135-2-yhchuang@realtek.com> To: Cc: , User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-Id: <20191004134540.5303761A41@smtp.codeaurora.org> Date: Fri, 4 Oct 2019 13:45:40 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org wrote: > From: Chin-Yen Lee > > Driver needs to wait for firmware to restore hardware setting > to active mode after leaving lps. > > After getting H2C from driver for leaving lps, firmware will > issue null packet without PS bit to inform AP driver is active, > and then restore REG_TCR Register if AP has receiced null packet. > > But the transmission of null packet may cost much more time > in noisy environment. If driver does not wait for firmware, > null packet with PS bit could be sent due to incorrect REG_TCR setting. > And AP will be confused. > > In our test, 100ms is enough for firmware to send null packet > to AP. If REG_TCR Register is still wrong after 100ms, we will > modify it directly, force the PS bit to be cleared > > Signed-off-by: Chin-Yen Lee > Signed-off-by: Yan-Hsuan Chuang 14 patches applied to wireless-drivers-next.git, thanks. 3a2dd6b7cadf rtw88: check firmware leave lps successfully 942e2a5d39a9 rtw88: allows to set RTS in TX descriptor 3745d3e550d1 rtw88: add driver TX queue support 46ebb1743f33 rtw88: take over rate control from mac80211 699c7730cf23 rtw88: report tx rate to mac80211 stack 127eef1d46f8 rtw88: add TX-AMSDU support 1131ad7fe575 rtw88: flush hardware tx queues c3594559f49c rtw88: fix beaconing mode rsvd_page memory violation issue 0649ff58a0f6 rtw88: Don't set RX_FLAG_DECRYPTED if packet has no encryption bf06c7ec4508 rtw88: configure TX queue EDCA parameters bc3696e0a436 rtw88: raise firmware version debug level cc20a7139836 rtw88: use struct rtw_fw_hdr to access firmware header 4f5bb7ff8b8d rtw88: fix NSS of hw_cap f4268729eb1e rtw88: fix error handling when setup efuse info -- https://patchwork.kernel.org/patch/11170463/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches