Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp425009pxb; Thu, 21 Apr 2022 02:44:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCKcV4yqce5prKtwix7tFLSR8IGKHDOwHYpsB+MXZGholzQcS1B9ZxEBe8lQXoDaML0RH3 X-Received: by 2002:a17:906:3289:b0:6ef:ebf3:388 with SMTP id 9-20020a170906328900b006efebf30388mr10107132ejw.202.1650534265033; Thu, 21 Apr 2022 02:44:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650534265; cv=none; d=google.com; s=arc-20160816; b=ehdo9DWzeD9UmvwsB2ozE9ejEFasfcRiT8F78cIbRyHjDzRxR/FqTyZcn/aJGGJ0ry gxlXaxjnfglrb1uvPQGK+3LvTJLLUCeNFMbrtnU7giyfs3gqpZCcSw3A+7pDEq6HE1qT ubAGEm/qYBzUgOEmyyh/84bRRGjsgjJST/vAXS921Pb7BBzV7sICL4hW2kua6D9ynUCM YtRti/PnE/Ft9EgvP49uBClioIU2UukAu/pObUr0+3Siaq9E/Pz3bQx+jD3xgMeSUB3O 6doNivwVpR9BH8CLnuLKAczgYarQWivwe7CpdiFR0JTerd2cGzK27iFYQ8x3Rl97GMAs tJBA== 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=dys4iW3FlWmc2FSHvQb+Bu/V7Du5oHUYVPoREKSbmkY=; b=ZVJLFeCrZDcecxNxdOtQUmyi/4TwU3hp1WF7IJIZH8CUAwdoW/L6tPP/FMn8ckDIJ+ OI9LHWiUihURfNpX/EyI6DEtdqdydTuu3cnuNWXYw7mpp5zPQ1gTmQu+Kl9JwjjFE+Wa b+H9Xr3qFajQ+A21i1cut5Iw88+i8Ivz2EL5NXlmWJWUSn49xi378NczGt7eMoSJeBjy AVzTUaN6gGnQEPSYA3fj9fL4VFoz1lZ6z/sSXPE3ptHA9kyH3tUFpcWaKs4RSY+BXHeF sg1GxjVLiJYphgtfJzvN/bfxhvJ+nfax0bvNw6cfT+0lFIsPjh2ojub5vYlhmXU5tRXW buCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G0esuMOi; 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 z16-20020a170906075000b006df76385b71si3600592ejb.17.2022.04.21.02.44.01; Thu, 21 Apr 2022 02:44:25 -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=G0esuMOi; 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 S1380705AbiDTQiE (ORCPT + 67 others); Wed, 20 Apr 2022 12:38:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380692AbiDTQh7 (ORCPT ); Wed, 20 Apr 2022 12:37:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A02140A0E for ; Wed, 20 Apr 2022 09:35:12 -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 8304261A0D for ; Wed, 20 Apr 2022 16:35:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EE845C385A4; Wed, 20 Apr 2022 16:35:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650472510; bh=9ejcmMDe5SdSPg8+S6T6l9v/lhyBsRC+v5fAmICWhf4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=G0esuMOiYcfLJhQ/UB7sCdfiBh/6Ap5hQ7GQs+Sa7Ndwab7+NMhzkUJbkzD8qA4dQ Ei7n45c8TeCu7DRwhkC+GV4m2QDmScPeAHGgB5izYpK7vz3LsHUIEkq0W/8P/1TqGQ kOwB4zon3v9gJEr48RYlDA3a/k8MBoPEg6mf96ucWjgXY5ux20d88+odxoT8m9Wwqx Mbi5a0tU/T9Aw7HXkCBhYTUSDDFFf8wD17N5JWSWLP4CcvickD9JhswCWx7MCuRZ7m 9FBrNfNZQVUw89rv3nwfh2KUOAgK6RuRWRIPFzNWmg09THzSNEcfyQ138N3G2vEQMG URbLo5IqwpstQ== From: Kalle Valo To: Jeff Johnson Cc: Baochen Qiang , , Subject: Re: [PATCH v4 1/2] ath11k: add support for extended wmi service bit References: <20220401120948.1312956-1-quic_bqiang@quicinc.com> <20220401120948.1312956-2-quic_bqiang@quicinc.com> <4f421eab-1ace-51c6-e677-42b32b6afc56@quicinc.com> Date: Wed, 20 Apr 2022 19:35:06 +0300 In-Reply-To: <4f421eab-1ace-51c6-e677-42b32b6afc56@quicinc.com> (Jeff Johnson's message of "Fri, 1 Apr 2022 11:07:51 -0700") Message-ID: <87h76nogqt.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-7.7 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 Jeff Johnson writes: > On 4/1/2022 5:09 AM, Baochen Qiang wrote: >> From: Wen Gong >> >> Currently the wmi service bis is report from firmware, it is divided > > "bis" is a typo? > Also use of "Currently" here is confusing since it seems you are > changing that behavior. But the firmware reporting isn't changing, > only the host processing is changing. > > So perhaps: > When the WMI service bits are reported from firmware they are divided > into multiple segments, with 128 bits in each segment. > >> to 128 bits for each segment. The first segment is processed by >> ath11k_wmi_service_bitmap_copy(), the second segment is processed by >> ath11k_service_available_event() with WMI_TAG_SERVICE_AVAILABLE_EVENT, >> When the service bit exceed 256 bits, then firmware report it by tag >> WMI_TAG_ARRAY_UINT32 in WMI_SERVICE_AVAILABLE_EVENTID. >> >> ath11k does not process the third segment, this is to extend the wmi > > Here is where you can use "currently". And this is also a good place > to say why the change is needed since that is also missing from the > commit text. So consider: > Currently ath11k does not process the third segment. Upcoming features > need to know if firmware support is available for the features, so add > processing of the third segment. > > Also IMO the implementation details below do not need to be in the > commit text. > > I suspect Kalle can just apply these comments to his pending branch. Did that now, please check: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?h=pending&id=d98a4c9bd0b32824ad9ee2d24ecabb345edfaafe -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches