From nobody Fri Dec 26 09:16:00 2025 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (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 4969112B8F for ; Mon, 8 Jan 2024 03:22:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fastmail.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fastmail.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fastmail.org header.i=@fastmail.org header.b="EIP7ciim"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="9ezDmld7" Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 24B6032012AF; Sun, 7 Jan 2024 22:22:46 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 07 Jan 2024 22:22:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1704684165; x= 1704770565; bh=TQ+vAMCace025Yta24D3XLwxWST60kKGlqxwczS5tME=; b=E IP7ciim4pJE6R8cI1u/J/wZncFKfHm7aXexyhTXHym1K1u7MhRHukNjzy9xrTe+t d/rkg9QKGuGHvcNmDkBdM3mjzggPPWjrLEMcyqhwot5dgus7+RoQztPre5KbE1Mu 3PNdcfQSjeVqG0uTPiKOfDm0bGLh/06EPNZyDT0t3DKpc33FyUeDXWlYL+aOsecw KhlQFpNkrTwAJgdncqQa+guuEe0qu+snrupZG5KwBWuNgZ08CvrcTgqPmyHPAB+h CaPYi5VBrCsFeDRyEWJsbnyXx0CpEtMambGf2gZwqMPE8aP2bWZwZ3siaD0/2qgN mjmt1BxXdogh3aThL0/xA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1704684165; x= 1704770565; bh=TQ+vAMCace025Yta24D3XLwxWST60kKGlqxwczS5tME=; b=9 ezDmld7IzQVNGhKxKOHGot3l9SLGF4/ikwUDYV3lSpIZdDJlei9nKRmWFJJ7SNk6 VANQwTmXFpB3cqYifPlWv8vdAd84HNAWbKaOMG0HyHnhu8BpCckocujjuBdkzFVD gwwAhMxaIYIokQ9yH+Lu4LehGpXfo75CMq1kxF4KBDFKet5Xw/QLIngnpigmdAf/ prllMWQN+9ZAP+8uQdX7cToVVLIFs61e1WSOLHag9jZdnCs9MAE36+xT/nkENB2A tTJ5zz5Zy7u+l3VuR1onzlpgTTYqSuf4nu2dD6yKsWUV/dWIZfW8CyjmaRqlGmmN teZOmibtpEXJYdRPlm6AQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdehhedgheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefirghrhicutfhoohhkrghrugcuoehgrghrhihrohhokhgr rhgusehfrghsthhmrghilhdrohhrgheqnecuggftrfgrthhtvghrnhepkeeuvdffueduke egieeuffejhefgkeetfeehueelfeduuefgveellefhfefgjedvnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghgrrhihrhhoohhkrghrugesfh grshhtmhgrihhlrdhorhhg X-ME-Proxy: Feedback-ID: ifd194980:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 7 Jan 2024 22:22:45 -0500 (EST) From: Gary Rookard To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Gary Rookard Subject: [PATCH 1/5] staging: rtl8192e: rename variable is40MHz Date: Sun, 7 Jan 2024 22:22:29 -0500 Message-ID: <20240108032233.4280-2-garyrookard@fastmail.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240108032233.4280-1-garyrookard@fastmail.org> References: <20240108032233.4280-1-garyrookard@fastmail.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Coding style issue, checkpatch avoid CamelCase, rename it. is40MHz -> is_40mhz Signed-off-by: Gary Rookard --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rt= l8192e/rtl819x_HTProc.c index 6d0912f90198..1b1cb9514028 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -87,36 +87,36 @@ static u16 ht_mcs_to_data_rate(struct rtllib_device *ie= ee, u8 mcs_rate) { struct rt_hi_throughput *ht_info =3D ieee->ht_info; =20 - u8 is40MHz =3D (ht_info->cur_bw_40mhz) ? 1 : 0; + u8 is_40mhz =3D (ht_info->cur_bw_40mhz) ? 1 : 0; u8 isShortGI =3D (ht_info->cur_bw_40mhz) ? ((ht_info->cur_short_gi_40mhz) ? 1 : 0) : ((ht_info->cur_short_gi_20mhz) ? 1 : 0); - return MCS_DATA_RATE[is40MHz][isShortGI][(mcs_rate & 0x7f)]; + return MCS_DATA_RATE[is_40mhz][isShortGI][(mcs_rate & 0x7f)]; } =20 u16 tx_count_to_data_rate(struct rtllib_device *ieee, u8 data_rate) { u16 cck_of_dm_rate[12] =3D {0x02, 0x04, 0x0b, 0x16, 0x0c, 0x12, 0x18, 0x24, 0x30, 0x48, 0x60, 0x6c}; - u8 is40MHz =3D 0; + u8 is_40mhz =3D 0; u8 isShortGI =3D 0; =20 if (data_rate < 12) return cck_of_dm_rate[data_rate]; if (data_rate >=3D 0x10 && data_rate <=3D 0x1f) { - is40MHz =3D 0; + is_40mhz =3D 0; isShortGI =3D 0; } else if (data_rate >=3D 0x20 && data_rate <=3D 0x2f) { - is40MHz =3D 1; + is_40mhz =3D 1; isShortGI =3D 0; } else if (data_rate >=3D 0x30 && data_rate <=3D 0x3f) { - is40MHz =3D 0; + is_40mhz =3D 0; isShortGI =3D 1; } else if (data_rate >=3D 0x40 && data_rate <=3D 0x4f) { - is40MHz =3D 1; + is_40mhz =3D 1; isShortGI =3D 1; } - return MCS_DATA_RATE[is40MHz][isShortGI][data_rate & 0xf]; + return MCS_DATA_RATE[is_40mhz][isShortGI][data_rate & 0xf]; } =20 bool is_ht_half_nmode_aps(struct rtllib_device *ieee) --=20 2.43.0 From nobody Fri Dec 26 09:16:00 2025 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (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 36AF514012 for ; Mon, 8 Jan 2024 03:22:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fastmail.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fastmail.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fastmail.org header.i=@fastmail.org header.b="asx10Boj"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="zeJqfZ7g" Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 2C0CF32012A7; Sun, 7 Jan 2024 22:22:53 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 07 Jan 2024 22:22:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1704684172; x= 1704770572; bh=wgbEUfxNY2iHRzo1R57EAm44pSGjcjmtaBwsUqyWzsc=; b=a sx10BojDFGi14JhZdaz4n0WupUF38BeCbp26uZrgg12JrqD8zqOYSZZ9k7dqhmZ+ eQkUaQcrF4ooMU2EOFkcXSli4C65DswU1XpbnRaeXeiksp0vOTQCuuPRSjW7Lo4b 8bXzXT/sDWiuu71sVR3VlSCWOwsfI6r50ADDwv3NLsGty0phQMO9oOmAEeeRwQ/B tzwca8amvzNDuYaIXtPp6atujie+xhImMQE0TqLGWzHzeTRoULGFGAdErbP0t4y0 tksu4zP56en1EvgnQFslX+LDgEbNXXS32dL8Y/SZzYio2CAdSD+XhdP1tAmQ+nTd 51rPipuogy356BHfnZFiQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1704684172; x= 1704770572; bh=wgbEUfxNY2iHRzo1R57EAm44pSGjcjmtaBwsUqyWzsc=; b=z eJqfZ7g0YjzirNvtBNuwfImq/UVDaga9S+ZX3uZIRv2SsVDJStbajOBS/Iw/QPc5 Vldf2V8wFp7XXTx/z0eYntRaUXSU6TxH1WHZt0gBDVKTe2NTQTRlNm8qnKDcC1nE t4p6IL109aLedpOpuxue+rLmdeC6iTwZ8PjxvRXhvDco/CbkB5ljqWAoz1CKvtE5 NPL+J+25fCXII9MD4bkwq3Bkg3OAWu8r0zqCpnJvtIZpDTj7GpQgWRG72N5lEwNl 6NHiaosmYdEBiv7hdTvGuX9XCsSdQ9AjMsBKuHFdHLqDPhGSILr2YImLH6/eFE+Q C7raQVkBP/iZ+H2x+x3JA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdehhedgheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefirghrhicutfhoohhkrghrugcuoehgrghrhihrohhokhgr rhgusehfrghsthhmrghilhdrohhrgheqnecuggftrfgrthhtvghrnhepkeeuvdffueduke egieeuffejhefgkeetfeehueelfeduuefgveellefhfefgjedvnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghgrrhihrhhoohhkrghrugesfh grshhtmhgrihhlrdhorhhg X-ME-Proxy: Feedback-ID: ifd194980:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 7 Jan 2024 22:22:52 -0500 (EST) From: Gary Rookard To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Gary Rookard Subject: [PATCH 2/5] staging: rtl8192e: rename variable isShortGI Date: Sun, 7 Jan 2024 22:22:30 -0500 Message-ID: <20240108032233.4280-3-garyrookard@fastmail.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240108032233.4280-1-garyrookard@fastmail.org> References: <20240108032233.4280-1-garyrookard@fastmail.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Coding style issue, checkpatch Avoid CamelCase, rename it. isShortGI -> is_short_gi Signed-off-by: Gary Rookard --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rt= l8192e/rtl819x_HTProc.c index 1b1cb9514028..43249b9cda44 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -88,10 +88,10 @@ static u16 ht_mcs_to_data_rate(struct rtllib_device *ie= ee, u8 mcs_rate) struct rt_hi_throughput *ht_info =3D ieee->ht_info; =20 u8 is_40mhz =3D (ht_info->cur_bw_40mhz) ? 1 : 0; - u8 isShortGI =3D (ht_info->cur_bw_40mhz) ? + u8 is_short_gi =3D (ht_info->cur_bw_40mhz) ? ((ht_info->cur_short_gi_40mhz) ? 1 : 0) : ((ht_info->cur_short_gi_20mhz) ? 1 : 0); - return MCS_DATA_RATE[is_40mhz][isShortGI][(mcs_rate & 0x7f)]; + return MCS_DATA_RATE[is_40mhz][is_short_gi][(mcs_rate & 0x7f)]; } =20 u16 tx_count_to_data_rate(struct rtllib_device *ieee, u8 data_rate) @@ -99,24 +99,24 @@ u16 tx_count_to_data_rate(struct rtllib_device *ieee, = u8 data_rate) u16 cck_of_dm_rate[12] =3D {0x02, 0x04, 0x0b, 0x16, 0x0c, 0x12, 0x18, 0x24, 0x30, 0x48, 0x60, 0x6c}; u8 is_40mhz =3D 0; - u8 isShortGI =3D 0; + u8 is_short_gi =3D 0; =20 if (data_rate < 12) return cck_of_dm_rate[data_rate]; if (data_rate >=3D 0x10 && data_rate <=3D 0x1f) { is_40mhz =3D 0; - isShortGI =3D 0; + is_short_gi =3D 0; } else if (data_rate >=3D 0x20 && data_rate <=3D 0x2f) { is_40mhz =3D 1; - isShortGI =3D 0; + is_short_gi =3D 0; } else if (data_rate >=3D 0x30 && data_rate <=3D 0x3f) { is_40mhz =3D 0; - isShortGI =3D 1; + is_short_gi =3D 1; } else if (data_rate >=3D 0x40 && data_rate <=3D 0x4f) { is_40mhz =3D 1; - isShortGI =3D 1; + is_short_gi =3D 1; } - return MCS_DATA_RATE[is_40mhz][isShortGI][data_rate & 0xf]; + return MCS_DATA_RATE[is_40mhz][is_short_gi][data_rate & 0xf]; } =20 bool is_ht_half_nmode_aps(struct rtllib_device *ieee) --=20 2.43.0 From nobody Fri Dec 26 09:16:00 2025 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (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 E5C4E1428A for ; Mon, 8 Jan 2024 03:23:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fastmail.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fastmail.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fastmail.org header.i=@fastmail.org header.b="JTSLJNPY"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="DBXyi89U" Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 0771B3201200; Sun, 7 Jan 2024 22:23:00 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 07 Jan 2024 22:23:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1704684180; x= 1704770580; bh=3wEPxbKkHpnRIdMmYfCvHR60EoMdiQJdirzE9v0MLlA=; b=J TSLJNPY4IruuLIk5k75nWDT0dMjxHp0T0mXY2kYHB+vZ+GIGk/mmw0vO7coEeGDm O8deDGgBLLHiuFj7l303D0de64t/M6sdjjAkJBSpCr0aFInMixDGUCFu2sKe8GNK P0Jabkr/iEhc64UJdlg/N139ZJFQNGpVuhcjEj+qhXHuW1DBtcb63xNZ8a6IR1Tr cn9EFc9qwdsGcV9qoNLUY/gAKzAytZalaE8OXwQIRc451Pxpk5RG2rAMV4p5zJJz PZsAhkFLiZ5gXs+4vH8eXP8LRx037LXsF/mB5OyqvrZ0pXQp/MHltj18EmwRFvSn dyO89RSmqm3zVsUSRNmvg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1704684180; x= 1704770580; bh=3wEPxbKkHpnRIdMmYfCvHR60EoMdiQJdirzE9v0MLlA=; b=D BXyi89Ue1/o8HIxsm2ApDAShq3dHn1yPBmMe2TlpYm298TEitfFjAP0JZ/ENaMs/ AXiu513sc9PsTDqbFg4SiPvGGLLnhdsBSMrGKE1D+KeenQK01B7CeWKVUWDky3RP SagrU6pFPkqMuD1lr0gm8hHHapXGKvoYfzpCrJJoM/hAzt76Xf0L5xO3sRfBJCvy 3FWXeAWpYNh/g1DxH2jvakgRf6Bn5ZwClTpJlmzshBJexZo1wDjI2C5GM/p9S7Gs cn+1e/DAiRTprfbtrXRUG28O7YXY7j04A6A5V4kiB3GZ7J5u4+ih0N49QBKEEWLE gm9JohKm5NbcEOXL2CGEA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdehhedgheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefirghrhicutfhoohhkrghrugcuoehgrghrhihrohhokhgr rhgusehfrghsthhmrghilhdrohhrgheqnecuggftrfgrthhtvghrnhepkeeuvdffueduke egieeuffejhefgkeetfeehueelfeduuefgveellefhfefgjedvnecuvehluhhsthgvrhfu ihiivgepudenucfrrghrrghmpehmrghilhhfrhhomhepghgrrhihrhhoohhkrghrugesfh grshhtmhgrihhlrdhorhhg X-ME-Proxy: Feedback-ID: ifd194980:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 7 Jan 2024 22:22:59 -0500 (EST) From: Gary Rookard To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Gary Rookard Subject: [PATCH 3/5] staging: rtl8192e: rename variable retValue Date: Sun, 7 Jan 2024 22:22:31 -0500 Message-ID: <20240108032233.4280-4-garyrookard@fastmail.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240108032233.4280-1-garyrookard@fastmail.org> References: <20240108032233.4280-1-garyrookard@fastmail.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Coding style issue, checkpatch Avoid CamelCase, rename it. retValue -> ret_value Signed-off-by: Gary Rookard --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 24 +++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rt= l8192e/rtl819x_HTProc.c index 43249b9cda44..fe066d39b563 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -121,7 +121,7 @@ u16 tx_count_to_data_rate(struct rtllib_device *ieee, = u8 data_rate) =20 bool is_ht_half_nmode_aps(struct rtllib_device *ieee) { - bool retValue =3D false; + bool ret_value =3D false; struct rtllib_network *net =3D &ieee->current_network; =20 if ((memcmp(net->bssid, BELKINF5D8233V1_RALINK, 3) =3D=3D 0) || @@ -130,18 +130,18 @@ bool is_ht_half_nmode_aps(struct rtllib_device *ieee) (memcmp(net->bssid, EDIMAX_RALINK, 3) =3D=3D 0) || (memcmp(net->bssid, AIRLINK_RALINK, 3) =3D=3D 0) || (net->ralink_cap_exist)) - retValue =3D true; + ret_value =3D true; else if (!memcmp(net->bssid, UNKNOWN_BORADCOM, 3) || !memcmp(net->bssid, LINKSYSWRT330_LINKSYSWRT300_BROADCOM, 3) || !memcmp(net->bssid, LINKSYSWRT350_LINKSYSWRT150_BROADCOM, 3) || (net->broadcom_cap_exist)) - retValue =3D true; + ret_value =3D true; else if (net->bssht.bd_rt2rt_aggregation) - retValue =3D true; + ret_value =3D true; else - retValue =3D false; + ret_value =3D false; =20 - return retValue; + return ret_value; } =20 static void ht_iot_peer_determine(struct rtllib_device *ieee) @@ -190,21 +190,21 @@ static void ht_iot_peer_determine(struct rtllib_devic= e *ieee) static u8 ht_iot_act_is_mgnt_use_cck_6m(struct rtllib_device *ieee, struct rtllib_network *network) { - u8 retValue =3D 0; + u8 ret_value =3D 0; =20 if (ieee->ht_info->iot_peer =3D=3D HT_IOT_PEER_BROADCOM) - retValue =3D 1; + ret_value =3D 1; =20 - return retValue; + return ret_value; } =20 static u8 ht_iot_act_is_ccd_fsync(struct rtllib_device *ieee) { - u8 retValue =3D 0; + u8 ret_value =3D 0; =20 if (ieee->ht_info->iot_peer =3D=3D HT_IOT_PEER_BROADCOM) - retValue =3D 1; - return retValue; + ret_value =3D 1; + return ret_value; } =20 static void ht_iot_act_determine_ra_func(struct rtllib_device *ieee, bool = bPeerRx2ss) --=20 2.43.0 From nobody Fri Dec 26 09:16:00 2025 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (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 5511214A9F for ; Mon, 8 Jan 2024 03:23:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fastmail.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fastmail.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fastmail.org header.i=@fastmail.org header.b="VN94fafA"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="7U4D0jPM" Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 6B32532012A7; Sun, 7 Jan 2024 22:23:08 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sun, 07 Jan 2024 22:23:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1704684187; x= 1704770587; bh=0RwRbEVKbmzLxnzvnM2sEomesz7nvhz+5lkfRS9XEEs=; b=V N94fafA1KkahDoJuqAWV12gMBUtRVVEwdpVUaok9OHfTzDZ2Ji+pd4lY2skZiuS2 MmklcMhv3KZBoAsRFlblpeZhl2ICVYahpky5tXuBYHmOph577cDUnaTulYpeWXt7 0bS5d9wWecGokD3pq11VN8UEWmn2HrYSeTfTCobUSkpMoCnWJdis/fZCEzsH+GCx 0xQ4oz6ajY5T6SClusUKNUzVQK75SVOeUYVL1oV/do6sW2OskUcn9m+QVDWGDX48 3QvF3P5H+AQRwBISPBt5L8cOK2OiogseyRR2TJQ+iWLKjj1gfwDjlHroY0PMHofA XXj2lEXkt5R1ylK1+lXeg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1704684187; x= 1704770587; bh=0RwRbEVKbmzLxnzvnM2sEomesz7nvhz+5lkfRS9XEEs=; b=7 U4D0jPM1MIvLOCffdhRi9YEoY24EE1jV0ZS97VMLMh1p5bvXJr+tnYB9thIH3bzW 0C0sdLzbGsx/bG2DjGde9O7JBLQadD5WLB5QiF1buM7p5xH+/4GR37OawHaA+W6j nWJ3cbK8eSS0x7LtwSCNVNHbZel95m3OS+jhBM649PXS8LB9Pc+hlEFQW4C05ahh 2XwnG/Kwg4vOr3NVQZatRoOZ97GnIE7LGmnxPDG7zvcGMgj8A/IC/jpIKGDHutNE HZUsPu9kuQ8Cjk1d3TX/I0FGSy4CYY48+CVtFewq781YrmmCjNhw3rOXEuXtJeTt KTvOnFlKIbGqrpJvGtlXw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdehhedgheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefirghrhicutfhoohhkrghrugcuoehgrghrhihrohhokhgr rhgusehfrghsthhmrghilhdrohhrgheqnecuggftrfgrthhtvghrnhepkeeuvdffueduke egieeuffejhefgkeetfeehueelfeduuefgveellefhfefgjedvnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghgrrhihrhhoohhkrghrugesfh grshhtmhgrihhlrdhorhhg X-ME-Proxy: Feedback-ID: ifd194980:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 7 Jan 2024 22:23:07 -0500 (EST) From: Gary Rookard To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Gary Rookard Subject: [PATCH 4/5] staging: rtl8192e: rename variable EWC11NHTCap Date: Sun, 7 Jan 2024 22:22:32 -0500 Message-ID: <20240108032233.4280-5-garyrookard@fastmail.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240108032233.4280-1-garyrookard@fastmail.org> References: <20240108032233.4280-1-garyrookard@fastmail.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Coding style issue, checkpatch Avoid CamelCase, rename it. EWC11NHTCap -> ewc_11n_ht_cap Signed-off-by: Gary Rookard --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rt= l8192e/rtl819x_HTProc.c index fe066d39b563..5598e74187cd 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -241,9 +241,9 @@ void ht_construct_capability_element(struct rtllib_devi= ce *ieee, u8 *pos_ht_cap, memset(pos_ht_cap, 0, *len); =20 if ((assoc) && (ht->peer_ht_spec_ver =3D=3D HT_SPEC_VER_EWC)) { - static const u8 EWC11NHTCap[] =3D { 0x00, 0x90, 0x4c, 0x33 }; + static const u8 ewc_11n_ht_cap[] =3D { 0x00, 0x90, 0x4c, 0x33 }; =20 - memcpy(pos_ht_cap, EWC11NHTCap, sizeof(EWC11NHTCap)); + memcpy(pos_ht_cap, ewc_11n_ht_cap, sizeof(ewc_11n_ht_cap)); cap_ele =3D (struct ht_capab_ele *)&pos_ht_cap[4]; *len =3D 30 + 2; } else { --=20 2.43.0 From nobody Fri Dec 26 09:16:00 2025 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (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 30C2F219E2 for ; Mon, 8 Jan 2024 03:23:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fastmail.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fastmail.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fastmail.org header.i=@fastmail.org header.b="li5baQRl"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="6JjFoVNq" Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 2082832012CF; Sun, 7 Jan 2024 22:23:16 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 07 Jan 2024 22:23:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1704684195; x= 1704770595; bh=+R3F62X3U/sQ5pF/DcFmLgx05zf8bbzHtroH7XEogPE=; b=l i5baQRl6pYxe6CD2U6RME286qPXP3XtvWT6hAiH+vGikjG0St5q8oBu042i+eq7b jvYLyAaxq6OKykMCPQePZCGuFl1O9mltTlVz3ryxNawuwjZ/6ZLFmPAtqPNujF08 DF7lmF4GHYCksCb0Hs6k9p0EvKhpEv5v5i7hcMTPMDC/eetpydUyaQDpXo1eevP7 w4Ue5VYppn0x98PK9PNo5OzYM1UiiIihhdvpjAtGE1hn3ovLcSXmNcYr9O6c0IBR EPeFdz1zzbXvh46i1Z7aBJwI3ltmngwcqY1JuG9FTkerKR3h7zYxYSxKLAKFc3nN NPJts0mm+Hisv6gt28z1A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1704684195; x= 1704770595; bh=+R3F62X3U/sQ5pF/DcFmLgx05zf8bbzHtroH7XEogPE=; b=6 JjFoVNqjbtpUaXSMmbLPKdvvZmXxj2mZIReKcnar3THr95kYBtSZ8xfGtXZj10i+ H3etDQQN+elSFyl+uhqAGNPhLPyTZgljQ7qO3PX0jWbIBS060AG40vWqjpWqTMGG RuJiZvqmWzYtkmTWP9MjkQXUPOMLLVjA9Dj6h7TSfGkkle3hKgMRhYjbYkTcxmK+ 7+/rpEWaA4OyfTWO3iSX7EfgfFYwu7pDf7G70lBIHCVQnvRARiGGKfe4z7GDjKJE BGToYa+G23uU1BgMrr0pTVmRUq28BlKKGrxe8xewIt3RzLmDwp7mjfd7d8Y+2RLR QJ0OHAS/H+2TGOGtUnJ6g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdehhedgheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefirghrhicutfhoohhkrghrugcuoehgrghrhihrohhokhgr rhgusehfrghsthhmrghilhdrohhrgheqnecuggftrfgrthhtvghrnhepkeeuvdffueduke egieeuffejhefgkeetfeehueelfeduuefgveellefhfefgjedvnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghgrrhihrhhoohhkrghrugesfh grshhtmhgrihhlrdhorhhg X-ME-Proxy: Feedback-ID: ifd194980:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 7 Jan 2024 22:23:15 -0500 (EST) From: Gary Rookard To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Gary Rookard Subject: [PATCH 5/5] staging: rtl8192e: rename variable AdvCoding Date: Sun, 7 Jan 2024 22:22:33 -0500 Message-ID: <20240108032233.4280-6-garyrookard@fastmail.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240108032233.4280-1-garyrookard@fastmail.org> References: <20240108032233.4280-1-garyrookard@fastmail.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Coding style issue, checkpatch Avoid CamelCase, rename it. AdvCoding -> adv_coding Signed-off-by: Gary Rookard --- drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl819= 2e/rtl819x_HT.h index 68577bffb936..95613619d568 100644 --- a/drivers/staging/rtl8192e/rtl819x_HT.h +++ b/drivers/staging/rtl8192e/rtl819x_HT.h @@ -24,7 +24,7 @@ enum ht_extchnl_offset { }; =20 struct ht_capab_ele { - u8 AdvCoding:1; + u8 adv_coding:1; u8 ChlWidth:1; u8 MimoPwrSave:2; u8 GreenField:1; diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rt= l8192e/rtl819x_HTProc.c index 5598e74187cd..351000d3bce7 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -251,7 +251,7 @@ void ht_construct_capability_element(struct rtllib_devi= ce *ieee, u8 *pos_ht_cap, *len =3D 26 + 2; } =20 - cap_ele->AdvCoding =3D 0; + cap_ele->adv_coding =3D 0; if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev)) cap_ele->ChlWidth =3D 0; else --=20 2.43.0