Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp110241lql; Sun, 10 Mar 2024 16:57:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVNdEI1VPyIR/6OcTfeDzfRDpbbPO2ZI9CIMdz/+AGS9UGJ9SGx2mJl7rPLF20QUr0Cq1DTPmGU3yR05Tzh3LAvV383TgmcVT2i3lgIcA== X-Google-Smtp-Source: AGHT+IHPS5U0fjZ0a+P65ageHjNLdO4sN2LxmWJuYujuyEwF/BOSXDO3Q2Hxst0y7zu6GrHik//E X-Received: by 2002:a05:622a:201:b0:42f:205f:cee0 with SMTP id b1-20020a05622a020100b0042f205fcee0mr7497907qtx.2.1710115021052; Sun, 10 Mar 2024 16:57:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710115021; cv=pass; d=google.com; s=arc-20160816; b=SMqZZ9gnXhjtyTPYnQebFwTslQUPfJ64trGG6m7kcXVvssgqN5cPMSitKtOVyZIuFv T2sTq3pDSkfOQGNvsSKUMEVbexYlCiUCz+o2yvXeIJ/dx7ysqBL8/wclpwO45A0dv9Y/ XdU6N5fqD5OjGmdOSSN/JJ4lWkc8w7xZEaUwtlvajUlrTl0fVpRPsvP01Vj21/KqbfT9 Q8VQvgqQvWrbwIqR2YTp/aUZlE4srwvWRoWyVrsdBsqjD6Otplta5mo7Mp3hNmKg22wn pG3ftNVfhKYCHJQSYe3N0oUdjvlyLbXh65B7RIthAOjxViZpjKMjeCpMjAu4DjIxmoqz lQNw== 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=vBTPiNFuf4aLeiCUUd1FRn8541x9xrCbKeUzzWFh6y0=; fh=l+VcJ2qCkiboWGlppnqDHrBC+pcliSp9QE3a1PtB3yg=; b=fGoB8I7d2V5H5DciDQb3MVxY1kr2JWDMzYUi09wR8HWWT8seeXYhGnXcV4GwKzs1gs sQToW2nVab82UNa2mWs55qc6L7TZo9j0rxkpJrx5tAZjQrWMx5doZoXUnOzr5eMx1GG/ WYR5lUwM7OZD8s+pWy/w+V/6+nfpqF61Dy21Od2PcFVf4UIqUsX6Gk66ZqE4LPwyFvjE Hr4zFeNyfIr10yBrgm5age6NH8HsxWKbCgQasnX47JxThr75sOQvz1Lu5r/f938pYYwy NDyRWD1EM9+f2gutzIug6P517mpNFGUNWbTG2/NugR343PoBymMENJL0XXdd+DkF5Xu4 xL9A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=gJIaLuYt; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-98376-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98376-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id y6-20020a05622a120600b0042ee01f4a46si4383640qtx.247.2024.03.10.16.57.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Mar 2024 16:57:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98376-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=gJIaLuYt; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-98376-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98376-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 C58CD1C20DD6 for ; Sun, 10 Mar 2024 23:57:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 812E93FBA4; Sun, 10 Mar 2024 23:56:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="gJIaLuYt" Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) (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 B09B33C484 for ; Sun, 10 Mar 2024 23:56:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710114962; cv=none; b=lUzkgCcqekX+YvAqbSJO9TgzpfSYljxDcwtwOQeZ8fd5/woynfwvD96aM+kZ7cvXFeNuxOWWWHzQEbNd7w3mAl9QCv1omBVJnZRZQbWUUdnj7oZ8priILGIr3h0p/fMlZEP3Br5qC/XVvyVLlNWLl0xqmKws0jtGML1xHCD3+l0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710114962; c=relaxed/simple; bh=bweBxxz3LlZ0HmKixuMAFxkEfCgWUQfWz3S2D81EsJw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=GiZRitfLfAL51x7POczReIkTtukBY3yeJhAr8WNSc+3RtM8MZR1eVJSGjr9GTyjvRIhNxd4SzAyavC/uLgdD0iXIPB1JZUvrcHvZjAjlsCe20fsp7Mi+j5oaVV+U7HVk6z64OADDvYCv0IRHbJDGoWMdyf0EnnpGA2T9rrPK8hQ= 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=gJIaLuYt; arc=none smtp.client-ip=209.85.216.50 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-pj1-f50.google.com with SMTP id 98e67ed59e1d1-29b7164eef6so1922078a91.2 for ; Sun, 10 Mar 2024 16:56:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1710114960; x=1710719760; 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=vBTPiNFuf4aLeiCUUd1FRn8541x9xrCbKeUzzWFh6y0=; b=gJIaLuYtmiojDD210dfDrpHi0QeP1aYrG59hqkxhaWFUSiKolrgVZBSIDkK0CXYK6M rngFaNYcS0CHUKSAxTG96eV7HCYWl6ACcCmjHdDiGqjes7XPBqGssuD6LjOpr55cY7Ks jx8Wd0oCPfAAF+aOtcMPc3O1+bvCJBJcQtX3CH4ssKFc3J84sTVWN8JnPhvPSddRcYR+ F0JtcyCA3OIb32X+HQeHYTm/nX8zJsO7vbVwdWyrqDLqzRoaDPzK7XcAQzayT4KtYWDw 1joxfD+SKPz/h/4/VLryPpwr+mtMBiuAaoFk3Kb0VwcUXmfvwmt+dbBuU07cyKkVQyTI RcqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710114960; x=1710719760; 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=vBTPiNFuf4aLeiCUUd1FRn8541x9xrCbKeUzzWFh6y0=; b=Pvl6o8J5lMVWNyCkTaHgo77MtXTSpDYMGdusvVWaV3t9LSUQqNmvKzxXkyMQEPsHKw k4gJ3jzbW+u6ZQlaPyCoaWS6XPK00wmMOMxmO6o6376JpddF1MTCI+y9a/ojD+OdW355 +lgXRUzCWs2Pyf+qlO28yIjULIfiULsoeCQBTeFFt1PMtTTwIO/AVlphsJ/6EZHkFm99 4SeSxswo6KFVg6OIVfrZ9NSOV91NBOpxJRWautnV4EDo9Kex5tzrdSLx32UUgAVJy1xA YpL+sEHLTi4GjizcLMQEv3g7wt1QtzFEc7C13egt/s7APAZeH3/g1yV6m92e+5mh6PCv oA4g== X-Forwarded-Encrypted: i=1; AJvYcCUNfehV2lSapZ9SXSwf/vwlQqNwTgqBQsLxZt4/TCa2/DQWx0Lm7jTUnqV0XozhAZrRECKdu4oyiTwl6LMIR16XmRkR5n7O6rMlNMap X-Gm-Message-State: AOJu0YyHfEsx8HjO9aw7sBDI7HJNjlHR/zAbE0XhVTpE5BCO68P41l/2 2ob6yJ9VN8BYb16iI+QnIsV/zQjDIsyBYWpp2B/w+QjfRcm4BUYwW+nJo4eWOmQ= X-Received: by 2002:a17:90a:300a:b0:29b:2779:2a69 with SMTP id g10-20020a17090a300a00b0029b27792a69mr3712320pjb.36.1710114960070; Sun, 10 Mar 2024 16:56:00 -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 o7-20020a17090ac08700b0029bb29ef41bsm2903439pjs.50.2024.03.10.16.55.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Mar 2024 16:55:59 -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 05/11] Staging: rtl8192e: Rename variable aSifsTime Date: Sun, 10 Mar 2024 16:55:46 -0700 Message-Id: <20240310235552.4217-6-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240310235552.4217-1-tdavies@darkphysics.net> References: <20240310235552.4217-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 aSifsTime to asifs_time to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c index 15b0ac6e6eef..dcb78cd2e840 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c @@ -130,7 +130,7 @@ void rtl92e_set_reg(struct net_device *dev, u8 variable, u8 *val) &priv->rtllib->current_network.qos_data.parameters; u1bAIFS = qop->aifs[pAcParam] * - ((mode & (WIRELESS_MODE_G | WIRELESS_MODE_N_24G)) ? 9 : 20) + aSifsTime; + ((mode & (WIRELESS_MODE_G | WIRELESS_MODE_N_24G)) ? 9 : 20) + asifs_time; rtl92e_dm_init_edca_turbo(dev); diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 748bb25cbd23..640fb8abcfa3 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -299,7 +299,7 @@ enum rt_op_mode { RT_OP_MODE_NO_LINK, }; -#define aSifsTime \ +#define asifs_time \ ((priv->rtllib->current_network.mode == WIRELESS_MODE_N_24G) ? 16 : 10) #define MGMT_QUEUE_NUM 5 -- 2.30.2