Received: by 2002:ab2:23c8:0:b0:1f2:fdbc:cb93 with SMTP id a8csp173499lqe; Wed, 27 Mar 2024 02:18:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXNMP0ImIlWD7GWZ29wkw2W3GStudCVieSDyLunzUtWCeCOaEmtWm+gT8E4ESUO/nqq+6QbFe33qor2TXCsOAoByLMUCAmnOJwueL/WZA== X-Google-Smtp-Source: AGHT+IHTvi3J35hrJwhCMnqmj3+kD7W4Q+Zi2hrx5S9Sblsd9qkq8Tk61nYBoriDN2N5p/gTgszC X-Received: by 2002:a25:d3c3:0:b0:dc6:19ea:9204 with SMTP id e186-20020a25d3c3000000b00dc619ea9204mr405591ybf.61.1711531129503; Wed, 27 Mar 2024 02:18:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711531129; cv=pass; d=google.com; s=arc-20160816; b=GBELgrPBQdStS3jjLrRVWAmUh6eXFVFfDt1t74WVsD6olCT5utbMYSFzklnW9ks7/e JGchMsbdBtF7jsRcAJvyJhfPzSBM2mKYWReNBMFaK2z4XVqDiupjwAP1i4pW3tu5jmzi //qsvViVgC/6Axjxb+bBYgALxHvxAV3NkA8Q9bOidYGOb76l2hPaxh0Ny+NVY1TZJODQ 6jLeK/eaGxEGvGKYpxbaH4YJa7dRC9HrD/jHGgKaBEo6TKT8+c0Tonqw81QGE8jxM07a i/5+kr6Xn1nuUmeP46oJq3DDUu+I8b2aw40cVQ8CEXE2MvJ7BgmBC5GEypOMRAarOYgd 5wqg== 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=GubuKv9+VKpq+Iwtm3MfULtMJZBDbR5VPzDaYzngM3A=; fh=t5e1Jsj0G4qFSjoYW1RjtNTWMzoezlwo89yeYSELtGw=; b=AHXDc56C4JDFUKOr7bisa3CpD9NEkoP3H4G3p/94AOg52MDGxTZnJvh16agby8whu7 ORfshxLMV+i+r/jnjlsNsm+atBuQGkV69TccjK55EzVdYQQufWm2v5ANGGggwfI5w/a4 UNpcOFj+k84FzqbSJ9TUUZlm6DdO03cjHcd3jEdPcET1ix6mXkdxv2q5TcD2KiP+IvnM 3Q8Ko7WZv3ntdeUKx2XmOP+ZtETbv8TyvlKvhcilnTAInwxprFiIwdV0kBamtsANxfDI qkBebZt1owjOD3eZi7pUogKHwuuygRoFINYzy8QezHrUqsVLPGfZw7uB9T8tR4Rb74MS tTkg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BQKYYzIw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-5317-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5317-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id od5-20020a0562142f0500b006968fc6fc68si6048595qvb.551.2024.03.27.02.18.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 02:18:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5317-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BQKYYzIw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-5317-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5317-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 27D0E1C27CE5 for ; Wed, 27 Mar 2024 09:18:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7A67129D03; Wed, 27 Mar 2024 09:18:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BQKYYzIw" 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 546E324B26 for ; Wed, 27 Mar 2024 09:18:46 +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=1711531126; cv=none; b=Ixz7TrcReVir2jNwR6U68VzWEoMIwjXv+zoM7ExNivCl16sob3uFEJ95qX5WHcSCW5Hczr/Co/3TeYxi0qIO0R8g1Z0EqZIToTlXaKoARcn/AJbmV2CFD+C4nm2EFpdUKjUHFbo1Kz0AV90ak32KmhE+m6Yc7al7hLcdBdlys3U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711531126; c=relaxed/simple; bh=pXJBIn3/yHYZoNBzASByKDP3tGP88hTWf82ffXkylfs=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=ts3ivBDSDk1oOGcMFoE7q7v+MIVwY4t53iIYypWlNDan4iz8wcbIU7Pk1Q9tLMFBlQsHx4jr3TwHsPWWoVAnzTxvBOId4225qvS4rtHtTQo6xqfMD7edQ/hSw1OuU3kWa6VFAPwaV86kye3QLJtulswpWzXEoq5OfDprNWv43+s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=BQKYYzIw; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E0FBC433F1; Wed, 27 Mar 2024 09:18:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711531125; bh=pXJBIn3/yHYZoNBzASByKDP3tGP88hTWf82ffXkylfs=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=BQKYYzIwXeTryHe+g08v3+4Cs79y38cfk6ebX6C1LGv5Jv3Rzuw6/KSi33mMAcTJu KFUpXNgGmgk6YEkp3nZ4uQTUov19iNVQV81ID0s4abhU1Ue+7SobupfETiGgEnlFnu 3Y/wWkK0D2EsYB9K1KrBQNvFnbixy62PvS/mndJUG0aqn2aBT7gE8sP/8s8QgI/17v O9FM0HWbHDjd1yMQm4u02R3uG2KwA+QsrYJPymQxcR79acdrhMWzLO+/XPyvakqWV0 IfAkNZr5CTQh5VOT1qQwLBSmHpXuoiqy32muTn8gpR87Bj20cgG0F/o64nwM1l4wGb htrhZzmZj1Jyw== From: Kalle Valo To: Bitterblue Smith Cc: Ping-Ke Shih , "linux-wireless@vger.kernel.org" , "Larry.Finger@lwfinger.net" , "s.l-h@gmx.de" , "chewitt@libreelec.tv" Subject: Re: [PATCH v3 04/12] wifi: rtlwifi: Add rtl8192du/table.{c,h} References: <7f4b3309-1580-48f3-9426-29f1eb4052fd@gmail.com> <5170c29a7b565fdec2e004f9391d325328ef5a72.camel@realtek.com> <8a90f3cb-7218-4f23-8aa7-fcc68e2f4a93@gmail.com> Date: Wed, 27 Mar 2024 11:18:42 +0200 In-Reply-To: <8a90f3cb-7218-4f23-8aa7-fcc68e2f4a93@gmail.com> (Bitterblue Smith's message of "Tue, 26 Mar 2024 19:30:11 +0200") Message-ID: <87y1a4yqvh.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 Bitterblue Smith writes: >>> --- /dev/null >>> +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192du/table.c >>> @@ -0,0 +1,1675 @@ >>> +// SPDX-License-Identifier: GPL-2.0 >>> +/* Copyright(c) 2009-2012 Realtek Corporation.*/ >>> + >>> +#include >>> + >>> +#include "table.h" >>> + >>> +u32 rtl8192du_phy_reg_2tarray[PHY_REG_2T_ARRAYLENGTH] = { >> >> static const ? >> >>> + >>> +u32 rtl8192du_phy_reg_array_pg[PHY_REG_ARRAY_PG_LENGTH] = { >> >> static const ? >> > > I can make them static if I move them to table.h. Only phy.c > includes this header, so that should be fine. Do note that .h files can't contain static variables, otherwise there will be duplicate data. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches