Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1917507rdb; Wed, 31 Jan 2024 13:11:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IGbvcZAPFVFAPtoUIav12ZIo2I0KgRjGMOe+O2m0EqFJJ/qe4xldL/GS843qrUiVDTtptcA X-Received: by 2002:a17:90b:f8f:b0:290:c2cd:6aac with SMTP id ft15-20020a17090b0f8f00b00290c2cd6aacmr2901813pjb.6.1706735466042; Wed, 31 Jan 2024 13:11:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706735466; cv=pass; d=google.com; s=arc-20160816; b=CQQQDaCQvJn6TTQpGtEsiqDYepMEZYPqKr4XjZnP0URz5lYcoesb9WYPwrqE2EzcDO w4IJT2HtIYWSzJWZJkIGcxRAqYwpq5HJVVJMGpVgO5e0hmgapcIw2viDYXzUyR6MCESZ OG1CH7fOQWZjKm6eSDahVzwGbF/5ZYpgaTlm6v/xhl/ekRmoUkxRtD9wwgQ4oPFhMpS7 naLrlrdLPas4HHXfT0ymdlZbizWC16yXyr+d/zTALOqcGCm2LG9w2oOuqb+HD5lMgzWa m8a10zAUx9y40SdyutSb1Xm3MVDEMX0LnCs/hTCh/hbGznTA+YtXJeRqEN3szjlGwJIh Hu3A== 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=Fq1N07ZqMWX9HNidJ+zUIfQ8pVcLFqKEUlt22qlHnkI=; fh=ts5jxd7GWEKxt9PPkt96cgE+xyUQFHQia2ghZBzfjZc=; b=NMuym5BYNhtw1zEcs6fjIkigcxry1OUizTHuwKaatt1aepxdGwxv1gyoU5bj08I3QV 99qqYwOJdJ25ciVkUZ0aOw1UUSmsGs51o7A030PSjTHvaf4pTPJT3pLn0BaE5WPUTAe1 u/8eT+90P/qH1YgHxxxcdBvxkOpJ4eXIroIEeCKNJ9Stt9RM4DTI0RLqTSxLiqg5LfQR 1nlBX6fZ2eDUPgmtE535Gzs7gfBzrbb40afHEttNiM0ydepvUV+YK23zsFgrsli11NJ+ eoR4EeKmPifeR36y9MYxhOQSBau0bKT6tXwkBvoL9G+RMC//9mi76vhzFQskti+ds1Ic R9gw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=KYZzWyQ4; 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-2911-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2911-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=1; AJvYcCUPKj+ScKbwEC+i1I6oImpXPnSYndU6X+PoX8xKv4/3mRIyzNiImnbMF7xAJ7nQCbLG9pCMO9YU2A51JyQQndWz9QRfK0wctE9MPOXmQg== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id kx7-20020a17090b228700b00295c135a5e2si501720pjb.0.2024.01.31.13.11.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 13:11:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2911-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=KYZzWyQ4; 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-2911-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2911-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 17899B28187 for ; Wed, 31 Jan 2024 21:08:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9B4E538F97; Wed, 31 Jan 2024 21:08:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="KYZzWyQ4" 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 0235939843 for ; Wed, 31 Jan 2024 21:08:10 +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=1706735292; cv=none; b=GRtXtztc/k9EkwDVlyavpxnWR23oIubAvMTU2I/Hq0PG4U9gGMetcv3PPDOLHrJv7dZ6R/me2NszdZ5v6LikH7UNYNzCZ6ZgYaD1uf7gAlT7qEXn+gOaHzlNRggWsG0mhyFiXDLn2aOWiwaoQNW3Xt3lDS1wv/0TvELO7Fmq3u4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706735292; c=relaxed/simple; bh=AJMkKXX41S513xmTMqzF0G6wH13GAVHKc3IRGvAlSws=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=JbpZ8Chuw5rfGY7YysEfJYA5NTKC7hWiYvQIMUbU6hhRyoLx727Uu31ZDsxFvFEgLXv52Ld+x+QpXLL788vsMnoMWuF47OM1h2JTOIsmt1XcjujJ5rdiCjeM54Ar5vdrgB9TjWWuOgCn3SVMOjRSAVNLkrCoV91dLoX9jZ+C5Uw= 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=KYZzWyQ4; 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 (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40VKG3ND027407; Wed, 31 Jan 2024 21:08:07 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=Fq1N07ZqMWX9HNidJ+zUIfQ8pVcLFqKEUlt22qlHnkI=; b=KY ZzWyQ4KP0nSU63WZYgnUA3iAOiV9ctLIVAQXCgOPFw3bTfAq4B+0nXifj5UkiylM qDhGy4ZxY9Vhkj0wUg9JtR6W4Z2/UJwBtV2kneL85x+MGFP8IOq8/sD4/qtD3SLq rEaV3mwVrA97kDA9rA37+BD6XuuOIfPA4LhTCZRJtlnWZmT/Kbbziiw3ic9VLrDO M/hsBaAwK2ouRpHJ3kR5XotKRmZ4Ymyh4wQKQwnlzuAh27N6P2UVp2cBS6V4inXF ftq/9LIUoaYB/inuoU8RIa6H2FCS6TqwY12yhbOOpgGkMMxJIGxdKI1tlU5sQLBW 9w3+TD3OuXPwe2t0OiTg== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vyfnjtep2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 31 Jan 2024 21:08:06 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40VL86bs009855 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 31 Jan 2024 21:08:06 GMT Received: from [10.110.47.232] (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; Wed, 31 Jan 2024 13:08:05 -0800 Message-ID: <909da932-fbb2-40ab-90ea-8d31ff1900dc@quicinc.com> Date: Wed, 31 Jan 2024 13:08:05 -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 v3 10/13] wifi: ath12k: add MAC id support in WBM error path Content-Language: en-US To: Raj Kumar Bhagat , CC: , Karthikeyan Periyasamy References: <20240129065724.2310207-1-quic_rajkbhag@quicinc.com> <20240129065724.2310207-11-quic_rajkbhag@quicinc.com> From: Jeff Johnson In-Reply-To: <20240129065724.2310207-11-quic_rajkbhag@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: tst5vWwzl8a5hk4SCfibzROMsLKTCDnk X-Proofpoint-GUID: tst5vWwzl8a5hk4SCfibzROMsLKTCDnk 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-01-31_10,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 clxscore=1015 malwarescore=0 spamscore=0 adultscore=0 mlxscore=0 impostorscore=0 phishscore=0 priorityscore=1501 mlxlogscore=703 lowpriorityscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401190000 definitions=main-2401310163 On 1/28/2024 10:57 PM, Raj Kumar Bhagat wrote: > From: Karthikeyan Periyasamy > > When more than one pdev is supported in the chip/SoC, the packet > belonging to second pdev is given to first pdev due to not identifying > the MAC id in the WBM error path. So ping fails. > > In WBM error path, src link id information not available in the > descriptor. So get this information from the msdu_end 64bit tag. It > is necessary to get the src link id to identify the MAC id in the > given chip. Then only we can pass the skb to the corresponding pdev. > > The msdu_end 64bit tag is available only if compact Rx TLVs > descriptors are used. Thus, src link id is fetched correctly in WBM > error path when compact descriptors are in use. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.1.1-00188-QCAHKSWPL_SILICONZ-1 > 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: Karthikeyan Periyasamy > Signed-off-by: Raj Kumar Bhagat Acked-by: Jeff Johnson