From nobody Sun Dec 28 19:32:33 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53292C4167B for ; Tue, 5 Dec 2023 23:16:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346604AbjLEXQI (ORCPT ); Tue, 5 Dec 2023 18:16:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232256AbjLEXQD (ORCPT ); Tue, 5 Dec 2023 18:16:03 -0500 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3A511AA for ; Tue, 5 Dec 2023 15:16:09 -0800 (PST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id DF1933200AD7; Tue, 5 Dec 2023 18:16:08 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 05 Dec 2023 18:16:09 -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:sender:subject:subject:to:to; s=fm1; t=1701818168; x= 1701904568; bh=THCdElhyvWkZbj7sCkvWw3NvcixUHD2ZPoSOA/uOitg=; b=f tAgWcLCrX9rW5OhCqJauo/DCOp/h35bvNOHw3nIBXyiD91Fgxei06dR6o9I8bE4b ipYPVjwQJP4vNdBcuiF8trOcnFt0oHAnzcqTHHKaWnznO6A2FYQCK/MzzUb5k4pE AfBztf5J3+85AlLXnbnz4LoTOFu35jKa1MF3mcZOCs99O/EQ8XMbFG9gMYvxKjZG l8oomCZi9/KPQRa0/F5hnVACy1lnE1M9PUGOesHtQoRGoKvzuh0uzyUn1NxwllWE HAjhp3xhzSGR8Kd/Iw0WFmeobVRPvxQQMldOEq9a8JKiWbaMMsVIqs4m6bozzwQm ZeETZWgKBDg9yEEKzJNxQ== 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:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1701818168; x= 1701904568; bh=THCdElhyvWkZbj7sCkvWw3NvcixUHD2ZPoSOA/uOitg=; b=U 8Nlc/hu1VsJ0Hbs3yux2hmgtLCyiBi7USyVnw27bmPkKZq3HJQMILihUheKDL7zU Ai7oh75Lw2kbFxToNt+1JF49CI6IXe29hJdkool5HJDJRWTDU8xqNfadAPoV7z77 OclM47QR2XYJLWxg2UVZVCNzbhFVOqJ/HbpwsCRckKwrxtBHzOtx5Uhp7DmPeQ0u VzwkEWyM9Sg/oxzy9QohauzzXvAdaXTcvcGD3xEIG/z0ALr7F2hMnRwRRZYHAczM DXnI7T5btmLEHEFgEdS/5kZ73Om5Jd6yqaJWuIrGJF8u89EE/j99G8U21a3ti9wy oAbDheys7Lzji3F+GfzYQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudejledgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefirghrhicutfhoohhkrghrugcuoehgrghrhihrohhokhgr rhgusehfrghsthhmrghilhdrohhrgheqnecuggftrfgrthhtvghrnhepkeeuvdffueduke egieeuffejhefgkeetfeehueelfeduuefgveellefhfefgjedvnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghgrrhihrhhoohhkrghrugesfh grshhtmhgrihhlrdhorhhg X-ME-Proxy: Feedback-ID: ifd194980:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 5 Dec 2023 18:16: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 1/5] staging: rtl8192e: renamed variable bRegShortGI20MHz Date: Tue, 5 Dec 2023 18:16:19 -0500 Message-ID: <20231205231623.23070-2-garyrookard@fastmail.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231205231623.23070-1-garyrookard@fastmail.org> References: <20231205231623.23070-1-garyrookard@fastmail.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Coding style issue, checkpatch Avoid CamelCase, rename it bRegShortGI20MHz -> reg_short_gi_20mhz Signed-off-by: Gary Rookard --- drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl819= 2e/rtl819x_HT.h index dd86faab6f53..411a1d61128c 100644 --- a/drivers/staging/rtl8192e/rtl819x_HT.h +++ b/drivers/staging/rtl8192e/rtl819x_HT.h @@ -98,7 +98,7 @@ struct rt_hi_throughput { u8 cur_bw_40mhz; u8 bRegShortGI40MHz; u8 bCurShortGI40MHz; - u8 bRegShortGI20MHz; + u8 reg_short_gi_20mhz; u8 bCurShortGI20MHz; u8 bRegSuppCCK; u8 bCurSuppCCK; diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rt= l8192e/rtl819x_HTProc.c index f263f329db77..c8792f6397ed 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -71,7 +71,7 @@ void ht_update_default_setting(struct rtllib_device *ieee) { struct rt_hi_throughput *ht_info =3D ieee->ht_info; =20 - ht_info->bRegShortGI20MHz =3D 1; + ht_info->reg_short_gi_20mhz =3D 1; ht_info->bRegShortGI40MHz =3D 1; =20 ht_info->bRegBW40MHz =3D 1; @@ -478,7 +478,7 @@ void HTOnAssocRsp(struct rtllib_device *ieee) ht_info->cur_tx_bw40mhz =3D ((pPeerHTInfo->RecommemdedTxWidth =3D=3D 1) ? true : false); =20 - ht_info->bCurShortGI20MHz =3D ((ht_info->bRegShortGI20MHz) ? + ht_info->bCurShortGI20MHz =3D ((ht_info->reg_short_gi_20mhz) ? ((pPeerHTCap->ShortGI20Mhz =3D=3D 1) ? true : false) : false); ht_info->bCurShortGI40MHz =3D ((ht_info->bRegShortGI40MHz) ? --=20 2.41.0 From nobody Sun Dec 28 19:32:33 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B8E97C4167B for ; Tue, 5 Dec 2023 23:16:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346620AbjLEXQO (ORCPT ); Tue, 5 Dec 2023 18:16:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346603AbjLEXQI (ORCPT ); Tue, 5 Dec 2023 18:16:08 -0500 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6236F1B8 for ; Tue, 5 Dec 2023 15:16:14 -0800 (PST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 52C273200AD7; Tue, 5 Dec 2023 18:16:13 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 05 Dec 2023 18:16:13 -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:sender:subject:subject:to:to; s=fm1; t=1701818172; x= 1701904572; bh=iwSjEUDCHjLDXFruixEeoEgAnGoqp14R4y4NW4pOLyc=; b=o TkrnQ7P0QwcZLCmSDZ0n5vIw+mcCzrPPnnWOFveXNFn3rngBKbr2W12OZX0bxE9e +dV52XM1vpF879IRVs2Lm43xgtygK3zeaFxecdoM6RZa4nbUqrZs1a6DX2iePX73 kYEW2qNFAvvmUJfGkfrKXf2M+lXaHNPSJdME21D8fteyXXY0Jd22TTUSMGLOqBj5 YSJLUxVT3Ttz1Nx264y3hahlWCCdE1DCEdCMKGOLWpUZZIk0EysT6BI4V0Z8z/O+ vAH2S5TQNUeX00VLUR+A/SHVKOv0NOg6LhbIMtr1gJ6reqTD/3nLgTV55GlXzaK0 MxS4p8Kptp2QcMA8BebgA== 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:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1701818172; x= 1701904572; bh=iwSjEUDCHjLDXFruixEeoEgAnGoqp14R4y4NW4pOLyc=; b=J IIZsgwa4lgfB3TI/wr61HYUnd5Vqdo8ZLfnvffPiKkejAYnYgsCVGqFa66P1mTl+ FNQ+rpy7aUQLXThI2FUfDsjFa2KpVVj+Up+GkWp8M35xs2gD85GIfPEExj0qG+uO Sb5pGgHpA8+OvSi9vHbcX8E8fGthJPWZpvCxIxqauTxQQBC1oS8Qov9vSVChRo+H XIwK3p8Lz0rUBLVVRnliCFsl5Ok7XNA3nX46g5HwF4XbSnlMtLw1mnFPJ9IgWAn4 NHVA56EEu9JKdsM9uwIW/NT3k3hiYhvTOYlM7hsb28bNsN/Bn+k6AzlEsh0PL7k+ 1FEDjdISRGbSrFbKy6sKw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudejledgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefirghrhicutfhoohhkrghrugcuoehgrghrhihrohhokhgr rhgusehfrghsthhmrghilhdrohhrgheqnecuggftrfgrthhtvghrnhepkeeuvdffueduke egieeuffejhefgkeetfeehueelfeduuefgveellefhfefgjedvnecuvehluhhsthgvrhfu ihiivgepudenucfrrghrrghmpehmrghilhhfrhhomhepghgrrhihrhhoohhkrghrugesfh grshhtmhgrihhlrdhorhhg X-ME-Proxy: Feedback-ID: ifd194980:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 5 Dec 2023 18:16:12 -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: renamed variable bRegShortGI40MHz Date: Tue, 5 Dec 2023 18:16:20 -0500 Message-ID: <20231205231623.23070-3-garyrookard@fastmail.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231205231623.23070-1-garyrookard@fastmail.org> References: <20231205231623.23070-1-garyrookard@fastmail.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Coding style issue, checkpatch Avoid CamelCase, rename it bRegShortGI40MHz -> reg_short_gi_40mhz Signed-off-by: Gary Rookard --- drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl819= 2e/rtl819x_HT.h index 411a1d61128c..825c60cbcacb 100644 --- a/drivers/staging/rtl8192e/rtl819x_HT.h +++ b/drivers/staging/rtl8192e/rtl819x_HT.h @@ -96,7 +96,7 @@ struct rt_hi_throughput { u8 current_ht_support; u8 bRegBW40MHz; u8 cur_bw_40mhz; - u8 bRegShortGI40MHz; + u8 reg_short_gi_40mhz; u8 bCurShortGI40MHz; u8 reg_short_gi_20mhz; u8 bCurShortGI20MHz; diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rt= l8192e/rtl819x_HTProc.c index c8792f6397ed..580b1423c46b 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -72,7 +72,7 @@ void ht_update_default_setting(struct rtllib_device *ieee) struct rt_hi_throughput *ht_info =3D ieee->ht_info; =20 ht_info->reg_short_gi_20mhz =3D 1; - ht_info->bRegShortGI40MHz =3D 1; + ht_info->reg_short_gi_40mhz =3D 1; =20 ht_info->bRegBW40MHz =3D 1; =20 @@ -481,7 +481,7 @@ void HTOnAssocRsp(struct rtllib_device *ieee) ht_info->bCurShortGI20MHz =3D ((ht_info->reg_short_gi_20mhz) ? ((pPeerHTCap->ShortGI20Mhz =3D=3D 1) ? true : false) : false); - ht_info->bCurShortGI40MHz =3D ((ht_info->bRegShortGI40MHz) ? + ht_info->bCurShortGI40MHz =3D ((ht_info->reg_short_gi_40mhz) ? ((pPeerHTCap->ShortGI40Mhz =3D=3D 1) ? true : false) : false); =20 --=20 2.41.0 From nobody Sun Dec 28 19:32:33 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 723E5C4167B for ; Tue, 5 Dec 2023 23:16:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346557AbjLEXQ1 (ORCPT ); Tue, 5 Dec 2023 18:16:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346607AbjLEXQS (ORCPT ); Tue, 5 Dec 2023 18:16:18 -0500 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26754D50 for ; Tue, 5 Dec 2023 15:16:17 -0800 (PST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id B60DB3200AD7; Tue, 5 Dec 2023 18:16:16 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 05 Dec 2023 18:16:17 -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:sender:subject:subject:to:to; s=fm1; t=1701818176; x= 1701904576; bh=dEEod0DePXSazwGj2wk28U/n46ayXATcrF5/D6Y7f5k=; b=T qdkktG6ySDg9CiX687Kt8l/FJlXkYlFXOk6mcmXPmNpmlYEDCvV8wQdivVylvU7E 1U3VTm2p6UnB30G1bXr9Kp3eriv76u+9Z7mqi7FkrDvsRmtX6GFKdaF1fGaGxR9H +rkTLpAW+x0UUujOLdF4qp9dL9erN/dw+MWJqj1IeYGmRz46wqNauqZS3qG3c79g OmgFkHufvpN7wfSvd5oXpR+kcuHJKRZveCVVtEcx/iDp7Q2r3RwrqapkskQXond9 YxQ2Bk4SVUGI2pKjm3nuVkYxwvo1lxkUoYlnj8KHg5gb91Jj4DJWwCSWaCYS3I2F UucivT+AMHK8EtrHl/v+g== 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:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1701818176; x= 1701904576; bh=dEEod0DePXSazwGj2wk28U/n46ayXATcrF5/D6Y7f5k=; b=z tuz+cTUwgKV4/+rjW/tfFNJ7PRdc877EniRLFvptNYXjWgPPgYim8Gz+2h96yXwF nN8QEMQYLSF1RJ6ew9EtN15V7Uyj0VEmopjpY5dvb3wCYC8g5ch3M4IePrxlUVTF rRJ/5p2K5d56AWVl/ABlTmkS1BR9xG/xZ/zy4Y5ZhPpb4PvIJtzQkb0jO7PNPQB/ AxdcSenJrha3L19kHI+NyYQ92SaLuhHOxgq9oVPesy901ohlwywZYfZ1ycMLpdfZ 4+5bJ9w49107s8zbAwwnRu+Gki6na05X7fMS38lEBIXVjd4xmdP/FvsX1Ofx04W6 YcnzorgTMTcqQUOczZDVQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudejledgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefirghrhicutfhoohhkrghrugcuoehgrghrhihrohhokhgr rhgusehfrghsthhmrghilhdrohhrgheqnecuggftrfgrthhtvghrnhepkeeuvdffueduke egieeuffejhefgkeetfeehueelfeduuefgveellefhfefgjedvnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghgrrhihrhhoohhkrghrugesfh grshhtmhgrihhlrdhorhhg X-ME-Proxy: Feedback-ID: ifd194980:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 5 Dec 2023 18:16: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 3/5] staging: rtl8192e: renamed variable bRegBW40MHz Date: Tue, 5 Dec 2023 18:16:21 -0500 Message-ID: <20231205231623.23070-4-garyrookard@fastmail.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231205231623.23070-1-garyrookard@fastmail.org> References: <20231205231623.23070-1-garyrookard@fastmail.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Coding style issue, checkpatch Avoid CamelCase, rename it bRegBW40MHz -> reg_bw_40mhz Signed-off-by: Gary Rookard --- drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- drivers/staging/rtl8192e/rtl819x_HTProc.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl819= 2e/rtl819x_HT.h index 825c60cbcacb..ef88d7d713fb 100644 --- a/drivers/staging/rtl8192e/rtl819x_HT.h +++ b/drivers/staging/rtl8192e/rtl819x_HT.h @@ -94,7 +94,7 @@ enum ht_aggre_mode { struct rt_hi_throughput { u8 enable_ht; u8 current_ht_support; - u8 bRegBW40MHz; + u8 reg_bw_40mhz; u8 cur_bw_40mhz; u8 reg_short_gi_40mhz; u8 bCurShortGI40MHz; diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rt= l8192e/rtl819x_HTProc.c index 580b1423c46b..68ad082d41be 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -74,9 +74,9 @@ void ht_update_default_setting(struct rtllib_device *ieee) ht_info->reg_short_gi_20mhz =3D 1; ht_info->reg_short_gi_40mhz =3D 1; =20 - ht_info->bRegBW40MHz =3D 1; + ht_info->reg_bw_40mhz =3D 1; =20 - if (ht_info->bRegBW40MHz) + if (ht_info->reg_bw_40mhz) ht_info->bRegSuppCCK =3D 1; else ht_info->bRegSuppCCK =3D true; @@ -275,7 +275,7 @@ void HTConstructCapabilityElement(struct rtllib_device = *ieee, u8 *posHTCap, if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev)) pCapELE->ChlWidth =3D 0; else - pCapELE->ChlWidth =3D (pHT->bRegBW40MHz ? 1 : 0); + pCapELE->ChlWidth =3D (pHT->reg_bw_40mhz ? 1 : 0); =20 pCapELE->MimoPwrSave =3D pHT->self_mimo_ps; pCapELE->GreenField =3D 0; @@ -286,7 +286,7 @@ void HTConstructCapabilityElement(struct rtllib_device = *ieee, u8 *posHTCap, pCapELE->RxSTBC =3D 0; pCapELE->DelayBA =3D 0; pCapELE->MaxAMSDUSize =3D (MAX_RECEIVE_BUFFER_SIZE >=3D 7935) ? 1 : 0; - pCapELE->DssCCk =3D ((pHT->bRegBW40MHz) ? (pHT->bRegSuppCCK ? 1 : 0) : 0); + pCapELE->DssCCk =3D ((pHT->reg_bw_40mhz) ? (pHT->bRegSuppCCK ? 1 : 0) : 0= ); pCapELE->PSMP =3D 0; pCapELE->LSigTxopProtect =3D 0; =20 @@ -734,7 +734,7 @@ void HTSetConnectBwMode(struct rtllib_device *ieee, { struct rt_hi_throughput *ht_info =3D ieee->ht_info; =20 - if (!ht_info->bRegBW40MHz) + if (!ht_info->reg_bw_40mhz) return; =20 if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev)) --=20 2.41.0 From nobody Sun Dec 28 19:32:33 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB8C3C4167B for ; Tue, 5 Dec 2023 23:16:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235126AbjLEXQc (ORCPT ); Tue, 5 Dec 2023 18:16:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbjLEXQV (ORCPT ); Tue, 5 Dec 2023 18:16:21 -0500 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A6B8D7F for ; Tue, 5 Dec 2023 15:16:20 -0800 (PST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 9BBA33200ADA; Tue, 5 Dec 2023 18:16:19 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 05 Dec 2023 18:16:20 -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:sender:subject:subject:to:to; s=fm1; t=1701818179; x= 1701904579; bh=g87UGPn1eU4AoTaT2s2jVXV+I8zvuughjKi3FJl/6ng=; b=f goSTBGDI9VCcGy1AMaXBrxF5LXjRqQv9JBrsahGdOc2K/IZPOvoI6mZ4l7MJ3GV9 HyPWm2Q//Py4zEzaGuG3WorTSlXtGfrrK8GzeLlntzuplPcPnPFX1Ya8DQ8ccu40 qKbvzMT+PUHPQW5R9a1oPz1dEoMlpHwYBgA+5Vq4kngdVl8opI+0q2TeggFOe3u2 8TDS8omT2Bphrx3hnR8KJIaqW+Rk2XFSVD9oNYdin2rBoQMdB5JTLt5BfX61NxEa fkZHglVx3FmtEjw/2Pf57ySOa4A8Bm2a9YCzMSaMU1F4BHyOT8brmEVvIVr7BPqN lBaPiJzifukseJ+zT21eg== 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:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1701818179; x= 1701904579; bh=g87UGPn1eU4AoTaT2s2jVXV+I8zvuughjKi3FJl/6ng=; b=C waAKx7FySiW5XY3++EMqJqxnK0rfGAWwL7K2Bod0lw1hoAu9ZcyRCUbYG2LwiOf2 pUovK4W/TAJCIaV8+eEAhuvN18RWTw1J1uPSG7KwW6eOwIodlKFwEF3IBFDGEHOl /mSdwoC5q68WKl67bw9TZkjzoUhNcTAQ97X0eSEmNnZhbFPmN/y55/NM288vnO7+ vyBwOB73bBjBVBeMauQse6+K+wpSb7YGC/vanBU71kp49vytU59lxfPPMCopiISL WdRooATuHtqHT9ZTPcBAI52aiu+Bm2OlqehaXxUKNQwk9/dFTZaAlpjx5XxuY2vC N3HK8jWOPJOiptAH49BEw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudejledgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefirghrhicutfhoohhkrghrugcuoehgrghrhihrohhokhgr rhgusehfrghsthhmrghilhdrohhrgheqnecuggftrfgrthhtvghrnhepkeeuvdffueduke egieeuffejhefgkeetfeehueelfeduuefgveellefhfefgjedvnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghgrrhihrhhoohhkrghrugesfh grshhtmhgrihhlrdhorhhg X-ME-Proxy: Feedback-ID: ifd194980:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 5 Dec 2023 18:16:18 -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: renamed variable bRegSuppCCK Date: Tue, 5 Dec 2023 18:16:22 -0500 Message-ID: <20231205231623.23070-5-garyrookard@fastmail.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231205231623.23070-1-garyrookard@fastmail.org> References: <20231205231623.23070-1-garyrookard@fastmail.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Coding style issue, checkpatch Avoid CamelCase, rename it bRegSuppCCK -> reg_supp_cck Signed-off-by: Gary Rookard --- drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- drivers/staging/rtl8192e/rtl819x_HTProc.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl819= 2e/rtl819x_HT.h index ef88d7d713fb..c3efff2873d4 100644 --- a/drivers/staging/rtl8192e/rtl819x_HT.h +++ b/drivers/staging/rtl8192e/rtl819x_HT.h @@ -100,7 +100,7 @@ struct rt_hi_throughput { u8 bCurShortGI40MHz; u8 reg_short_gi_20mhz; u8 bCurShortGI20MHz; - u8 bRegSuppCCK; + u8 reg_supp_cck; u8 bCurSuppCCK; enum ht_spec_ver ePeerHTSpecVer; struct ht_capab_ele SelfHTCap; diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rt= l8192e/rtl819x_HTProc.c index 68ad082d41be..910f8e9c9394 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -77,9 +77,9 @@ void ht_update_default_setting(struct rtllib_device *ieee) ht_info->reg_bw_40mhz =3D 1; =20 if (ht_info->reg_bw_40mhz) - ht_info->bRegSuppCCK =3D 1; + ht_info->reg_supp_cck =3D 1; else - ht_info->bRegSuppCCK =3D true; + ht_info->reg_supp_cck =3D true; =20 ht_info->nAMSDU_MaxSize =3D 7935UL; ht_info->bAMSDU_Support =3D 0; @@ -286,7 +286,7 @@ void HTConstructCapabilityElement(struct rtllib_device = *ieee, u8 *posHTCap, pCapELE->RxSTBC =3D 0; pCapELE->DelayBA =3D 0; pCapELE->MaxAMSDUSize =3D (MAX_RECEIVE_BUFFER_SIZE >=3D 7935) ? 1 : 0; - pCapELE->DssCCk =3D ((pHT->reg_bw_40mhz) ? (pHT->bRegSuppCCK ? 1 : 0) : 0= ); + pCapELE->DssCCk =3D ((pHT->reg_bw_40mhz) ? (pHT->reg_supp_cck ? 1 : 0) : = 0); pCapELE->PSMP =3D 0; pCapELE->LSigTxopProtect =3D 0; =20 @@ -485,7 +485,7 @@ void HTOnAssocRsp(struct rtllib_device *ieee) ((pPeerHTCap->ShortGI40Mhz =3D=3D 1) ? true : false) : false); =20 - ht_info->bCurSuppCCK =3D ((ht_info->bRegSuppCCK) ? + ht_info->bCurSuppCCK =3D ((ht_info->reg_supp_cck) ? ((pPeerHTCap->DssCCk =3D=3D 1) ? true : false) : false); =20 --=20 2.41.0 From nobody Sun Dec 28 19:32:33 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D3151C4167B for ; Tue, 5 Dec 2023 23:16:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346605AbjLEXQi (ORCPT ); Tue, 5 Dec 2023 18:16:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232404AbjLEXQY (ORCPT ); Tue, 5 Dec 2023 18:16:24 -0500 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E336196 for ; Tue, 5 Dec 2023 15:16:23 -0800 (PST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 4610632000D7; Tue, 5 Dec 2023 18:16:22 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 05 Dec 2023 18:16:22 -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:sender:subject:subject:to:to; s=fm1; t=1701818181; x= 1701904581; bh=zcthwmDi/kwf3FaO008HcZBaNi9LArBnUS4kxfvngzg=; b=E qaflv0pDEW8KG0qidNpqAEkEar3XazSE66BabUHqUBKRNJM1oMeCtQDjOk1wuD2f WYbKKy5jLbklUKRtUEQHDUrI9SDTk96BrZm+7W9npy/CdPzSM64xmLbtDGvSuRFD GVJmsK1NBfFOVVOGsjWKCZmpMnqFuUwUHftzVG+CphgtlXu4GNL2ZovEGyNpvZXQ vH2PCcsBd5gWO+TRgC/dQu2h37WCMJVsv1RJEs3iYa4nuJPWUgaanfACIZjXHNAO CEBwDco8KZ7aoEifahDnMJA8Yp0rguj5dhLHeNEHmaavjxM9/9XwuoTvG+cChGpJ 7vHYdZZJ4koWFYD+WYtPQ== 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:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1701818181; x= 1701904581; bh=zcthwmDi/kwf3FaO008HcZBaNi9LArBnUS4kxfvngzg=; b=o d2NiV7WvSyNSWfEGTA7f7I/bqukG5DTxKA9AmHr+ZHuPXE5EJ9JfqK81hovMlZ9W kuTV+tYlfUNnrGyKjq81zx7/Nl18sil244r4KKrGLXfpjVxs0Whl03hkA+y0h+RF P1UfkztF6U1cZXLlsmJ6YSCBJM391Jb1eOc2tgiglsUlNY5Amenuq96cSoSewguX J/F9T6EyB7cqoObkUfzh93joNBLk65O/PKfMAtp1/6Cb80A6NzzmpK4NijevATZ/ GR8NzVCHM4M0Vc0vGtysO4vNOTJHC+6JIFEC2HgcnCKF6/Njr4DEoe8hv3mBa8vo 8ibyk31znDZ3D7BD5QxjA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudejledgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefirghrhicutfhoohhkrghrugcuoehgrghrhihrohhokhgr rhgusehfrghsthhmrghilhdrohhrgheqnecuggftrfgrthhtvghrnhepkeeuvdffueduke egieeuffejhefgkeetfeehueelfeduuefgveellefhfefgjedvnecuvehluhhsthgvrhfu ihiivgepvdenucfrrghrrghmpehmrghilhhfrhhomhepghgrrhihrhhoohhkrghrugesfh grshhtmhgrihhlrdhorhhg X-ME-Proxy: Feedback-ID: ifd194980:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 5 Dec 2023 18:16:21 -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: renamed variable nAMSDU_MaxSize Date: Tue, 5 Dec 2023 18:16:23 -0500 Message-ID: <20231205231623.23070-6-garyrookard@fastmail.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231205231623.23070-1-garyrookard@fastmail.org> References: <20231205231623.23070-1-garyrookard@fastmail.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Coding style issue, checkpatch Avoid CamelCase, rename it nAMSDU_MaxSize -> amsdu_max_size Signed-off-by: Gary Rookard --- drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- drivers/staging/rtl8192e/rtl819x_HTProc.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl819= 2e/rtl819x_HT.h index c3efff2873d4..5018c3905be8 100644 --- a/drivers/staging/rtl8192e/rtl819x_HT.h +++ b/drivers/staging/rtl8192e/rtl819x_HT.h @@ -108,7 +108,7 @@ struct rt_hi_throughput { u8 PeerHTCapBuf[32]; u8 PeerHTInfoBuf[32]; u8 bAMSDU_Support; - u16 nAMSDU_MaxSize; + u16 amsdu_max_size; u8 bCurrent_AMSDU_Support; u16 nCurrent_AMSDU_MaxSize; u8 bAMPDUEnable; diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rt= l8192e/rtl819x_HTProc.c index 910f8e9c9394..6475832f23f6 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -81,7 +81,7 @@ void ht_update_default_setting(struct rtllib_device *ieee) else ht_info->reg_supp_cck =3D true; =20 - ht_info->nAMSDU_MaxSize =3D 7935UL; + ht_info->amsdu_max_size =3D 7935UL; ht_info->bAMSDU_Support =3D 0; =20 ht_info->bAMPDUEnable =3D 1; @@ -493,10 +493,10 @@ void HTOnAssocRsp(struct rtllib_device *ieee) =20 nMaxAMSDUSize =3D (pPeerHTCap->MaxAMSDUSize =3D=3D 0) ? 3839 : 7935; =20 - if (ht_info->nAMSDU_MaxSize > nMaxAMSDUSize) + if (ht_info->amsdu_max_size > nMaxAMSDUSize) ht_info->nCurrent_AMSDU_MaxSize =3D nMaxAMSDUSize; else - ht_info->nCurrent_AMSDU_MaxSize =3D ht_info->nAMSDU_MaxSize; + ht_info->nCurrent_AMSDU_MaxSize =3D ht_info->amsdu_max_size; =20 ht_info->current_ampdu_enable =3D ht_info->bAMPDUEnable; if (ieee->rtllib_ap_sec_type && @@ -569,7 +569,7 @@ void HTInitializeHTInfo(struct rtllib_device *ieee) ht_info->bCurSuppCCK =3D true; =20 ht_info->bCurrent_AMSDU_Support =3D false; - ht_info->nCurrent_AMSDU_MaxSize =3D ht_info->nAMSDU_MaxSize; + ht_info->nCurrent_AMSDU_MaxSize =3D ht_info->amsdu_max_size; ht_info->current_mpdu_density =3D ht_info->MPDU_Density; ht_info->CurrentAMPDUFactor =3D ht_info->AMPDU_Factor; =20 --=20 2.41.0