Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4903750ybi; Tue, 28 May 2019 04:32:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqyeglf2xet5LDCL67TmDZhA1yR2bdTeN6hGkp45tw8iBCbmyxYNwQGBskiRL2PvCWpWAOxX X-Received: by 2002:a62:d244:: with SMTP id c65mr105740829pfg.173.1559043171442; Tue, 28 May 2019 04:32:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559043171; cv=none; d=google.com; s=arc-20160816; b=l+y+vBXsTQRYP/3NpMFTWE9z1KC9QLXNYAk/ME0BTZIO0Y5fIaV4VH416A0p0hkhB6 ko2wx78NSzEEFeJ2YvOI/HSlaorL74TsGrJw70NlCX2dE/bFfdbQLnhc0jtcXM0jiAyY NZEEy5Q2KsYq8G3pF/tuyR25IqHDBkzrMLyTGGWBZWueC085iOBTOypW9kGK4nQMu90O 4LTKlPW6gTkMOUvRQO0MoKshJWDeYheivqhtDF0SgYxu4UUXSGvrSpTEmSajDEDmvLAM u/k5p3g7VEwygSD6OSWFFNYHGjNy1OILPcXsrxosLpOdj/YgbZ2E3JTHzKLvvmevfJPb M8WA== 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=2T+5FHC+Z7OGro7tJE3nEUfD59AajV9xxd0fQKVzwAE=; b=v441/5GuBHCeqHVY/aBXZzcsMbhXGg95lPkLU4joKk6+AQdtSEvD93rT1bvSvF71Fm OJ2ps3y38xtJi3pxJOq61In14UBcNTOdHKih5aDV1nT15ViinpnUedbxq01bFc3v5LTL SN1362rWBr4CbqP+Wns0GUoLI0r9l4bEX/xkviwX6LiH3wdeYcCdC3w6gCpDYkWzZUBa tVp+zIvcxFz3RZSx7AlG8eE/6jAcldKnL9/vFT98L0iIHMB9XnxoJJ3VNkW3gZIILM9a 1AYFcF4UDJ8Q434ZzY1X+guVdVbz4BeeW+Ng6dIkbriAN1/IATBCZruhrTfm110c+qgG +v1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=X2i9qTl5; dkim=pass header.i=@codeaurora.org header.s=default header.b=FQCIgX9O; 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 k66si3307584pje.9.2019.05.28.04.32.24; Tue, 28 May 2019 04:32:51 -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=X2i9qTl5; dkim=pass header.i=@codeaurora.org header.s=default header.b=FQCIgX9O; 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 S1726320AbfE1LaY (ORCPT + 99 others); Tue, 28 May 2019 07:30:24 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:45838 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726234AbfE1LaY (ORCPT ); Tue, 28 May 2019 07:30:24 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 076016077A; Tue, 28 May 2019 11:30:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1559043024; bh=QQFHc7KHGT1XlP39+/THNeGXGy/8ShnovAPHytS2qgQ=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=X2i9qTl5tSvcr0hOq975DFNXJwYiet/j+KX9g+vGU8h4q+J1hCsf3CSzTVVtrlIgB WzHvVm+5QWk+rg/rGKU2zjAkxXOYF7F7joJI0+5V2quBwbNIOIgaL2mPZOBYB0Ppq2 e1vQa0GpCR7uHQpHZWZhyqOEf9Qo0NG6Kc7oVR/g= 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 1AE1560312; Tue, 28 May 2019 11:30:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1559043023; bh=QQFHc7KHGT1XlP39+/THNeGXGy/8ShnovAPHytS2qgQ=; h=Subject:From:In-Reply-To:References:To:Cc:From; b=FQCIgX9O+L+4cy96JtwAefRUeCJCPaPzqJ2VspWzA7s8n2Dr6inhkgJUyZFTQUHTu xonJwTR19Qg//tYhjYli6A6U1FGJtJ9WwxYnd2ZRhXYJzVHkiHuRFGq0CYwjMsvwCy ZClPoafBo08NvZV/LmDRvgOEywQ4QuRXMPmbqa5k= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 1AE1560312 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 5.2 v3] rtw88: fix unassigned rssi_level in rtw_sta_info From: Kalle Valo In-Reply-To: <1557196098-1479-1-git-send-email-yhchuang@realtek.com> References: <1557196098-1479-1-git-send-email-yhchuang@realtek.com> To: Cc: User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-Id: <20190528113024.076016077A@smtp.codeaurora.org> Date: Tue, 28 May 2019 11:30:24 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org wrote: > From: Yan-Hsuan Chuang > > The new rssi_level should be stored in si, otherwise the rssi_level will > never be updated and get a wrong RA mask, which is calculated by the > rssi level > > If a wrong RA mask is chosen, the firmware will pick some *bad rates*. > The most hurtful scene will be in *noisy environment*, such as office or > public area with many APs and users. > The latency would be high and the overall throughput would be only half > or less. > > Tested in 2.4G in office area, with this patch the throughput increased > from such as "1x Mbps -> 4x Mbps". > > Signed-off-by: Yan-Hsuan Chuang Patch applied to wireless-drivers.git, thanks. a24bad74737f rtw88: fix unassigned rssi_level in rtw_sta_info -- https://patchwork.kernel.org/patch/10932181/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches