Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3301403rdh; Thu, 28 Sep 2023 08:02:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEL7OiAR3Hv6+FzTS+YHw/AnMBpMgtszNeHO67LH4H8eVRhVIx3tCnx3V7OY9Cmi9gdCR3d X-Received: by 2002:a05:6a20:5509:b0:14b:f9b2:eb7 with SMTP id ko9-20020a056a20550900b0014bf9b20eb7mr1132882pzb.59.1695913363600; Thu, 28 Sep 2023 08:02:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695913363; cv=none; d=google.com; s=arc-20160816; b=aTMnk3oJXi8jbCx8LynIRNJ2lwiKayVpMvx73pxl7PCAuGqQxca2+xj6usQ+W21kUP xDQZQPcslRYVmKH8Ys+jR4tUY1OkhrXKEOhaLxC+Tvs95my/OXQBBhnHwzKkO+P1nn9E tzRrFQ4wU65D9wWjAHR9qHkMMa9PWZW+zBbd2m/5ZuUmINqW6ewckH9KFP4M/cUIxMCF ObP5OZJWJfhJsrqhoTTJ/D4dGYY/EXOiQCH4gjvke4na72EKUXzYzqZqyY0OrM65vCtD VhkfFexAy5wRjEWeLX1Y2TQEvZ1U1u285fX8N4Dza31o6FzeN7ETR/DEHg2jhtGCZiGd pnYw== 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=8ydPpz0iNIMSK0YnpNnCgxSgJc8KHphQ7gk/zR0zpvE=; fh=f16tFBaP924Tl+HaT7LF5JExQKTKbOqFJp7UnIj51fM=; b=Lnkskus0osUvd0IK0NSlj860LbjaG1WR1vofftVCW1e/U3ovMUjBTx+OXvS+Keq97F Gfaj8H1tfrKiSoTr7AM2pbvYpsld2VX1NRlnrM2zYPPvwcvH/8OqTW8Ui4YzemuXM9xu aKNFKHFg+XNtwpHS9em3WlNVoEGn4saSYdnTOG2HN0wmO3JB3RhWj/0oB9l7RQZjMXsZ bjT8oHMoKs5Mec0NV5axr8A907pZ5d2svMWWl2ClbJI8cmvGyONf+ewwbOG3T/34zp8o UnFcvtCp6Q7Ze7KnO34q5TvhT1VVVcXdjGxsY1IMRNEZtLOQ678f9MdIOvbu7HBNZK/E mNpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="GUAF/hFf"; 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=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id x4-20020a63db44000000b005775c7e503csi16926293pgi.116.2023.09.28.08.02.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 08:02:43 -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=@kernel.org header.s=k20201202 header.b="GUAF/hFf"; 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=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 3AC8F808E658; Thu, 28 Sep 2023 08:00:06 -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 S231376AbjI1O7z (ORCPT + 55 others); Thu, 28 Sep 2023 10:59:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231332AbjI1O7y (ORCPT ); Thu, 28 Sep 2023 10:59:54 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F09BD195 for ; Thu, 28 Sep 2023 07:59:52 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9F19CC433C7; Thu, 28 Sep 2023 14:59:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695913192; bh=lpOR4Ou6X0Ukp2Qx3zi/x5F5K/rvMjRB0w5E6unmQdQ=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=GUAF/hFf0ZB6v2o5F5zS+Bg6az69VlGSDwjjobk4Z0pTSplNJOvoE+POSvkElf90n 3dRWD+p9nmpvn9n3gGSDACeW3QUL8XNzjghCnqJHGYsL32zqHBzPfbQPU9t9DPM3dv VU5ynJIPWlehGQ/aLXkDmV+cbCogpJJA1BTv5kOV7yEFtX8XDt3/4hW2yncM0uz/HL bq+VcKyUkQRDei4RpkzzNU3n36d6FTDg4VH/KkzZaKPMGYYxYGH4dLR6/eBlg+goJe +YYRGm7IGkkog+Y9GX7dk3bFk40WCM9WgmC/gwpbwRSQst18+Ekl9O0BSHDi+uB/wU yM5g+cUJ4MYwg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v2] wifi: ath12k: add support for hardware rfkill for WCN7850 From: Kalle Valo In-Reply-To: <20230906110412.182176-1-quic_lingbok@quicinc.com> References: <20230906110412.182176-1-quic_lingbok@quicinc.com> To: Lingbo Kong Cc: , , User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <169591318971.3019228.13253796564349878064.kvalo@kernel.org> Date: Thu, 28 Sep 2023 14:59:51 +0000 (UTC) X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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]); Thu, 28 Sep 2023 08:00:06 -0700 (PDT) Lingbo Kong wrote: > When hardware rfkill is enabled in the firmware, it will report the > capability using WMI_SYS_CAP_INFO_RFKILL bit in the WMI_SERVICE_READY event > to the host. Currently ath12k does not process this service capability. In > order to support this, update ath12k to check if the capability is enabled, > if so, send the GPIO information to firmware. When the firmware detects > hardware rfkill is enabled by the user, it will report it using > WMI_RFKILL_STATE_CHANGE_EVENTID. When ath12k receive the event, it will set > the value of rfkill_radio_on based on whether radio_state is equal to > WMI_RFKILL_RADIO_STATE_ON, then send WMI_PDEV_PARAM_RFKILL_ENABLE to > firmware. > > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4 > > Signed-off-by: Lingbo Kong > Acked-by: Jeff Johnson > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 004ccbc0dd49 wifi: ath12k: add support for hardware rfkill for WCN7850 -- https://patchwork.kernel.org/project/linux-wireless/patch/20230906110412.182176-1-quic_lingbok@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches