Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1204414rwo; Wed, 2 Aug 2023 10:10:11 -0700 (PDT) X-Google-Smtp-Source: APBJJlG4MyPoVFz4qjGgvdH45JTTkNJITo0SBU5hhOc1nSipUqzEJgANgRR9UVQNva8hrojrr9tl X-Received: by 2002:a17:902:dad2:b0:1b8:9b1b:ae7a with SMTP id q18-20020a170902dad200b001b89b1bae7amr17497015plx.34.1690996210956; Wed, 02 Aug 2023 10:10:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690996210; cv=none; d=google.com; s=arc-20160816; b=Xt+kKd789Jve0thDikuNqIAVdoy8yYbsyFlGGfRoKlg3R9w6FoD76Qe7bUYLwlMSNG kODCmiilDY2qczEq1rMxYKl8biISzSz9voA9t/I6Pafrtn0brZ7tTc0i5gVwPjwhtqKc vL2c9Xd53RJ2aOxTQswGw6F9dcI1zseTix0ndqCtNtGUY0tAnoKR3UWzzRda1o8ljSO9 xUn54VKdGWBXKX/r2ArKWtDEp1sqBJxr/6Kt6LDO29tXwnIZBNAYLNUciTl56eXfPzB+ G+g9Bp9+SqFLyLgzy8TiTAi3rQskugJ4/858USwapK6a4ubKrdUjC7J2SurKg9VnexSc TjrQ== 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=usFsFnsr3RtEcvJeaUVM04Rt8PTBtrwrTN/tuN3WC0Y=; fh=ylibOHjZVoRjcus4fpWusyZbCeuRlezp5RqsfwfDtRY=; b=tM2Oix2M5Jappjs+0xiQ+Haxn2pGG3IWKwLr2dhs+mOGnixWNq+Gl8DJqMd2yU4lVh mITpVrrvopDHNFwbGiV18/LfHHlPZVAXtkk6ox9xOm5p1mT4PAL0M7HE1RHjRE0KBghl y6ZJ8BXjkgH1sE9Q3l6lsTK7Dywyu+nAQFF5SNTtUQ/3yFr5hfBtVk/uiqqVR9QfV/O8 jVlY4z3HDBpMexHZytt3XTC1l7B5/RBXBpQ2KPzIW0BWw4BarX0B5QsWPeGk4tRUGduo 7hOJeILu9rXQ/3CfbcT6EZ+KzVKFz3dBpmgRZarWHNtjS34I9F73RSMOYAU0mEEU7LNm 04QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dZ5Xm6EQ; 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 ij10-20020a170902ab4a00b001bbcc4e0211si11246632plb.239.2023.08.02.10.10.02; Wed, 02 Aug 2023 10:10:10 -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=dZ5Xm6EQ; 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 S230242AbjHBRBS (ORCPT + 58 others); Wed, 2 Aug 2023 13:01:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231594AbjHBRBQ (ORCPT ); Wed, 2 Aug 2023 13:01:16 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D4021722 for ; Wed, 2 Aug 2023 10:01:11 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BFC3461479 for ; Wed, 2 Aug 2023 17:01:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3DF67C433C9; Wed, 2 Aug 2023 17:01:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690995670; bh=9poAHubW0lfhHnO2RdeD/r6F4kxYduzOpSWyHYRXlJg=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=dZ5Xm6EQ1O7O9lZUByBx0Y/DBhzK70k966kY8o08Sf5xE+62plO20mZrHj6cqbU6G OybJAm42jRhfM0CNVPxMjknpCQsehLPQAMj1ENuh7yoFD5J6nX27WaBa3mtzStw8iU HYqak/nWlDOUfULuwA/yGW2e6akt7qxMrA6Fuvsvg1uKiYuq/JTN6GS76aXqRBhYFi CpwW9Wk9xA+Xo8Q4mw7KYbnsxOH/+E9RspF9J6Anx8MzolDeq1cbHcAQZVTKe7zzOj 1yP2y/jj+4/A0fZfk0a6KV2J7m3BOoY/oxsA4hwdgaZeClwJKQlux2M0YcJH8qPCfa a9vMHAKCbP/bw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: ath12k: change to use dynamic memory for channel list of scan From: Kalle Valo In-Reply-To: <20230717033431.21983-1-quic_wgong@quicinc.com> References: <20230717033431.21983-1-quic_wgong@quicinc.com> To: Wen Gong Cc: , , User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <169099566749.463701.15800758617469545708.kvalo@kernel.org> Date: Wed, 2 Aug 2023 17:01:09 +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,T_SCC_BODY_TEXT_LINE 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 Wen Gong wrote: > Currently there are about 60 channels for 6 GHz, then the size of > chan_list in struct scan_req_params which is 40 is not enough to > fill all the channel list of 6 GHz. > > Use dynamic memory to save the channel list of scan. > > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4 > > Signed-off-by: Wen Gong > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 3742928a52d6 wifi: ath12k: change to use dynamic memory for channel list of scan -- https://patchwork.kernel.org/project/linux-wireless/patch/20230717033431.21983-1-quic_wgong@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches