Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1042557lqa; Sun, 28 Apr 2024 16:12:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVPxu9MDZp9f7QUOGi6BORQF0TtZsnRhgU9PTiRkUGZPq62qeKOoKdOUfkeLY0G+bPGv1P2XEkG/GnEzXeKwHtFILsikSSk/NYnPWhUfQ== X-Google-Smtp-Source: AGHT+IHGggo5y3lwrxze+G822uQSmkdiaiNjOXh7BXbU4B++OA4KI6PD9J0+/taUOVtxpQF8wrFq X-Received: by 2002:a05:6902:1b8d:b0:dda:a4ba:2a5 with SMTP id ei13-20020a0569021b8d00b00ddaa4ba02a5mr6043561ybb.63.1714345922293; Sun, 28 Apr 2024 16:12:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714345922; cv=pass; d=google.com; s=arc-20160816; b=aRo8HAHR5Vsfd0PLOozu3HIu7W30SVQ46WhnnPMFSwqN2hCo/0f9pXPEi9IahWqZqN DyfxTrzBYxREJcxtZZs4SNsNXMTihd46woOzKQaaYQDat+nTnnFPRXCGN/WMAlVSm8Th yunIsx5iGhjFzDxD24ylaFun0TBZ58c57C6b+rr4As5ZQIwKFX9Hu9Y22aYbkzLwkjlU pS1Y5w/MPN3MV23ojzy1XUCGgK7PootmqnKDD5cWTLya5QMD0R13wOeX2THF6KZnZMx9 WRSivXlmmrsWDaYC4zEaO6SFaRBsQZQ7h8qellT7x+M37EebQ0hlSe5avtDtR/Q9cna4 Q9WA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=GwzZEo9OwzIG/MvP44mvBJ3CUqFkyPAD77eWhn0AhNQ=; fh=QDSwmJjDoxUTGuG1vLa6x8VMD61O3wq972IM+5ZQbEo=; b=UdS1H/zz1TszP3aWjc57FKzPgA90DaMwjKOpgymf0FyIVz8xWQAdrbChiRjPgCBkzJ T7zK866qqKSBcczmMUfvo/7bgkKXvmPkSFg3oPhPdgXsWRfclEYOfLVzok9IT0vCtSMC na6ZS++nEdqQReFjKBGBo19tKzcEsDNhmo5/3b8n0cXvlLj1SUE+PtSG4VWcBwPa/wFL 3adDTSZl8kPFOcqMhoNZQPUvZRhOd/5N6jnLLUsX0fC/4HCd8gSt9s+ohIiS2nyOLIYd CgC3rZ+rgpXWEVx1JWTw2v0xtZ4sBBNy8yBKUaURhsallXykgxSS2RppBwOzomwDT4Hu kpBA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=ULGvESZC; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-161615-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161615-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id bk34-20020a05620a1a2200b0078d6632b605si28303219qkb.434.2024.04.28.16.12.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Apr 2024 16:12:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-161615-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=ULGvESZC; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-161615-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161615-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 41D2B1C212A6 for ; Sun, 28 Apr 2024 23:02:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BF24F4317A; Sun, 28 Apr 2024 23:01:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="ULGvESZC" Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 572FD38DD3 for ; Sun, 28 Apr 2024 23:01:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714345277; cv=none; b=lT6EtdPZgX2Gr1fIcnfxuskMbIeWRbw2uiJe0qnvOUCtyEZUV2u9BFuHYqIr3BadDYw+Y7/WAyb6Y6KvYVx+twzls6dELfFKX16cal7HRD8IshyEUKqdXlZUgrha+ZZBkvcV0LAcVjlH/I0xwIJRIBkFQD7cWKsQFDggQp/fpeQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714345277; c=relaxed/simple; bh=Pp+LTYw7MfK9fJBjiB4LL6+82CNUw+/goyRPJGU0+zA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=t1Nat3quFJcWtkdtiewR9CLPuHWkgUBkzksVYipXCaUYOLpae9+rp1ct256anip9OPfGOZXZxPVrNL2Fh/wMojNVdp7k0ClGEO6/Vx8BMjwq4MgA57yO6HEt+8SQCrLTOPWOwZZ5dD75Ue7UHocLkV8iKdy291XE+yTKV1YpO7w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=darkphysics.net; spf=pass smtp.mailfrom=darkphysics.net; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b=ULGvESZC; arc=none smtp.client-ip=209.85.215.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=darkphysics.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=darkphysics.net Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-5ce2aada130so2641283a12.1 for ; Sun, 28 Apr 2024 16:01:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1714345276; x=1714950076; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GwzZEo9OwzIG/MvP44mvBJ3CUqFkyPAD77eWhn0AhNQ=; b=ULGvESZCfPFDsdNTcnKGwbOhGGa/f+/Gs+oWNKbPqJZhuPS5OvR+4s+fKgwx6aF69P kTnorlqcC5YL7YoeoW6s7MWCioq/VKycwCnTEKTIE9WHOTUVaOsW79atpV47PhhkYkvW A8A//2u7wbratR9eJsUOu6Ak39zdEMi9RWUurEOVk8Zhbrq3Xxmx9BpCQtVnKJAVj1Bx WcO7TB86BcCsgROE+ghdPVMa4F093ljyN1uxLCMI6MaAuGvE/3szuBDsQT7gxT2OQcUc fXZOzm5uC2Uo5j6HnxZr/OOY0hyu2S/2nxO7Mm+Uh7iiS98ZBWJ0R0EaqH0OLztoGnII yI+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714345276; x=1714950076; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GwzZEo9OwzIG/MvP44mvBJ3CUqFkyPAD77eWhn0AhNQ=; b=X4/jcydfNOYNzItOnafkJTjaGO3kbZak7ZCbUTO/3yvZhrjT500dy83slzgcSAKHrK JtNY7Rzu0lWY4rfGCYucE+NETLRPRlmp6RVsHV7/1NPXP/CmmbU5OkUepCSB1bCIFQTC k87V5KMgfhHca4b+RF1unIGwqS39EG9A7evhxUYWz0I2UfzU6CCPyOLp7cEsirdh1YUz hixP30eNsBy6bziMXXOcPn7CLRgYA1Biwad67WzHKxzFF7XadMLD0bLD3qi+x0s4IaII +2GpMs7ouFRZylZFpBzplADy56LDqEynnQPrzHDtlYNFyZIGjHjOpDi1kChaEmcbqQir RTDQ== X-Forwarded-Encrypted: i=1; AJvYcCUpFS+/Ai0KWTALZQnugFn/y/mR7gp8yC7i5Un3lXA3+tRKrgsxIsZcJ39CJxB8j6euH2ufvSVHsaDC/yi1v+ngmHHchlF8x3f8IznY X-Gm-Message-State: AOJu0YyNSsST7/ivh7KQCPR0RSSHEB1tDvBNoblH8xUXMSsBcosBbeX/ iJoPekUYAqrilVXPnxlLnDz3pDczwUeqJ/hjkuw45PIpKM/q2TNRWUu3FpRB5Wg= X-Received: by 2002:a17:90a:2e16:b0:2b1:817d:9827 with SMTP id q22-20020a17090a2e1600b002b1817d9827mr1458165pjd.22.1714345275585; Sun, 28 Apr 2024 16:01:15 -0700 (PDT) Received: from lunchbox.darkphysics (c-76-146-178-2.hsd1.wa.comcast.net. [76.146.178.2]) by smtp.gmail.com with ESMTPSA id o16-20020a17090aac1000b002a27132ac02sm17860864pjq.2.2024.04.28.16.01.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Apr 2024 16:01:15 -0700 (PDT) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, anjan@momi.ca Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH 09/18] Staging: rtl8192e: Rename variable ShortGI20Mhz Date: Sun, 28 Apr 2024 16:00:57 -0700 Message-Id: <20240428230106.6548-10-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240428230106.6548-1-tdavies@darkphysics.net> References: <20240428230106.6548-1-tdavies@darkphysics.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Rename variable ShortGI20Mhz to short_gi_20mhz to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 ++-- drivers/staging/rtl8192e/rtllib_wx.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl8192e/rtl819x_HT.h index 1b08507cab87..008611e3aace 100644 --- a/drivers/staging/rtl8192e/rtl819x_HT.h +++ b/drivers/staging/rtl8192e/rtl819x_HT.h @@ -28,7 +28,7 @@ struct ht_capab_ele { u8 chl_width:1; u8 mimo_pwr_save:2; u8 GreenField:1; - u8 ShortGI20Mhz:1; + u8 short_gi_20mhz:1; u8 short_gi_40mhz:1; u8 TxSTBC:1; u8 RxSTBC:2; diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c index 6c557717d8af..3b1c6e24103e 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -259,7 +259,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap, cap_ele->mimo_pwr_save = 3; cap_ele->GreenField = 0; - cap_ele->ShortGI20Mhz = 1; + cap_ele->short_gi_20mhz = 1; cap_ele->short_gi_40mhz = 1; cap_ele->TxSTBC = 1; @@ -457,7 +457,7 @@ void ht_on_assoc_rsp(struct rtllib_device *ieee) ht_info->cur_tx_bw40mhz = ((pPeerHTInfo->RecommemdedTxWidth == 1) ? true : false); - ht_info->cur_short_gi_20mhz = ((pPeerHTCap->ShortGI20Mhz == 1) ? true : false); + ht_info->cur_short_gi_20mhz = ((pPeerHTCap->short_gi_20mhz == 1) ? true : false); ht_info->cur_short_gi_40mhz = ((pPeerHTCap->short_gi_40mhz == 1) ? true : false); ht_info->current_ampdu_enable = ht_info->ampdu_enable; diff --git a/drivers/staging/rtl8192e/rtllib_wx.c b/drivers/staging/rtl8192e/rtllib_wx.c index 71ecfd0c8ed7..fbd4ec824084 100644 --- a/drivers/staging/rtl8192e/rtllib_wx.c +++ b/drivers/staging/rtl8192e/rtllib_wx.c @@ -132,7 +132,7 @@ static inline char *rtl819x_translate_scan(struct rtllib_device *ieee, is40M = (ht_cap->chl_width) ? 1 : 0; isShortGI = (ht_cap->chl_width) ? ((ht_cap->short_gi_40mhz) ? 1 : 0) : - ((ht_cap->ShortGI20Mhz) ? 1 : 0); + ((ht_cap->short_gi_20mhz) ? 1 : 0); max_mcs = ht_get_highest_mcs_rate(ieee, ht_cap->MCS, MCS_FILTER_ALL); -- 2.30.2