From nobody Fri Nov 29 17:53:54 2024 Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) (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 098072B9AA for ; Tue, 17 Sep 2024 05:31:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551119; cv=none; b=Xkd612Ikls7UmdQXJaGKTy9xgfAv/y5FdGDRzFyuEQZsm259E2XzC2kidAVHOnnp0lnDg2xad7urYWHn+1rpQ4xQtq5I3wNdQq8wE1ZIPTu8AyvH7GgJ+CU7GsnVSywT1am7TmFZAZMUi8lVIE+rPg7hZbSui9bZ3RF1MOgUZpM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551119; c=relaxed/simple; bh=val/67N2SfFDFC/347H5PlPgIQr7gfh3hr689hL3QsY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=fFMlldoQvb0gpI0UKU7DSU5nge1Y0Ekv9Y/31Dx6eqKpNgplYsKxdy5rHnzk43tLFWLeER/VQmNZmX8uG7b/rGUsA2+nEfqTmk0Av4nfy3yyQE5nA5J16tqlZUlO/0YJzKq104clLotBUJqILIhFhd0rlEEj/U0Xoyqerjz8/yU= 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=e7dffeeL; arc=none smtp.client-ip=209.85.210.181 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="e7dffeeL" Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-7191ee537cbso3673053b3a.2 for ; Mon, 16 Sep 2024 22:31:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1726551116; x=1727155916; 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=z8L727yW6y5K4Vj79MsP8Gb8oiWwFd0Isk+Dc5DKpe8=; b=e7dffeeLn+4qRA2zB6cJVld/QDuGyqjv6EQFfu5QMSQL/7UXdYfMhS40y4HLoqg6NB ESFhotZEVWsSvY9hfxlyL2inZNNjNThia8jvaFXPJsZt5nfcgHjeLndSYIrl1/BLuGVk 3j3Zm5KxeXICZ8dJYUbIPIusoSWQNCKDunkRC+qYbYplbqyDqztVeAjdgsOawKiFj9SF PgbET8ACtZPeMIUBnwyDSGzws6nl/TbCrg3dGkJ2TrJXfNNMuLh7pHidMZVYA7wCxbjr ZKwSizmZJlKKeNYZVNaR/CitYOcJcSof1u7D2OqozOd0619AoHn+JwdR3p/mJNYDTngd MbjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726551116; x=1727155916; 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=z8L727yW6y5K4Vj79MsP8Gb8oiWwFd0Isk+Dc5DKpe8=; b=CM+r/IYyrNEFOl8kxD4tB74Q0qOEQH93lXJvTf50N2a83Om4NxJ9ydC9pC0Jg7enmd 9ebsZwNF5VbbW3/uj0H3ylh3oirOdwO4S0XNDM0eUboWNZfldL0UFHtIqZu3yinEz5/O pjFN8sKFiLKf6+hdAXdQs3DbZFzN4AzUGxWoEUEj03UulFqzfkJxOg4jeP2uviYcF/5O 5lKZF5NMfAEF7xdtxfQdId1GjvYBZUB3usVu0CA+g4c4lsnBcV2m03tgAmO61Mqso3Rz HOBna8OX/vmXZjQdDwz0t9S3PGuhmKWHJJG2LUX6cph/oHgLhf1FE+YAsGnqJjyPS+0R Au1Q== X-Forwarded-Encrypted: i=1; AJvYcCVSypibKbbawFpqRAyCYgW4qIpJlffrt0G/of+DUvjLzDghCxrmwRBCGxZc6PgQHltnbUXhdiV8MCHQ3PA=@vger.kernel.org X-Gm-Message-State: AOJu0Yyrsf3EWD/ITptQl0FHEG7ncsS1CPGNt6eYQg+ZlFycCPi5UrlT CrSMv7WAMBr36r4KqeU4prQwgwtzm1E8qyzZVSSsG/sbfgZTH23pmPXzZhK7IE8= X-Google-Smtp-Source: AGHT+IF/wKmKVvxO0PS4z5h/szghGGC8+5ScEmeewviyzau+urGptDF8+G+q8iJvn6Lv08VAHYPI8g== X-Received: by 2002:a05:6a20:b2a8:b0:1cf:3677:1c4a with SMTP id adf61e73a8af0-1cf75eb94cfmr20928305637.16.1726551116306; Mon, 16 Sep 2024 22:31:56 -0700 (PDT) Received: from lunchbox.darkphysics (c-73-83-183-190.hsd1.wa.comcast.net. [73.83.183.190]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7db498e0607sm4392328a12.8.2024.09.16.22.31.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2024 22:31:55 -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 01/18] Staging: rtl8192e: Rename variable nDataRate Date: Mon, 16 Sep 2024 22:31:35 -0700 Message-Id: <20240917053152.575553-2-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240917053152.575553-1-tdavies@darkphysics.net> References: <20240917053152.575553-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: quoted-printable Content-Type: text/plain; charset="utf-8" Rename variable nDataRate to data_rate to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies Tested-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtllib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/r= tllib.h index d6615f787d53..21d8ea153368 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1743,7 +1743,7 @@ extern u16 MCS_DATA_RATE[2][2][77]; u8 ht_c_check(struct rtllib_device *ieee, u8 *frame); void ht_reset_iot_setting(struct rt_hi_throughput *ht_info); bool is_ht_half_nmode_aps(struct rtllib_device *ieee); -u16 tx_count_to_data_rate(struct rtllib_device *ieee, u8 nDataRate); +u16 tx_count_to_data_rate(struct rtllib_device *ieee, u8 data_rate); int rtllib_rx_add_ba_req(struct rtllib_device *ieee, struct sk_buff *skb); int rtllib_rx_add_ba_rsp(struct rtllib_device *ieee, struct sk_buff *skb); int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb); --=20 2.30.2 From nobody Fri Nov 29 17:53:54 2024 Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) (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 EA6A64174A for ; Tue, 17 Sep 2024 05:31:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551119; cv=none; b=O+BHRYIP9q/fjnMQX5YpAqwNYYQT47qkG3pSaNiQJt/6YGgtDnt/p+Ue07ufQUktsj7i+H46d+agcK1uWHICXJsjFYVDLpQzgRKVyRMG6Ek2FO9yWqLLoU38rocgj2ybL6zkUc3P5LFcHA3IsvSRVQMdlxX0KB6Ax9GRUyL5KR4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551119; c=relaxed/simple; bh=K8nfSr10EcF6PUvU89ZAJtY+Y0GNw9MlRURLlC/EAkc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=CtppPPLTVabY7+wADCBgLvhNkluxMhY65+27vDhWG1Z0WLyz7CcP1hUE35PFqMkaxqDuHXBFbI3CkI5a4rEHX2b/ji5jsUsBi8Xd3pTcU4ZT/6ggiZ2bl+1ve+PLRPySRYW8JkU+CzERIWHn3EDElneEPU1dOdmT79Mg/E+wt6A= 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=WpOpmdsQ; arc=none smtp.client-ip=209.85.210.177 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="WpOpmdsQ" Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-718e9c8bd83so4398835b3a.1 for ; Mon, 16 Sep 2024 22:31:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1726551117; x=1727155917; 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=lGyWd9SjHJRazr/twXm1zqpgxc6lZys6CmSWJwhQDgI=; b=WpOpmdsQ1rSeo8xrN+A9JeZflOMeJwoRUXW5XqI6HPGkxZ+opX4/M0RcNNO4ZmmxqZ AH7Q/f7aKUj6plvf/K2hbAY6W6oTCcCGBYDL0OR4sowi+X/OX++vKQ/iEgmjRzsW9jMo iyonypxc7ksPlIV7qjzvrdU1ql4q5MYw0+dF2lMcl49YtD7WimBkXmDnCRCa4wOpV+SA nbqxJyP7kLri2RNeRuXZ9JBcHMWj/Y8pHN7fod4mBeqwm66ft+DatB0eUE6gHteX+G2r QOx33yLEPDSWjRSuTL/VrJ8ss5QIAGdEdms1eI76Fb7fslfCGnO7zg/8/8SY+AMaEu0P qTeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726551117; x=1727155917; 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=lGyWd9SjHJRazr/twXm1zqpgxc6lZys6CmSWJwhQDgI=; b=H/VmP77h/rEwewWa3akMq/G9AaajmeYw2TJ93Uu6i8rauhJIhFB3uAFsvuVE/q5O36 dq7NTkGNQ5V/WFhz7pUlwZ543PBCFTn9RI1TsJf0o/s2Gzkh5t2KkyUf9/vCfruUIbHy /Hk8BKhoIb4r9naf2NAtgsPMUEzVkoGya5mq+KrlhoacKuQigdJlR6jjfy6oUcyxYhA7 znwLSdi4XGvMXcV2te4a8Ki7aTNiqecgstCExlgPUXxz9aGm7hCKBEZzqbfqKZ6DykGz Gigsmz/inMBsuA7VQRTCgHO7wLcaJgKhlSBoZ8kwLfOFTeT/OEZrdKRf1Xh9xCJkq6lG 515g== X-Forwarded-Encrypted: i=1; AJvYcCX6P416DTszkfe+9GBF26blq0YQXPQO+wPHk9dN2URq7i2zUuMs9l6vwM8sn4wlz7HqzP2wHxi9bYu3aMc=@vger.kernel.org X-Gm-Message-State: AOJu0Yxha81JewsPy7VEv2PyP7McBM7ehjLwQqX30GfhdW6yU2/g+bOV ygXFBDR/xRAgnmxOWyj7Fef8hjya7z8ZUoX2kakWYE5srz8BTxmJ7WkV15vJZ08= X-Google-Smtp-Source: AGHT+IFIxP5DxAqqxP/TrO2OFaEEhBVHJ4XkTh7pzSCwK9Y7KSmdmb/nl/G9Y0HJjKeV/BTnpIzeMw== X-Received: by 2002:a05:6a20:4322:b0:1cf:651c:52f1 with SMTP id adf61e73a8af0-1d2cecf6d8emr10057411637.0.1726551117119; Mon, 16 Sep 2024 22:31:57 -0700 (PDT) Received: from lunchbox.darkphysics (c-73-83-183-190.hsd1.wa.comcast.net. [73.83.183.190]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7db498e0607sm4392328a12.8.2024.09.16.22.31.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2024 22:31:56 -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 02/18] Staging: rtl8192e: Rename variable bIsCCK Date: Mon, 16 Sep 2024 22:31:36 -0700 Message-Id: <20240917053152.575553-3-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240917053152.575553-1-tdavies@darkphysics.net> References: <20240917053152.575553-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: quoted-printable Content-Type: text/plain; charset="utf-8" Rename variable bIsCCK to is_cck to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies Tested-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 4 ++-- drivers/staging/rtl8192e/rtllib.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c b/drivers/stagi= ng/rtl8192e/rtl8192e/r8192E_dev.c index 2672b1ddf88e..2000289720b3 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c @@ -1173,7 +1173,7 @@ static void _rtl92e_query_rxphystatus(struct r8192_pr= iv *priv, pstats->bPacketMatchBSSID =3D precord_stats->bPacketMatchBSSID =3D bpacket_match_bssid; pstats->packet_to_self =3D precord_stats->packet_to_self =3D bpacket_tose= lf; - pstats->bIsCCK =3D precord_stats->bIsCCK =3D is_cck_rate; + pstats->is_cck =3D precord_stats->is_cck =3D is_cck_rate; pstats->bPacketBeacon =3D precord_stats->bPacketBeacon =3D bPacketBeacon; pstats->bToSelfBA =3D precord_stats->bToSelfBA =3D bToSelfBA; if (check_reg824 =3D=3D 0) { @@ -1370,7 +1370,7 @@ static void _rtl92e_process_phyinfo(struct r8192_priv= *priv, u8 *buffer, if (!bcheck) return; =20 - if (!prev_st->bIsCCK && prev_st->packet_to_self) { + if (!prev_st->is_cck && prev_st->packet_to_self) { for (rfpath =3D RF90_PATH_A; rfpath < priv->num_total_rf_path; rfpath++)= { if (priv->stats.rx_rssi_percentage[rfpath] =3D=3D 0) { priv->stats.rx_rssi_percentage[rfpath] =3D diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/r= tllib.h index 21d8ea153368..08eaa98c0a1a 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -483,7 +483,7 @@ struct rtllib_rx_stats { u8 RxMIMOSignalStrength[2]; s8 RxMIMOSignalQuality[2]; bool bPacketMatchBSSID; - bool bIsCCK; + bool is_cck; bool packet_to_self; bool bPacketBeacon; bool bToSelfBA; --=20 2.30.2 From nobody Fri Nov 29 17:53:54 2024 Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) (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 845834964E for ; Tue, 17 Sep 2024 05:31:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551119; cv=none; b=IM2lLnRemzqANWOB3tniKqdllvJGd2gRC355+9aEPHh8NXYFFJsl/iEASFY1FIowaMnmUJTGCQkU37kazm2js4cqTC6XIdny+1sWN/9dlP6GUmn+qqHB29Jdj8jHidntEPgkMjR7Dada3Sv84iepABboalRI5r3vIQU1s7DCXBc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551119; c=relaxed/simple; bh=x9/n3nUCuDoppKmd1upL/WLC6npkIViQv5mk7pLbQAs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=H3tRfNvYBi00EcaiHRRuZ3N/FbzrCNANs40xAyElYdSumMX6uBEOlzRZnBrUUUpjLdUGsYIaAIxTO8AyoVwqEkr2aVtjKNutrIX5opHf/5qxBGIc9AF2oQc8MByuEUqTm/P2DF1pzzf77Q0iwbNhdAH+ZMJw7xH/SdQOq2icQB8= 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=lQwWlPo5; arc=none smtp.client-ip=209.85.215.171 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="lQwWlPo5" Received: by mail-pg1-f171.google.com with SMTP id 41be03b00d2f7-7d50e865b7aso4575969a12.0 for ; Mon, 16 Sep 2024 22:31:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1726551118; x=1727155918; 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=ScgoUvC5TGwexehGv5u/sh0ZN6ENbtB+PiBjom74qIg=; b=lQwWlPo5X7b1zJMjJK44ibXxEwOUuZIo8dy2/GjU2GnSLWQfDBxiX/tRdGnjQfNOQ7 iM7uWHlAAR4Nf7z+/2XAwjvji062kdnykvetgzJpzPECHlTulFFfpnrOB/iWh0kuBjlT iV8dQzK+dsL448MMW0niQmPkCg+/kjRAsXvj6DeyQ7auoUQ1Li7samb55Z8v4q+r7avr EvMGVZNPGdy6uVIvNQQ8KNi0GGIA/S/T/9g9sla8LQhRNB+rxMLuwXrrYlZ2bBV1df8j zV3LO6cfP/AbUG69EYIcbtbE7hg15ypAcNdLvit6p1UyblmRJe1Hl3tmgChXQcSZy1oB zw4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726551118; x=1727155918; 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=ScgoUvC5TGwexehGv5u/sh0ZN6ENbtB+PiBjom74qIg=; b=CyKNl8oJ/OM6G9l401y/xE5HNX7YgqqA9W6dWWhyhmsOufbGOmJmJLY/tkGysLIvXv 2s77KZpudLQT80pZ+m7uwHTyBSFTqKv9+Uhs0FC0QRs3EIOYPHJP1zlTuQsYmkdI3GIm Yn/efrPFVnDI0AqTSy2EZ5DUuDYJZpnnZewkjCtKmopDlHjTHBP4MtzaCOZpLJRVFsij feRfTEwtWmgIJDjC3LiRY/jHiqkiIlMATJlxPjMFtihuYLSSCaHudlDbZQv+j1G0MN4h 4kMX+i6dTTJT9OxIDZz/7LHVjtQac++0FTbK4AQt3TLdhTv1/O80O7w2BBNk1/ELcr0D QUUA== X-Forwarded-Encrypted: i=1; AJvYcCWI+u9ge6EsTgrLbh3tfy3pu6G1pb2eNo+de1qcc9jVEhKJ46uBqXzTg7Mc7RPj4MC0zGOOZlTqRj/gdFs=@vger.kernel.org X-Gm-Message-State: AOJu0YzMFkgkmgBYuMYr72Iphewm/CM728L1nNAOo3lF7Uf6f28pJCMJ FQcacFlQMK1TlkrwHb5I4WRge51kLkii15B+IdSrn6Mt50vvO/0+dowJ4WCau38= X-Google-Smtp-Source: AGHT+IFhwkuE2gp/Xsh6U54/TyXvwq6IFCnAFivkMg9hatItSagsZLB4FFEoK2OGhjzy+qXHwAIy7A== X-Received: by 2002:a05:6a20:a9a0:b0:1d2:e78d:2147 with SMTP id adf61e73a8af0-1d2e78d227emr643812637.6.1726551117803; Mon, 16 Sep 2024 22:31:57 -0700 (PDT) Received: from lunchbox.darkphysics (c-73-83-183-190.hsd1.wa.comcast.net. [73.83.183.190]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7db498e0607sm4392328a12.8.2024.09.16.22.31.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2024 22:31:57 -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 03/18] Staging: rtl8192e: Rename variable bCRC Date: Mon, 16 Sep 2024 22:31:37 -0700 Message-Id: <20240917053152.575553-4-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240917053152.575553-1-tdavies@darkphysics.net> References: <20240917053152.575553-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: quoted-printable Content-Type: text/plain; charset="utf-8" Rename variable bCRC to crc to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies Tested-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 6 +++--- drivers/staging/rtl8192e/rtllib.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c b/drivers/stagi= ng/rtl8192e/rtl8192e/r8192E_dev.c index 2000289720b3..8d645d3296d2 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c @@ -1506,7 +1506,7 @@ static void _rtl92e_translate_rx_signal_stats(struct = net_device *dev, (fc & IEEE80211_FCTL_TODS) ? hdr->addr1 : (fc & IEEE80211_FCTL_FROMDS) ? hdr->addr2 : hdr->addr3) && - (!pstats->hw_error) && (!pstats->bCRC) && (!pstats->bICV)); + (!pstats->hw_error) && (!pstats->crc) && (!pstats->bICV)); bpacket_toself =3D bpacket_match_bssid && /* check this */ ether_addr_equal(praddr, priv->rtllib->dev->dev_addr); if (ieee80211_is_beacon(hdr->frame_control)) @@ -1525,7 +1525,7 @@ static void _rtl92e_update_received_rate_histogram_st= ats(struct net_device *dev, u32 rcvType =3D 1; u32 rate_index; =20 - if (pstats->bCRC) + if (pstats->crc) rcvType =3D 2; else if (pstats->bICV) rcvType =3D 3; @@ -1629,7 +1629,7 @@ bool rtl92e_get_rx_stats(struct net_device *dev, stru= ct rtllib_rx_stats *stats, struct rx_fwinfo *pDrvInfo =3D NULL; =20 stats->bICV =3D pdesc->ICV; - stats->bCRC =3D pdesc->CRC32; + stats->crc =3D pdesc->CRC32; stats->hw_error =3D pdesc->CRC32 | pdesc->ICV; =20 stats->Length =3D pdesc->Length; diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/r= tllib.h index 08eaa98c0a1a..5bb928d9cd12 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -468,7 +468,7 @@ struct rtllib_rx_stats { s32 RecvSignalPower; u8 signal_strength; u16 hw_error:1; - u16 bCRC:1; + u16 crc:1; u16 bICV:1; u16 decrypted:1; u32 time_stamp_low; --=20 2.30.2 From nobody Fri Nov 29 17:53:55 2024 Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) (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 455A4535D8 for ; Tue, 17 Sep 2024 05:31:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551120; cv=none; b=eHM8pCRxp/gzmfvp01u6DfqeZlMwQ8OiFXCmUuWTUAmgXmvYFMvY7ir5WUY2QzlJDijT33GOXILxC9/CbJtDkrPlK8EdwyUrhd4RRcH1q9i8TKhlSyWczTB2Q2D91rOb2WPqF7eh2kT+EIOh/TaFGbM4Nii+enc1veyBstNmgYo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551120; c=relaxed/simple; bh=lExOrX63qroyhjaHURfuxChMnHToTXmcCJ+pARDpjqw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=rZ5JmYCQPPzE5swguqskA7h58RWzlCRe69qW6CP4BM/kj0B02ZfxO+fwU3lMKeXmymfkFtKe8XKLdbBwLymL6bwaoqosW0RNfxVnnHSUgjhXsYt4OFxSSJ/yNKvncbtXHVEBu6l2KJ+CIQyyzHafb10WbLqF7xc8b6MeaQ0hWvc= 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=kdaioYFG; arc=none smtp.client-ip=209.85.210.172 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="kdaioYFG" Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-7178df70f28so3951538b3a.2 for ; Mon, 16 Sep 2024 22:31:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1726551118; x=1727155918; 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=+BbJQpuuZ7BYT4gs2DMNofQ/MuRf6Eta7FLnNUeSPu8=; b=kdaioYFG3Ig9mRFg0jKfqsNXWiayB5YlbODbsPIEuJy1FYdL311kQgSBQpZvLPiUAb obRCc4moLJv83PbE7MeIGiVqhAkqTA+OWNXFVQF3UHTiVdBI7A0BKBTZEOw2OFZwaT79 WmZTyoFbB/w4wSCQp2bb6ahmUaucFPQ8u9X8jR4a93ZhUUjQNhwg9vR5Rjb4nQyFYZkp jSxOUbGNZuwUBYA8p2GO7K+7swkfAxJ1KQ+ue/uZ0rJePSybF9AWzxKUudd2TDM7uWnn Rz/NoGwGDDxrnhkTSknyuEX3IiG7gc9jhm8pRsx2IeLPn9xK08CO0pnPvK+z8G1OQagQ Bnog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726551118; x=1727155918; 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=+BbJQpuuZ7BYT4gs2DMNofQ/MuRf6Eta7FLnNUeSPu8=; b=Vuzmn7vaYUr6tFVRvJARpNIX5+sMwSvxbladam/PmSdpyYeCVy6i/6zYSGrEpS3kXD p67U5t9yvGT80L8EYMcVtMPrDVLkXb/3rITBtonbLqZ/vByFKUShNL8XbntW9JfPRfnc o+mRnq+z5AGrrejfg6BQWctCGJ7nBx4vJ1/8Cm9xEGDXBb+6EvKxzGvtaQQ0j5jYf2Fi 4SiF2TUdU0oRKYizzwrIMUhUVk4P+IC53RNIXK5hnpxj6Y+nLzB9JVYbRjEt2Z+42fWM BlER4ZW3KkxAeRRzsfLh60KfS7bTVM0aar4GmKGsiwunr4XFsynNJkAYmOpfT4uFx9iL j6Jg== X-Forwarded-Encrypted: i=1; AJvYcCWSx4iThDGp4kNf7K3cqfNoXnyV49lVbFSMcvludepN4B7G4VdtqwJOOa/whL7mPatARnyxyEqQWpKdSAI=@vger.kernel.org X-Gm-Message-State: AOJu0YwEtobq3BXyBblZGVwhnVoWx79q/LrPnAG4lApu4z7gSxj1KIWZ BfqSNteWFJNHAJNV5D+217qorMUVfpHWbdUihjjHZV1IAGA5Ngc9yeji8PKwXFI= X-Google-Smtp-Source: AGHT+IG1F1zV+SY7EGa8BLbwQvUbeHXnPVZ/26DGEmwxdgWhBdSAfyeX81JQOkF916zV5fj3rvEpng== X-Received: by 2002:a05:6a20:ac43:b0:1cf:36f2:21e9 with SMTP id adf61e73a8af0-1cf76358fdfmr24098507637.32.1726551118499; Mon, 16 Sep 2024 22:31:58 -0700 (PDT) Received: from lunchbox.darkphysics (c-73-83-183-190.hsd1.wa.comcast.net. [73.83.183.190]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7db498e0607sm4392328a12.8.2024.09.16.22.31.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2024 22:31:58 -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 04/18] Staging: rtl8192e: Rename variable pMCSRateSet Date: Mon, 16 Sep 2024 22:31:38 -0700 Message-Id: <20240917053152.575553-5-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240917053152.575553-1-tdavies@darkphysics.net> References: <20240917053152.575553-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: quoted-printable Content-Type: text/plain; charset="utf-8" Rename variable pMCSRateSet to mcs_rate_set to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies Tested-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 8 ++++---- drivers/staging/rtl8192e/rtllib.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rt= l8192e/rtl819x_HTProc.c index 9c9c0bc0cfde..2eba916d7f50 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -357,7 +357,7 @@ static u8 ht_pick_mcs_rate(struct rtllib_device *ieee, = u8 *pOperateMCS) return true; } =20 -u8 ht_get_highest_mcs_rate(struct rtllib_device *ieee, u8 *pMCSRateSet, +u8 ht_get_highest_mcs_rate(struct rtllib_device *ieee, u8 *mcs_rate_set, u8 *pMCSFilter) { u8 i, j; @@ -365,14 +365,14 @@ u8 ht_get_highest_mcs_rate(struct rtllib_device *ieee= , u8 *pMCSRateSet, u8 mcsRate =3D 0; u8 availableMcsRate[16]; =20 - if (!pMCSRateSet || !pMCSFilter) { + if (!mcs_rate_set || !pMCSFilter) { netdev_warn(ieee->dev, - "%s(): pMCSRateSet and pMCSFilter are null\n", + "%s(): mcs_rate_set and pMCSFilter are null\n", __func__); return false; } for (i =3D 0; i < 16; i++) - availableMcsRate[i] =3D pMCSRateSet[i] & pMCSFilter[i]; + availableMcsRate[i] =3D mcs_rate_set[i] & pMCSFilter[i]; =20 for (i =3D 0; i < 16; i++) { if (availableMcsRate[i] !=3D 0) diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/r= tllib.h index 5bb928d9cd12..7c575535d074 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1736,7 +1736,7 @@ void ht_reset_self_and_save_peer_setting(struct rtlli= b_device *ieee, struct rtllib_network *network); void HT_update_self_and_peer_setting(struct rtllib_device *ieee, struct rtllib_network *network); -u8 ht_get_highest_mcs_rate(struct rtllib_device *ieee, u8 *pMCSRateSet, +u8 ht_get_highest_mcs_rate(struct rtllib_device *ieee, u8 *mcs_rate_set, u8 *pMCSFilter); extern u8 MCS_FILTER_ALL[]; extern u16 MCS_DATA_RATE[2][2][77]; --=20 2.30.2 From nobody Fri Nov 29 17:53:55 2024 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 E3C5576036 for ; Tue, 17 Sep 2024 05:31:59 +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=1726551121; cv=none; b=VFPYMp+7ebmEMubkHjQWEyOh3zKipd9rOMoC2uxFJjFw5n1DXut+DIvk9cXf29fwBCsmF4Up0gdwgPgMokVNBWzpK1PwftkOBxWR831EYpdb1QgA5RMG98+cseVe52Caf7IuO8IOMLTUuux+OqXbTVRMZzNN+NqxVa3fjbF6Bc0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551121; c=relaxed/simple; bh=/aRwPhx68qTL0lKrU3BPit/lV8pb86BsZrdljM1kho8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=VPZj6AJfDlED8fVZ+MaBWwhnhCNAd+ZXaIBb7aLFgc1Vqg5wFzVL2dPI0lIeiRQ9fukkRv84QhfAfYj6JAF5wSyYprw8zfWrwOGFD82U2TX6OR8z7rCqdl5kyNu5WyLxToQBhb8czUG32TNiN0EdJ4TmFPz1Up0itUwe70tC5bg= 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=BURRh0Ik; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="BURRh0Ik" Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-7d666fb3fb9so2565921a12.0 for ; Mon, 16 Sep 2024 22:31:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1726551119; x=1727155919; 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=O63mVFRoUMn0Irdln2CPxuHNEZxiLeaDCDgudz+MiBA=; b=BURRh0IkhGTNCSuEA2ushjZ6t/hqp26exH1Y/wesnygxUoH5N2brKIzllbEF+VWhaS Yob4g52KTlimMQXLTRaYygwXQSS5CazzJ28bTrqKsYTP/X6+WMEWIX75DUc+rjdNmiXV ChrZrK8d+BFw6QwU9BYhUaIuhb+etfwY2jXmyZXETeHNqwb/aF3tkAnl2t0aetRD56FA C3cio10phEGcpafK1Jyqpr8HMfkqZ/d59rApK9oLXDu5UacDdC/HDQON14lBOdkzzA9o jEOHoHSb3z3OYYfE/7bb5YiLsKwdwvlGhptchRxRVJJCvY8LlCsRq2nzfKIlxIn0pab5 ecyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726551119; x=1727155919; 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=O63mVFRoUMn0Irdln2CPxuHNEZxiLeaDCDgudz+MiBA=; b=o72QwTFnN6FEIKTkGmCcbWbMWl+L4RHk+hJOexvg7iRmT22xrWdBMXkqr4aKVRl8Ns uxLnqkhHkV73Vb4jp4NcMmkDF7cYdQ0Otp0MWsK3y5uiZ6TM23RgG77SMVfRKd/29a5x iIACRKH/aoX7THAg7Th/Y56KwV8+O/5GWDN5umDMvkd5H2Sqjcbx7GwzBRUb9v7pJSVM Z7tjWqImhXxvbjTp2ONunrbWGtCWidALpRhc4W7H7CuCn9igp1itFTwBuLgL5sPqaend lngTZ4c/yhGyibdk4oPnqn4NYwp/UedESQpzNIMpjCAfDI30jkusaWysSPzBWxA1hqP3 65Jg== X-Forwarded-Encrypted: i=1; AJvYcCXp+kJK5W5NvRmNDcuh0F6K6TdVoKULtsavJAaXPuXsFD6BZqrPawEPjewQumznNJvWRvPAbJ7v+ZkW2FE=@vger.kernel.org X-Gm-Message-State: AOJu0YzkvoIZsGKd7b3kxXQslxqRIUF9ZBt3Zzon6QX8fype5VSyHKFT eWub6nbjU2gtSZAfDGFkOLbXNZt/vinecMX++FKbXiYHTUl45qBJo+3L66369lI= X-Google-Smtp-Source: AGHT+IGrAEsEAnjGA+zMNlmnFwBOh6t2QXxQQIZ0eykys0/fb6bX/LEkDWQMrANrnLrZtghqtVh/nw== X-Received: by 2002:a05:6a21:8901:b0:1cf:46e1:5b7c with SMTP id adf61e73a8af0-1cf5e05cad6mr35860187637.3.1726551119208; Mon, 16 Sep 2024 22:31:59 -0700 (PDT) Received: from lunchbox.darkphysics (c-73-83-183-190.hsd1.wa.comcast.net. [73.83.183.190]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7db498e0607sm4392328a12.8.2024.09.16.22.31.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2024 22:31:58 -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/18] Staging: rtl8192e: Rename variable PreCommonCmd Date: Mon, 16 Sep 2024 22:31:39 -0700 Message-Id: <20240917053152.575553-6-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240917053152.575553-1-tdavies@darkphysics.net> References: <20240917053152.575553-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: quoted-printable Content-Type: text/plain; charset="utf-8" Rename variable PreCommonCmd to precommon_cmd to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies Tested-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c | 6 +++--- drivers/staging/rtl8192e/rtllib.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c b/drivers/stagi= ng/rtl8192e/rtl8192e/r8192E_phy.c index fbe624e235df..ac9aea228276 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c @@ -550,12 +550,12 @@ static u8 _rtl92e_phy_switch_channel_step(struct net_= device *dev, u8 channel, =20 { PreCommonCmdCnt =3D 0; - _rtl92e_phy_set_sw_chnl_cmd_array(dev, ieee->PreCommonCmd, + _rtl92e_phy_set_sw_chnl_cmd_array(dev, ieee->precommon_cmd, PreCommonCmdCnt++, MAX_PRECMD_CNT, cmd_id_set_tx_power_level, 0, 0, 0); - _rtl92e_phy_set_sw_chnl_cmd_array(dev, ieee->PreCommonCmd, + _rtl92e_phy_set_sw_chnl_cmd_array(dev, ieee->precommon_cmd, PreCommonCmdCnt++, MAX_PRECMD_CNT, cmd_id_end, 0, 0, 0); @@ -591,7 +591,7 @@ static u8 _rtl92e_phy_switch_channel_step(struct net_de= vice *dev, u8 channel, do { switch (*stage) { case 0: - CurrentCmd =3D &ieee->PreCommonCmd[*step]; + CurrentCmd =3D &ieee->precommon_cmd[*step]; break; case 1: CurrentCmd =3D &ieee->RfDependCmd[*step]; diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/r= tllib.h index 7c575535d074..ce36f0979294 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1400,7 +1400,7 @@ struct rtllib_device { struct rtllib_rxb *stats_IndicateArray[REORDER_WIN_SIZE]; struct rtllib_rxb *prxb_indicate_array[REORDER_WIN_SIZE]; struct { - struct sw_chnl_cmd PreCommonCmd[MAX_PRECMD_CNT]; + struct sw_chnl_cmd precommon_cmd[MAX_PRECMD_CNT]; struct sw_chnl_cmd PostCommonCmd[MAX_POSTCMD_CNT]; struct sw_chnl_cmd RfDependCmd[MAX_RFDEPENDCMD_CNT]; }; --=20 2.30.2 From nobody Fri Nov 29 17:53:55 2024 Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) (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 D87C94F20C for ; Tue, 17 Sep 2024 05:32:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551122; cv=none; b=RxLCO805fvzkBAKnf5e9XvlOqe27CnocH3fKxr3rDRQILoDA9898ZhP6ijQMDrcMic61aeSKqSiS6QRII9xe5SkNyl2n7R1WIIBIRZYwYutV1i5IkHKzqSiy8jr+19N6Y7E0dDJJgkiOtrZoDfByKNaLjZ99Ay+Fb9xb07tmEtc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551122; c=relaxed/simple; bh=kHUjYYobMsHP0b0GyDeuUfksbTh7OEkDLcKNPpUk88E=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=f+KNwo7XhQAT3NnglOGr9WXEbjgBxg0CXLApC0C0iKBvI5bYwyGYH8i0Ld+M5NcmWRS/H+xGNSSmQF+ZK3MASa4bH9+eOemivZQOAYheN7ya1TjB5jM+wgoXOg2fwqWz82Tap+lscPWYgeDBH5jzD2v/Jn7LQsRMeiKwxeUPPL8= 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=Fc67MlHT; arc=none smtp.client-ip=209.85.210.180 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="Fc67MlHT" Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-718d6ad6050so3183170b3a.0 for ; Mon, 16 Sep 2024 22:32:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1726551120; x=1727155920; 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=Brl9Ndwral947QcNfp3rLAEaFYQe+FUYAGB0RsF6Q94=; b=Fc67MlHT9qWqmxbVhG7u6MyLsMju3Ei0Hkox2gpfUGNKhnL3Ql2EQfNXivpRmz84uV 7Kt4n6GfdYzjGhLHE4WFrjhimwavsSkQ+CUqkBd0I6UVmAVbUEeG3D11TwjbYtdfDyKD NSdWvF4VwDmOPKnNLnekbDn/+3xdom7NDu9I5iesNw6bGF0WUtMiUKaXp2LPFZw0qlC0 gTN3mvwAANjfqNc/87e0WkBqWprcyIeL1GAtIClGrhbf29GOYZ7WasMx/SJVwkkwYpld RYpsXHxRg6poVl+rP553/joBTPbK4ZPN4uDXIvXxiZApGLf5lFtoiYTcM4VC8wZLzZSS B7Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726551120; x=1727155920; 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=Brl9Ndwral947QcNfp3rLAEaFYQe+FUYAGB0RsF6Q94=; b=b5DkH/buadD1p9ilhTJnQoVjicfipv91NjEhT4Ct4AkednklnawLD95ckkW76M7mJg wniLJVMTfoXLkiBfZVhSuVUMcI5iuxBEd72Qpp+rTZ0IxspZ6WSiHGL3xpvk3bZJKiEZ twuGeOrc8HO6Fpdll/1f3zoWO6OXUnIEZMghltZc3O1Ygyq9y6fKA53+ZTfM+ewJzL2J gdpeG+5ngjPXPvbQHbagRaEvbj2dM5UO6K1oGD5oYdCrUQQivX5ikVsoZR6oK4MHcmop vwvKSuiLKFh0SrTFzzLET3Dt5heYFKmfHKdkYbEfDs2J3rUt491bumD+J4iNIbTGGD4b 1PQg== X-Forwarded-Encrypted: i=1; AJvYcCWPpGUg1FBX1QPpmNhjYQaB9XofuNCeqpEfuqo3Tp5Lenm59u5A71NhmPtpRI+JgrCc940i96JTiDIL2Zs=@vger.kernel.org X-Gm-Message-State: AOJu0YytRs6QqXjMSEZWkbA0IgTidX8NiAf94L5FPCmtDK+OQT8JdLxI Dl+Vyfp/q4QDGFtyWwCv+3eSd3K2EW/UvpOV3MmRZDrmPMsTSoULHMnSVJzfSxw= X-Google-Smtp-Source: AGHT+IHonY/648LNu86O9zY6FRO2AqJejtMXZEGGZJ5dbGQi8MT6JF7/KxB/7Zo8xmjyO4LGKDxclQ== X-Received: by 2002:a05:6a20:948c:b0:1d2:ba7c:e180 with SMTP id adf61e73a8af0-1d2ba7ce296mr11125404637.6.1726551119917; Mon, 16 Sep 2024 22:31:59 -0700 (PDT) Received: from lunchbox.darkphysics (c-73-83-183-190.hsd1.wa.comcast.net. [73.83.183.190]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7db498e0607sm4392328a12.8.2024.09.16.22.31.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2024 22:31: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 06/18] Staging: rtl8192e: Rename variable PostCommonCmd Date: Mon, 16 Sep 2024 22:31:40 -0700 Message-Id: <20240917053152.575553-7-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240917053152.575553-1-tdavies@darkphysics.net> References: <20240917053152.575553-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: quoted-printable Content-Type: text/plain; charset="utf-8" Rename variable PostCommonCmd to postcommon_cmd to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies Tested-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c | 4 ++-- drivers/staging/rtl8192e/rtllib.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c b/drivers/stagi= ng/rtl8192e/rtl8192e/r8192E_phy.c index ac9aea228276..b583ed0d7e92 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c @@ -562,7 +562,7 @@ static u8 _rtl92e_phy_switch_channel_step(struct net_de= vice *dev, u8 channel, =20 PostCommonCmdCnt =3D 0; =20 - _rtl92e_phy_set_sw_chnl_cmd_array(dev, ieee->PostCommonCmd, + _rtl92e_phy_set_sw_chnl_cmd_array(dev, ieee->postcommon_cmd, PostCommonCmdCnt++, MAX_POSTCMD_CNT, cmd_id_end, 0, 0, 0); @@ -597,7 +597,7 @@ static u8 _rtl92e_phy_switch_channel_step(struct net_de= vice *dev, u8 channel, CurrentCmd =3D &ieee->RfDependCmd[*step]; break; case 2: - CurrentCmd =3D &ieee->PostCommonCmd[*step]; + CurrentCmd =3D &ieee->postcommon_cmd[*step]; break; } =20 diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/r= tllib.h index ce36f0979294..352b79c2df2f 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1401,7 +1401,7 @@ struct rtllib_device { struct rtllib_rxb *prxb_indicate_array[REORDER_WIN_SIZE]; struct { struct sw_chnl_cmd precommon_cmd[MAX_PRECMD_CNT]; - struct sw_chnl_cmd PostCommonCmd[MAX_POSTCMD_CNT]; + struct sw_chnl_cmd postcommon_cmd[MAX_POSTCMD_CNT]; struct sw_chnl_cmd RfDependCmd[MAX_RFDEPENDCMD_CNT]; }; }; --=20 2.30.2 From nobody Fri Nov 29 17:53:55 2024 Received: from mail-oi1-f171.google.com (mail-oi1-f171.google.com [209.85.167.171]) (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 9E5E01494AD for ; Tue, 17 Sep 2024 05:32:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551123; cv=none; b=V2wGFlIYfHvRvit0cdaEWolIWRf8wc+fmhrzlbFXrUX5MNET7VdolF/fNzoyqIZnV80joWLx2Rxm/WfWYUdEfm+fhaCv2La1BZDWkDMcdBwdIC7NTA7RV945tBfbxeRIJ/3MN7AF7LfhbHXDz+LZ3EEPC21h2tHhIxloAzruFgk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551123; c=relaxed/simple; bh=8zSIpfttX95m36PD/Re1w3MokteJ8O4kuDOGNKsYBfg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=G8MXuJU7Y5t5JCD/eggvXLbLIJf0v/++f6/G/esXr42ML5oen3YmmkHx7crQ7ZmoAfHBwJZ8UjFPAXAInxtYTl5n7Zy3rq2ZajTlX0ITLAt4bVnsC6hVE7snrTCs8PjxnEP76iTiXvdcETEExFHQl1pRyfaozmezfq55r94kFyU= 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=Xe4LBvje; arc=none smtp.client-ip=209.85.167.171 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="Xe4LBvje" Received: by mail-oi1-f171.google.com with SMTP id 5614622812f47-3e03e9d1f8dso2739879b6e.2 for ; Mon, 16 Sep 2024 22:32:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1726551120; x=1727155920; 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=o5mbYRsj6Nd3jVYuccTxUGwM6zWHiTfD3OTp16s/FMQ=; b=Xe4LBvjeou73XwGRqirHJfatuoqjEPjqQt1xJxGyHNEnW60fzAr9/jvPd83kwCFFtR xT0TF6aBaODH2VkrxDNzT5yrA8Jtqbpurl1GlT4CnoDjDs33y0g2InVMOMf9zhq5rSMh pbISo6+EFeKHePEaHj3+z29g9WIoltFcArNmMxxFyLIXo+2fxatnyjN0kHOczbXC+2fp rjfvGv9K9fniyTPrl4NJskRWN4YR9Il1KHhxrw8dTzr6QasDa4pNImmbr0ej+MREXvuH KK/CbbT8lbIhJYgMK/81W6s792Z/ahX3ehXImTBV5iP4WHbzoG9cipPi57wGiJEfKQOj +irg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726551120; x=1727155920; 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=o5mbYRsj6Nd3jVYuccTxUGwM6zWHiTfD3OTp16s/FMQ=; b=TXStojZnIHEHugfgSHHPM2j9by8l1yzC4r0/TbUenLd239h9HkCbDV4qRKp2Nvm0W8 OR4OVgq1Y1Dhvb+DNHmWTCQH0Pv8Z6wWWOeSJ5j7le6R1sM1yO89gnrDrMP5bIeDw2Cc tT56M10xlQp8ncVf6vorgJUS8zSAcWd7+4nwnkrQcH5mD1pjJEnYsshe7HS9mCVCPtbK bBVfTDxxsF/HYzvi+zT3FyLyQMhM8ubP8PyZmmOrCy4fz+IEnZMZjX7J46QKkbp//N5h xRFb+zG6+95X0waZBvoyahAcPG3l/VyRNf6PQM8ByDm1nlj5ZJy4imSwSPQK1+ra9XmF Eg9A== X-Forwarded-Encrypted: i=1; AJvYcCVjVapa21coTFGy4R6biZLRkBgO6jG7UKvHv1G1kHBXiV8o3f44z6LOZKajhD+vqXD7Ij20mGblh7qnZ24=@vger.kernel.org X-Gm-Message-State: AOJu0YzkH7Y8QgXiMZ4TxMbzaDBJ61WzkzRSk4B3jQArLFe0a60virvN yeAguMRgBifLIEj5Q9C1W+iS8jIhLAwyo6/0NqvSy51bcE4p21+CsIkGKDQ0K/E= X-Google-Smtp-Source: AGHT+IEC7s/Y/5FSwSUzOovr9eWhzwY10d17OVlYZL9RTTdrUwi+pPOqtRNWeCrMtal6UICa6sCjYA== X-Received: by 2002:a05:6808:138c:b0:3e0:3d83:49c9 with SMTP id 5614622812f47-3e071a85532mr15225206b6e.7.1726551120573; Mon, 16 Sep 2024 22:32:00 -0700 (PDT) Received: from lunchbox.darkphysics (c-73-83-183-190.hsd1.wa.comcast.net. [73.83.183.190]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7db498e0607sm4392328a12.8.2024.09.16.22.32.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2024 22:32:00 -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 07/18] Staging: rtl8192e: Rename variable RxDataNum Date: Mon, 16 Sep 2024 22:31:41 -0700 Message-Id: <20240917053152.575553-8-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240917053152.575553-1-tdavies@darkphysics.net> References: <20240917053152.575553-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: quoted-printable Content-Type: text/plain; charset="utf-8" Rename variable RxDataNum to rx_data_num to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies Tested-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 4 ++-- drivers/staging/rtl8192e/rtllib.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging= /rtl8192e/rtl8192e/rtl_core.c index dc1301f1a0c1..32dcccd58b9a 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c @@ -924,11 +924,11 @@ static void _rtl92e_update_rxcounts(struct r8192_priv= *priv, u32 *TotalRxBcnNum, (priv->rtllib->link_detect_info.slot_num); priv->rtllib->link_detect_info.RxBcnNum[slot_index] =3D priv->rtllib->link_detect_info.num_recv_bcn_in_period; - priv->rtllib->link_detect_info.RxDataNum[slot_index] =3D + priv->rtllib->link_detect_info.rx_data_num[slot_index] =3D priv->rtllib->link_detect_info.num_recv_data_in_period; for (i =3D 0; i < priv->rtllib->link_detect_info.slot_num; i++) { *TotalRxBcnNum +=3D priv->rtllib->link_detect_info.RxBcnNum[i]; - *TotalRxDataNum +=3D priv->rtllib->link_detect_info.RxDataNum[i]; + *TotalRxDataNum +=3D priv->rtllib->link_detect_info.rx_data_num[i]; } } =20 diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/r= tllib.h index 352b79c2df2f..c6a9cc0b2760 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1086,7 +1086,7 @@ struct rt_link_detect { u32 num_recv_data_in_period; =20 u32 RxBcnNum[RT_MAX_LD_SLOT_NUM]; - u32 RxDataNum[RT_MAX_LD_SLOT_NUM]; + u32 rx_data_num[RT_MAX_LD_SLOT_NUM]; u16 slot_num; u16 slot_index; =20 --=20 2.30.2 From nobody Fri Nov 29 17:53:55 2024 Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) (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 E005314A4D6 for ; Tue, 17 Sep 2024 05:32:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551123; cv=none; b=DC+j744dqEfU6Gb1ylwkHyK3gKZXs2pNG6kkDGLr7f84Llsai6Bh8fbYdtgO5XjOx5amkcYQlBVItsp0DLjsFEg7XWa4HYWDl+O2Mepiy7t1Wme8+QbJfwO7wjvCeBIMJRx4bNToHEuHS436FTOTaWgAZSJdh+9hFu4sEelrqdg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551123; c=relaxed/simple; bh=sZKvR71ldawsze0JADOPuPZo2EgNqxkqX5a28FxyXJg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=RoXE7HO+2fR7Xq0Bdoj3DXfBK7OGEMb4AVaP7MCYAQq45E/nzpON3J4Ei0r3lTWjMZMx/p/Uk/V/lwIjM+zCP6nI8cqZCu5AaIB6iN9nExPHOYGokiReoXWZt/ocpxkU2qcv65pby/xLICcoQszuDoBncsjOoD1WvO34rPdEqpY= 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=c2zq8LlT; arc=none smtp.client-ip=209.85.215.182 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="c2zq8LlT" Received: by mail-pg1-f182.google.com with SMTP id 41be03b00d2f7-7c6b4222fe3so3348395a12.3 for ; Mon, 16 Sep 2024 22:32:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1726551121; x=1727155921; 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=Pue5cYUVUdCVtWaMNLqOU5DyP6NH1weXbYhUzVPJXbo=; b=c2zq8LlTzEZ1f6OuLCncl9ZYkyw5KqZm1q9V12evcFNt17ZlnGisiWsCZ4xnf3TmP6 z0EhIvjzzZU1qJHSG4h9DDYJFnMZSD09Ixs+dj+k8B/ZyBWkdAzmd8ZnqVhmqSq6g4+m YhWcaDd/fqrHWO4b3P5tQhPxxvtLy/VFmwPeSjzJ9PAn38EN/vT1GtuNrg5Ux7SQLWhG ynORfkFFokFKvlba+3qlBFcDnGKOliJnxn57s7jSexoh9BBQrfVJh6N+TRX2g39tPzdB PL7M6aCvg43IWGAUBfXom6cnHQdE981xSMXQyPjtLzItoU9zq3kOfG1THmSbrsaRb4og +2ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726551121; x=1727155921; 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=Pue5cYUVUdCVtWaMNLqOU5DyP6NH1weXbYhUzVPJXbo=; b=cg2cu2jaX4u4hpG0ZpGuHMxh4nYGBQCxVkc6gLiIcGT3oiEYYoSqs0q6RUk5xetKFK 1HzqFCyCbrTjM05ozU26LD9EHHW5RVG6kbXnEIurjle8m/eSPXcOU+3+h+qzcZ0UZaYC eMGz9rzpJvdu+qh4orAIUDujPjqwebh0y5kuOTMSP633s4taobXZOhyOppqxcBNXc7qA BpGo0rikmlMvbeuRQqZfyXkDwdm7nyYR85g+Z5B2JlcCQb+uelqLhb4FOOWywhk7CV3E 69xNYG+hCAn3yPzusWbq8X5g6jZLqJhKVWvrU8yPnCnyChiYx9m2jFgCYZeVJ/bItfkh y4ig== X-Forwarded-Encrypted: i=1; AJvYcCVDDbYs+wC9XB+NTXbOS+sLzjchrYDCUEurVGHyQ6IOtan3rA1CO7m47YvIIuXt0HCPQ44bau+nnqeGIfU=@vger.kernel.org X-Gm-Message-State: AOJu0YyfLiKXzsNYJbfWj56Shgyc0clnMZmb4GMIRctDzszbp6bzaKpg 0K9A4FRhd/w3IzrZK3q7KPt01z+MzNgLNi3no6oTc0sgnB7Mf359XovBOa+m3ic= X-Google-Smtp-Source: AGHT+IH5imF1uaZ/NVYxBzjkFnbv4gJE+ngHUSuhcwjMjG06uQ0wy3S0dV8vfB8JzEj1Hz4kqRYfJQ== X-Received: by 2002:a05:6a21:38f:b0:1d2:bbfc:774b with SMTP id adf61e73a8af0-1d2bbfc7bfbmr12305115637.37.1726551121245; Mon, 16 Sep 2024 22:32:01 -0700 (PDT) Received: from lunchbox.darkphysics (c-73-83-183-190.hsd1.wa.comcast.net. [73.83.183.190]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7db498e0607sm4392328a12.8.2024.09.16.22.32.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2024 22:32:00 -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 08/18] Staging: rtl8192e: Rename variable FwRWRF Date: Mon, 16 Sep 2024 22:31:42 -0700 Message-Id: <20240917053152.575553-9-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240917053152.575553-1-tdavies@darkphysics.net> References: <20240917053152.575553-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: quoted-printable Content-Type: text/plain; charset="utf-8" Rename variable FwRWRF to fw_rw_rf to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies Tested-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c b/drivers/stagi= ng/rtl8192e/rtl8192e/r8192E_dev.c index 8d645d3296d2..003343e75f0c 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c @@ -613,7 +613,7 @@ bool rtl92e_start_adapter(struct net_device *dev) priv->rtllib->rf_off_reason =3D 0; } =20 - if (priv->rtllib->FwRWRF) + if (priv->rtllib->fw_rw_rf) priv->rf_mode =3D RF_OP_By_FW; else priv->rf_mode =3D RF_OP_By_SW_3wire; diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c b/drivers/staging/r= tl8192e/rtl8192e/rtl_dm.c index e9ca5a8768ad..c19522885d41 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c @@ -747,7 +747,7 @@ static void _rtl92e_dm_init_tx_power_tracking_thermal(s= truct net_device *dev) { struct r8192_priv *priv =3D rtllib_priv(dev); =20 - if (priv->rtllib->FwRWRF) + if (priv->rtllib->fw_rw_rf) priv->btxpower_tracking =3D true; else priv->btxpower_tracking =3D false; diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/r= tllib.h index c6a9cc0b2760..5db03fe9269d 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1371,7 +1371,7 @@ struct rtllib_device { enum fsync_state fsync_state; bool bis_any_nonbepkts; struct bandwidth_autoswitch bandwidth_auto_switch; - bool FwRWRF; + bool fw_rw_rf; =20 struct rt_link_detect link_detect_info; bool is_aggregate_frame; --=20 2.30.2 From nobody Fri Nov 29 17:53:55 2024 Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) (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 B725514F9DD for ; Tue, 17 Sep 2024 05:32:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551124; cv=none; b=qHABjxBSWsZtrWyeMiGfOeOSUd9OWkq+32xgRlSWw0wpTLCZlq3SEkk7ebA6d652ze7qNU6fXboG/43wBMCWjDucCQqhWmE097afN2YAtUsnOO+r4bmvGdgIsW0ues6Gsmp6VwdJG4QpiDKnzvTYJx2yirDdZCUojjysBf+8WxM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551124; c=relaxed/simple; bh=Gpn2H8LHNdXdTOmFy7tNJ6iSxJpv8TCjLYoJz1IYxB0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=nyicKLvGHXPgq/s4R73+Xhf20+JYQ2dfpg+I8UHH+xEPXWA09ZjZ71a19ZbLhgopM+ttnvBClsZZ/arZACKXSwrh7Vcv7dqnpXxWGzHVlgNb0dShtxWxUv2RYF3HTkO+HrdmdyY4TtRAwuINlighEtxaj6uB7ntT0Rhb8dTW3eU= 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=G9r0hedY; arc=none smtp.client-ip=209.85.210.180 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="G9r0hedY" Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-71798a15ce5so4242151b3a.0 for ; Mon, 16 Sep 2024 22:32:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1726551122; x=1727155922; 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=X/aNmWGHy2dB2dhTqpwQodFKxIg7+IWGmSsCtZxhNag=; b=G9r0hedYSbH6uOMRP86fFXzZS5Gy8EEd9Ys/AsDGjeKNV99WjwqX8lXUSAeGXVDyBi RNQQSec2ff47JZpGPtraz9RyLHvvN00yP1yXM7zLr0Xh+eymFXBTHj6o/+mUwjXUtDNh AG8UT5t7ItOZmal6I2/8G0aig4HYlr9daiqz1IPlwEv5QO+34BT8Wx8sqwbvA1JfTkek SuTqA9gYJF26pFrNByT9DyWFt/KodI4UhdvYPACppeJUsEbHx83kiMHuB2HQ6CBScDSk lp+YOLQgUEXuAbCKzA3ogsv4+OOwZjHkCbqT74zRsyP3CCO+DHLY2o90Hix6x0uyHn2M Iz3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726551122; x=1727155922; 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=X/aNmWGHy2dB2dhTqpwQodFKxIg7+IWGmSsCtZxhNag=; b=va1kL7oZ8bfPoB9xuMSVDh77z3JnCPh5PcBYBtDxKeSulWr1ANfM+Lg7rdaE8Qjaae 7BtXrHgvkYJR2VHT5hqrNgAVi8hye8WwNhXnx8WfbY++CrKhJO8jN/k+GhTFWr8lJERF V61NpYPTn5TD6Cembn3P1koqer0w8aAkxZT2UA89HU7zpikqr7BzEDUd0NKO3C9DgVCl LP/YKHRKX1UNfvv6Ss9uCWOQRKY3W0AqGdajKqT5jd34MxVfejBqen3eZUrwtA/Hd/0K OeewpI8p5LRM1f9FtffM37M/W5JeKINHkEpskCUs58HUofd1mkIi1PrlDUhyRpARDBnl uORQ== X-Forwarded-Encrypted: i=1; AJvYcCURFIN0Q3fAYOEQHtB37ZjGdlnhXnenZfA4Ih6zfgrDZ2i/wBSc9T+b+6SNnJw6A7bQw6SPQ0OTSm0Eqcg=@vger.kernel.org X-Gm-Message-State: AOJu0Yx0xD3grytIO95bW2EWTBdmIULt48hbfcWjl5IUkxaGoBJhpnq+ wZwjcpJKxkcSzhDXlK4/247fLBdUfK1WRBuGrKqeUspoRxvEuUjP044qWpWySZM= X-Google-Smtp-Source: AGHT+IHG4o+lsuxq37psiM1fmskoMo4VtXlyrhsBp2Q1ne+m8rOJmTs7umneHzv9t9X+7R9ETx6FXg== X-Received: by 2002:a05:6a00:b011:b0:717:83bc:6df3 with SMTP id d2e1a72fcca58-71907f55c44mr34251595b3a.11.1726551122001; Mon, 16 Sep 2024 22:32:02 -0700 (PDT) Received: from lunchbox.darkphysics (c-73-83-183-190.hsd1.wa.comcast.net. [73.83.183.190]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7db498e0607sm4392328a12.8.2024.09.16.22.32.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2024 22:32:01 -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 bFirstMPDU Date: Mon, 16 Sep 2024 22:31:43 -0700 Message-Id: <20240917053152.575553-10-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240917053152.575553-1-tdavies@darkphysics.net> References: <20240917053152.575553-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: quoted-printable Content-Type: text/plain; charset="utf-8" Rename variable bFirstMPDU to first_mpdu to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies Tested-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c b/drivers/stagi= ng/rtl8192e/rtl8192e/r8192E_dev.c index 003343e75f0c..87a370a4b2db 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c @@ -1651,7 +1651,7 @@ bool rtl92e_get_rx_stats(struct net_device *dev, stru= ct rtllib_rx_stats *stats, _rtl92e_update_received_rate_histogram_stats(dev, stats); =20 stats->bIsAMPDU =3D (pDrvInfo->PartAggr =3D=3D 1); - stats->bFirstMPDU =3D (pDrvInfo->PartAggr =3D=3D 1) && + stats->first_mpdu =3D (pDrvInfo->PartAggr =3D=3D 1) && (pDrvInfo->FirstAGGR =3D=3D 1); =20 stats->time_stamp_low =3D pDrvInfo->TSFL; diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging= /rtl8192e/rtl8192e/rtl_core.c index 32dcccd58b9a..64be0415fe0e 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c @@ -1483,7 +1483,7 @@ void rtl92e_copy_mpdu_stats(struct rtllib_rx_stats *p= src_stats, struct rtllib_rx_stats *ptarget_stats) { ptarget_stats->bIsAMPDU =3D psrc_stats->bIsAMPDU; - ptarget_stats->bFirstMPDU =3D psrc_stats->bFirstMPDU; + ptarget_stats->first_mpdu =3D psrc_stats->first_mpdu; } =20 static void _rtl92e_rx_normal(struct net_device *dev) diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/r= tllib.h index 5db03fe9269d..ca8f39f8e9ea 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -477,7 +477,7 @@ struct rtllib_rx_stats { u8 rx_drv_info_size; u8 rx_buf_shift; bool bIsAMPDU; - bool bFirstMPDU; + bool first_mpdu; bool contain_htc; u32 RxPWDBAll; u8 RxMIMOSignalStrength[2]; --=20 2.30.2 From nobody Fri Nov 29 17:53:55 2024 Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.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 A5DA31531DB for ; Tue, 17 Sep 2024 05:32:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551125; cv=none; b=mjny1KE80RHnomwU1KxoNlqPjjvSHKZyLTyancyPiPhuVxfMoA5su0qBwAkG+HMY+v3wKB9HxHGl+wzaczUHKeBhLk2KUt/zJaojg7g8nqNjq7En7BExkKDIY/Z1T1CunPFzu5XuVdE1mJ8lAQKlOXzMKb7Whu/5UJ7iG6kyxs8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551125; c=relaxed/simple; bh=Uo6WuL25MMLjivW5vo5RhhYC1vhyvzMtpyxTXfSsK2E=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=SLuNDo3kpkHcaMkzTkz80Q1ypd1nqx34+Mtw8wynMIR5g1rmHv5xlLYEAAeeG9TiZXrElj0tlI1hOcqBs6RIHf5oxZdwWsJOXOq4XG1T5rhFgY1Jigb96ct50m5fykVa7PIKud1nPTi2VtdgqqaBABumAcN7QgbHN09Gc48TghA= 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=aeCK9q6i; arc=none smtp.client-ip=209.85.214.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="aeCK9q6i" Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-206b9455460so39834755ad.0 for ; Mon, 16 Sep 2024 22:32:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1726551123; x=1727155923; 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=8YSnWD5yZrBHR1oCufU8J5mydWGTq5g5s/eKz55Tg6E=; b=aeCK9q6iEAMHKDW27Z5eSy2yJtFvp07v0mSFvCbbPBUwS3ZZE74QcMBL0nJUSko1Cm d+sXJNjuQdQB+eF2lhU0rlSKtmA8d0enaZxuLG3fE9bm3qM6URZBDgpqZIidhCNwZZ/L +noa/id7Q5gvC3W69SwpdzJj3Y/jgRE6ByjCBODE6k5UOkeMwsSyOP6fp7StgjIx3tZl 9huVOMgyFEA/1KhopEsfCw9zj/sGiQrVKCKcqtlfPsOg84nUSV5m4eTysJerdMbX5sEw gqlxDa75z4z5yobIMsbBnhCLi/A9eB1sEEqbpe9P/KJSNbsAmWyKDuuQqeFWC/yAZVHu zXcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726551123; x=1727155923; 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=8YSnWD5yZrBHR1oCufU8J5mydWGTq5g5s/eKz55Tg6E=; b=aioxytHVFUcq+QJWIFhD2fk9RbIvHGj22Op51T7hoJospPj3C6470nNDgMa1QMlAKy eJtVjDNLHleU89UFpJFivD8Yd0fVLstRIewq+3b2qsGMJ5Eh5jmXv/PU9iK0ttB8HmCe F+oDP69lHaL4GNpNWteg/hQyHtNUVEmUNc7Aod7p/uIleEBVioGcO8ot+9AylTg9a2m8 hYQehv6YC7GXcjuMS+NJr+hS7R0As6ynTdxHw2Y9hwtKpbgt4+Uc2DXu6a+LWuMJVnBs rCAmk8fjVtt8PYj8OcE/tC5LDe0B+7Uf1rWnEKU1mwMS1VZB/o4Z9NXiyxCn2XQ+G/li KsHA== X-Forwarded-Encrypted: i=1; AJvYcCUbUDvP22pUAzPBaopPLDMMdhKRM/qjl53KDqXcW9VwF1zgEJmA2VyKppiHZIZeKLlK2/I7ABN9Ml1UprA=@vger.kernel.org X-Gm-Message-State: AOJu0YzOI6beu7FiBoVL+k1vA9jgu4h0TgUGOzSBWTxJnePHslipFxa4 menYqdcFDAMTntgRIAxw3uks4rNoE2UMq98t8lev+BiWjdwG3mTbDqfz1ND3hSmt8bR8QtbfXM9 A X-Google-Smtp-Source: AGHT+IFFrlWGY9a1utCnaH2Uv9do7wUI3ZntHgsek+0Mqfp/OZJlTdaoFeuckOpOYkQ22G47EJWfHw== X-Received: by 2002:a17:903:1cf:b0:204:e471:8f06 with SMTP id d9443c01a7336-2074c65aa70mr328457905ad.17.1726551122827; Mon, 16 Sep 2024 22:32:02 -0700 (PDT) Received: from lunchbox.darkphysics (c-73-83-183-190.hsd1.wa.comcast.net. [73.83.183.190]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7db498e0607sm4392328a12.8.2024.09.16.22.32.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2024 22:32:02 -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 10/18] Staging: rtl8192e: Rename variable bPacketBeacon Date: Mon, 16 Sep 2024 22:31:44 -0700 Message-Id: <20240917053152.575553-11-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240917053152.575553-1-tdavies@darkphysics.net> References: <20240917053152.575553-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: quoted-printable Content-Type: text/plain; charset="utf-8" Rename variable bPacketBeacon to packet_beacon to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies Tested-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 18 +++++++++--------- drivers/staging/rtl8192e/rtllib.h | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c b/drivers/stagi= ng/rtl8192e/rtl8192e/r8192E_dev.c index 87a370a4b2db..75ca921c8aff 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c @@ -1152,7 +1152,7 @@ static void _rtl92e_query_rxphystatus(struct r8192_pr= iv *priv, struct rtllib_rx_stats *precord_stats, bool bpacket_match_bssid, bool bpacket_toself, - bool bPacketBeacon, + bool packet_beacon, bool bToSelfBA) { struct phy_sts_ofdm_819xpci *pofdm_buf; @@ -1174,7 +1174,7 @@ static void _rtl92e_query_rxphystatus(struct r8192_pr= iv *priv, bpacket_match_bssid; pstats->packet_to_self =3D precord_stats->packet_to_self =3D bpacket_tose= lf; pstats->is_cck =3D precord_stats->is_cck =3D is_cck_rate; - pstats->bPacketBeacon =3D precord_stats->bPacketBeacon =3D bPacketBeacon; + pstats->packet_beacon =3D precord_stats->packet_beacon =3D packet_beacon; pstats->bToSelfBA =3D precord_stats->bToSelfBA =3D bToSelfBA; if (check_reg824 =3D=3D 0) { reg824_bit9 =3D rtl92e_get_bb_reg(priv->rtllib->dev, @@ -1396,7 +1396,7 @@ static void _rtl92e_process_phyinfo(struct r8192_priv= *priv, u8 *buffer, } } =20 - if (prev_st->bPacketBeacon) { + if (prev_st->packet_beacon) { if (slide_beacon_adc_pwdb_statistics++ >=3D PHY_Beacon_RSSI_SLID_WIN_MAX) { slide_beacon_adc_pwdb_statistics =3D @@ -1416,7 +1416,7 @@ static void _rtl92e_process_phyinfo(struct r8192_priv= *priv, u8 *buffer, if (prev_st->RxPWDBAll >=3D 3) prev_st->RxPWDBAll -=3D 3; } - if (prev_st->packet_to_self || prev_st->bPacketBeacon || + if (prev_st->packet_to_self || prev_st->packet_beacon || prev_st->bToSelfBA) { if (priv->undecorated_smoothed_pwdb < 0) priv->undecorated_smoothed_pwdb =3D prev_st->RxPWDBAll; @@ -1437,7 +1437,7 @@ static void _rtl92e_process_phyinfo(struct r8192_priv= *priv, u8 *buffer, } =20 if (prev_st->signal_quality !=3D 0) { - if (prev_st->packet_to_self || prev_st->bPacketBeacon || + if (prev_st->packet_to_self || prev_st->packet_beacon || prev_st->bToSelfBA) { if (slide_evm_statistics++ >=3D PHY_RSSI_SLID_WIN_MAX) { slide_evm_statistics =3D PHY_RSSI_SLID_WIN_MAX; @@ -1459,7 +1459,7 @@ static void _rtl92e_process_phyinfo(struct r8192_priv= *priv, u8 *buffer, } =20 if (prev_st->packet_to_self || - prev_st->bPacketBeacon || + prev_st->packet_beacon || prev_st->bToSelfBA) { for (ij =3D 0; ij < 2; ij++) { if (prev_st->RxMIMOSignalQuality[ij] !=3D -1) { @@ -1485,7 +1485,7 @@ static void _rtl92e_translate_rx_signal_stats(struct = net_device *dev, { struct r8192_priv *priv =3D (struct r8192_priv *)rtllib_priv(dev); bool bpacket_match_bssid, bpacket_toself; - bool bPacketBeacon =3D false; + bool packet_beacon =3D false; struct ieee80211_hdr_3addr *hdr; bool bToSelfBA =3D false; static struct rtllib_rx_stats previous_stats; @@ -1510,11 +1510,11 @@ static void _rtl92e_translate_rx_signal_stats(struc= t net_device *dev, bpacket_toself =3D bpacket_match_bssid && /* check this */ ether_addr_equal(praddr, priv->rtllib->dev->dev_addr); if (ieee80211_is_beacon(hdr->frame_control)) - bPacketBeacon =3D true; + packet_beacon =3D true; _rtl92e_process_phyinfo(priv, tmp_buf, &previous_stats, pstats); _rtl92e_query_rxphystatus(priv, pstats, pdesc, pdrvinfo, &previous_stats, bpacket_match_bssid, - bpacket_toself, bPacketBeacon, bToSelfBA); + bpacket_toself, packet_beacon, bToSelfBA); rtl92e_copy_mpdu_stats(pstats, &previous_stats); } =20 diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/r= tllib.h index ca8f39f8e9ea..b0f01d940efa 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -485,7 +485,7 @@ struct rtllib_rx_stats { bool bPacketMatchBSSID; bool is_cck; bool packet_to_self; - bool bPacketBeacon; + bool packet_beacon; bool bToSelfBA; }; =20 --=20 2.30.2 From nobody Fri Nov 29 17:53:55 2024 Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.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 59F6B156256 for ; Tue, 17 Sep 2024 05:32:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551126; cv=none; b=MSXnBZ9xPMQzuOJ8jvmvoVP+9hx87d9NvZ/IMTm8URqDcSdbmhgsQ3yIDoYCYpr5BwEqgrj9xQsbbvWs1gPa+xLuqt2B3BaX6CVdRqISn8whDwWHFcCflGt71KLD3velSPPvxhOweKdfHMr03OGozSr0a2lZDRNQswwWW+NXqIc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551126; c=relaxed/simple; bh=1ZpytcgFRiHzmjOy4J7+IdFtedWgkkFzLBa2U01mfyI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Fz54lsEd1noUhfebNkSnv9QUb3I1c4Htr7VBeXuXDhUUCobHRObzC4aXzE50cyw1n0x3klxi4qRdPvyfk6uYY3lTXU9cECuJYbQbaSp1cLVH1zTzBZ6JQYsVmmOT+KRcDynxyJ97ispd2WCWf96q/vdYxmZJRHgJU6CSG/iSN0Y= 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=mo2pVwtr; arc=none smtp.client-ip=209.85.210.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="mo2pVwtr" Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-718e2855479so3818890b3a.1 for ; Mon, 16 Sep 2024 22:32:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1726551124; x=1727155924; 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=zUB+JecfnYMNvmsR8/Vhr8yi67xfZjHyzFp0HKa0zfo=; b=mo2pVwtrb0DMeSiCgdE3NBAhXOtZC9u2sKiDpB/jkz6YoCHNtV2MWvxm+JaOjdpaGW 0dcYCY9h43SWRrER8EoeW2HWnOT95WsXUTHKIs7Ma3mFsEsqRIebMjBmmYz9DbyLwWSh MoTvS1/VYQijAvPp359wt3MK+dftgVWq2Bf0uZu79uMqu/67qNvLeLqXZ/dzZKt7cALR bFKlJaMGX57sSd3M5tAXuh/Jrz0bSYD3hDYYMpdbAHbvNWJh12p8iyQqaN7puf3E3uSu B7ggEjjVTUH6JB7CIMuPYehCxc42iQe13AHK1gis4ki6TfzWRwMVSdusOgDzh0U91eEP bZnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726551124; x=1727155924; 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=zUB+JecfnYMNvmsR8/Vhr8yi67xfZjHyzFp0HKa0zfo=; b=WB9nJA20tiGa+grxdGoWwQ8lkUzYYfCSrmszNZ1apyQPM85ViqAof24AonyawORmDc fn0dUJYTBNSlVstsvhj/w7OqMEFagFtiG2LHvlUzrqXrUN/Ttu6pu8rkbMQZxHHtNpnL EIzD5nViHW8uvFHVq34EgeQZvk06I4kcapByEYkMQxXW80Prn2P6SPf8saUWYrVB/ihf d90k2RuzmO9pja2XcHaSL7lktzvJkTJjwV/NvYCTB8QPOwUo9gB6zounku3hfwtQP7oL evoxn/KVMjKK7VYrOdGD4fEefl4o5hkAqlZ+1Q0eH0OibsudUrQjqXF24IEkXmqfz+r3 c4JA== X-Forwarded-Encrypted: i=1; AJvYcCUH7Iu5t55wiip2UFJRCreTNnpFGGBco80/5a54wobKPsos1n+gs8iNwEA9yaQCrYJaBdq4AXeAPchTInk=@vger.kernel.org X-Gm-Message-State: AOJu0YzuzQuLUoYebXYU2LlSU+Br3XZDghargcKsSeT9V0gKoRwH+M7w gp6sqzp3CLCjdNPFKkIEcslALnj1Shhum2QPKnt/Lp+fzO/xuUFRhDyXXkE7NuHcSg7WXh7i5MP 0 X-Google-Smtp-Source: AGHT+IFXwqocyNmAaCmmv/b4UvuRab091Ae92HvkA1VA+sLkrdbpYsUsYApZGFVAr35aYhQMT52yrg== X-Received: by 2002:a05:6a20:d80d:b0:1cf:215f:1055 with SMTP id adf61e73a8af0-1cf76238568mr25753544637.48.1726551123623; Mon, 16 Sep 2024 22:32:03 -0700 (PDT) Received: from lunchbox.darkphysics (c-73-83-183-190.hsd1.wa.comcast.net. [73.83.183.190]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7db498e0607sm4392328a12.8.2024.09.16.22.32.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2024 22:32:03 -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 11/18] Staging: rtl8192e: Rename variable Rx_TS_Pending_List Date: Mon, 16 Sep 2024 22:31:45 -0700 Message-Id: <20240917053152.575553-12-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240917053152.575553-1-tdavies@darkphysics.net> References: <20240917053152.575553-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: quoted-printable Content-Type: text/plain; charset="utf-8" Rename variable Rx_TS_Pending_List to rx_ts_pending_list to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies Tested-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtl819x_TSProc.c | 6 +++--- drivers/staging/rtl8192e/rtllib.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rt= l8192e/rtl819x_TSProc.c index 89092cd434de..efadb2b778b1 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -144,7 +144,7 @@ void rtllib_ts_init(struct rtllib_device *ieee) } =20 INIT_LIST_HEAD(&ieee->Rx_TS_Admit_List); - INIT_LIST_HEAD(&ieee->Rx_TS_Pending_List); + INIT_LIST_HEAD(&ieee->rx_ts_pending_list); INIT_LIST_HEAD(&ieee->Rx_TS_Unused_List); for (count =3D 0; count < TOTAL_TS_NUM; count++) { rxts->num =3D count; @@ -384,7 +384,7 @@ void remove_peer_ts(struct rtllib_device *ieee, u8 *add= r) } } =20 - list_for_each_entry_safe(ts, pTmpTS, &ieee->Rx_TS_Pending_List, list) { + list_for_each_entry_safe(ts, pTmpTS, &ieee->rx_ts_pending_list, list) { if (memcmp(ts->addr, addr, 6) =3D=3D 0) { RemoveTsEntry(ieee, ts, RX_DIR); list_del_init(&ts->list); @@ -418,7 +418,7 @@ void remove_all_ts(struct rtllib_device *ieee) list_add_tail(&ts->list, &ieee->Tx_TS_Unused_List); } =20 - list_for_each_entry_safe(ts, pTmpTS, &ieee->Rx_TS_Pending_List, list) { + list_for_each_entry_safe(ts, pTmpTS, &ieee->rx_ts_pending_list, list) { RemoveTsEntry(ieee, ts, RX_DIR); list_del_init(&ts->list); list_add_tail(&ts->list, &ieee->Rx_TS_Unused_List); diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/r= tllib.h index b0f01d940efa..c43d5b8298f1 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1199,7 +1199,7 @@ struct rtllib_device { struct list_head Tx_TS_Unused_List; struct tx_ts_record tx_ts_records[TOTAL_TS_NUM]; struct list_head Rx_TS_Admit_List; - struct list_head Rx_TS_Pending_List; + struct list_head rx_ts_pending_list; struct list_head Rx_TS_Unused_List; struct rx_ts_record rx_ts_records[TOTAL_TS_NUM]; struct rx_reorder_entry RxReorderEntry[128]; --=20 2.30.2 From nobody Fri Nov 29 17:53:55 2024 Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (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 2E9E7157E82 for ; Tue, 17 Sep 2024 05:32:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551126; cv=none; b=hEbC5QghFfTUd2jEwg5VzETIRTHzrUQBTtO1TtUoNFGVseRpfS7PInSUr5LT8Mk6z+5H9bOIgaY2EuoUOZr8YByOI0v3V2hU87CW8MFjUHFJDsTn0Sp01V8W/6kRjC42o/4a3+O0jNfVnvdCe2ATYtcRhpMhFspPkJUQHTYPutI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551126; c=relaxed/simple; bh=Eu62Vsbi3EyTNBZNJGu7Sa5YurqV3OpEufb9wqPQ/cg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=J8e7mty0s9WgJMTtauPlyp1cwTyOWOgQj8Wx8idXB0EUGVqX742MBPkUUEJFSDJI+6UZKzHIJ6l0i6I/KoQwL+aLj0Latu2cuWon8Vr4yI6sIg1uXQ5FKnY+OD3RuqL3el9aO7UIIwe1jidpBbNAqV+TVkX0DVIgI0Sow2Files= 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=RbIDJdIR; arc=none smtp.client-ip=209.85.210.174 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="RbIDJdIR" Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-71798661a52so3925619b3a.0 for ; Mon, 16 Sep 2024 22:32:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1726551124; x=1727155924; 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=ml5litkFUrleubbrzCJcFBZD2B+ZFOCAuPzHnKwaYVs=; b=RbIDJdIRAcUlTYYkeXPiGV7r5L6hOHNRS2h/6j5S9/8DQf/6Wf50/Gv58FWqjDTS+M YsfThmYtmn0fqotZCaDgS39OBGut7A00SPMibj4+JGHE3+SpKJ6ieWXdq+DBTiw58pmX Xr2nQzgBiJwIE3HTYVbsOOxv0c5JRXaJmQ87v1qzUeYPvyp6NnrXUuOsePM0gKh/m76/ XLH+4lC1HCPDWkM31bRx/UddE8aP1BdXjweo3a7gBElvYfy2N2gUMzw1COd8Wz/wGLl1 qLssyVIZmfI8zKjt1d0d4zjUPEmH4NudStskhxyZzA+k2OhRB6ZHs+U20fqEh+H315DH Oovg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726551124; x=1727155924; 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=ml5litkFUrleubbrzCJcFBZD2B+ZFOCAuPzHnKwaYVs=; b=aso4ItlMjmgD01R/l89q4zIQ0PLbw9ZUncD99rJ6HlUjzG5VITkk2JiDrKn+AyeTrU FCGsInZ1/BdiXqQU28mCDYs3HOwQkU+DM9tnXXomE1ctuFu0rWoUsRFxy8SiCzczpVPZ hoIx1jNK8X96LiQhoYXF7Kl9JsE5mTHc85iK26cf10oRHqnIELVduocRGjxR9AlxeJ5Q ZQ7WVYm2ys6iClyf5cd6obdv3vSH+7ekRdZvlvXgiyktp1ffWSlNY0jpSn4lHhbjqLPC sx6i2h4z1GQs+t4tkn2yRELt4jdA3qrmKxWkkRep/L5EPPjsL1aTQudu9rCN/rR0WojE bBgQ== X-Forwarded-Encrypted: i=1; AJvYcCVy5wptILK2nKkiy+1GSbvOBvLG3FiBcP+Q9+PyRhCXCJ3jtCE+xt+LcixMiGQvn+D3BcQsfxDATveT+og=@vger.kernel.org X-Gm-Message-State: AOJu0Yzvdev46T85vsQKCspLyZo6otIel6uLCSj0kdZHFcH3hNpjfIFd jVoOgVYOeJo7XJlZkFH9lc8feIR/6wn1KT8TYPYRsctD8D7Rt2g6+Wz+nB3rOSX3dIijIvFHeci + X-Google-Smtp-Source: AGHT+IHLEyfhXWwIc3+AFaoigbKTGpCRVE9V+G7IG8vYEbYVxhLEAl6UAOPCNkVqC5jBl+0tX/1opw== X-Received: by 2002:a05:6a00:2f9b:b0:718:d4e4:a10a with SMTP id d2e1a72fcca58-71907ea941emr35291301b3a.4.1726551124333; Mon, 16 Sep 2024 22:32:04 -0700 (PDT) Received: from lunchbox.darkphysics (c-73-83-183-190.hsd1.wa.comcast.net. [73.83.183.190]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7db498e0607sm4392328a12.8.2024.09.16.22.32.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2024 22:32:03 -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 12/18] Staging: rtl8192e: Rename variable bPacketMatchBSSID Date: Mon, 16 Sep 2024 22:31:46 -0700 Message-Id: <20240917053152.575553-13-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240917053152.575553-1-tdavies@darkphysics.net> References: <20240917053152.575553-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: quoted-printable Content-Type: text/plain; charset="utf-8" Rename variable bPacketMatchBSSID to packet_match_bssid to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies Tested-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 4 ++-- drivers/staging/rtl8192e/rtllib.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c b/drivers/stagi= ng/rtl8192e/rtl8192e/r8192E_dev.c index 75ca921c8aff..873c749250ae 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c @@ -1170,7 +1170,7 @@ static void _rtl92e_query_rxphystatus(struct r8192_pr= iv *priv, =20 is_cck_rate =3D rx_hal_is_cck_rate(pdrvinfo); memset(precord_stats, 0, sizeof(struct rtllib_rx_stats)); - pstats->bPacketMatchBSSID =3D precord_stats->bPacketMatchBSSID =3D + pstats->packet_match_bssid =3D precord_stats->packet_match_bssid =3D bpacket_match_bssid; pstats->packet_to_self =3D precord_stats->packet_to_self =3D bpacket_tose= lf; pstats->is_cck =3D precord_stats->is_cck =3D is_cck_rate; @@ -1362,7 +1362,7 @@ static void _rtl92e_process_phyinfo(struct r8192_priv= *priv, u8 *buffer, tmp_val =3D priv->stats.slide_rssi_total / slide_rssi_statistics; priv->stats.signal_strength =3D rtl92e_translate_to_dbm(priv, tmp_val); curr_st->rssi =3D priv->stats.signal_strength; - if (!prev_st->bPacketMatchBSSID) { + if (!prev_st->packet_match_bssid) { if (!prev_st->bToSelfBA) return; } diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/r= tllib.h index c43d5b8298f1..4055c3044fe9 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -482,7 +482,7 @@ struct rtllib_rx_stats { u32 RxPWDBAll; u8 RxMIMOSignalStrength[2]; s8 RxMIMOSignalQuality[2]; - bool bPacketMatchBSSID; + bool packet_match_bssid; bool is_cck; bool packet_to_self; bool packet_beacon; --=20 2.30.2 From nobody Fri Nov 29 17:53:55 2024 Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) (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 E66E7158A2E for ; Tue, 17 Sep 2024 05:32:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551127; cv=none; b=CJuBRu4bf3uo3Ixu6vVZoFe7nujJAgY1boH3XX/kkpiSas5zx+TzjbIAyTljSlwbTyXmr/FyqOAsbAPf9lk6kphGsu2iI7Uq7a5SUm7mZxJkbt32EAZzj1VucDLQejaE9+2NEwTBOFuqQ50OUNuNmaILiYZA9jKWCCvKxuC8wOw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551127; c=relaxed/simple; bh=XMcaFax5C+HYiiHLiFOpXerrieIXgXMuHY19OMOdfUg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ikNSBjvrKZI0MqfUDfV94V15TWV/cwg5dgjPmag8G+Hd8Y7SqVdTJ2Z+8MkDnQJtPzcv+ITfNB6PwN0900hNpjKKg1/6+YPCMqHd2rLtjlkeGeA6tUXSVJ7I3IQid9NsYv+ESGW/gQzHQALI+TqMmNmMVH25h5+7S/tSXo31Kbw= 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=Zid9J+nB; arc=none smtp.client-ip=209.85.167.179 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="Zid9J+nB" Received: by mail-oi1-f179.google.com with SMTP id 5614622812f47-3e039889ca0so2957023b6e.3 for ; Mon, 16 Sep 2024 22:32:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1726551125; x=1727155925; 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=kg3zx6b6YOG9l6VSYiIDTP4MSlvWxjTjdd2LPfzyLWY=; b=Zid9J+nBPsO9JkmMJSlegGeYaCelnL+nX3lRkC0wAiEuArurpOoRVY0hcXbv7N3SC6 f7JMHfwbh/b7eZqkmV4ptbQ0uSsj+8vNVjyr7xKLZQ+i2kCSv+jeJV38F+HJbLRjvGR0 mAW0cEV0L1D0tFxFpmdZa4SYLKm0yGh7uUdIZg48cK9BxZhpUUI9rohwKYbrTcNHuPKC 4W1bTODuGB+07NwA8fOQt8fqsHM9Sk8H3jz3ay6gBVMvdUufQyH7jLnzOyVkUlUGikJB OVmhGVWuy9XGn25G/KVtbPAorb1c9bd89hpO7S8N4UqLOcYvNGlYrx32+w/MlRYvx1Qg XTjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726551125; x=1727155925; 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=kg3zx6b6YOG9l6VSYiIDTP4MSlvWxjTjdd2LPfzyLWY=; b=dvU/8ebhmQL1JkuvqXJopFxUk1jzL3ANK1jLZ/JNycChAtpfyXiO2i1NBJGzJp6HWx BS2wxjva6JPRU1q+6tw/csM0Epc50YO8TTP3Lj+OCLmNqwNxi+E3Ak4KvQk+t/l7JIsD wOLlU5BZIFLjjWft3kXmJxXN8S887GToLownEetU9ZSpNO52d3OnL5kPWsYsbAL//zSd 2DHR7XMU2iQ+kFyaH9rJLH8DmW+C1AhvQN8das5WAtlu+Vg1xqlUgUjC0zpiEWxwoms4 eMAaiwoVM5jvQQlmIenykqM3Mw+DQg2pPUm7xertXjF5FwKu02jFZ1g1R+oK1fWYATfh lipg== X-Forwarded-Encrypted: i=1; AJvYcCU3W+WJ9MF2KRMFJPkdeD6zRKRaurzN4JWK6kVYKOfn5wyexZ1QC7FZsonr465x7YHoGbJ5c03f3KmxNRM=@vger.kernel.org X-Gm-Message-State: AOJu0YwUa/me+7IHOBi8bTJjJFZwHM7vqcXtJjcJjVy8HVW5qQRKk9mG yZjsTZji8SSjr3O6FqmLKW84aYDiL+G4fmvIpjk6Snxvrx7pcBi8r7vwfKEaI0A= X-Google-Smtp-Source: AGHT+IHshQPSO9l9chCWXDqW7bFfP3ctcewyS6xrXxc3f4sDjsojmRNSeiqrerOHNWExZQMPHMpZog== X-Received: by 2002:a05:6808:1791:b0:3e0:467e:f189 with SMTP id 5614622812f47-3e071aab6afmr12609123b6e.24.1726551125121; Mon, 16 Sep 2024 22:32:05 -0700 (PDT) Received: from lunchbox.darkphysics (c-73-83-183-190.hsd1.wa.comcast.net. [73.83.183.190]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7db498e0607sm4392328a12.8.2024.09.16.22.32.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2024 22:32:04 -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 13/18] Staging: rtl8192e: Rename variable bToSelfBA Date: Mon, 16 Sep 2024 22:31:47 -0700 Message-Id: <20240917053152.575553-14-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240917053152.575553-1-tdavies@darkphysics.net> References: <20240917053152.575553-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: quoted-printable Content-Type: text/plain; charset="utf-8" Rename variable bToSelfBA to to_self_ba to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies Tested-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 16 ++++++++-------- drivers/staging/rtl8192e/rtllib.h | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c b/drivers/stagi= ng/rtl8192e/rtl8192e/r8192E_dev.c index 873c749250ae..2e3e8c57d6f0 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c @@ -1153,7 +1153,7 @@ static void _rtl92e_query_rxphystatus(struct r8192_pr= iv *priv, bool bpacket_match_bssid, bool bpacket_toself, bool packet_beacon, - bool bToSelfBA) + bool to_self_ba) { struct phy_sts_ofdm_819xpci *pofdm_buf; struct phy_sts_cck_819xpci *pcck_buf; @@ -1175,7 +1175,7 @@ static void _rtl92e_query_rxphystatus(struct r8192_pr= iv *priv, pstats->packet_to_self =3D precord_stats->packet_to_self =3D bpacket_tose= lf; pstats->is_cck =3D precord_stats->is_cck =3D is_cck_rate; pstats->packet_beacon =3D precord_stats->packet_beacon =3D packet_beacon; - pstats->bToSelfBA =3D precord_stats->bToSelfBA =3D bToSelfBA; + pstats->to_self_ba =3D precord_stats->to_self_ba =3D to_self_ba; if (check_reg824 =3D=3D 0) { reg824_bit9 =3D rtl92e_get_bb_reg(priv->rtllib->dev, rFPGA0_XA_HSSIParameter2, @@ -1363,7 +1363,7 @@ static void _rtl92e_process_phyinfo(struct r8192_priv= *priv, u8 *buffer, priv->stats.signal_strength =3D rtl92e_translate_to_dbm(priv, tmp_val); curr_st->rssi =3D priv->stats.signal_strength; if (!prev_st->packet_match_bssid) { - if (!prev_st->bToSelfBA) + if (!prev_st->to_self_ba) return; } =20 @@ -1417,7 +1417,7 @@ static void _rtl92e_process_phyinfo(struct r8192_priv= *priv, u8 *buffer, prev_st->RxPWDBAll -=3D 3; } if (prev_st->packet_to_self || prev_st->packet_beacon || - prev_st->bToSelfBA) { + prev_st->to_self_ba) { if (priv->undecorated_smoothed_pwdb < 0) priv->undecorated_smoothed_pwdb =3D prev_st->RxPWDBAll; if (prev_st->RxPWDBAll > (u32)priv->undecorated_smoothed_pwdb) { @@ -1438,7 +1438,7 @@ static void _rtl92e_process_phyinfo(struct r8192_priv= *priv, u8 *buffer, =20 if (prev_st->signal_quality !=3D 0) { if (prev_st->packet_to_self || prev_st->packet_beacon || - prev_st->bToSelfBA) { + prev_st->to_self_ba) { if (slide_evm_statistics++ >=3D PHY_RSSI_SLID_WIN_MAX) { slide_evm_statistics =3D PHY_RSSI_SLID_WIN_MAX; last_evm =3D @@ -1460,7 +1460,7 @@ static void _rtl92e_process_phyinfo(struct r8192_priv= *priv, u8 *buffer, =20 if (prev_st->packet_to_self || prev_st->packet_beacon || - prev_st->bToSelfBA) { + prev_st->to_self_ba) { for (ij =3D 0; ij < 2; ij++) { if (prev_st->RxMIMOSignalQuality[ij] !=3D -1) { if (priv->stats.rx_evm_percentage[ij] =3D=3D 0) @@ -1487,7 +1487,7 @@ static void _rtl92e_translate_rx_signal_stats(struct = net_device *dev, bool bpacket_match_bssid, bpacket_toself; bool packet_beacon =3D false; struct ieee80211_hdr_3addr *hdr; - bool bToSelfBA =3D false; + bool to_self_ba =3D false; static struct rtllib_rx_stats previous_stats; u16 fc, type; u8 *tmp_buf; @@ -1514,7 +1514,7 @@ static void _rtl92e_translate_rx_signal_stats(struct = net_device *dev, _rtl92e_process_phyinfo(priv, tmp_buf, &previous_stats, pstats); _rtl92e_query_rxphystatus(priv, pstats, pdesc, pdrvinfo, &previous_stats, bpacket_match_bssid, - bpacket_toself, packet_beacon, bToSelfBA); + bpacket_toself, packet_beacon, to_self_ba); rtl92e_copy_mpdu_stats(pstats, &previous_stats); } =20 diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/r= tllib.h index 4055c3044fe9..315a75739e44 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -486,7 +486,7 @@ struct rtllib_rx_stats { bool is_cck; bool packet_to_self; bool packet_beacon; - bool bToSelfBA; + bool to_self_ba; }; =20 /* IEEE 802.11 requires that STA supports concurrent reception of at least --=20 2.30.2 From nobody Fri Nov 29 17:53:55 2024 Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) (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 5CCFC15AAD6 for ; Tue, 17 Sep 2024 05:32:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551129; cv=none; b=XG0tYEpqACBZRuAcPuyE459SgRF6cGxcmV/rgLTiOuhPOqvKFut3g8aceX5SUU/jI/0LKF1b+x5c23t9/gwWrt+QKxr3b6rX8SrFa2/qBuuRiFgZzFAWJjsMSZbu8V8ZmY/K3akTyoHyvprslF7tUzANShbefQai1BhthDF0vfo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551129; c=relaxed/simple; bh=q+xOEKWsHd2GnzwxhTD1fpiaTHmugckiXD5ETn3XgWo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=BDsN08LldCH/VnZigibD5F+oYiwMpZDOrDOvmyCRlXRD1wqZAIEn71ZKbNqq0pbVKgXYwRvwE1fns8SkG802VzGzTOrwxu7rR4eJN8ej5TTveh5uTvo8MQmSwchtxfjpZ2b7YzVKlh2fq0Leaod+eJUF9pnFpWR6ziilJDe0lNk= 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=fueiyA6+; arc=none smtp.client-ip=209.85.210.173 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="fueiyA6+" Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-718d606726cso3475595b3a.3 for ; Mon, 16 Sep 2024 22:32:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1726551126; x=1727155926; 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=gRrw5+oANKkULNvvGuleCSc1g2ZOyWkjgPNrOQZeAG4=; b=fueiyA6+l/pH9wA+VIr/PJ9Qu8UzFyqzQ3cyFPPzqN0mc6wWaGSyx6W4vb0xVk4cBR nMJpEQ1tEUOv5hlTlVouExPFCE3TMcXs/sGECDJZCgtd2/KbIeDkNZarocp9J7aNPZUK +20FBG0bPNVHrr2E1GedSbtFez+Bc/9sPPi+rm8akVx2hZg+bINIfqQV93NT/Kv1EJXX HTbqxbgzBPKtF+neT8hOynWWlupLpK6l0Zjg8ZPkGuPvtDSgr42mAT3BrTUSZpIWPlSP ycpNZQ2zbndmK6cHdN7a7eDA56Hrje1lRQXaU4veSLIJuo6wX2mMpL8bNBMceflK/KzZ y4Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726551126; x=1727155926; 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=gRrw5+oANKkULNvvGuleCSc1g2ZOyWkjgPNrOQZeAG4=; b=WNCD+8pvEbOlpiUMoILzfhowJd84QIwqAkOBo/jZ4ICx8HZr/7V09fhBlK4jYFbLN+ /xrOtb5owiWP56uAdJSm9h+BUfFpUlzq8rhStekOyUOKkZz76D7pmBhPG1P40PqvPJ5c qu6bF8UGcWjv5iB6igSTqfsVx7Pl9Ak4N3DHoT3IR/RjNzY3Qf05BT2QTb87GGU7RutZ E5bcd1gsx8dsm1MCsGtelf4MnuC5UtS3WofjZ15bjdsygYJEny5ae0pSv4g82yHkiVRO +PlsxOPiXPGuMx3/KlSXB7LlyYUFG9ivv+2JcYRcEun/re/QgVvzbxFgr0m7L7qHdP9O WJMA== X-Forwarded-Encrypted: i=1; AJvYcCWyz4YcO4RoqDfDCfqBOz7SjNKIL2Y8I6+pUnYntPupNIItZxrDkWS93tVWqQnvgrIKjFZH7nCFedJocHY=@vger.kernel.org X-Gm-Message-State: AOJu0YySPJ/MW4STWvD8gwk51N7C2gpvwRNMrXunX1QvSs98xO7msdBd 6H9SpxJgMTnyIzwliKWxr2tgcWhkdquaLQ+Q+M3HDb+IMX0hh6mCbii+BVcHD+s= X-Google-Smtp-Source: AGHT+IHyDu7EuUO7j+l9ZJc3NSt+VsHIp0EO//b6IiME0O7rD9sow6TqP9CxLW5YxEC1y5REHUmcxw== X-Received: by 2002:a05:6a20:8428:b0:1cf:ff65:3680 with SMTP id adf61e73a8af0-1cfff653b08mr27355421637.6.1726551125720; Mon, 16 Sep 2024 22:32:05 -0700 (PDT) Received: from lunchbox.darkphysics (c-73-83-183-190.hsd1.wa.comcast.net. [73.83.183.190]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7db498e0607sm4392328a12.8.2024.09.16.22.32.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2024 22:32:05 -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 14/18] Staging: rtl8192e: Rename variable Tx_TS_Admit_List Date: Mon, 16 Sep 2024 22:31:48 -0700 Message-Id: <20240917053152.575553-15-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240917053152.575553-1-tdavies@darkphysics.net> References: <20240917053152.575553-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: quoted-printable Content-Type: text/plain; charset="utf-8" Rename variable Tx_TS_Admit_List to tx_ts_admit_list to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies Tested-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtl819x_TSProc.c | 10 +++++----- drivers/staging/rtl8192e/rtllib.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rt= l8192e/rtl819x_TSProc.c index efadb2b778b1..e87d2926f47c 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -124,7 +124,7 @@ void rtllib_ts_init(struct rtllib_device *ieee) struct rx_reorder_entry *pRxReorderEntry =3D ieee->RxReorderEntry; u8 count =3D 0; =20 - INIT_LIST_HEAD(&ieee->Tx_TS_Admit_List); + INIT_LIST_HEAD(&ieee->tx_ts_admit_list); INIT_LIST_HEAD(&ieee->Tx_TS_Pending_List); INIT_LIST_HEAD(&ieee->Tx_TS_Unused_List); =20 @@ -189,7 +189,7 @@ static struct ts_common_info *SearchAdmitTRStream(struc= t rtllib_device *ieee, } =20 if (tx_rx_select =3D=3D TX_DIR) - psearch_list =3D &ieee->Tx_TS_Admit_List; + psearch_list =3D &ieee->tx_ts_admit_list; else psearch_list =3D &ieee->Rx_TS_Admit_List; =20 @@ -279,7 +279,7 @@ bool rtllib_get_ts(struct rtllib_device *ieee, struct t= s_common_info **ppTS, (&ieee->Rx_TS_Unused_List); =20 pAddmitList =3D (tx_rx_select =3D=3D TX_DIR) ? - (&ieee->Tx_TS_Admit_List) : + (&ieee->tx_ts_admit_list) : (&ieee->Rx_TS_Admit_List); =20 Dir =3D ((tx_rx_select =3D=3D TX_DIR) ? DIR_UP : DIR_DOWN); @@ -374,7 +374,7 @@ void remove_peer_ts(struct rtllib_device *ieee, u8 *add= r) } } =20 - list_for_each_entry_safe(ts, pTmpTS, &ieee->Tx_TS_Admit_List, list) { + list_for_each_entry_safe(ts, pTmpTS, &ieee->tx_ts_admit_list, list) { if (memcmp(ts->addr, addr, 6) =3D=3D 0) { netdev_info(ieee->dev, "=3D=3D=3D=3D>remove Tx_TS_admin_list\n"); @@ -412,7 +412,7 @@ void remove_all_ts(struct rtllib_device *ieee) list_add_tail(&ts->list, &ieee->Tx_TS_Unused_List); } =20 - list_for_each_entry_safe(ts, pTmpTS, &ieee->Tx_TS_Admit_List, list) { + list_for_each_entry_safe(ts, pTmpTS, &ieee->tx_ts_admit_list, list) { RemoveTsEntry(ieee, ts, TX_DIR); list_del_init(&ts->list); list_add_tail(&ts->list, &ieee->Tx_TS_Unused_List); diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/r= tllib.h index 315a75739e44..3544054b78fc 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1194,7 +1194,7 @@ struct rtllib_device { u8 tx_enable_fw_calc_dur; atomic_t atm_swbw; =20 - struct list_head Tx_TS_Admit_List; + struct list_head tx_ts_admit_list; struct list_head Tx_TS_Pending_List; struct list_head Tx_TS_Unused_List; struct tx_ts_record tx_ts_records[TOTAL_TS_NUM]; --=20 2.30.2 From nobody Fri Nov 29 17:53:55 2024 Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (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 1A1ED15B560 for ; Tue, 17 Sep 2024 05:32:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551128; cv=none; b=McH7mQLYmje+ZIewhE4MnRA5vNAQMpVKSa5yXJ10oAQO95pW5353uV0Kq9R5vowPf26g0n6DPYcvC7LJSGopGMgEXKj0wjrU2hqnkT64f4IPACX88wjAhNAUc4kj9tcccXp4z9Zwn0iyvPFMJe6pTXFcVrUge/F6VlgPV8NW3Rk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551128; c=relaxed/simple; bh=vgE8gng8p5gjnoJi7u04bQWwGLfibxjizyrtPFsAySo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=QqQ5v+3G42dZFM6BmmHd/Ub9HJ7AhQ8XDgsqb62FvcudEOLpPiZBeZFsoYPQtMDQpJVF1IdF9SVyseMBarfIur5kfLPMnJCf2fEcRkuY9rAk0I+voGajCtQVSmVruYt4Rc1KQhlOtBG3zNaQq8bvZ7P+RPDEo4ilddyd2Vn/wQs= 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=BawVYuXI; arc=none smtp.client-ip=209.85.210.174 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="BawVYuXI" Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-7193010d386so3388897b3a.1 for ; Mon, 16 Sep 2024 22:32:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1726551126; x=1727155926; 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=BUc8RkI1FPSHCZ6I8f+u2bX+PWnQZjFpuKFwB7QBvYw=; b=BawVYuXIIyN9FHElGvnfYakUaTwyry+Dh5y5JNAS2Lue1h9fDJSherXvpU2hmfl762 5Bcgg7b+cgEtGCu2ijOVnC3mWqu/zALKPyh+lp822IoiK/6HFQRLBHKRsNMLI/LveCWt LZtyU8HeOPvboEu1Kz8ylO5jpIBbtSjX1PTOc06UYL6CSA+ftbdX1ejK9Kh/E7nGLyns ULYUbz9bqS1DNGH2zxFlQTh+9zxCtAKRh/NINUoG17TMHNg3PppkzVimeoDHLVJdjxsj UaR7p/fZFAR6nhAUamH70GNj8lbfAhMvI2QmeqIqbUgmZwDrimOpKUFBIP7gXoiTPdU5 rM+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726551126; x=1727155926; 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=BUc8RkI1FPSHCZ6I8f+u2bX+PWnQZjFpuKFwB7QBvYw=; b=Mfj6CUNAY+SYOZIypDR/f6IwUWSknQidbP+z9HifvZQ2hIv9XRBPyZ0FuoWpvJgfvN FNgh8/Y5y8qmw1sEB4I0NBxSWAPAaIJKAcYysMrOmrRLpWcj27f7YwD25om927SG5xwR L5oodABaDjj8LWSnEV40i/n9GEkjo84w1zKaX0sq+/WW5VZi2gGO6r2rUv0qoaWbfLSk paI6uZ/Fbaf1YzK8VxIVDA9X1XwulWNStni9cGerRMnCIXmt0n8Q2p93TqcronoODZTY ibk6A7ULHHZc4X62yhvzd/jNUkTjB3h7lJ7+xtpb5ek25HF2Z3X8pomtDKTj5QYhqhkw S6tg== X-Forwarded-Encrypted: i=1; AJvYcCUUFPC6X6zvlKUrXdyccCmmgCXm02aJf/m7KwOVydCkou5P/OOX8/X3ZnjjlSdUVEiVpYwVFLJKJujnkzk=@vger.kernel.org X-Gm-Message-State: AOJu0YzHhiVDNxYZDL+V+F93Tv+VAx7Kf5L2oqdDXHzEWxxYvXiA3l1D a6pCDVzneDBR7FMtfhev1jQbhNPS22vzyEGNYsAYPdIsaR6SF3eviAMUWpRtdZs= X-Google-Smtp-Source: AGHT+IHoaqWaQ+deAiUVjkPdOieSjbc4vo8dgefLXeDO11W1V5KwLZxOksMjYxWEhWY+eBmAeZEmJg== X-Received: by 2002:a05:6a21:2d8c:b0:1cf:374f:40c9 with SMTP id adf61e73a8af0-1d112e8737emr24378350637.38.1726551126429; Mon, 16 Sep 2024 22:32:06 -0700 (PDT) Received: from lunchbox.darkphysics (c-73-83-183-190.hsd1.wa.comcast.net. [73.83.183.190]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7db498e0607sm4392328a12.8.2024.09.16.22.32.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2024 22:32:06 -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 15/18] Staging: rtl8192e: Rename variable Tx_TS_Pending_List Date: Mon, 16 Sep 2024 22:31:49 -0700 Message-Id: <20240917053152.575553-16-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240917053152.575553-1-tdavies@darkphysics.net> References: <20240917053152.575553-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: quoted-printable Content-Type: text/plain; charset="utf-8" Rename variable Tx_TS_Pending_List to tx_ts_pending_list to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies Tested-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtl819x_TSProc.c | 6 +++--- drivers/staging/rtl8192e/rtllib.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rt= l8192e/rtl819x_TSProc.c index e87d2926f47c..0b906d618a90 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -125,7 +125,7 @@ void rtllib_ts_init(struct rtllib_device *ieee) u8 count =3D 0; =20 INIT_LIST_HEAD(&ieee->tx_ts_admit_list); - INIT_LIST_HEAD(&ieee->Tx_TS_Pending_List); + INIT_LIST_HEAD(&ieee->tx_ts_pending_list); INIT_LIST_HEAD(&ieee->Tx_TS_Unused_List); =20 for (count =3D 0; count < TOTAL_TS_NUM; count++) { @@ -366,7 +366,7 @@ void remove_peer_ts(struct rtllib_device *ieee, u8 *add= r) =20 netdev_info(ieee->dev, "=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>%s, %pM\n", __f= unc__, addr); =20 - list_for_each_entry_safe(ts, pTmpTS, &ieee->Tx_TS_Pending_List, list) { + list_for_each_entry_safe(ts, pTmpTS, &ieee->tx_ts_pending_list, list) { if (memcmp(ts->addr, addr, 6) =3D=3D 0) { RemoveTsEntry(ieee, ts, TX_DIR); list_del_init(&ts->list); @@ -406,7 +406,7 @@ void remove_all_ts(struct rtllib_device *ieee) { struct ts_common_info *ts, *pTmpTS; =20 - list_for_each_entry_safe(ts, pTmpTS, &ieee->Tx_TS_Pending_List, list) { + list_for_each_entry_safe(ts, pTmpTS, &ieee->tx_ts_pending_list, list) { RemoveTsEntry(ieee, ts, TX_DIR); list_del_init(&ts->list); list_add_tail(&ts->list, &ieee->Tx_TS_Unused_List); diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/r= tllib.h index 3544054b78fc..ff6b59874fed 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1195,7 +1195,7 @@ struct rtllib_device { atomic_t atm_swbw; =20 struct list_head tx_ts_admit_list; - struct list_head Tx_TS_Pending_List; + struct list_head tx_ts_pending_list; struct list_head Tx_TS_Unused_List; struct tx_ts_record tx_ts_records[TOTAL_TS_NUM]; struct list_head Rx_TS_Admit_List; --=20 2.30.2 From nobody Fri Nov 29 17:53:55 2024 Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.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 A451A15B57D for ; Tue, 17 Sep 2024 05:32:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551129; cv=none; b=HgawxSMqGlCM8NtTesvxSfDUQ3bELOCG4S8pZHQMgFHuQArflrXV+/W0QQ2XesE3IGrH9rthn86EcyILYRUYbVZ3hCkBM0E54NeFUcN1WIWl5VihcY/ukncsD24QecwVwU3ak9Ktg+8s+LfIAjdcsq14xEjkY4P026dbhVfprYw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551129; c=relaxed/simple; bh=FsvVG7s50X+ytswfAcPQQ1Q+R0b3F3TkCKt25TGq3/w=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=mMhjDQ26AfppGv7m9lIO2R5H+18tl+qBv0iUfCMkrG9wmIpBELo6O1a8hrtkl/Oaq8UgyR4IAHtkCmnzgjid8DuZUKEsUm/g1CZJlZbpFWpDqoMqMluzTevU0lZ9YS9Goiq2fInRKnF/0Fe9iBjCIQT/zrNI/ROG7p4I4v+9Ndc= 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=A0osqlIx; arc=none smtp.client-ip=209.85.214.169 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="A0osqlIx" Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-206aee40676so30139315ad.0 for ; Mon, 16 Sep 2024 22:32:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1726551127; x=1727155927; 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=6i9Xtd5Jmry75nRJO1mTVFWPGfZ1jgJ3uQyB9QmMbQg=; b=A0osqlIxxu2JBqL4sb5160I8TmRnTrmRVPsf5tfEB5lNFZAQiEsTlnMlj3Cb1eU2Dj Fy//B6xSaZNulj2paCpeXgOpmFTrT9UiJGRriH499CfjJCnNwEmm2ZMFPgXt2oqTJASp HJEhxjZeEhnZVOQeD5QqoXEcxw//msuGU2bdwi5ETBnXfAlzatb5UFsgF3/YJYbr7HZ0 qQ8/61XH+qaFMW3LGTsSxoi5hhsKFEeArDG1Mi6de1SLfXyG+0H3YjasFGALhdOuZmub b8RIbNYAqu3WJPmuMgzeABq1V0hAegp/jCowmDjgydb/x+E1g5sZxx6Tv99ivJOtxiuO nRZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726551127; x=1727155927; 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=6i9Xtd5Jmry75nRJO1mTVFWPGfZ1jgJ3uQyB9QmMbQg=; b=fcP3CgQ1qUwetlb5BO7E8P8VEXv/C07aKPxG1WK9fphRGXWBJt70NMv2x8HA5i8c/f vZlthl6W1tWR+STtTqeAfwUSJ5d+D4cZjnOdheRuV86KOj6F2CvG9BHijKNFG0UOlu1H SeyTZprpbeklMcYZnGL/lCP5QcaGyJMrt+61XjQgFK2uHt6nbqWu3ZkrMza0tedoaZQj 2r88ZXbnpNmzzslx09+uTWpWc5bf7UNCfONivhzgU6vTdUYaZP3W8bxZLDxpaCRibbYL qsTbMdVPkQ0JfUnCMxVohjmPz21IMptoUsUB82lCnwaSo7gcs89sXLu7fXmxBZckEBll pJRw== X-Forwarded-Encrypted: i=1; AJvYcCWVOYEqYZKKonI+pa+nOnXIhhAx1rU1oHzdbBguTCRubHVpuke4EOQy4lVZMJ/DTLLJjy6gxZ/tbjN38U8=@vger.kernel.org X-Gm-Message-State: AOJu0Yyiu7mUHJ0ffb8qWcFPdfP0duIOdagYkRQgsUck7eIoZZpsmx4Y bBAVc//p6eLoHMjmczaevW3EanaOn0sLUmomDo3+PJbk/zqEDX4KIYNqKKO89Jc= X-Google-Smtp-Source: AGHT+IEVl9XCVV/EDxTzSGvNLFsw2+ukL89kw5qYphDBjuaGpF/3AbmLYRhpfYB/A/kvDncLmc1dmQ== X-Received: by 2002:a17:902:da86:b0:207:6e51:41af with SMTP id d9443c01a7336-20782be4b5cmr211092595ad.43.1726551127106; Mon, 16 Sep 2024 22:32:07 -0700 (PDT) Received: from lunchbox.darkphysics (c-73-83-183-190.hsd1.wa.comcast.net. [73.83.183.190]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7db498e0607sm4392328a12.8.2024.09.16.22.32.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2024 22:32:06 -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 16/18] Staging: rtl8192e: Rename variable Tx_TS_Unused_List Date: Mon, 16 Sep 2024 22:31:50 -0700 Message-Id: <20240917053152.575553-17-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240917053152.575553-1-tdavies@darkphysics.net> References: <20240917053152.575553-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: quoted-printable Content-Type: text/plain; charset="utf-8" Rename variable Tx_TS_Unused_List to tx_ts_unused_list to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies Tested-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtl819x_TSProc.c | 14 +++++++------- drivers/staging/rtl8192e/rtllib.h | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rt= l8192e/rtl819x_TSProc.c index 0b906d618a90..ecbe3bd67a0c 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -126,7 +126,7 @@ void rtllib_ts_init(struct rtllib_device *ieee) =20 INIT_LIST_HEAD(&ieee->tx_ts_admit_list); INIT_LIST_HEAD(&ieee->tx_ts_pending_list); - INIT_LIST_HEAD(&ieee->Tx_TS_Unused_List); + INIT_LIST_HEAD(&ieee->tx_ts_unused_list); =20 for (count =3D 0; count < TOTAL_TS_NUM; count++) { pTxTS->num =3D count; @@ -139,7 +139,7 @@ void rtllib_ts_init(struct rtllib_device *ieee) =20 ResetTxTsEntry(pTxTS); list_add_tail(&pTxTS->ts_common_info.list, - &ieee->Tx_TS_Unused_List); + &ieee->tx_ts_unused_list); pTxTS++; } =20 @@ -275,7 +275,7 @@ bool rtllib_get_ts(struct rtllib_device *ieee, struct t= s_common_info **ppTS, } =20 pUnusedList =3D (tx_rx_select =3D=3D TX_DIR) ? - (&ieee->Tx_TS_Unused_List) : + (&ieee->tx_ts_unused_list) : (&ieee->Rx_TS_Unused_List); =20 pAddmitList =3D (tx_rx_select =3D=3D TX_DIR) ? @@ -370,7 +370,7 @@ void remove_peer_ts(struct rtllib_device *ieee, u8 *add= r) if (memcmp(ts->addr, addr, 6) =3D=3D 0) { RemoveTsEntry(ieee, ts, TX_DIR); list_del_init(&ts->list); - list_add_tail(&ts->list, &ieee->Tx_TS_Unused_List); + list_add_tail(&ts->list, &ieee->tx_ts_unused_list); } } =20 @@ -380,7 +380,7 @@ void remove_peer_ts(struct rtllib_device *ieee, u8 *add= r) "=3D=3D=3D=3D>remove Tx_TS_admin_list\n"); RemoveTsEntry(ieee, ts, TX_DIR); list_del_init(&ts->list); - list_add_tail(&ts->list, &ieee->Tx_TS_Unused_List); + list_add_tail(&ts->list, &ieee->tx_ts_unused_list); } } =20 @@ -409,13 +409,13 @@ void remove_all_ts(struct rtllib_device *ieee) list_for_each_entry_safe(ts, pTmpTS, &ieee->tx_ts_pending_list, list) { RemoveTsEntry(ieee, ts, TX_DIR); list_del_init(&ts->list); - list_add_tail(&ts->list, &ieee->Tx_TS_Unused_List); + list_add_tail(&ts->list, &ieee->tx_ts_unused_list); } =20 list_for_each_entry_safe(ts, pTmpTS, &ieee->tx_ts_admit_list, list) { RemoveTsEntry(ieee, ts, TX_DIR); list_del_init(&ts->list); - list_add_tail(&ts->list, &ieee->Tx_TS_Unused_List); + list_add_tail(&ts->list, &ieee->tx_ts_unused_list); } =20 list_for_each_entry_safe(ts, pTmpTS, &ieee->rx_ts_pending_list, list) { diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/r= tllib.h index ff6b59874fed..074cd837c708 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1196,7 +1196,7 @@ struct rtllib_device { =20 struct list_head tx_ts_admit_list; struct list_head tx_ts_pending_list; - struct list_head Tx_TS_Unused_List; + struct list_head tx_ts_unused_list; struct tx_ts_record tx_ts_records[TOTAL_TS_NUM]; struct list_head Rx_TS_Admit_List; struct list_head rx_ts_pending_list; --=20 2.30.2 From nobody Fri Nov 29 17:53:55 2024 Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) (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 881C81607A4 for ; Tue, 17 Sep 2024 05:32:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551130; cv=none; b=cbqttOGIQyqkmXrcVPihEubLKTAWqfTc42WYVjQL2/Qv5xSmxCUnLDOrNthHLXAJ+1ShoM0cnIhYGgCYK4AGJ5iplsGzi9CIPZji83a351Yma96viATc4dLHn81604yX7zWrcII2reTUeJWb0vKqrvWEeQv+dNJrluZiKH13KsA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551130; c=relaxed/simple; bh=6yEMFfoSwpjfCXOzC67az4SEYPpIZWGHydG6G11AuDE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=X/qYtzkqn/P41Zhn1VDBiEj1rBSQ4YRFityirRJcDDQcdRJ/epAnI2SYJ8ZueO1l9noWKj94e8qD9QyR7h+c1DHg/SoGCly15cWGJq5DxSPRXnrr0DY7c6c+R1UQ4KjWDIG0C3dlBcg7ZWnfIb02Q0hoAgmA9f2xRSRdluQZADI= 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=iAjbsf2a; arc=none smtp.client-ip=209.85.210.177 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="iAjbsf2a" Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-71781f42f75so4521905b3a.1 for ; Mon, 16 Sep 2024 22:32:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1726551128; x=1727155928; 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=yt17mD/dE//1Ybyc4L7AOySBbggFjSxKjKPkk3oTidQ=; b=iAjbsf2aYlLekUngv20yV28kp/W/ce9Iny95VRXd2Km73ffbxHPpPWfzACoGx4Hxzo CDF7VuD31mYhgOoXsgB9hdWay1TevZ0JmSS0gBykv6PC2P/gaxT/v6j1f7U3fhYSmP00 IsfYbdK9XAqAkt8Ch1gH3QreYWUyD99Kq21l1SoXOO7NUaWIxX+MCZI6CxuMzXsRljEQ YAH/PklgU4UZrYebj4o0ts7ubypny5a4vbFLMwCOjkUlam99GM9iyfivujadJOB2Os73 XnKKjbtT2Uww5qyDETOqCXgHnDtVybKsloZZ0qYQmR9QQfRoM99mhOh/RN5Rn8kmw8qE fJ3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726551128; x=1727155928; 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=yt17mD/dE//1Ybyc4L7AOySBbggFjSxKjKPkk3oTidQ=; b=oQ3GoGyCbZh4LWrkAPfyjAdG/4uYm7vdMYFWrTjtFXdzcQ2KIVtSGNUMXK5bFEZBCk fOwqXW0teSzfIHw4PyAAznnlxno9Xaf+w+kY7fRJOw1HF96KiTfYC0aUWF/d2CCWCfVc obLSr2j0jqtcKuQ/hgWFoHq6MYGfLa3DfB/xPP/TCK1ujNC1k3tSq60/s+Ow++mi44bU 0bs8H4J6ecKlmMQFlpoQoop15DrHThSsvhPVks2csP3jElJavboOz7P/f9pq7mp1x8dM m5Pf/YImxi62dwCjywnTaBcYgHlZalzWX/n3cb1I//oHPL3052mtG3Aew8RAQ25GjZL/ Y28A== X-Forwarded-Encrypted: i=1; AJvYcCULOlrZ0l5o+OACmtOxkjNkqmTOPfZxenVmdAHQHP/5tTERM6lrwkLwRa6WLT5lV38PNISro0JdYeAQnbY=@vger.kernel.org X-Gm-Message-State: AOJu0YxaUZqBmYTHmPSDC5NSncamiLc5w21/RHqJ5T/GjPWPK0Dzf+CW WaPQOYgbhOKgRueLV29i5L8F7tZglXgs/3NJS0uIYoQyCgm0lYlMUrW+gxnvm2Y= X-Google-Smtp-Source: AGHT+IHH7RLFZsPJYTmnjGh6vw5+VSIHlR9cQa8vhyBFrLJI1jwlzdgnVqAuQQqrwNXSJFPRICHYuQ== X-Received: by 2002:a05:6a20:cd0e:b0:1cf:337e:9920 with SMTP id adf61e73a8af0-1cf764a7aa9mr29036901637.47.1726551127826; Mon, 16 Sep 2024 22:32:07 -0700 (PDT) Received: from lunchbox.darkphysics (c-73-83-183-190.hsd1.wa.comcast.net. [73.83.183.190]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7db498e0607sm4392328a12.8.2024.09.16.22.32.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2024 22:32:07 -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 17/18] Staging: rtl8192e: Rename variable Sbox Date: Mon, 16 Sep 2024 22:31:51 -0700 Message-Id: <20240917053152.575553-18-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240917053152.575553-1-tdavies@darkphysics.net> References: <20240917053152.575553-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: quoted-printable Content-Type: text/plain; charset="utf-8" Rename variable Sbox to box to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies Tested-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtllib_crypt_tkip.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_crypt_tkip.c b/drivers/staging= /rtl8192e/rtllib_crypt_tkip.c index fb80ae6c3f2f..2b9e882d0bef 100644 --- a/drivers/staging/rtl8192e/rtllib_crypt_tkip.c +++ b/drivers/staging/rtl8192e/rtllib_crypt_tkip.c @@ -137,7 +137,7 @@ static inline u16 Mk16_le(u16 *v) return *v; } =20 -static const u16 Sbox[256] =3D { +static const u16 box[256] =3D { 0xC6A5, 0xF884, 0xEE99, 0xF68D, 0xFF0D, 0xD6BD, 0xDEB1, 0x9154, 0x6050, 0x0203, 0xCEA9, 0x567D, 0xE719, 0xB562, 0x4DE6, 0xEC9A, 0x8F45, 0x1F9D, 0x8940, 0xFA87, 0xEF15, 0xB2EB, 0x8EC9, 0xFB0B, @@ -174,8 +174,8 @@ static const u16 Sbox[256] =3D { =20 static inline u16 _S_(u16 v) { - u16 t =3D Sbox[Hi8(v)]; - return Sbox[Lo8(v)] ^ ((t << 8) | (t >> 8)); + u16 t =3D box[Hi8(v)]; + return box[Lo8(v)] ^ ((t << 8) | (t >> 8)); } =20 #define PHASE1_LOOP_COUNT 8 --=20 2.30.2 From nobody Fri Nov 29 17:53:55 2024 Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (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 2EA615FEED for ; Tue, 17 Sep 2024 05:32:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551130; cv=none; b=Fh5u6/OaoSCZHqear9XrRYb0bNlB9FghPGcK8xb0VqfMazsj262Xi6eTnPuLT/HL2EsDE8zBjtQ307WfcDNLISaYeAaogCPhCypxsKBeQwnc4TlPULH+UoDTPXtGgPTXZsVYCOYuCB5bHxo0bGruMMN64IdovtgdPRS724KqH64= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726551130; c=relaxed/simple; bh=HBBgh4U2TbQiKhQg+3mmt7kSgvNSyjFSCv4hesHPrtg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=thcx7+4XtRYjnjXJ8sERXiSl/6owXTMlUBVCPnnOZBqsFm7HC+cbc19bXqjETeNA76FVeFA6XMK0snyuWpCtAydmv6dvPCwPrGfO0+v4XpUnlvro3wuppjkVacm+oEmxQYkfPwtQ9Ri7LSX3r1yqZqtIXSnlcWNZcJ1owl1efi4= 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=HZXAJBCZ; arc=none smtp.client-ip=209.85.210.174 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="HZXAJBCZ" Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-71979bf5e7aso54567b3a.1 for ; Mon, 16 Sep 2024 22:32:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1726551128; x=1727155928; 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=X8Wt1wfr8yB8GpjkRnwYrY5PO/CblyQRQKYIXDYNbio=; b=HZXAJBCZ+knaQsb+YcywMTA34sD3ZPcsUkzhhi55RzMzJjD4/lbwKKB03axG2/jcAr pgqi+rVDB5zCHqSK4t6SpQEw9kW4rG/mzV+FIJ0+y66Tz4zH1xW0zxs1bCIZLLsYmaWi A2859WQ32TAkiXJl9nwm2qpG3A05lMSn1tp7TPhl9R+b4YROcnK8t0xu9yOIPyhWRDqe 8QRGqxF0EUWvdGt/5ukTvzs1Dq8IhOPhI9ZT+WouR/WFIpQMemAe70Xlr7yo6kKs18MQ q2Rvs0w7mkfinVvRd+RNCqAKJCEEtY9oFOCxZaPoSPpNH44dN5X5CcJSUyt0XHQkbO2C FV5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726551128; x=1727155928; 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=X8Wt1wfr8yB8GpjkRnwYrY5PO/CblyQRQKYIXDYNbio=; b=pcPDL6QhW1PQ36osD5lVkxvKQKxzOumxK4dR1I5sdV3U6QhQ25r6ARaXD0VzkNOUk+ PCwb4E9h8N/lrrNsrwa5mpMYeuA8XDQQFPGBRhaHg8uQWYfPlIDl48YXwDNSed5zgqN9 9+1lxK54SkXpaL6E8gsQm2c3/bSKDhPkSoloWJDYPIdYIKFnGBjC16oyeTYmqagLrdQN 6OiD4bQvumqip9ESu5S2i/FORljGD1CTf7MpgfEUajDjifwNnTam2JcKj3YPKyS0eS+n DafwBYg3Yh5/PPrDVngYAGfZ3uutvuGRQx91IJyPNYtJxOBWGk3/1uEfNaIWX1uhUWJ4 Ar1g== X-Forwarded-Encrypted: i=1; AJvYcCVAjzvqsf5j+fpu6uA0fyEC/6D/W2HkafDeiposuY8NZ026yTnXj+Amc+XV+18kzDBaBOebc8BmGGUp9IQ=@vger.kernel.org X-Gm-Message-State: AOJu0Yy4jCygCHTenJk7qEqKAgFzao9WR+RutOVfpTh5MX8slCLq4kS8 niCPSTDfwcgHqXMIzHm3m6Kq2gBkngosaadH2PDsc1NuU8g7plU/nn+qlJ8FjJw= X-Google-Smtp-Source: AGHT+IHrKjf+5zHzcgpeoPHGRycWKpK2MknumxH8Wq7GAa+b9vRHeq3DYP/TCto5oznPhffTAnPGrQ== X-Received: by 2002:a05:6a00:3e29:b0:719:1df6:c114 with SMTP id d2e1a72fcca58-71926055ce7mr25012931b3a.1.1726551128465; Mon, 16 Sep 2024 22:32:08 -0700 (PDT) Received: from lunchbox.darkphysics (c-73-83-183-190.hsd1.wa.comcast.net. [73.83.183.190]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7db498e0607sm4392328a12.8.2024.09.16.22.32.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2024 22:32:08 -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 18/18] Staging: rtl8192e: Rename variable pMCSFilter Date: Mon, 16 Sep 2024 22:31:52 -0700 Message-Id: <20240917053152.575553-19-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240917053152.575553-1-tdavies@darkphysics.net> References: <20240917053152.575553-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: quoted-printable Content-Type: text/plain; charset="utf-8" Rename variable pMCSFilter to mcs_filter to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies Tested-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 8 ++++---- drivers/staging/rtl8192e/rtllib.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rt= l8192e/rtl819x_HTProc.c index 2eba916d7f50..ee6bc3202727 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -358,21 +358,21 @@ static u8 ht_pick_mcs_rate(struct rtllib_device *ieee= , u8 *pOperateMCS) } =20 u8 ht_get_highest_mcs_rate(struct rtllib_device *ieee, u8 *mcs_rate_set, - u8 *pMCSFilter) + u8 *mcs_filter) { u8 i, j; u8 bitMap; u8 mcsRate =3D 0; u8 availableMcsRate[16]; =20 - if (!mcs_rate_set || !pMCSFilter) { + if (!mcs_rate_set || !mcs_filter) { netdev_warn(ieee->dev, - "%s(): mcs_rate_set and pMCSFilter are null\n", + "%s(): mcs_rate_set and mcs_filter are null\n", __func__); return false; } for (i =3D 0; i < 16; i++) - availableMcsRate[i] =3D mcs_rate_set[i] & pMCSFilter[i]; + availableMcsRate[i] =3D mcs_rate_set[i] & mcs_filter[i]; =20 for (i =3D 0; i < 16; i++) { if (availableMcsRate[i] !=3D 0) diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/r= tllib.h index 074cd837c708..ff616c82b942 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1737,7 +1737,7 @@ void ht_reset_self_and_save_peer_setting(struct rtlli= b_device *ieee, void HT_update_self_and_peer_setting(struct rtllib_device *ieee, struct rtllib_network *network); u8 ht_get_highest_mcs_rate(struct rtllib_device *ieee, u8 *mcs_rate_set, - u8 *pMCSFilter); + u8 *mcs_filter); extern u8 MCS_FILTER_ALL[]; extern u16 MCS_DATA_RATE[2][2][77]; u8 ht_c_check(struct rtllib_device *ieee, u8 *frame); --=20 2.30.2