Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp593466lql; Mon, 11 Mar 2024 11:18:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUY+ZREeJZlvqpHyn+TuF0yuhE4I9D0QIDuEJyqWOxbbmzGfFc0YqpNQa64wqGzEhIXA7JaVWM/ga5qxmY1MlslYbnbD5spluUlpHvC8A== X-Google-Smtp-Source: AGHT+IENM8dcWVSUCRoUfTL3eChYbQodpwNbsIRRiW5l3RMIpyiclna5FsaPy6bfvIO2RNLvilnt X-Received: by 2002:a17:907:a801:b0:a45:f257:5439 with SMTP id vo1-20020a170907a80100b00a45f2575439mr7988517ejc.3.1710181104259; Mon, 11 Mar 2024 11:18:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710181104; cv=pass; d=google.com; s=arc-20160816; b=O9f1mz4VZebMeBzk7zmaCdAzYi3n504mOjsgC4upFmv9vY3XnKEbj5Ch0fdtp5lgWK pidWQD8UO+S0soVD3+lrTZ6HRwS1gvIvIbu0pwVrKmPqbafCfbCuonIgHNVZhmPVnMh0 HtZOe1/lQC5/iUJZJUMsnXa9YtThBwioxLC/1AYO/tjmwLf0unByHjmflUkjKXPZjXGo T8q3yk4xPdeM008Jeh6Ur/+2Om5CUfsmOlx2wMY6+K4XVWzD0c9edlu1x4yQM4Lme6m+ XbbngNe2adr99sof/npI98iXSRJa2SnJOx3W3jsCVa77zZ9llUo5xhzd63sjaoxgC7cm w/+Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=KO5i3BqOOODm4cJPRuqRklfpmy5UHE9XMtoyG/3tn1M=; fh=9xEtXjl17+mV1tT9TzIhYnC3bG9ToWT851FNnOwokvU=; b=C9eajZ1klhNUhBlMfaFAdFv970FtC3I2u24DBakK7tyEX21HqzxIN63Bn9zpO3BvuQ q+83g9MW83oZJkalUpdY9/URBgpzXGUsVe3mGLH2Fl/dyuewkCaWTDpJWhbJe2kzTebf Hm0Va/bOe4+Ju8/iDiNDVto3b1Zl20Z5iIKXb08AuCtESkLDWaCRUAenc1YefrouwlJP 2+FbeJtEbzA4/z7A/N+O3cSymspU5yguXcmK6YJs9E3xeiUn8RPrfNoqn4vo4NL/M0Z+ sQ7Ui/VIHolxNB2U/v2FHAGcuRvF94BgvLzBDN+XgRvNCMZde3YSaKCqDDqenPm2UJdE hALA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VCWXC6Jr; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-4574-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4574-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id i3-20020a1709064fc300b00a45ffbc8ab0si2569369ejw.721.2024.03.11.11.18.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 11:18:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4574-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VCWXC6Jr; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-4574-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4574-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B11A31F21887 for ; Mon, 11 Mar 2024 18:18:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CB2D4537EE; Mon, 11 Mar 2024 18:18:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="VCWXC6Jr" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3AED551C44 for ; Mon, 11 Mar 2024 18:18:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710181099; cv=none; b=uRPenruAdc/JzSP7IDLSiGCt8l6kpD02sHNppZV8esf0iQe55mQDAKwbbabe0wk/pFVV63sXxU7jfacSuKY0Fx6DNCmdfi+OGZRC8lHhOrRUZgwQAz4xIbSn/iG8rOQbJAjc/tF8iAQ/Ym0kjrwyksv7bSVAoIF3RyK4LbRxu94= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710181099; c=relaxed/simple; bh=Tnre/ZUUW7fRvo9VAN8kManTUpfguF0nt6xrYXlkoz0=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=LIHOWpNKasdDBX8SwoiaLV9YAyjd669bA539cjKZHaqTqtglersB81J7/LSBJtmK20lOG3GROrRVqUIBSuPwbfMZhnN7GIeV5Vxq/PIklSZNshq5GrZoPoHCruaKWTm4iqYtRbUu5wLVhBEZYSiXr87pf+AzJ9vDLZ+vc8j7oxM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=VCWXC6Jr; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42B9FgEi002666; Mon, 11 Mar 2024 18:18:14 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=KO5i3BqOOODm4cJPRuqRklfpmy5UHE9XMtoyG/3tn1M=; b=VC WXC6Jrvh+kKGz+f2Tv26fJq6gX6Kq+BVWLD+ozZxhWAse2jsMT00KjSJhOkoyZvW JxfXChwicq80BXP7MhhL0RCNgfbDBAK4Z3Ow+BcyHxVzTAwooVZkfQzbmVJlxguI ICvat2z2L0g7RrkaAiWWOxB1wew0yFZonEJIaSnKUH17kRFiWCXMQY4YsFGWYjwp C3AjMNa+7/3isvgXu85gMw7psSqMAp7+hb+QqPwRKnlmoGi4Zvz2oIyUQDe2dqpe Atc8kIOi4gjCN1G4lJ7zqU5rhDJVO9F12hgW1RfZarzkc7HzBuOulROAZszibFp1 2Hvat6Duh4qq5ny7fLCg== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wsxbvhmkp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 11 Mar 2024 18:18:14 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 42BIIDD7017666 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 11 Mar 2024 18:18:13 GMT Received: from [10.227.110.203] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Mon, 11 Mar 2024 11:18:12 -0700 Message-ID: <08da3726-03a9-43d2-9c7a-4fd99d46d481@quicinc.com> Date: Mon, 11 Mar 2024 11:18:12 -0700 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] wifi: ath11k: modify the calculation of the average signal strength in station mode Content-Language: en-US To: Lingbo Kong , CC: References: <20240309121129.5379-1-quic_lingbok@quicinc.com> From: Jeff Johnson In-Reply-To: <20240309121129.5379-1-quic_lingbok@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: DQukOXw-SpuxcJvlGOLnW56vlVcFcxPU X-Proofpoint-GUID: DQukOXw-SpuxcJvlGOLnW56vlVcFcxPU X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-11_10,2024-03-11_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 mlxlogscore=897 impostorscore=0 adultscore=0 bulkscore=0 clxscore=1015 phishscore=0 spamscore=0 lowpriorityscore=0 malwarescore=0 mlxscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2403110136 On 3/9/2024 4:11 AM, Lingbo Kong wrote: > Currently, the calculation of the average signal strength in station mode > is incorrect. > > This is because before calculating the average signal strength, ath11k need > to determine whether the hardware and firmware support db2dbm, if the > hardware and firmware support db2dbm, do not need to add noise floor, > otherwise, need to add noise floor. > > Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.23 > > Signed-off-by: Lingbo Kong Acked-by: Jeff Johnson