From nobody Wed Dec 17 23:26:20 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 5B098C61D85 for ; Tue, 21 Nov 2023 18:14:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234360AbjKUSO7 (ORCPT ); Tue, 21 Nov 2023 13:14:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234244AbjKUSO5 (ORCPT ); Tue, 21 Nov 2023 13:14:57 -0500 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09156193 for ; Tue, 21 Nov 2023 10:14:54 -0800 (PST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 24A4F3201928; Tue, 21 Nov 2023 13:14:53 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 21 Nov 2023 13:14: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:sender:subject:subject:to:to; s=fm1; t=1700590492; x= 1700676892; bh=9rRVIO4sacT/WuKNye++g7i1GjccmOxkpvkcPs1Z4KY=; b=W HILJ1/JKWzU9UVfQSgl802z15F+A0JXblqmKH4cn/9QuAbR9R8XoCCqsXo3jmDF4 wfR6G4culql6PNzPTUncs7d1M2ARsnh8fOuxDf0YmbBEr1EPMxp/4NQ+m6H1nnhR LWBplBMFUJpWF9/RTts6zknDUR+sjClMb9P14fjHi3H+30fVYQPK4AUfqXxOfVvq JiPrU4RnBm+YZoNd209krXUPz5k5/hb5r6t8IgZl66ovTdb19vN/dPpnhpGzukbo fR2M5WQ4dgHdF1Otmv5L/HiTwr1gDkSz8dAlxKMwf7WmLjyIBaByUNSDMakYqrf3 jwPqA3t431DHwCiVilaeg== 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=1700590492; x= 1700676892; bh=9rRVIO4sacT/WuKNye++g7i1GjccmOxkpvkcPs1Z4KY=; b=R SbjTL0o0LUYs+FWoSSxjSD9Gv+bG23F9Z74Qclgt6dh752vH8aFxNp4GyuFFihgS 7PYFBhHhui9mA5vat+ZeBajzzOqIeUN8gDKzBKB8a+6FQOGf14ULaUlITlU5/ed7 ZnVDb5VQc3n3vFJyQfX+J5CIxMrPdPGWO0LJpIYH4YfTPLHjRlIIHQrloXjap3ys QULAPdDKpHUQ4mCNS4DcvQnFblE25WjmD+Uu29zgGEjvnsDXqEWEFxZpVgQ1cdcm U1HZN2NcWmOCAPIBH63oNplyKRTzyv+bYh26hhugybp+2ghc2VgakPtPtyI7bH+v Hcw6ip2HO5+xZtXHv1lbg== 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:14: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 1/5] staging: rtl8192e; renamed variable HTMcsToDataRate Date: Tue, 21 Nov 2023 13:14:31 -0500 Message-ID: <20231121181435.9337-2-garyrookard@fastmail.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231121181435.9337-1-garyrookard@fastmail.org> References: <20231121181435.9337-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 Wed Dec 17 23:26:20 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 5C031C61D85 for ; Tue, 21 Nov 2023 18:15:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234369AbjKUSPG (ORCPT ); Tue, 21 Nov 2023 13:15:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234378AbjKUSPC (ORCPT ); Tue, 21 Nov 2023 13:15:02 -0500 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA10D97 for ; Tue, 21 Nov 2023 10:14:57 -0800 (PST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 11F0D3201951; Tue, 21 Nov 2023 13:14:56 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 21 Nov 2023 13:14:57 -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=1700590496; x= 1700676896; bh=9THkF506HhQTz9C2aPreqLigusizQOZKZ9S9SPw4Ix8=; b=N kBSyZWaGDoYvvuD011TrlutIOrxK+LgtnFPrXPa2NVAt2Kt2SWy5XWC1GJGAIUN7 dkjFPEy0di8VJjWr5dTugaGJQ4q9SkJ4Zthq7ISjzlUnLErgwNDH6mAM5VTHesl7 HpVA8jf0SkpQoM7FLew/TWSZiAvVMCiaoM/3pyBC+VIbLSr96Qv+PD0uBOUy7aC+ EeOa1kVDmfcWgi9Hh9DHqe1UrdPuGYWjaJqCm1ygXZrx7+O6kHnQeX2Njx7oTsR3 IORrF7fAgtVGHbOjGSlBTJoyaT+U78rHJdQ1QO9vioKCdFddZBFggNE86/rF9GPn YuH4R3rBWWi8NpfxuFajQ== 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=1700590496; x= 1700676896; bh=9THkF506HhQTz9C2aPreqLigusizQOZKZ9S9SPw4Ix8=; b=v bOsnEk2AK/Tc0H8I/wKGDDnr5yBSUiBOxioD/xoHiDXVXd0+LRn3yTCtbA8n4Q5y dNm6uuNuHrepu4YSWoq9HK0LNS0bAEf1J+wR/fNJULYPwTygWBNs8ePVkhV16EHu rnfVbgxkhJbisEfOC+agg70+IN0xoDOkA9+FuHRH9acYYTmNJ1i8WNnx0H0gRW9i kPVZfhF6ztnAwtnxqcytCS2uCwSWdNu4u1jD1WVoXvGb4mzi7kMrDOFuXrKbUV+L 08k/gMZ1OoXkNBgBdamnjx+PH9X3e73oFvkRujMgMCa599B1GFDh+h/HBzU+Wbvv 1jpIJbia//UruKLICp//Q== 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:14:55 -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 TXCountToDataRate Date: Tue, 21 Nov 2023 13:14:32 -0500 Message-ID: <20231121181435.9337-3-garyrookard@fastmail.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231121181435.9337-1-garyrookard@fastmail.org> References: <20231121181435.9337-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 Wed Dec 17 23:26:20 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 66D47C61D85 for ; Tue, 21 Nov 2023 18:15:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234334AbjKUSPJ (ORCPT ); Tue, 21 Nov 2023 13:15:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234438AbjKUSPE (ORCPT ); Tue, 21 Nov 2023 13:15:04 -0500 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92A07D54 for ; Tue, 21 Nov 2023 10:15:00 -0800 (PST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id ADA2E3201926; Tue, 21 Nov 2023 13:14:59 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 21 Nov 2023 13:15:00 -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=1700590499; x= 1700676899; bh=yt9x+GFYOOcz+oCAtF66VyzySg0BOpnmmsYizNQZV7o=; b=T x6OyUJ6siGMgLCOSlmMPRlcgewz5t6hllwuUkz31sW6YbxKQnQcLEXxU2OTol58x ADSE55fjgZJSM1xaQk924oyU9AOCfKQnJP6uwV7GBIzXpB4+CMDSKGyzmeOOp8Yl jCTY9qJ3MC5IzcY0stT6Jcvm/JDK6nbt8zQWSFrr9kvrVZcvnMSTd6Kdf1ZAores sJvw3RZ5EFHOmWdYTiyefeEbbEarAvMsxnZx7Cf1WifUVRHD2hmIn89611Ju6OgP sQer1t6TIHUFvioXnUZQ5z4dMQE6BCsQJMtaq4bszIKCl6+058NsaVPobkqxNJk/ 1OfFy51seUH9vG4x55aQA== 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=1700590499; x= 1700676899; bh=yt9x+GFYOOcz+oCAtF66VyzySg0BOpnmmsYizNQZV7o=; b=J dTrRogRjZog6Npk/fbuHWmNvQ+yXoM/hVJddWN3g47j1QhftGeW1Q6Wpr4TPzYoI XCe+mPfRT/brI2EXx6HKoZfoYh3xxRTkphSmjrrobOiFUMtKweEnem+inJYR9D3G 3lH3wM0cI5Sid5O6XQnbhRVfusW5GRFUrQ5S6IAUEb81ltZyMx+xYuKZ38s/fTmy 1TItTanJjtNrRLXaKjUaxXXftZkZg3myiL33PN0tF2jlLd0jgHm2X6nZTUjodqWi XKy8iH35lMVlpIdo4ffznSCDIXqujYPZzYQLJgyXtBlhe7jjUCzJqUhQs+oOMlHZ Yxtzo87lvaM+prTx0mW3g== 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:14:58 -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 IsHTHalfNmodeAPs Date: Tue, 21 Nov 2023 13:14:33 -0500 Message-ID: <20231121181435.9337-4-garyrookard@fastmail.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231121181435.9337-1-garyrookard@fastmail.org> References: <20231121181435.9337-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 Wed Dec 17 23:26:20 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 E966EC61D85 for ; Tue, 21 Nov 2023 18:15:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234471AbjKUSPR (ORCPT ); Tue, 21 Nov 2023 13:15:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234485AbjKUSPH (ORCPT ); Tue, 21 Nov 2023 13:15:07 -0500 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFBD0D63 for ; Tue, 21 Nov 2023 10:15:03 -0800 (PST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id C9C9D320196C; Tue, 21 Nov 2023 13:15:02 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 21 Nov 2023 13:15:03 -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=1700590502; x= 1700676902; bh=hopG2M/LEQ0YkzvfYVZfqXAwYlgWV1Hj2Np8CK+F5ww=; b=g R/ySh5TOZ2cD0s6r3IFnbpB+nDDZ+U6i53mlyjhEuGLieJ4zK8nRonItdeJDjIm8 VkmQ/EQBO0b1dzlhvvq3vpGtBTLQgiaQtv8gVkPXeKFRheRyvkIz8Q7/0xqv1WBJ Q1hlVLbVnOG3Wd0hOaJBtxUCpmCyEYnRLNWtLB3vJUjyhXYChwenbKxPxY8+ooI4 FqSrHe8g8TqGX4fa3uE6EdyFp3bbI5B2rPjpA5EiNAo7HTZVYTao/AwpteFlTLOn FQiptDqlp3hFgSqHbgV7H/CL1RfTGbreBa04y6j1NgmAzRmRFlB+0O9GXew6UU/6 RmzFu/cFrL2SfmjCQ4whg== 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=1700590502; x= 1700676902; bh=hopG2M/LEQ0YkzvfYVZfqXAwYlgWV1Hj2Np8CK+F5ww=; b=A pqtVPLK5EKbjVcy6HjQn57ywNYTt+xafH4V3TvLS5IAjhmoaIBFMV9k4Yqs+DuvH LU0GOLIlwcktsS9pKAKCwsM5mqVg2Cz1vkbbThtIFCq5UgdGtS/7Uh0RWdQ5LIEG 8B2sJLP7rAoPwd9nYi5qvG+JQtFrXQ3GM/BfnXYCx4k5th7hfHBCzQu8gUyJP6j+ tQeS30pbs2ksFy1ns+6CC4i1wxp9D/15e8cdomnKvGMr2EjY2uJB3UIVdmJ1KbbJ mnYq1fOd/GmBLwfhkNUsgpQQ2EB0YfpM8/Qhw7126Wk7fTAsNVkSOfwJFeCuuVhN 3fhcaPZR5elJKDph/JccQ== 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:15:01 -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 HTIOTPeerDetermine Date: Tue, 21 Nov 2023 13:14:34 -0500 Message-ID: <20231121181435.9337-5-garyrookard@fastmail.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231121181435.9337-1-garyrookard@fastmail.org> References: <20231121181435.9337-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 Wed Dec 17 23:26:20 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 1B295C61D90 for ; Tue, 21 Nov 2023 18:15:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231310AbjKUSPX (ORCPT ); Tue, 21 Nov 2023 13:15:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234504AbjKUSPK (ORCPT ); Tue, 21 Nov 2023 13:15:10 -0500 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CE73D54 for ; Tue, 21 Nov 2023 10:15:06 -0800 (PST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.west.internal (Postfix) with ESMTP id 9C6283201993; Tue, 21 Nov 2023 13:15:05 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Tue, 21 Nov 2023 13:15:06 -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=1700590505; x= 1700676905; bh=0Lp9mqeAz/6pwwL4dTxdUdXhfanY55hRrrW5uod0AVg=; b=Y itlP8QeWpnQBU3apMda2NVWRUmKiBAzFTovUrlG5mOp3xxJGJHfIoEN47OywEb/p cB7853DVyWInzN/MS4r4RWDvXtnHZNzDkYnSRtj913FbhvlOnreWft2O/OJPn/1q 1aPJSyIjss44EjM1XvxvlVKDYdXXcQrt7JF7Y2uPaq4XHnfkpr3jUEiDBCDVxdEE mhVAOnJQJNRTwkjLOYttPLYqOWS2cWu6ny61Y4tXwjyIAsIIUJw5gnjfhhMLkWXd orhX0+tQ9RxLxsJKA8SlSN2uC1JPBGtNPILn5jS5KzePQhk1FxtCqiVf57+TgsyE EqLHe10xbrRkJZx6TUIPw== 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=1700590505; x= 1700676905; bh=0Lp9mqeAz/6pwwL4dTxdUdXhfanY55hRrrW5uod0AVg=; b=C FDoL82AjOZderFEBZFP0+2wGH4uiZhqNJjBi7x3oxORAsEcHhVUMjDIQPI75TwWY k7dD9ssmfmBVzxcYXHJO2ejxjwkAi8hLiGY62t8HB4ftwynZRddcTLSTwS9QZtWX 8rlmOhEqTlN79Qb0FyK2imN1QsvJ/afSHubEM3p76ZjL8CkdrJpcZ77ScDvhtKac JYe1To6BM7wmlJpTpAql0mG1w4+650JGN6HnwFodTBKtXkU+bm4wN46URNYmT3Lv DZT/gZFLZ1/a+O6hOp98wrdxkETqZXzlcErt1CczwJJ701VEfjQnrH77oLQVLqTz VuaNpwcV7Wl5PMivX6FmQ== 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:15:04 -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 HTIOTActIsMgntUseCCK6M Date: Tue, 21 Nov 2023 13:14:35 -0500 Message-ID: <20231121181435.9337-6-garyrookard@fastmail.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231121181435.9337-1-garyrookard@fastmail.org> References: <20231121181435.9337-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