Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp713778rwl; Wed, 12 Apr 2023 03:05:57 -0700 (PDT) X-Google-Smtp-Source: AKy350Z0Cqs7uNdRYYlXOwDrUhnWoRbnlg+ZbmIvQoKJwaqWnwJJFLMg4S8aC2sVYNMW/eHs7oLa X-Received: by 2002:a17:907:7fab:b0:94a:8a80:3f4d with SMTP id qk43-20020a1709077fab00b0094a8a803f4dmr11806842ejc.50.1681293956975; Wed, 12 Apr 2023 03:05:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681293956; cv=none; d=google.com; s=arc-20160816; b=f49JLZjEZ867A7tXP1Hj2atOgYB51wyOAfMZ4YZ1T6MqpubHnt9eIHwlYKSv/iseEh bDUGmcJyKN9R92VdGUY++4zKNX9yGMrctbgizWErk9do7CnJQsGdNod6RADmjj6/Xjr7 ypV3npdbFBfVjSU/zeBq4006phe6sKDeTEZQi1hYS2qUxG8da0Az5aLAtaaI9RGQoL/i 0q4pUjTlofrxFIBTHykGb6/Zd9KsK+e1++y0y4u1fhX1YcgJDvbJjCf42kBO5SMzkHch iqIaNaBbnP1otkEUfBB+J1c+zvmCljqxhHwDN8RRheLrnyZ9ufANwYFPzf8EqaGRQk5t VFFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=rGxVFm1kxmQ/vT2uq94Ng7LpNIsf1Rhm9gLTOq8svJA=; b=yVxBfbvoaqKnkv6NMpzDZ/hMXL/8vfPxD77HnZAH/axon3bzZ14WSLfNpR52YGiYFY IO9jHfj9NdSKG8Mer+LrE8Arka5/vWHFaGRbI9S8Ywyfn2R59zlGJtOrdvGBaO1bHj26 9gcHSyukcFWWtP/o+AB/PBHEQSodpdnV4bnHLMpoZe6CNRPdYrpb+QNOiXXlPYo/ryts w9ugVKIDZq0EW7ngGJG9PsbbLziQ8kKp3ZoJNY5SJsq9uBDL1eKJBfEWsC3O9i7NCVRp HjpajgqGIdhJQL68HBudYKEw3+6XydpAnXeAkmXxXqYuijUrdjyAJYaWNnGpIKS1VWDR zUWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gI3pR1st; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j5-20020a1709062a0500b0092bf128c4e5si13984880eje.192.2023.04.12.03.05.41; Wed, 12 Apr 2023 03:05:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gI3pR1st; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229977AbjDLKAS (ORCPT + 61 others); Wed, 12 Apr 2023 06:00:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229634AbjDLKAQ (ORCPT ); Wed, 12 Apr 2023 06:00:16 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C50065B8 for ; Wed, 12 Apr 2023 03:00:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9AFA063284 for ; Wed, 12 Apr 2023 10:00:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF989C433D2; Wed, 12 Apr 2023 10:00:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681293615; bh=fK8C2lU5H+Gru/bw6YH75nU6KIJR8dwsXYKM5NXezzc=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=gI3pR1stBxU5DrujSZxZtZAzlX7oL6Kxa/ksbTQDwejGXJmyjQnpmSRRfYBh3pHJ2 tyCTNfuSnh0Lewfuj+7sUwZFTc1JAOX1WMDyPvt67CZ32+VRJd4JiDECp1VcGAW2H+ GSZyGQ2hVlU9HnDS9JuWM+ZwvzzkeUT2U0QRXLqHJOgn3ePeYakFnqIrtOJxvfjmDa nultbOstvpKjT0TJoQp5SlyN8sOCctzL62o1cXwPUq4Y3m77rU2NmcbLEr335EyX/s wC+7Jlic3BVHa1eKwHgbXDLPZKcihiIUacJt7c2CF9DgIXWGHXBYfbH60cXvkeTd2x cyZNpfoQsO3bg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: ath11k: Fix invalid management rx frame length issue From: Kalle Valo In-Reply-To: <20230320133840.30162-1-quic_nmaran@quicinc.com> References: <20230320133840.30162-1-quic_nmaran@quicinc.com> To: Nagarajan Maran Cc: , , Bhagavathi Perumal S , Nagarajan Maran User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <168129361208.14673.5430321799624017931.kvalo@kernel.org> Date: Wed, 12 Apr 2023 10:00:13 +0000 (UTC) X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Nagarajan Maran wrote: > The WMI management rx event has multiple arrays of TLVs, however the common > WMI TLV parser won't handle multiple TLV tags of same type. > So the multiple array tags of WMI management rx TLV is parsed incorrectly > and the length calculated becomes wrong when the target sends multiple > array tags. > > Add separate TLV parser to handle multiple arrays for WMI management rx > TLV. This fixes invalid length issue when the target sends multiple array > tags. > > Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Bhagavathi Perumal S > Co-developed-by: Nagarajan Maran > Signed-off-by: Nagarajan Maran > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 447b0398a9cd wifi: ath11k: Fix invalid management rx frame length issue -- https://patchwork.kernel.org/project/linux-wireless/patch/20230320133840.30162-1-quic_nmaran@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches