Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1816347rwd; Wed, 17 May 2023 01:35:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4VpIPZJuNx96RYm1FGzXXaCvt/tmBpLV5PvwIuOtpbnbVYMBE1+e/R5o7Kn+9sDp7G7LU3 X-Received: by 2002:a05:6a20:938f:b0:101:8142:8fe3 with SMTP id x15-20020a056a20938f00b0010181428fe3mr33225325pzh.36.1684312517499; Wed, 17 May 2023 01:35:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684312517; cv=none; d=google.com; s=arc-20160816; b=SJvFBi5BHgNDdPPXSzBz0qhA9UN6RvTHOizrj3yx65BfPqPdsKzA/OVtTkA1TvlgoA 4VGDIXRYo0WZEvDM9cxwbVe6JheDsudTeXTCrd8/apatuACk3NklAN41PSgg47dZu+ay RajfGxPZpXD1XDw4dR1j8vvNGPZN506mX7iHpNu6rs1WguZVWauuQUpgAexIsTFtXx6f gcb0sdRNvrZCnfTTwYTVdna/k0hMkvQWCtRtoOIWNIdXdFjtC8SDSpzSMzm+SOiuDApZ 6s7aMpPHojkalcx76/o0y4Vd30L9WjG07aE1/OaxXwolBCfMn1j3bIQjxCwMcE79cMyS KeuA== 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=UPH6ZIv+Ey2l2rWvjXtQaBZPYQIoXB2o5hhaYqiBa8c=; b=Z820ym3opJ6wu/DwCXnGxr+sYBgT7VxRqg1mMLXk5ZCdPOt1RBHSJjA3Z4CBsIl7cq +iqiV4LM7u5AzNzIe9dIjleGSm86+D2fULcPD14owzPVAacxld610HijPMfVKtdJIEVI zg+LMk4ud7dA5ibPEfO0+FbulUJzyMpAZRjEV2KJEmGfXvyrGGdX0EpKES5izxY1+vQD bbpz1gVkYAU417msHxTYQgduwut8H87MFTXo1/px8KTc4eQT+0Wl+FjwILIumw7zCe8h fLiOprUVaHuXZK99/p5k9FfdfoZ1MtsMAjR5LQAxCQ1M84YoPn7m9dsCgHbEwuILUKAv ikNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pjkOMK8m; 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 bk13-20020a056a02028d00b00530b7ef148asi10463428pgb.894.2023.05.17.01.35.09; Wed, 17 May 2023 01:35:17 -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=pjkOMK8m; 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 S229802AbjEQITN (ORCPT + 62 others); Wed, 17 May 2023 04:19:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229895AbjEQITK (ORCPT ); Wed, 17 May 2023 04:19:10 -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 98EEE10EF for ; Wed, 17 May 2023 01:19:09 -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 2E4AE61774 for ; Wed, 17 May 2023 08:19:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9DFBFC433D2; Wed, 17 May 2023 08:19:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684311548; bh=La1MuPZ/2qVLr9ylXbwJw83v1motV4uLHA32QcWjphE=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=pjkOMK8mjdsHwGQyCnyWrhd6uJXdle0Ld1hUetsbd/kNIZ881yzN6OuiwIHCyaWk2 mbkXyp1+NgjXhq7V9ckLvkWgF5BPzHs3LTT0E+1Q2PkVYhFgDySdLOSBxOo2l0MwgU l6TOwXmCURxKIGmGeNGffpW9GJGmThPImp8GEldf7DhZ5wrwKCm23KSp8Io28+YmpV OwXAkd5v+TvtboC7cjYDolOzFLSQMQG1532WpOvbLOjf4YO2le1esNXvxxD2UOgkBk Bc6RMwja1WLZ6pvSXlRBbxse4TS18T9d4b52m4pDNDK2iEqHp+VgQwj297WBY/fR+0 H5wBFCYSOu8NQ== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH 1/2] ath11k: Relocate the func ath11k_mac_bitrate_mask_num_ht_rates() and change hweight16 to hweight8 From: Kalle Valo In-Reply-To: <20230504092033.3542456-2-quic_mkenna@quicinc.com> References: <20230504092033.3542456-2-quic_mkenna@quicinc.com> To: Maharaja Kennadyrajan Cc: , , Maharaja Kennadyrajan User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <168431154238.15787.9973143615337740761.kvalo@kernel.org> Date: Wed, 17 May 2023 08:19:07 +0000 (UTC) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 Maharaja Kennadyrajan wrote: > Relocate the function ath11k_mac_bitrate_mask_num_ht_rates() definition > to call this function from other functions which helps to avoid the > compilation error (function not defined). > > ht_mcs[] is 1 byte array and it is enough to use hweight8() instead > of hweight16(). Hence, fixed the same. > > Tested on: Compile tested only. > > Signed-off-by: Maharaja Kennadyrajan > Signed-off-by: Kalle Valo 2 patches applied to ath-next branch of ath.git, thanks. 570eec3d4050 wifi: ath11k: Relocate the func ath11k_mac_bitrate_mask_num_ht_rates() and change hweight16 to hweight8 df8e3729ffc0 wifi: ath11k: Send HT fixed rate in WMI peer fixed param -- https://patchwork.kernel.org/project/linux-wireless/patch/20230504092033.3542456-2-quic_mkenna@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches