Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1808978rwd; Wed, 17 May 2023 01:27:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4vzC+T6DL7pxEzDF1LfLoHQciMWdLw3YemcLce95eSIxmuQnd87mDQ4sHgi7W8kgq2qZ29 X-Received: by 2002:aa7:88d5:0:b0:64a:6cad:d840 with SMTP id k21-20020aa788d5000000b0064a6cadd840mr23692058pff.25.1684312049474; Wed, 17 May 2023 01:27:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684312049; cv=none; d=google.com; s=arc-20160816; b=IQMKQSDAs2zx580PNNxUu8QGs068T/pn4XX6hel9u8rLF4eO8ZM6jmCLJ6U2b07j35 6jRB1D8ncMblDD1K9GETnfWciS4c+0SwTd+dNJ1PDfuIOGwLUZSAV7G3eDDBoZpjGKaf 6oD6kzL+OzKYPf6wU0sw5x8cYQQ8ci7OTllF3xAx39qc7sNs06KxTVmg+hZ5WgbYMXc/ YzIKHMNDYWxv7Au0hTUbpBJTvI7/jVM4tt/Akl94P2IXpmqCA4g5UgOtrj4/w5syWwhH qU6HDcsXqToH55YkwhT30CNtCmTSyUQTJhmp/9pYiUWxXAOMBrq3DayR5CFq3Gc3mQDs WVkQ== 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=tP+fb0IxxeCBXdb8unlHF+GT8oB3TMv/iiuaPbaXig8=; b=tlQmvQzwfw4m5omJU7dJK0o++VxMp7VlNL3t2NhkQqYQWykcTWCVHSkvV5kCBG19Wi wErngumjpD70oMaC+OTy7MK5mRir5gugiwVm/1UddhQ5vOV5s7/xFS4OMC3JO9ihwFXG xjLjtQ/SOshJl01Xv92k2uZcXSDAe/NA3cvvtjok9iswzpc7UaeBOOS7H7BcJMCVp3m6 1dvBjy9prdlA+5/XJQrZsuzQF+9ZQEC1wTY93l9FTVc/nhKico2gATy2seb7rTHtoJHV 53r30dssTBK4Xy2VBTCsx44/2P4cygZmz4Ad0wKMKezhAlw8spye90/Xgs2gHudmFet0 bKsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WUkKvsMB; 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 w190-20020a6230c7000000b0063b1fbbb8c5si21146242pfw.131.2023.05.17.01.27.22; Wed, 17 May 2023 01:27:29 -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=WUkKvsMB; 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 S230198AbjEQIYe (ORCPT + 63 others); Wed, 17 May 2023 04:24:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230194AbjEQIYW (ORCPT ); Wed, 17 May 2023 04:24:22 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98A395264 for ; Wed, 17 May 2023 01:24:14 -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 DBB7F63815 for ; Wed, 17 May 2023 08:24:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54E77C433D2; Wed, 17 May 2023 08:24:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684311853; bh=CB5qEF8ReCaIt+XiAIqzmCU3UHsgYgsJP9IZuPQ4zEI=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=WUkKvsMBAPe6+kpVTcsMBpNiPv3U4eiyeUtW7twzej6xxRWXxSJuxaf0ekg0H2tQA E3Znb5k72xvJK7MsgjLDvGAEBWLWJj+Olx4MUUmYlGlH/CRR/tq50t4cMo7ClxNgzE 7HNIDBCA0ZO+gTDU1lq7GXobxihJ1PefFtyGb80HyNY+mhlIElxvmyi0bFd4JAi5Wl qgjHrVVHOVmjOwVZ34ydQNPVeg5PfwM162i7uPKFdvRdF4d8xez/Jhmd3eqOrSUqyC XqKFbMNmoG8JEZCSe6G0JeJ+bgMTmsJjYxs3egMIH1Yq7rd9ZzIKNwDPfFnOWzpdxb 02VviRXoAUHZQ== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v2 1/2] ath11k: Relocate the func ath11k_mac_bitrate_mask_num_ht_rates() and change hweight16 to hweight8 From: Kalle Valo In-Reply-To: <20230510100242.1241752-2-quic_mkenna@quicinc.com> References: <20230510100242.1241752-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: <168431185022.6823.2193709812407218849.kvalo@kernel.org> Date: Wed, 17 May 2023 08:24:12 +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 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 I took v1 instead: https://patchwork.kernel.org/project/linux-wireless/list/?series=744909&state=*&order=date 2 patches set to Superseded. 13236705 [v2,1/2] ath11k: Relocate the func ath11k_mac_bitrate_mask_num_ht_rates() and change hweight16 to hweight8 13236704 [v2,2/2] ath11k: Send HT fixed rate in WMI peer fixed param -- https://patchwork.kernel.org/project/linux-wireless/patch/20230510100242.1241752-2-quic_mkenna@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches