Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp82453rdb; Thu, 25 Jan 2024 08:51:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IHaRgXzptjMAxTsmtJQNeg2k66KC205KJzB08oiOY0r8q8l+IDTqsn9MS3igK+JWPqHOfHn X-Received: by 2002:a17:902:a513:b0:1d4:ab6b:f102 with SMTP id s19-20020a170902a51300b001d4ab6bf102mr988031plq.85.1706201482727; Thu, 25 Jan 2024 08:51:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706201482; cv=pass; d=google.com; s=arc-20160816; b=apffmruoy/BGDxaZOVyxyuMMfLWIrVmaJZHbQxSoV9fJJEnFm5iFJilvwYwWZZZeB4 0OiTXvgfF/nrmgdOzMSIB4TIpzprYW1izOMzQjErg0uq8NsCN3vm4yp4Oc0sTY/zrz/K 5i5x6dk6d9E7y2M2EBRwqL4UT9Esv0hsz1usHUDbt0nowUe8PQ5a/NaeTg7P8OI2ZdZf m1VRaCA0H90YB0eB4CP3z+J9maUiqlOEHkfkXNFfOleAD3wy3ba6FnMi8sN9meoH0VQe He7hxbJjYfV4scA1FEtffL65Jk/Yqj9Eva16p0Yj17qCF7xien/PbGsJaSnK4RvylhQa BSjw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=p3NyWN24gHWnqWKO8AFBYEP0ZJfPMTc47OSz+p0C894=; fh=rhriZ4+C8tGlkm662kKItPLTJu2mlWHTe60Qvb5qGy0=; b=TYy+6QuuujNmqfcBl9j+2weuR7seXBUevfV63kyrLcAqjsYV+0lQRm+p+m6ChfWLfy S9+9HYS5GaYRy66q8f0M9cmIi7Mq5AWvf+mHL5blAh2/sbq5sHSiX24U455JYK7BO0Ct qDM7Lgd60/FJbW+eX7Tz0lbbqSirqvZ9G7JUYj6MB20d0hKo0cIv9Wwg3UrQQdhLh1W3 BDmpoQl1YornCbfAgDn8Ry5rXbRtsTrEU4V6pTXZJJeQZxCs3ivntPO5n1hORNzVMw/R /gZpWRxdq29K0EM3zfVCqIW+oJTpP3PPFeINLoLmAE7dys60hLG0e8kUEpnsycaX3ajc 5ljg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZwB2xaio; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-2496-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2496-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id iw14-20020a170903044e00b001d71ad75bafsi11653313plb.160.2024.01.25.08.51.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 08:51:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2496-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=@kernel.org header.s=k20201202 header.b=ZwB2xaio; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-2496-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2496-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 EF646B25A6D for ; Thu, 25 Jan 2024 16:46:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0945813172A; Thu, 25 Jan 2024 16:43:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZwB2xaio" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D88A1137C4F for ; Thu, 25 Jan 2024 16:43:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706201004; cv=none; b=SDKxS+SS+f5Ucyt2RqEYBCVzk/ieUAzi4vhq3U/ODZ2Tv4fWfTU2RJ3LoDU/eOCFIiB2XxCAqgFneAWc4l8WSKLFuvgDFuOpUw8mpjgr6raHSug3VBShtZqtblXzXoV13ConPI1m+be3neAJeihoK9uMrsiNtBGkuk5qi2QEbIY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706201004; c=relaxed/simple; bh=q2idK8n/E6MaATBa7r34B0Wjj8fT6oqpM5c7h4sKBUM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=lIhk9d2hcpBBPIWpQ4OMWbbRQn9nI5mmMyfPriZbVo5Rd3URnu9GzHNLFMXWTvwWuSh2v+LhBJmFj4MOn5qfM1Rj6M03PtDgHSrt/Xs0Pk2yCfaCAk/iD/jPA9i3UWBQqo7skPWUQoUttLEMxmtBnQ/Wu3PTExSrE+cbvEcitIg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZwB2xaio; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 60E96C43390; Thu, 25 Jan 2024 16:43:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706201004; bh=q2idK8n/E6MaATBa7r34B0Wjj8fT6oqpM5c7h4sKBUM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=ZwB2xaio3PdSa/qTT/NuJ1TAWYgSKAwVyK8dhP1WB0vtuQHsN/9Ki7qQjGSWQ03K7 AxpNRDzh6QhlPBxzYWbT/Z55oP7GCX7YTSSj+Dqsab0WrFX26l7sHvFrC/DdOO3BtM xhxe8BTraXG3PZNJy1eISHDRFqwDR7l7DMz7wzxCC35taV/JpXq3CQDVz76TPVeQMo oXXeGpC9j3bZ2nDh0gX6DAO/XBLSNatVZDSXh6vsM01Qdt7RQxngW/DAA7uFtsnj9h 3p73PRy42KTd6kLvd/7Y1gZEqwHtvcipGo/ANEcaFtc2cOuX9td/7YqAWg75so0oQy T+p26i8S94t4Q== From: Kalle Valo To: Jeff Johnson Cc: Baochen Qiang , , Subject: Re: [PATCH 1/4] wifi: ath11k: remove invalid peer create logic References: <20240123025700.2929-1-quic_bqiang@quicinc.com> <20240123025700.2929-2-quic_bqiang@quicinc.com> Date: Thu, 25 Jan 2024 18:43:21 +0200 In-Reply-To: (Jeff Johnson's message of "Tue, 23 Jan 2024 18:05:23 -0800") Message-ID: <874jf11hzq.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Jeff Johnson writes: > On 1/22/2024 6:56 PM, Baochen Qiang wrote: >> In ath11k_mac_op_assign_vif_chanctx(), there is a logic to >> create peer using ar->mac_addr for a STA vdev. This is invalid >> because a STA vdev should have a peer created using AP's >> MAC address. Besides, if we run into that logic, it means a peer >> has already been created earlier, we should not create it again. >> So remove it. >> >> This is found during code review. >> >> Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1 >> Tested-on: WCN6855 hw2.1 PCI >> WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.23 >> Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1 >> Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1 >> >> Signed-off-by: Baochen Qiang >> --- >> drivers/net/wireless/ath/ath11k/mac.c | 16 ---------------- > > My Qualcomm Innovation Center copyright checker reports: > drivers/net/wireless/ath/ath11k/mac.c copyright missing 2024 > > Kalle can fix this in the pending branch Thanks, I added 2024. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches