From nobody Sun Dec 28 21:18: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 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