Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp549087rdb; Fri, 5 Jan 2024 21:57:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IHInXF5BeEqFLI8Y3IR2HEzXR9iuKjuG2X+fJQLyenPYssCb6N5nrNJ4q1NVCWEayLX0xir X-Received: by 2002:a05:600c:296:b0:40d:8842:84e0 with SMTP id 22-20020a05600c029600b0040d884284e0mr125257wmk.77.1704520625384; Fri, 05 Jan 2024 21:57:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704520625; cv=none; d=google.com; s=arc-20160816; b=YhQYOxkGQqT6A5q7np3TeSL044zv/3aCUi5/nxcv7ivVMQO8/gKXpCJajpUCRsgKGY FJlWWldxTcuCvZz3vrWScw1LPsk+Kys3vtSoUrn9iAX8N5d88K1cgY/x699BlSY8EaPR WVqT/JsggXmcgH3CKluiH7J7JUc8y9Ml+dsIsY3foNRPk+iUe4ypYopja0gC1atLqjP6 TdbrwBUYCpUufjK876yX6Z5aOKNqIWZudEFIIAD3gT4p0wJ6HKAOlga4CbI5x4ZmydBK zfQY7RRgjSirthj+SR7QbRPD8fMuJk5H+al4I9sBvASOzLUf+toSDPPO3qqkbC0SceLi aARQ== ARC-Message-Signature: i=1; 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=wQHEHGDupUV3CAXF0vDXDbjt/eIMnBNB5Ul4GcKvuIk=; fh=p32Pg0zBdFjDUOpUp1txX3SLnGswM8C/CMMa7TUpsLA=; b=CbAGCkje6L9TnRjqGoBgdCBYVW/Gt4mevVNGMaIaZJ3DsBFVwTjKDXp0xCBxf/bBS3 c2A4Pz0ODycVPpCOI0kOtHCBSre17Q2bPmpclmqhKpSy/AyEBGa1qwpF5a2OdbVlv4Iw F5LkH0BOoTD8K1eyIAnYP5wmHaXR0jVCNa6N83gNfQc/EelmplC4I8qi4n7vTPYDunUN 2FiH85KSEXJ1yXLCpRNaNT6KmXy9AEIILuQWsCShs2mFYjVL0xfMV2jlm+I4pqwGDj+y B1mZY2jLRVqt4eM85CxDP8B4jgQxk/syn9bdF1zpc0PQo2b++LhHIUR6qZaL91RKN35m m0fQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=kPGIAKx7; spf=pass (google.com: domain of linux-kernel+bounces-18494-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18494-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id rs19-20020a170907037300b00a274f339b7bsi1138026ejb.664.2024.01.05.21.57.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 21:57:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18494-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=kPGIAKx7; spf=pass (google.com: domain of linux-kernel+bounces-18494-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18494-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 234F81F240C1 for ; Sat, 6 Jan 2024 05:57:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2A3766FC9; Sat, 6 Jan 2024 05:56:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="kPGIAKx7" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-oi1-f169.google.com (mail-oi1-f169.google.com [209.85.167.169]) (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 117E06109 for ; Sat, 6 Jan 2024 05:56:11 +0000 (UTC) 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-oi1-f169.google.com with SMTP id 5614622812f47-3bbd6e37a9bso335578b6e.0 for ; Fri, 05 Jan 2024 21:56:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1704520571; x=1705125371; 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=wQHEHGDupUV3CAXF0vDXDbjt/eIMnBNB5Ul4GcKvuIk=; b=kPGIAKx7clW6ndLwgiZMVZ5qULq+yFaIg4+cgruIrQY0dksQO3ooeI0VZ0hwOoQu0p BoLBm5m0WqPDEyHaWe3Nh2jr7D/SLOdmEgRA9+i+6QMlf9bWUwv3C7OA4VIUpXUyGHg1 IISIJ9RL8K/dd7d0xQ4eCPTMH068hxhMNb/RSgSXYBjRzdLIIuI16SqtvK+eWOW8O3bX 9pMx1Dl9JvXB/m95f8OZL957Xqe0pslxTCJXCKq9FLGUv6WIEZGi0FjBoFfWT0S23BQ8 cc52NksUAenfpfBLYCgj5Xm0lIxIG7sUD1ibTGLcmERQvl4A9mtPr0FCygVpdbkKe8db 8BDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704520571; x=1705125371; 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=wQHEHGDupUV3CAXF0vDXDbjt/eIMnBNB5Ul4GcKvuIk=; b=UqVss7+PcNHyoj9bxPNoj/WdGnpLAn5LGosF/m2DcAMShx08S99tboHGasfiDYyhYa Ztl8vBQvwPBPvhGMVAdV4Wr9uuZ9SgeR8WE2Vx8+FVyi3NMB9q5J9EHifhG2tYBu/wL9 poosiNAwww0jQo3RRxqYI1seH1md+eNdW0qbUS/zTlWEvTBNcmOVgKCbi9tw7ZkpEfTW aRt1F9ORchA81jTTcH+ReDFb2a8cwZVEDKawQWdH8P5pT2+UMZjON/654Dm6uqzENz17 bcd/T1J8laO0YyXwhE51AlAN5Y0RjGAMuaQqup4UcD+6Yo4Al6RDBHfbdW2IY4UZk4/O 2eQw== X-Gm-Message-State: AOJu0YxXwtzZyo07NQESuBVeEiOTFfjjba5tkUyU1DubW9mZ6lMo2z/k mSB3Hy+ChjBQITUl3ifIlIb3LDBDxHu9ohdGDDNbBS5ou2g= X-Received: by 2002:a54:4684:0:b0:3bb:fe4f:e5c0 with SMTP id k4-20020a544684000000b003bbfe4fe5c0mr584609oic.31.1704520571353; Fri, 05 Jan 2024 21:56:11 -0800 (PST) Received: from oatmeal.darkphysics (c-76-146-178-2.hsd1.wa.comcast.net. [76.146.178.2]) by smtp.gmail.com with ESMTPSA id y29-20020a056a00181d00b006d99d986624sm2280873pfa.151.2024.01.05.21.56.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 21:56:10 -0800 (PST) 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 04/21] Staging: rtl8192e: Rename variable bMulticast Date: Fri, 5 Jan 2024 21:55:39 -0800 Message-Id: <20240106055556.430948-5-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240106055556.430948-1-tdavies@darkphysics.net> References: <20240106055556.430948-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 bMulticast to multicast to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtllib.h | 2 +- drivers/staging/rtl8192e/rtllib_softmac.c | 2 +- drivers/staging/rtl8192e/rtllib_tx.c | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 37bcd968a542..9d3c79105508 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -123,7 +123,7 @@ struct cb_desc { u8 bPacketBW:1; u8 bRTSUseShortPreamble:1; u8 bRTSUseShortGI:1; - u8 bMulticast:1; + u8 multicast:1; u8 bBroadcast:1; u8 drv_agg_enable:1; u8 reserved2:1; diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index 6f730242728a..9db834f5d637 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -1816,7 +1816,7 @@ void rtllib_softmac_xmit(struct rtllib_txb *txb, struct rtllib_device *ieee) /* update the tx status */ tcb_desc = (struct cb_desc *)(txb->fragments[0]->cb + MAX_DEV_ADDR_SIZE); - if (tcb_desc->bMulticast) + if (tcb_desc->multicast) ieee->stats.multicast++; /* if xmit available, just xmit it immediately, else just insert it to diff --git a/drivers/staging/rtl8192e/rtllib_tx.c b/drivers/staging/rtl8192e/rtllib_tx.c index f7098a2ba8b0..f1e9a0390be0 100644 --- a/drivers/staging/rtl8192e/rtllib_tx.c +++ b/drivers/staging/rtl8192e/rtllib_tx.c @@ -356,7 +356,7 @@ static void rtllib_query_BandwidthMode(struct rtllib_device *ieee, if (!ht_info->current_ht_support || !ht_info->enable_ht) return; - if (tcb_desc->bMulticast || tcb_desc->bBroadcast) + if (tcb_desc->multicast || tcb_desc->bBroadcast) return; if ((tcb_desc->data_rate & 0x80) == 0) @@ -378,7 +378,7 @@ static void rtllib_query_protectionmode(struct rtllib_device *ieee, tcb_desc->RTSSC = 0; tcb_desc->bRTSBW = false; - if (tcb_desc->bBroadcast || tcb_desc->bMulticast) + if (tcb_desc->bBroadcast || tcb_desc->multicast) return; if (is_broadcast_ether_addr(skb->data + 16)) @@ -843,11 +843,11 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev) tcb_desc->tx_use_drv_assinged_rate = 1; } else { if (is_multicast_ether_addr(header.addr1)) - tcb_desc->bMulticast = 1; + tcb_desc->multicast = 1; if (is_broadcast_ether_addr(header.addr1)) tcb_desc->bBroadcast = 1; rtllib_txrate_selectmode(ieee, tcb_desc); - if (tcb_desc->bMulticast || tcb_desc->bBroadcast) + if (tcb_desc->multicast || tcb_desc->bBroadcast) tcb_desc->data_rate = ieee->basic_rate; else tcb_desc->data_rate = rtllib_current_rate(ieee); -- 2.39.2