Received: by 2002:a05:7412:85a1:b0:e2:908c:2ebd with SMTP id n33csp122585rdh; Mon, 30 Oct 2023 16:17:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHQQKdXmwam2wb2JhIbQVDBtt9Q8qQw6RL9XjnBWSR/qxFhnWMQWtEL5d8K6dITXCEjAWxR X-Received: by 2002:a17:902:e84b:b0:1cc:4559:ea with SMTP id t11-20020a170902e84b00b001cc455900eamr3433650plg.3.1698707853510; Mon, 30 Oct 2023 16:17:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698707853; cv=none; d=google.com; s=arc-20160816; b=OIUCLa3scZ1QoO3d/eEu+HSwnDFH7PZYk01cZK82xiBNvRWsnn0iHQEbcxgIzObGZN pLhbT0jnjN0Ydk0xCN8HnkwQnNlv/SzsXPkM0B7SkjUplevgDw8xMoAAxT3UPS3AFfHU XbQdz8FznYN3kZ/C+4/NnErgCF2s28cVYP/zwFNHik8WPOROAgEwGi8XmAaODIzg/VhP EuvWu7AQf6JZnc79RVSX8a4pdaAZoT/ZKfAGRfDh+mK9VTytKh41GMNJiFFLmITtIDEH tQ/VwwTOMaVnnv/0+m36iKZePok0GD/sqoqs/GViRFdyRXPV91HR5zYmMqahnx/FUzex 79Iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=qCKeI95mpN1gOrFxNZzewCOcYJPv6G2mwfMjQ6a4Wew=; fh=5LWpPctKvBxt7GI6F028c67ooKymtzAEuzIgAGQaFYA=; b=s+Nn3UFkyPrEp/DHeT0fqgbRH1pJCAN+CKZW5Sd3iJspnRLklcbcwwXfMhnx/9CVN/ 9gw0R2O4+okInyEpimB7W87dpKL1ChDV4cApqQXZCvNCeCmD81Q63u5z7wpp54qXgdge grUTG3haLiLiTq2LXztEeGgf6/wCzD9v1gqyZ+MN/+L0LI7449OjuJ52/U4F8U3wJ+oM fpoJjMcP1ZdgHNCnT1h+45F+kjZedZMvZYP56LI67oBKO+BJnMTR0Uhb43+JIxLg0Xr7 zLmj3ZGvRLJa7BqDbuwGFUiRpKE0cuWFsS/SqFShV7nOowv6ln/Ls4vkYLWEYjT2ZjAc dRlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eMbKzPOM; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id m9-20020a170902db0900b001cc665df825si84439plx.436.2023.10.30.16.17.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 16:17:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eMbKzPOM; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 2A48E807C5CC; Mon, 30 Oct 2023 16:17:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229830AbjJ3XR0 (ORCPT + 52 others); Mon, 30 Oct 2023 19:17:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbjJ3XRZ (ORCPT ); Mon, 30 Oct 2023 19:17:25 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0661CC1 for ; Mon, 30 Oct 2023 16:17:24 -0700 (PDT) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39UMqDdM012131; Mon, 30 Oct 2023 23:17:22 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=qCKeI95mpN1gOrFxNZzewCOcYJPv6G2mwfMjQ6a4Wew=; b=eMbKzPOMt3tpBguWosm9KKTTyLsMu/adnbX0dIAKBJ4h08DmC+Mt0Onb1SJBqCJETTs5 w9K8G/Mt9Q+cFOdIX4sMhnmTHMKiNZ/eA8Fm56q/4cLKomiUS0RvGgfmhff6njRHkiTf fcHdI2I0Gql2qi1QoZ0r9TuziMGhm75nejfBUEzoDsDsRy6JHQpkN+YeJgTa1/wcwmpC AxqzvmxiRoIXv24Tls3IfnnaTndlBoGcCtkI2ra08dC6EDE/G66RegxlsfYbg+hztbLJ S4XTZvCn3utzLQVqPtqA00cLTUQLENK0UyMakCIFvbgkgn+n+2omf6aZsvmWe2fPZ1Mu gA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3u2c4rsepm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Oct 2023 23:17:22 +0000 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 39UNHLPC022959 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Oct 2023 23:17:21 GMT Received: from [10.48.245.206] (10.49.16.6) 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.39; Mon, 30 Oct 2023 16:17:21 -0700 Message-ID: Date: Mon, 30 Oct 2023 16:17:20 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 05/13] wifi: ath12k: fix fetching MCBC flag for QCN9274 Content-Language: en-US To: Raj Kumar Bhagat , CC: References: <20231030222700.18914-1-quic_rajkbhag@quicinc.com> <20231030222700.18914-6-quic_rajkbhag@quicinc.com> From: Jeff Johnson In-Reply-To: <20231030222700.18914-6-quic_rajkbhag@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) 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: Iqkvvfck07a_MD8ow8DpSHQLjGJBdg5p X-Proofpoint-GUID: Iqkvvfck07a_MD8ow8DpSHQLjGJBdg5p X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-30_13,2023-10-27_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 bulkscore=0 phishscore=0 adultscore=0 spamscore=0 priorityscore=1501 mlxlogscore=999 malwarescore=0 mlxscore=0 suspectscore=0 impostorscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310240000 definitions=main-2310300182 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 30 Oct 2023 16:17:26 -0700 (PDT) On 10/30/2023 3:26 PM, Raj Kumar Bhagat wrote: > In QCN9274, RX packet's multicast and broadcast(MCBC) flag is fetched > from RX descriptor's msdu_end info5 member but it is not correct > for QCN9274. Due to this with encryption, ARP request packet is wrongly > marked as MCBC packet and it is sent to mac80211 without setting > RX_FLAG_PN_VALIDATED & RX_FLAG_DECRYPTED flag. This results in packet > getting dropped in mac80211. Hence ping initiated from station to AP > fails. > > Fix this by fetching correct MCBC flag in case of QCN9274. > For QC9274 MCBC flag should be fetched from RX descriptor's mpdu_start > info6 member. > > 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 > > Fixes: 8f04852e90cb ("wifi: ath12k: Use msdu_end to check MCBC") > Signed-off-by: Raj Kumar Bhagat Acked-by: Jeff Johnson