Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2222416yba; Mon, 6 May 2019 01:54:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqxgx40ACmLqQje1OrSIVSHtzddpF5ouZ/+N2AjVxI2DbhtJPH32GCahHndGUWm2mocTOiI8 X-Received: by 2002:a63:dc50:: with SMTP id f16mr30673307pgj.396.1557132883808; Mon, 06 May 2019 01:54:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557132883; cv=none; d=google.com; s=arc-20160816; b=qef6sK4bjywkFfyhvQKDuvGi86Fzz6aNS5Mh9yxhwdiDcZEcB88xm8onUcnUttPn1Z /R5ePe0jf+j5HOZtCmMBVUmIFJGMSQ2KOLvRzRxmcCIeEP1nog9VK797F2tPs55hv07R eqKDK1m+/2hoB9V17nvj/cPF20a0FkyOkNRT/14LrUEFXVWVGIKNhYkM9ZcjGkchdCGf 5edHdasZVU285i+RBcffjuQZunwaDdxkDSmeUAFQr+257VS9MPe80YCXmGXDJHclBfFy tFkLRhS4xTGmEV0kOoUYGJvkn2NT0x99jqphaDAVYA0hPhaKRMGsbys4+ZneyIsNMTE8 zUhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=YJVgyeiL/Z89/bNDVo+IKcOpkU8VzqgnhmN1nPIQXoI=; b=L9S72dVzgJWZ2vn9rQH3B84tN+OWH0ElNKaIPU1Yp9HiD6oGjwTd1Wxb4NT8xcKGwM 7rDk2DveP5p0RwQOrD7m9I+vrkfcG28BXqZ1ALsj6BgVf+Pp2pzjmlbjboIlUwNr11Ta lfTGf959ixvGLXVV5CWB/PErXc7KM0QrOvz0Lo/XRko0QpMqFi+F743h70EwEDxIJgtn y8kLrJD/BaYDwL1cFTMdlxPpu8z/TVMczJcmchqV2E068+b1Rul2cDl6Q8HTLMURIS/w p08O7P3AIkYFg3dIh5RpLsvfDD/LBtEZC1pNI4XIYits6acxx0rAS3BZEF7EyA3lxt/c a5PQ== ARC-Authentication-Results: i=1; mx.google.com; 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 44si14587285plc.134.2019.05.06.01.54.28; Mon, 06 May 2019 01:54:43 -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; 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 S1725883AbfEFIyU convert rfc822-to-8bit (ORCPT + 99 others); Mon, 6 May 2019 04:54:20 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:33553 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725855AbfEFIyU (ORCPT ); Mon, 6 May 2019 04:54:20 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID x468sFNW015495, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtitcasv02.realtek.com.tw[172.21.6.19]) by rtits2.realtek.com.tw (8.15.2/2.57/5.78) with ESMTPS id x468sFNW015495 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 6 May 2019 16:54:15 +0800 Received: from RTITMBSVM04.realtek.com.tw ([fe80::e404:880:2ef1:1aa1]) by RTITCASV02.realtek.com.tw ([::1]) with mapi id 14.03.0439.000; Mon, 6 May 2019 16:54:15 +0800 From: Tony Chuang To: Kalle Valo CC: "linux-wireless@vger.kernel.org" Subject: RE: [PATCH v2 4/5] rtw88: fix unassigned rssi_level in rtw_sta_info Thread-Topic: [PATCH v2 4/5] rtw88: fix unassigned rssi_level in rtw_sta_info Thread-Index: AQHVA+iBo/F2XY+WoE6Fo27GU6PknqZdyWDQ Date: Mon, 6 May 2019 08:54:14 +0000 Message-ID: References: <1556884415-23474-1-git-send-email-yhchuang@realtek.com> <1556884415-23474-5-git-send-email-yhchuang@realtek.com> <874l68vuhi.fsf@purkki.adurom.net> In-Reply-To: <874l68vuhi.fsf@purkki.adurom.net> Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.68.183] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org > -----Original Message----- > From: Kalle Valo [mailto:kvalo@codeaurora.org] > Sent: Monday, May 06, 2019 4:49 PM > To: Tony Chuang > Cc: linux-wireless@vger.kernel.org > Subject: Re: [PATCH v2 4/5] rtw88: fix unassigned rssi_level in rtw_sta_info > > writes: > > > 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 > > > > Signed-off-by: Yan-Hsuan Chuang > > Stanislaw suggested that this should go to 5.2. So what breaks from > user's point of view if this is not applied? > If the rssi level remains unchanged, then we could choose wrong ra_mask. And some *bad rates* we be chosen by firmware. The most hurtful scene would be *noisy environment* such as office, or public. The latency would be high and overall throughput would be only half. (This was tested, such as 4x Mbps -> 1x Mbps) Yan-Hsuan