Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2442191rdd; Fri, 12 Jan 2024 09:26:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IEhAOjOWf67PqFGbRY0UKkOZhw4QGrLvHcn8Yy9bALcp/SKX9+A/9SKJpXMNA0ekVFBJDZs X-Received: by 2002:a05:6e02:552:b0:35f:dea6:529 with SMTP id i18-20020a056e02055200b0035fdea60529mr1322959ils.87.1705080403346; Fri, 12 Jan 2024 09:26:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705080403; cv=none; d=google.com; s=arc-20160816; b=YSaE/0myGfldDsNu+p3xrs4LwD4iqZadi4BXcbhWII4dBNKfyl74v2MpC4weJCEsg6 xWXJ44oeEh/ad3TMk/BW3pTL3e4QgB5cuy8x3VTOVkBueHr5T4M7ZxHSgQP4yGPdYNn8 qEtcFd6fO5s02PmrPqprBV1fA2URL1iUtHV4ozUiHcF+6tZNEGLkc8Byobv0NFgDjUTc ZW08xHntL+ir+V+MK9Zuxtak2xmIeQ6x0nRM1PJUjDN2Lo8MXh0wx2+biGMq0acvKcGp mYv9MDZFfiA3kDtzTc454cemTGYsBmn04/ioFhBsO2gNOX33Q5psGpMT1QXMoVVDmm9A QvWA== ARC-Message-Signature: i=1; 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=Gkp4daE60ZX9zyMAxml18Pz44BcOOLcB+Ucfwv8XIoA=; fh=GCRpT/7dbLSsQAWbCa8UoWpPButACfBkfM7tAyJ3xhE=; b=stQlvdMAxgi8iRNK4Ku2ivhUE2Q8ioQvYS7pJQSdLOed3mBKT1wZ5AAKsLuI4WPZmy XqdUirP+mSGFZ+xjZCt0lVDg4polP5n9Tea1lhjvLUH4yajwYhu/9InKBKwRjbGmZ82m LDKAOgsEy/vjANL/MwU68rKRBAureexX1EEhVAaFVsRsIBwyPYRSnSL1f6Jd9wzHbLDx EF64o4mOlwriAa5uGAewzbEMBfPsn1P1AttVruwc2eU4HhObgWJqpKv7zWjEPPE64buL ejAVnkKnMSBURCDokrrMM2sQ48AoTFJeRS5tJqlH5fqRajr58QOdJx5QVGwn2u7z3rZv +3Vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=gKNoXMGB; spf=pass (google.com: domain of linux-wireless+bounces-1836-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1836-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id y63-20020a638a42000000b005c65d0dd9a0si3564569pgd.503.2024.01.12.09.26.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 09:26:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1836-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=gKNoXMGB; spf=pass (google.com: domain of linux-wireless+bounces-1836-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1836-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id F1360284CB0 for ; Fri, 12 Jan 2024 17:26:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 67BE722620; Fri, 12 Jan 2024 17:26:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="gKNoXMGB" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 2DF7317540 for ; Fri, 12 Jan 2024 17:26:38 +0000 (UTC) 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 (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40CE6Zbc006113; Fri, 12 Jan 2024 17:26:36 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=Gkp4daE60ZX9zyMAxml18Pz44BcOOLcB+Ucfwv8XIoA=; b=gK NoXMGBDpw/aKM726LbyKEjWKaVMhiwphSSO1pV2qxrUgG3ECtgk0aXSeQhngJbKm oZe/D7IALXOqKk0e/LpNP/Dvtfcua+ghqfOmIZ0QvLtEwQr6p2RqcitNRgqxwMAy 7dKsMXik5xYWDWwMyH9oxn/HgYlJq5e96Fn95WnznLD7DqR2lfnLeKuTUSJPky8d vbDyvYg8kSvAG+fFNnUkNGHVuuykMNAD9ANuinh5cWJwPhIBp1Qg2P3Szc8LBQ/a W0/fu8SPFudX9k5iboWmlh7hiZCseZfSf4wchx4C5Q4EZts6rOw514n6VMsa2I/u PAgXfdsICj5HbGIlBtcQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vjqx1jh43-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Jan 2024 17:26:36 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40CHQZmH007256 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Jan 2024 17:26:35 GMT Received: from [10.110.16.29] (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; Fri, 12 Jan 2024 09:26:35 -0800 Message-ID: <62b83607-250d-4321-8ae5-2f6cb13fea54@quicinc.com> Date: Fri, 12 Jan 2024 09:26:34 -0800 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 08/12] wifi: ath12k: Add additional checks for vif and sta iterators Content-Language: en-US To: Sriram R , CC: References: <20240111045045.28377-1-quic_srirrama@quicinc.com> <20240111045045.28377-9-quic_srirrama@quicinc.com> From: Jeff Johnson In-Reply-To: <20240111045045.28377-9-quic_srirrama@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: I63Cr3Ih9NjToJI-cfOUgCcqVyV4YBFH X-Proofpoint-GUID: I63Cr3Ih9NjToJI-cfOUgCcqVyV4YBFH X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 mlxscore=0 bulkscore=0 adultscore=0 priorityscore=1501 lowpriorityscore=0 suspectscore=0 clxscore=1015 impostorscore=0 mlxlogscore=517 malwarescore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401120137 On 1/10/2024 8:50 PM, Sriram R wrote: > Since vif and sta objects of different radios are added to same > local hw list in mac80211, additional checks need to be done > in driver to ensure we are processing the intended vif > and sta corresponding to the radio when the vif and sta mac80211 > iterator utils are used from driver. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 > > Signed-off-by: Sriram R Acked-by: Jeff Johnson