From nobody Sun Feb 8 00:49:46 2026 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 B1ACCEB64D9 for ; Sun, 2 Jul 2023 12:16:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229899AbjGBMQx (ORCPT ); Sun, 2 Jul 2023 08:16:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229554AbjGBMQw (ORCPT ); Sun, 2 Jul 2023 08:16:52 -0400 Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DF13E6E for ; Sun, 2 Jul 2023 05:16:51 -0700 (PDT) Received: by mail-pg1-x531.google.com with SMTP id 41be03b00d2f7-55ac628e3cfso1817107a12.3 for ; Sun, 02 Jul 2023 05:16:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688300211; x=1690892211; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=3Dfo7hdwwVcnKMMgv844ECc9CeiQ+h3KUJdDMwa/uJE=; b=V1hzgS4/XWWDCxQpuSOHCIQ+CVOJQjNF8gAU38/f6S2UUXXiozgcfZLiPK8GHvtsPs ksVjJc9vdWqGQjoCxM7nRGCotaLa/qiP/1GEflpj1iDj0Mn9R5U01GTD4acDea6N3zka Ir8xSk6NAg+hsDBK2zeo15Z+MfwCOt0FC3VXVcTGEmBx2Y+VD6o9FEOXEdhdxtLWwuQZ kx1CnZBbmCOMwSQ5hDKARD/lkGOYvixxfSVaTsCzEILyVmTg4zI3zzRLfNCQwU/4kuuI DGhHZyhRcYplupxTSQYUzP3DPlkQcsGi66K9eH4E+pye3qOn2XBB6Mj7VfeJ5wdOpIdw krqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688300211; x=1690892211; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=3Dfo7hdwwVcnKMMgv844ECc9CeiQ+h3KUJdDMwa/uJE=; b=Pn9RYDBWELvvOelCTjr+k+L07N20PHL+1JhvGpXnSw/UyDmaLzPzfszWdK5m/pBAAJ XySGOGO5X/WSxwDbUpYX6Cdja1Dn/cjdKGOpLS/Sw01IqD4lhAgd4Y3GVAmGPmLWUKXa 8uEBqpWMNvsBBDoUyYJgM1s34z1kCuSBHp82rNCdxP6j5Y7v00maMf6ZIU4yilkGvuY9 Xp9tyvXZG2N+oVbv9NmLUpOYDBGgpF5pefByvOMcrFwvijB5JmURwbsnCOsgUZqxd4l4 GRazykww6e8GeUsxPlmVuAtwOWjdqWddhRVUBTQs1T73uhSFv+0CFuurruZEun4lSBXA 8bUw== X-Gm-Message-State: ABy/qLa3+BMNsN5MzxJ/weMsapIkShihIn91FNtZyisRDraUYN12bJ60 0XAe4syNfOueTeo9fhidyc0= X-Google-Smtp-Source: APBJJlEx8IhwL7Ls1PtCIMynqP9igB26GQ3djtNRsIIHDuGNj2mmL0QWtrk5BEVqt6EpR2zMT2TlEw== X-Received: by 2002:a05:6a20:3257:b0:12c:1193:a563 with SMTP id hm23-20020a056a20325700b0012c1193a563mr5580459pzc.58.1688300210710; Sun, 02 Jul 2023 05:16:50 -0700 (PDT) Received: from zephyrusG14 ([103.251.210.195]) by smtp.gmail.com with ESMTPSA id t18-20020aa79392000000b0063d24fcc2b7sm6636965pfe.1.2023.07.02.05.16.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jul 2023 05:16:50 -0700 (PDT) Date: Sun, 2 Jul 2023 17:46:45 +0530 From: Yogesh Hegde To: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: linux-kernel-mentees@lists.linuxfoundation.org, skhan@linuxfoundation.org, ivan.orlov0322@gmail.com Subject: [PATCH 4/4] staging: rtl8192e: Rename variable HighRSSIThreshForRA Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Rename variable HighRSSIThreshForRA to high_rssi_thresh_for_ra to avoid CamelCase which is not accepted by checkpatch. Signed-off-by: Yogesh Hegde --- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c b/drivers/staging/r= tl8192e/rtl8192e/rtl_dm.c index d266d2d047ca..dbf765d601b3 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c @@ -278,7 +278,7 @@ static void _rtl92e_dm_check_rate_adaptive(struct net_d= evice *dev) struct rt_hi_throughput *ht_info =3D priv->rtllib->ht_info; struct rate_adaptive *pra =3D &priv->rate_adaptive; u32 current_ratr, target_ratr =3D 0; - u32 low_rssi_thresh_for_ra =3D 0, HighRSSIThreshForRA =3D 0; + u32 low_rssi_thresh_for_ra =3D 0, high_rssi_thresh_for_ra =3D 0; bool bshort_gi_enabled =3D false; static u8 ping_rssi_state; =20 @@ -319,21 +319,21 @@ static void _rtl92e_dm_check_rate_adaptive(struct net= _device *dev) ((bshort_gi_enabled) ? BIT31 : 0); =20 if (pra->ratr_state =3D=3D DM_RATR_STA_HIGH) { - HighRSSIThreshForRA =3D pra->high2low_rssi_thresh_for_ra; + high_rssi_thresh_for_ra =3D pra->high2low_rssi_thresh_for_ra; low_rssi_thresh_for_ra =3D (priv->current_chnl_bw !=3D HT_CHANNEL_WIDTH= _20) ? (pra->low_rssi_thresh_for_ra40M) : (pra->low_rssi_thresh_for_ra20M); } else if (pra->ratr_state =3D=3D DM_RATR_STA_LOW) { - HighRSSIThreshForRA =3D pra->high_rssi_thresh_for_ra; + high_rssi_thresh_for_ra =3D pra->high_rssi_thresh_for_ra; low_rssi_thresh_for_ra =3D (priv->current_chnl_bw !=3D HT_CHANNEL_WIDTH= _20) ? (pra->low2high_rssi_thresh_for_ra40M) : (pra->low2high_rssi_thresh_fo= r_ra20M); } else { - HighRSSIThreshForRA =3D pra->high_rssi_thresh_for_ra; + high_rssi_thresh_for_ra =3D pra->high_rssi_thresh_for_ra; low_rssi_thresh_for_ra =3D (priv->current_chnl_bw !=3D HT_CHANNEL_WIDTH= _20) ? (pra->low_rssi_thresh_for_ra40M) : (pra->low_rssi_thresh_for_ra20M); } =20 if (priv->undecorated_smoothed_pwdb >=3D - (long)HighRSSIThreshForRA) { + (long)high_rssi_thresh_for_ra) { pra->ratr_state =3D DM_RATR_STA_HIGH; target_ratr =3D pra->upper_rssi_threshold_ratr; } else if (priv->undecorated_smoothed_pwdb >=3D --=20 2.34.1