From nobody Thu Dec 18 23:37:35 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 575F6C61D85 for ; Tue, 21 Nov 2023 18:10:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233972AbjKUSKK (ORCPT ); Tue, 21 Nov 2023 13:10:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229502AbjKUSKI (ORCPT ); Tue, 21 Nov 2023 13:10:08 -0500 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 465CDE8 for ; Tue, 21 Nov 2023 10:10:05 -0800 (PST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 64F193201A16; Tue, 21 Nov 2023 13:10:04 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Tue, 21 Nov 2023 13:10:04 -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=1700590203; x= 1700676603; bh=9rRVIO4sacT/WuKNye++g7i1GjccmOxkpvkcPs1Z4KY=; b=O Lr9snVRyMDQ8w03mSIyqUT1pQaYkzz9/FX2L01fYxSo+iQDza1KiP2CbddfHCSJZ caNN5+R3qRyUQ3qAIWxBsb8lNggReShRacy48OQUXEV+D4XYm6E+i38UNMyV/y9v CfSD2GC+IEiVa1X+bKyOgDXy8HWn1GdNhMmP8z3T8WhDRH93SLcAcPV/j/rfPA3C XS0o7mxXLzeyAzcvn6R7xYuiis4Y0kkzlAGVA8/ucFX7kyt9nEEYD1BIOjiebCmB nJ4dR45qPl7C57shDTqbc9BOFYPXXQnloA4R+e//fNeStruyJon7vpDMZZkUNjki OeabMDi1hFbNGPYAabXGw== 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=1700590203; x= 1700676603; bh=9rRVIO4sacT/WuKNye++g7i1GjccmOxkpvkcPs1Z4KY=; b=A 3PPcdvUTnckw2Nge3IAbwUT7LfBebXdWfSrFEDplDiNijNRV3IpNwyo435CVZUbz 0TXFVa21Bdk/5Kjkx5N8B2hjjJodoBbOjeiElZ7nwrU8dm6q6DQnJj8LzIJTPDGg Rqyjfq0gSd1bxS1bgI68qZ4lroVcISsOKXCOGyCJ6rVEPYAOfIAbej4kgwCJakBf caSgT4htZnzzXGPr43LhJ/vgCqtBy0FF6CID/ghATBZa8gFGrA2/cT094PwrqUNt 8ApVDHYTptMemlNHHefDbw0nNQS8voqYCUyCO+5sK5CPQ+wJbZRfOEg/wrnmoUEI NqwRRF36H7sADt72ESOPQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudegledguddtfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgjfhgggfestd ekredtredttdenucfhrhhomhepifgrrhihucftohhokhgrrhguuceoghgrrhihrhhoohhk rghrugesfhgrshhtmhgrihhlrdhorhhgqeenucggtffrrghtthgvrhhnpeekuedvffeuud ekgeeiueffjeehgfekteefheeuleefudeugfevleelhfefgfejvdenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgrghrhihrohhokhgrrhguse hfrghsthhmrghilhdrohhrgh X-ME-Proxy: Feedback-ID: ifd194980:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 21 Nov 2023 13:10:02 -0500 (EST) From: Gary Rookard To: gregkh@linuxfoudation.org, philipp.g.hortman@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Gary Rookard Subject: [PATCH 1/5] staging: rtl8192e; renamed variable HTMcsToDataRate Date: Tue, 21 Nov 2023 13:09:43 -0500 Message-ID: <20231121180947.9223-2-garyrookard@fastmail.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231121180947.9223-1-garyrookard@fastmail.org> References: <20231121180947.9223-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" Renamed variable from Pascal/CamelCase to Snake case the variable HTMcsToDataRate. HTMcsToDataRate -> ht_mcs_to_data_rate Linux Kernel coding style (cleanup), checkpatch Avoid CamelCase. Driver/module rtl8192e compiles. Signed-off-by: Gary Rookard --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rt= l8192e/rtl819x_HTProc.c index e607bccc079a..280e335cbb6d 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -103,7 +103,7 @@ void ht_update_default_setting(struct rtllib_device *ie= ee) ht_info->rx_reorder_pending_time =3D 30; } =20 -static u16 HTMcsToDataRate(struct rtllib_device *ieee, u8 nMcsRate) +static u16 ht_mcs_to_data_rate(struct rtllib_device *ieee, u8 nMcsRate) { struct rt_hi_throughput *ht_info =3D ieee->ht_info; =20 @@ -422,8 +422,8 @@ u8 HTGetHighestMCSRate(struct rtllib_device *ieee, u8 *= pMCSRateSet, bitMap =3D availableMcsRate[i]; for (j =3D 0; j < 8; j++) { if ((bitMap % 2) !=3D 0) { - if (HTMcsToDataRate(ieee, (8 * i + j)) > - HTMcsToDataRate(ieee, mcsRate)) + if (ht_mcs_to_data_rate(ieee, (8 * i + j)) > + ht_mcs_to_data_rate(ieee, mcsRate)) mcsRate =3D 8 * i + j; } bitMap >>=3D 1; --=20 2.41.0 From nobody Thu Dec 18 23:37:35 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 0386DC61D90 for ; Tue, 21 Nov 2023 18:10:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234036AbjKUSKQ (ORCPT ); Tue, 21 Nov 2023 13:10:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234344AbjKUSKO (ORCPT ); Tue, 21 Nov 2023 13:10:14 -0500 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21E46D49 for ; Tue, 21 Nov 2023 10:10:10 -0800 (PST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 25D893201A33; Tue, 21 Nov 2023 13:10:09 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 21 Nov 2023 13:10: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=1700590208; x= 1700676608; bh=9THkF506HhQTz9C2aPreqLigusizQOZKZ9S9SPw4Ix8=; b=R fM+P+rpd8/gzAOEjgSevOMGH6TmxL3DTvI3/JenoScBxBDTWs9bfenVLQeRHlMNN 4mditM/FEOh+oaKYeIV8LWtVcCSNgqgbygHgC7kXOoSrP3AF0bL2QpPH2MuuEw6P oVs7P013LDLEfkdBiCJUyjynnHTvJ3837VXaQwojTa3tNZ92famopefHRIFjaO/b d0BfGyyQO1gyY4AZ2eQemMzlFhaU4TCRbVRUrkAf5f7d4Ao90gg03+nYz8LhU+K9 Jj/oqFXcZruokVSvzaZHPZIgvbY10KIO7WpSeQdce2BBxGpzvdctJILX0n3f7+64 ToKdpurlyvgmogwIyRE/Q== 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=1700590208; x= 1700676608; bh=9THkF506HhQTz9C2aPreqLigusizQOZKZ9S9SPw4Ix8=; b=Y 5vxS6QLUolf4z70vu5Iy5XIVF3v7nhRr5QGUzH6eP1zG+nli6h0FvGp9sriJAZD4 F2Q2CFpNM2Lqhz3Kkpyt81pDfDbDL3zCCfw0ktMYPLEfUvYgOuEfv1fbB2TjEdb8 WPn6stE0mvJfvvWEVH2lMzrHB4IM2FCwzVASuicFarxc6yEt16Tqw8zDd1cmBPid Cw9LsmsJ5uG8WeYHkc87YLLjpYF8iBqza69CKL1KP8x39F9SzZFUUtDP40dniM+t l6YSiL3vJqznVHpse/T9doxS+QHs+tuBZ++9ooapz7D92mVsjqpitBqnyGFiZF3l hF7IJN3/e4exYrg6wgGrg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudegledguddtvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgjfhgggfestd ekredtredttdenucfhrhhomhepifgrrhihucftohhokhgrrhguuceoghgrrhihrhhoohhk rghrugesfhgrshhtmhgrihhlrdhorhhgqeenucggtffrrghtthgvrhhnpeekuedvffeuud ekgeeiueffjeehgfekteefheeuleefudeugfevleelhfefgfejvdenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgrghrhihrohhokhgrrhguse hfrghsthhmrghilhdrohhrgh X-ME-Proxy: Feedback-ID: ifd194980:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 21 Nov 2023 13:10:08 -0500 (EST) From: Gary Rookard To: gregkh@linuxfoudation.org, philipp.g.hortman@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Gary Rookard Subject: [PATCH 2/5] staging: rtl8192e: renamed variable TXCountToDataRate Date: Tue, 21 Nov 2023 13:09:44 -0500 Message-ID: <20231121180947.9223-3-garyrookard@fastmail.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231121180947.9223-1-garyrookard@fastmail.org> References: <20231121180947.9223-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" Renamed from Pascal/CamelCase to Snake case the variable TXCountToDataRate. TXCountToDataRate -> tx_count_to_data_rate Linux kernel coding style (cleanup), checkpatch Avoid CamelCase. Driver/module rtl8192e compiles. Signed-off-by: Gary Rookard --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 2 +- drivers/staging/rtl8192e/rtllib_softmac_wx.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rt= l8192e/rtl819x_HTProc.c index 280e335cbb6d..fb8294f31a60 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -114,7 +114,7 @@ static u16 ht_mcs_to_data_rate(struct rtllib_device *ie= ee, u8 nMcsRate) return MCS_DATA_RATE[is40MHz][isShortGI][(nMcsRate & 0x7f)]; } =20 -u16 TxCountToDataRate(struct rtllib_device *ieee, u8 nDataRate) +u16 tx_count_to_data_rate(struct rtllib_device *ieee, u8 nDataRate) { u16 CCKOFDMRate[12] =3D {0x02, 0x04, 0x0b, 0x16, 0x0c, 0x12, 0x18, 0x24, 0x30, 0x48, 0x60, 0x6c}; diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/r= tllib.h index d2cf3cfaaaba..0226a69f40c3 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1783,7 +1783,7 @@ extern u16 MCS_DATA_RATE[2][2][77]; u8 HTCCheck(struct rtllib_device *ieee, u8 *pFrame); void HTResetIOTSetting(struct rt_hi_throughput *ht_info); bool IsHTHalfNmodeAPs(struct rtllib_device *ieee); -u16 TxCountToDataRate(struct rtllib_device *ieee, u8 nDataRate); +u16 tx_count_to_data_rate(struct rtllib_device *ieee, u8 nDataRate); int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb); int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb); int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb); diff --git a/drivers/staging/rtl8192e/rtllib_softmac_wx.c b/drivers/staging= /rtl8192e/rtllib_softmac_wx.c index f32584291704..28aba1d610f7 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac_wx.c +++ b/drivers/staging/rtl8192e/rtllib_softmac_wx.c @@ -208,7 +208,7 @@ int rtllib_wx_get_rate(struct rtllib_device *ieee, { u32 tmp_rate; =20 - tmp_rate =3D TxCountToDataRate(ieee, + tmp_rate =3D tx_count_to_data_rate(ieee, ieee->softmac_stats.CurrentShowTxate); wrqu->bitrate.value =3D tmp_rate * 500000; =20 --=20 2.41.0 From nobody Thu Dec 18 23:37:35 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 004CBC61D90 for ; Tue, 21 Nov 2023 18:10:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234419AbjKUSKU (ORCPT ); Tue, 21 Nov 2023 13:10:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234346AbjKUSKR (ORCPT ); Tue, 21 Nov 2023 13:10:17 -0500 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFAC8199 for ; Tue, 21 Nov 2023 10:10:13 -0800 (PST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 056113201A54; Tue, 21 Nov 2023 13:10:12 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Tue, 21 Nov 2023 13:10: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=1700590212; x= 1700676612; bh=yt9x+GFYOOcz+oCAtF66VyzySg0BOpnmmsYizNQZV7o=; b=Z 2YNfCLqrDKaYqr51M6wygPIzqgDINqmy4Ymz43fNZUaphMFZdRPR/mDJv8QnIpJt ZWDesi/wfOofxqFxRWDkLOWqPc41uj8mN9D84Va66/XFKIrxKZrDaIL/fRpSl0NH VbQy5MVF1JypZrzkcoGg4+WaA8KclEnZJexCVm9TExepyy0nKZh+aLDWo5br5yjS f0eMBfz6uo3qYAPwho3whgNPciDB2Rl8G/H4e+dNbaT82D198huKzfWRH803zRHn dZf4XU2w0WFHDsXSEE8uaGRdQjzfptuRunVtxokUQt4EGruODXMgYs0IMhsSLxRF BjesS6Zm5pT68KBbNqPGw== 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=1700590212; x= 1700676612; bh=yt9x+GFYOOcz+oCAtF66VyzySg0BOpnmmsYizNQZV7o=; b=2 2zB+/61VAx4PEt+f8k1ZgPYvdgAdGTnhVizE9gnNrkkmEBmJBTHl1wc1vShERf3h HkYvcbBhfVN9kpqOfXlE4G8hLHJQMVYkI6IP1omZ+en0+5UwV2QQaFz4wgA7gXdv ngjumz04feLRde8GE0Ze07i7OvF2rX2mcO1XFvpAB6esA8p78TsR3r0elSdrGv76 fjLwFZoOYiJzTO3jjmMKZrnvjIQN2YY0umAEwibJYGzk+smOhmWdde7xM/L7/VfV pNC6K6HAXVkvQQauCjNPGSG34SQDLItoOuwRZxT4pGJTfTbalU4n2trlUolW3pLC m+DS4Q0/wuTxbkxij49EQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudegledguddtfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgjfhgggfestd ekredtredttdenucfhrhhomhepifgrrhihucftohhokhgrrhguuceoghgrrhihrhhoohhk rghrugesfhgrshhtmhgrihhlrdhorhhgqeenucggtffrrghtthgvrhhnpeekuedvffeuud ekgeeiueffjeehgfekteefheeuleefudeugfevleelhfefgfejvdenucevlhhushhtvghr ufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpehgrghrhihrohhokhgrrhguse hfrghsthhmrghilhdrohhrgh X-ME-Proxy: Feedback-ID: ifd194980:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 21 Nov 2023 13:10:12 -0500 (EST) From: Gary Rookard To: gregkh@linuxfoudation.org, philipp.g.hortman@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Gary Rookard Subject: [PATCH 3/5] staging: rtl8192e: renamed variable IsHTHalfNmodeAPs Date: Tue, 21 Nov 2023 13:09:45 -0500 Message-ID: <20231121180947.9223-4-garyrookard@fastmail.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231121180947.9223-1-garyrookard@fastmail.org> References: <20231121180947.9223-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" Renamed from Pascal/CamelCase to Snake case the variable IsHTHalfNmodeAPs. ISHTHalfNmodeAPs -> is_ht_half_nmode_aps Linux kernel coding style (cleanup), checkpatch Avoid CamelCase. Driver/module rtl8192e compiles. Signed-off-by: Gary Rookard --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 2 +- drivers/staging/rtl8192e/rtllib_softmac.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rt= l8192e/rtl819x_HTProc.c index fb8294f31a60..0993263c13d3 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -139,7 +139,7 @@ u16 tx_count_to_data_rate(struct rtllib_device *ieee, = u8 nDataRate) return MCS_DATA_RATE[is40MHz][isShortGI][nDataRate & 0xf]; } =20 -bool IsHTHalfNmodeAPs(struct rtllib_device *ieee) +bool is_ht_half_nmode_aps(struct rtllib_device *ieee) { bool retValue =3D false; struct rtllib_network *net =3D &ieee->current_network; diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/r= tllib.h index 0226a69f40c3..6b549629087b 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1782,7 +1782,7 @@ extern u8 MCS_FILTER_ALL[]; extern u16 MCS_DATA_RATE[2][2][77]; u8 HTCCheck(struct rtllib_device *ieee, u8 *pFrame); void HTResetIOTSetting(struct rt_hi_throughput *ht_info); -bool IsHTHalfNmodeAPs(struct rtllib_device *ieee); +bool is_ht_half_nmode_aps(struct rtllib_device *ieee); u16 tx_count_to_data_rate(struct rtllib_device *ieee, u8 nDataRate); int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb); int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb); diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rt= l8192e/rtllib_softmac.c index 42d652fe8601..89bc38774fa7 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -1872,7 +1872,7 @@ static void rtllib_rx_auth_resp(struct rtllib_device = *ieee, struct sk_buff *skb) ieee->softmac_stats.rx_auth_rs_ok++; if (!(ieee->ht_info->iot_action & HT_IOT_ACT_PURE_N_MODE)) { if (!ieee->GetNmodeSupportBySecCfg(ieee->dev)) { - if (IsHTHalfNmodeAPs(ieee)) { + if (is_ht_half_nmode_aps(ieee)) { bSupportNmode =3D true; bHalfSupportNmode =3D true; } else { --=20 2.41.0 From nobody Thu Dec 18 23:37:35 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 AEFFFC61D90 for ; Tue, 21 Nov 2023 18:10:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234402AbjKUSKb (ORCPT ); Tue, 21 Nov 2023 13:10:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234445AbjKUSKW (ORCPT ); Tue, 21 Nov 2023 13:10:22 -0500 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED0C4D65 for ; Tue, 21 Nov 2023 10:10:17 -0800 (PST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.west.internal (Postfix) with ESMTP id E57773201A66; Tue, 21 Nov 2023 13:10:16 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Tue, 21 Nov 2023 13:10: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=1700590216; x= 1700676616; bh=hopG2M/LEQ0YkzvfYVZfqXAwYlgWV1Hj2Np8CK+F5ww=; b=S nml3+dQngMvnAfO8H718MyjO0HO3oke65JvD9vqUWmM6UGOQhTQnS5GRj1Xl/BZI c4BGs1Yh/QnHUDBUchDiekh08pmtaELNS4bxoPnSH5kTWlgr6GVND4CIK7n3Wnap 7OKVzTzgSpJZeuc8mxziD5h25YdnYLr2rgkrCFZ3wnM8y5N2m4tc/vVnDkEXw7H+ 6ugGM4yGI81Zegsz6nz/5Ehlu453n5Vsk94xXnzwMb1Ry9qNyhgOV6m7G0u9OSJn p0UvQoyyvTZoOGBcg858y0zMmr6+uIU1E5rufY6O8gE/d4s+dFj6B6LV3RF2mFYJ tdpvdVPAUeyvGl6r5hFGg== 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=1700590216; x= 1700676616; bh=hopG2M/LEQ0YkzvfYVZfqXAwYlgWV1Hj2Np8CK+F5ww=; b=c wXRkNHKhhyIcwHj/CKZtMim5MarEs4Syj7tkJsPt705/X3FcPLexxXcSHTwoMlHB Fs3rNci4DfQY17JOnNIwYM9VTENOSScerI/GDninjDCayaS8L5KoWVVsRzAGqESD /cQJ85l0Ey74Sbe2hl1g6CIMxxANKkqUTqqaphgIeYOwmAAWIQpdDFXtTuQ8gcni AkzmlcgLx8zD3Pq+ewj8XS0IG25ui7VTOcxFvR4H51ePRqZpeRimHTP40qW6AJPY /vqZ5KpH80haKpPy+EVWKpJJEUcf7bcHwvoBvz5lyEOuNON3qlr+KZuFQcWPPreZ f79VQs9WQsWKgJH7vk1Vg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudegledguddtfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgjfhgggfestd ekredtredttdenucfhrhhomhepifgrrhihucftohhokhgrrhguuceoghgrrhihrhhoohhk rghrugesfhgrshhtmhgrihhlrdhorhhgqeenucggtffrrghtthgvrhhnpeekuedvffeuud ekgeeiueffjeehgfekteefheeuleefudeugfevleelhfefgfejvdenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgrghrhihrohhokhgrrhguse hfrghsthhmrghilhdrohhrgh X-ME-Proxy: Feedback-ID: ifd194980:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 21 Nov 2023 13:10:15 -0500 (EST) From: Gary Rookard To: gregkh@linuxfoudation.org, philipp.g.hortman@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Gary Rookard Subject: [PATCH 4/5] staging: rtl8192e: renamed variable HTIOTPeerDetermine Date: Tue, 21 Nov 2023 13:09:46 -0500 Message-ID: <20231121180947.9223-5-garyrookard@fastmail.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231121180947.9223-1-garyrookard@fastmail.org> References: <20231121180947.9223-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" Renamed from Pascal/CamelCase to Snake case the variable HTIOTPeerDetermine. HTIOTPeerDetermine -> ht_iot_peer_determine Linux kernel coding style (cleanup), checkpatch Avoid CamelCase. Driver/module rtl8192e compiles. 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 0993263c13d3..0873c19ca051 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -164,7 +164,7 @@ bool is_ht_half_nmode_aps(struct rtllib_device *ieee) return retValue; } =20 -static void HTIOTPeerDetermine(struct rtllib_device *ieee) +static void ht_iot_peer_determine(struct rtllib_device *ieee) { struct rt_hi_throughput *ht_info =3D ieee->ht_info; struct rtllib_network *net =3D &ieee->current_network; @@ -672,7 +672,7 @@ void HTResetSelfAndSavePeerSetting(struct rtllib_device= *ieee, ht_info->RT2RT_HT_Mode =3D (enum rt_ht_capability)0; } =20 - HTIOTPeerDetermine(ieee); + ht_iot_peer_determine(ieee); =20 ht_info->iot_action =3D 0; bIOTAction =3D HTIOTActIsMgntUseCCK6M(ieee, pNetwork); --=20 2.41.0 From nobody Thu Dec 18 23:37:35 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 AEC80C61D90 for ; Tue, 21 Nov 2023 18:14:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234637AbjKUSKi (ORCPT ); Tue, 21 Nov 2023 13:10:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234458AbjKUSK3 (ORCPT ); Tue, 21 Nov 2023 13:10:29 -0500 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 948BBD7D for ; Tue, 21 Nov 2023 10:10:21 -0800 (PST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id AE0243201A89; Tue, 21 Nov 2023 13:10:20 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 21 Nov 2023 13:10:21 -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=1700590220; x= 1700676620; bh=0Lp9mqeAz/6pwwL4dTxdUdXhfanY55hRrrW5uod0AVg=; b=N uOed4RycnVkahNz77foe0Uo8r3Q1LZafqpvHYgON/lEKXLX94lwmZp/Dt+NThZxl laPeKLYLSIapeBlxONDalwfRgZE6sHNMc/uAGN9QRtQf+HGWKjUTwy4zE4E1YO23 kkqis7AM39y/2mz974uxuEoCKMW4+7Zt1l+Lz1Txd5fT3xKXiFKDhLDervPp9nwG BKic1+hfuxI1wm6FInaj+3vWFNg5JVrUcM+UowP+R0/GbWfv5xsoUsfLD18ISHkJ 4O9gBUdE1M+JeYINipNyh5je376p0oQFntirlyI6fqrGQFodPrdinMw1LihYQYo0 HnTkHAoh23VWeHXDzmImg== 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=1700590220; x= 1700676620; bh=0Lp9mqeAz/6pwwL4dTxdUdXhfanY55hRrrW5uod0AVg=; b=Y eRV8tPvhJFKOOj1LeD4yBa2ZMupRim79eggDXjf2+HhgbUlwUviy24pT4uoSbKuj p4T/CmUfV2zLMcmHNdbYPJLbgWg58ivPZbQPTvRUQZMFnx1bNmecgaK/MzMuHTw6 iehnEOwyyQ0FV1Tdta8BJCA8MRRVTmbbQafm1BZUpACEC2NfVEBRwzKd5b0iO5kg yKgeR295h+nmDqQOgYsUlI4xannA/Jk9Tnkldr/0DKanlsNHPj7CTpwdcV6Aoedn JQSddMa5B+/7UiVUBaCu+cVY7MUr5crFeILraswexHepGKG6QTeMJzcyaXytVrUX VvtJSt1kODVGBxl66yC3g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudegledguddtvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgjfhgggfestd ekredtredttdenucfhrhhomhepifgrrhihucftohhokhgrrhguuceoghgrrhihrhhoohhk rghrugesfhgrshhtmhgrihhlrdhorhhgqeenucggtffrrghtthgvrhhnpeekuedvffeuud ekgeeiueffjeehgfekteefheeuleefudeugfevleelhfefgfejvdenucevlhhushhtvghr ufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpehgrghrhihrohhokhgrrhguse hfrghsthhmrghilhdrohhrgh X-ME-Proxy: Feedback-ID: ifd194980:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 21 Nov 2023 13:10:19 -0500 (EST) From: Gary Rookard To: gregkh@linuxfoudation.org, philipp.g.hortman@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Gary Rookard Subject: [PATCH 5/5] staging: rtl8192e: renamed variable HTIOTActIsMgntUseCCK6M Date: Tue, 21 Nov 2023 13:09:47 -0500 Message-ID: <20231121180947.9223-6-garyrookard@fastmail.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231121180947.9223-1-garyrookard@fastmail.org> References: <20231121180947.9223-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" Renamed from Pascal/CamelCase to Snake case the variable HTIOTActIsMgntUseCCK6M. HTIOTActIsMgntUseCCK6M -> ht_iot_act_is_mgnt_use_cck_6m Linux kernel coding style (cleanup), checkpatch Avoid CamelCase. Driver/module rtl8192e compiles. 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 0873c19ca051..f43249fd78d7 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -207,7 +207,7 @@ static void ht_iot_peer_determine(struct rtllib_device = *ieee) netdev_dbg(ieee->dev, "IOTPEER: %x\n", ht_info->IOTPeer); } =20 -static u8 HTIOTActIsMgntUseCCK6M(struct rtllib_device *ieee, +static u8 ht_iot_act_is_mgnt_use_cck_6m(struct rtllib_device *ieee, struct rtllib_network *network) { u8 retValue =3D 0; @@ -675,7 +675,7 @@ void HTResetSelfAndSavePeerSetting(struct rtllib_device= *ieee, ht_iot_peer_determine(ieee); =20 ht_info->iot_action =3D 0; - bIOTAction =3D HTIOTActIsMgntUseCCK6M(ieee, pNetwork); + bIOTAction =3D ht_iot_act_is_mgnt_use_cck_6m(ieee, pNetwork); if (bIOTAction) ht_info->iot_action |=3D HT_IOT_ACT_MGNT_USE_CCK_6M; bIOTAction =3D HTIOTActIsCCDFsync(ieee); --=20 2.41.0