Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp853311rwo; Wed, 2 Aug 2023 05:22:21 -0700 (PDT) X-Google-Smtp-Source: APBJJlEXCauKBNFtC6Sq6zrVScUD6L9VkZEoNcCsxUPjJk4xIFfYLkDDhzih56eZ2nskMQJZCUo0 X-Received: by 2002:a17:906:3281:b0:97d:2bcc:47d5 with SMTP id 1-20020a170906328100b0097d2bcc47d5mr4354648ejw.49.1690978940884; Wed, 02 Aug 2023 05:22:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690978940; cv=none; d=google.com; s=arc-20160816; b=LeXqkhAda6I77jGa7BYRznQKq1P6VOR3CncmWYvCcM4Aj+WowqsPI7zqpQ3KMSbk+x izlCuKGSja0wj28kf7hWqfbLgC/TfIpf48K5mpTih555Say5MokBQcOLxif5uixCSIBB U3y4TRKVFQdsggRFVCa7jLQgt5Li6KzgefnDuST+aXhFdZ5wIXAu9nEdk0sBL7E6HhzS t6Jvb3AjtDsNBRJuCGOd5SEazRVsm9o1FcEZMJVoMEy4gEjnJZeq6M2/CCDyeyZMTCMU cCaNL7/nXfriLauUvdugb/Isn1pfe5erQeDWPc2Y/jhmNa2pmE9rQ5bZ5jGZe0vx3vIX 1GRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=pWJTEFsdRLa4cTc2+EhAx2acEJFe6RXFUg7WxAXPKhA=; fh=rGEXwBaxCYau5ZdGJimQSMVIpHf6XOv6XoiZCkc5FJo=; b=wFF0U0Pi6oc7y349mIneyoMX+oe6VIwhzgyvFftjjB9xqFDR/IhzIwIMxMAqJJFvyw H2Qv5H/2x/YeuYIj5Waw6dM+SDBqBWDnOH5cY5z6ShElMYfZ4YomW0hjvcpjJ9OXH5yZ NQMfCzBOgtbiOto7RpWbhaRC+o4NnBLmznGJgCB7CnALL5WdHWkTDSnDsDAPDTqL0euW PEkC4pVDTPfssVIslYaxSNnkw9iTjagAiy8Hsww1WDCPs73npgAIlFlpPXMZV+Bhbw0K aM1q1lODkiiWwmaQlyoAoy8sB/8JKPvO8S8Pzp+Mpg2cPFsDdW6jlT+zUU9RAxPVsqcc oHTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="fE/iYIAj"; 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 ci18-20020a170906c35200b009932d8a227asi5663189ejb.277.2023.08.02.05.21.57; Wed, 02 Aug 2023 05:22:20 -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="fE/iYIAj"; 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 S234162AbjHBLhI (ORCPT + 58 others); Wed, 2 Aug 2023 07:37:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232516AbjHBLhC (ORCPT ); Wed, 2 Aug 2023 07:37:02 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31AED211E for ; Wed, 2 Aug 2023 04:37:01 -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 BB7676191C for ; Wed, 2 Aug 2023 11:37:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 67F44C433CC; Wed, 2 Aug 2023 11:36:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690976220; bh=bQYnWsfeRljqk1mmtmVRAyq5XZ7VtvuLqFh9lbdjcrM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=fE/iYIAjau3g+EFehzi2StLIisw1EDqMKbk6mimm41dNcrrqCtwOV7OSgt7qSEFxq H8l95ylXJuimSKNrr5+/QajPHCtbOKVZMazfhmodgNiCG9azn4VN6o++BmcYo7IU53 jOf5Mv0LjMyptEcgjept68R9YB4XocdyTgyxCn3jROG1JtHFFdHHERtJ72N2MgUcyz YSZN1AMyo2ySmkwyb3iaodOFW21nc8vtw76fD1gDGSeEqToGafWYhBe7x2AewwWmFs j4Obv/vgdvFem8neYo9RxfFDbNdxeVL+Ft9wkh1DD8o+c40agICoDfkeaSg81ipPK9 r/bX6BuUDHJ/A== From: Kalle Valo To: Wen Gong Cc: , Subject: Re: [PATCH v4 2/5] wifi: ath11k: store cur_regulatory_info for each radio References: <20230607094810.26707-1-quic_wgong@quicinc.com> <20230607094810.26707-3-quic_wgong@quicinc.com> Date: Wed, 02 Aug 2023 14:36:57 +0300 In-Reply-To: <20230607094810.26707-3-quic_wgong@quicinc.com> (Wen Gong's message of "Wed, 7 Jun 2023 05:48:07 -0400") Message-ID: <874jlhwu92.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 writes: > The regulatory info of WMI_REG_CHAN_LIST_CC_EXT_EVENTID is not saved > in ath11k now, the info should be saved in ath11k. Save the info for > each radio and support switch regulatory rules dynamically. > > Tested-on: WCN6855 hw2.0 PCI > WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.23 > > Signed-off-by: Wen Gong [...] > + ret = ath11k_reg_handle_chan_list(ab, reg_info, IEEE80211_REG_UNSET_AP); > + if (ret) { > + ath11k_dbg(ab, ATH11K_DBG_WMI, > + "failed to process regulatory info from received event\n"); > + goto mem_free; > } Why the warning message is using ath11k_dbg()? I think it should be ath11k_warn() and also print ret value. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches