Received: by 2002:ab2:3c46:0:b0:1f5:f2ab:c469 with SMTP id x6csp105035lqf; Fri, 26 Apr 2024 00:31:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVAEaUqZnIdXidCs3qnwoKw6O1Of19eamSkVp+9V2IgKNGlbTSmThnzSrPO8TS9reP2bFeIkg0tXjRnqlfcqizO9MQIIjldQhokjeXAIQ== X-Google-Smtp-Source: AGHT+IEW1dvlJG/Cj9IH5q162gCrHlM6JYc15u551nIijQw//niOEdcnE78y0TyIgiAt+cMZH4UX X-Received: by 2002:a05:6358:797:b0:186:9d05:5f0 with SMTP id n23-20020a056358079700b001869d0505f0mr2096457rwj.22.1714116702437; Fri, 26 Apr 2024 00:31:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714116702; cv=pass; d=google.com; s=arc-20160816; b=TbTORMQ4oGWnkBOFovXa1ey++d/BCK8X6WvcLRh5xIpwka6UT+XIJvtz3LDkgbO/AX /WQTZwPdzjR5N/OIVRzb2p2eiVCtrsxU44S6n7vqXyy8F4xByWTs5RhFmGTJTw5YEpfe rMAVjmrAKHdc0prZxbwdDK4hy8sstEw9YC8Wk5QulQkgZqgqHiqzDyp0+kM6gvKi/uSh 5mXSLUUIQf19NuS5DG3qiXEtYFiXWIyvDvf9LAAFASX/VcMwd+Xx5tuh8dvgt7PifRnL 8+m7u4TjrS3eZabaw377o3FCAdD1WwNDTcrroEFNbhXznKUUoNyJmq+/lVM23uDj8OjR emzQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=1ugDEdjbF5o9GKH7g2bqMspcfcYi/pY4+2Ul5kvV9nI=; fh=JkBcMePOSeETsneULyp5vPcxQosY2mMOfbc94iuv0Ec=; b=m/BpSml9yV8DRrkZAZiMeUUpMjuK4um3xSvkVKiEMjfUSVYt05V/mT2AKr7yVmFq87 f4Mxqmt03Jh+a5+wVovSAkgwfXJ1AQYS6d1MkntGmBMdUH0iqRpQ9N5U7HiLU/dOQbYl MT2Rcb4h5aUOOBei5+r5OMClWaL32YE0BuMhhRLrzD9G8me6Otkdy+EqEommrlEpY/cS EDZQ0BTmQI/kx+celryOeF2BrExorPuveCMuF4x1Oy4c5JiwYvE+I8Cio0y1kGuPiJ5g 57vF4yBy45BsE5JgKaWIjndZDUeK9P+JrL7TQ+Ihn9Tos6WtPcrLp8NLCXI2lKP5aWnZ PVww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XY5QuWkc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-6920-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6920-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id y14-20020a05622a120e00b00439a1f8a61csi11988597qtx.217.2024.04.26.00.31.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 00:31:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6920-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XY5QuWkc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-6920-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6920-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 2BB9C1C21D28 for ; Fri, 26 Apr 2024 07:31:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CDB3213C3C3; Fri, 26 Apr 2024 07:31:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XY5QuWkc" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A767513BC3E for ; Fri, 26 Apr 2024 07:31:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714116687; cv=none; b=V4vf9kHTvlTuPTeTnFeNOXRcXbAsaOSTjKkIzV2xA4m0UwgqkGsbF/0iPFzXSgyp06ZEO4kgGtcq6ZLrV+N6uZTxPID6AIcYtAiwVlZKbwyx3UJxttrPYed316E4djXqDCOMTlad6LIlpSL7UQXISdTAahN8074LPrEH3ZGmeK0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714116687; c=relaxed/simple; bh=isyzkTMFUUfUJHWC2RVAZbtuOQi2dD5iTcTS2iLN7cE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=LskVlSnot9vgasKeUTfehkAux4HrN7EiQtvS0t80dT3T2/WP+LadFy3gmDAt/YSKaJ7EIgtmVnQTpE92/clTh84TO5HPnjaza3N5PQHR7k6imkhb3/iqMxbjOVkSCZHHA0DbxkEgk5W1UzapxpaXp6YDNWu0fcUdhbgXuW+3bHs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XY5QuWkc; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1AB3BC113CD; Fri, 26 Apr 2024 07:31:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714116687; bh=isyzkTMFUUfUJHWC2RVAZbtuOQi2dD5iTcTS2iLN7cE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=XY5QuWkcV44TfgMONSLttEq/z7XK6MbVSxZLSX5ziO04TfvnJ9us4QUHwmdKGyjBJ 63LRljRq6iW+az1xZnNE+cAJgUENNjV8REkhrX39v2LHxAdZqr9JRfdVlQBT7EMhm1 Lujg54U44l86GAkR9MRhXPAa9u3ZkB4f32mGau+1j7qJk/y7KoQ4C1yNPkP2RpiBp8 0+3jeYWKzIsYLSdsuJGVsV32vF5J9gGqhrINaOH/tbAcbuuIfwCusuMt7xctBAZAH3 L2NZSZ65AJcNZc5CcXJDeZ8IdJXS1kzcBbKqI1Za9vPa9jYY+eDF+2xX+P932IbX5V dsWk//oX0ovWA== From: Kalle Valo To: Jeff Johnson Cc: Pradeep Kumar Chitrapu , , , Muna Sinada Subject: Re: [PATCH v3 07/10] wifi: ath12k: add support for setting fixed HE rate/GI/LTF References: <20240424201959.935-1-quic_pradeepc@quicinc.com> <20240424201959.935-8-quic_pradeepc@quicinc.com> <72bc6772-8bf7-427d-8f03-01e8dbf30d0c@quicinc.com> Date: Fri, 26 Apr 2024 10:31:24 +0300 In-Reply-To: <72bc6772-8bf7-427d-8f03-01e8dbf30d0c@quicinc.com> (Jeff Johnson's message of "Thu, 25 Apr 2024 15:32:14 -0700") Message-ID: <87y190fulv.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Jeff Johnson writes: > On 4/24/2024 1:19 PM, Pradeep Kumar Chitrapu wrote: >> Add support to set fixed HE rate/GI/LTF values using nl80211. >> Reuse parts of the existing code path already used for HT/VHT >> to implement the new helpers symmetrically, similar to how >> HT/VHT is handled. >> >> Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 >> >> Co-developed-by: Muna Sinada >> Signed-off-by: Muna Sinada >> Signed-off-by: Pradeep Kumar Chitrapu >> --- > > [...] > >> @@ -7753,7 +8034,20 @@ ath12k_mac_bitrate_mask_get_single_nss(struct ath12k *ar, >> return false; >> } >> >> - if (ht_nss_mask != vht_nss_mask) >> + he_mcs_map = le16_to_cpu(ath12k_mac_get_tx_mcs_map(&sband->iftype_data->he_cap)); > > drivers/net/wireless/ath/ath12k/mac.c:8041:22: warning: incorrect type in argument 1 (different address spaces) > drivers/net/wireless/ath/ath12k/mac.c:8041:22: expected struct ieee80211_sta_he_cap const *he_cap > drivers/net/wireless/ath/ath12k/mac.c:8041:22: got struct ieee80211_sta_he_cap const [noderef] __iftype_data * ALWAYS run ath12k-check, we wrote the tool for a reason. Skipping these tests is disrespect for maintainers' time and a great way to get your patches to the bottom of the queue. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches