From nobody Fri Dec 19 14:04:58 2025 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B6DB038F9B for ; Thu, 21 Dec 2023 03:09:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fastmail.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fastmail.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fastmail.org header.i=@fastmail.org header.b="gbMegyYT"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="7SIs6TCR" Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 780243200A30; Wed, 20 Dec 2023 22:09:36 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 20 Dec 2023 22:09:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1703128175; x= 1703214575; bh=eLwhieIwWiEuq+3M/i7XeeaQWFp+cT7u7PxwVjCwPro=; b=g bMegyYTomN3UWYDkEtC+YOOvGFk3DFZI33t0MxqD53aMqTGiuuXCBn3QnycRp3Sj x1d6NC9mhuZz0rZmz0g1HJWoYJsIRbhhi+/PTaFC708jqLCR8BaiR88jEmL//4MJ aYhq9zb6XxjnBLNGY6z6tkgr/q9a6g+uawP1qToMMF+j7fK43M3e2JKeQmqKpCPo mWKcw5wp+65o0itAR8Xkvw2xMeMCebChDP2oWm0Z7hW+APw+PCnuBaG2ldYs0l8L xuL3q8bI2P4tEPTpNHTg18Soj0NkyUuIk5YOJmZk8AfjKnhnVVNjG18uA5A/oqw5 hqoCGUwl6H2s5Fyy8YCDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1703128175; x= 1703214575; bh=eLwhieIwWiEuq+3M/i7XeeaQWFp+cT7u7PxwVjCwPro=; b=7 SIs6TCRUW4XwRh7hF1UP1iqvQMCqe8w0uP8290ro5bbQutEmGAREsBT40WvLzpRx XjD/5FmyPPh7SwAlZcFmRGlno/Cz9ebDHn9bHrvJJX9D38qxW4c2jSwnGuoC8Tnj ePyDXJd7oFuBYvHDtwKxbSqAd/MqJAhD9QnabhtialTyK7WniebWKrYGWBC0+Ebg sH8PrFoESvJXfc45cGzyyZaAXoEDIaLc32DO0QHMr8zD+SAmqiJQ5VLbaIqGmwu0 SzmWvkCoxWRWDdw4M/JgFMigZQ1V2HhNadL7gOaN+CvctcC4F9XJCIOu/pEPsQ59 clc9NL7ewA+F0ObAs9ssA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvddufedgheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefirghrhicutfhoohhkrghrugcuoehgrghrhihrohhokhgr rhgusehfrghsthhmrghilhdrohhrgheqnecuggftrfgrthhtvghrnhepkeeuvdffueduke egieeuffejhefgkeetfeehueelfeduuefgveellefhfefgjedvnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghgrrhihrhhoohhkrghrugesfh grshhtmhgrihhlrdhorhhg X-ME-Proxy: Feedback-ID: ifd194980:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 20 Dec 2023 22:09:35 -0500 (EST) From: Gary Rookard To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com Cc: linux-staging@list.linux.dev, linux-kernel@vger.kernel.org, Gary Rookard Subject: [PATCH 1/5] staging: rtl8192e: rename variable HTInitializeBssDesc Date: Wed, 20 Dec 2023 22:10:00 -0500 Message-ID: <20231221031004.14779-2-garyrookard@fastmail.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231221031004.14779-1-garyrookard@fastmail.org> References: <20231221031004.14779-1-garyrookard@fastmail.org> 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" Coding style issue, checkpatch Avoid CamelCase, rename it. HTInitializeBssDesc -> ht_initialize_bss_desc Signed-off-by: Gary Rookard --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 2 +- drivers/staging/rtl8192e/rtllib_rx.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rt= l8192e/rtl819x_HTProc.c index 0d57bcda33b4..edfc2c7461ee 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -543,7 +543,7 @@ void ht_initialize_ht_info(struct rtllib_device *ieee) } } =20 -void HTInitializeBssDesc(struct bss_ht *pBssHT) +void ht_initialize_bss_desc(struct bss_ht *pBssHT) { pBssHT->bd_support_ht =3D false; memset(pBssHT->bd_ht_cap_buf, 0, sizeof(pBssHT->bd_ht_cap_buf)); diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/r= tllib.h index 4df46eae6aa8..193b4a5a7c04 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1758,7 +1758,7 @@ void ht_construct_rt2rt_agg_element(struct rtllib_dev= ice *ieee, u8 *posRT2RTAgg, u8 *len); void ht_on_assoc_rsp(struct rtllib_device *ieee); void ht_initialize_ht_info(struct rtllib_device *ieee); -void HTInitializeBssDesc(struct bss_ht *pBssHT); +void ht_initialize_bss_desc(struct bss_ht *pBssHT); void HTResetSelfAndSavePeerSetting(struct rtllib_device *ieee, struct rtllib_network *pNetwork); void HT_update_self_and_peer_setting(struct rtllib_device *ieee, diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192= e/rtllib_rx.c index 196eacc7a768..5f219cfb65eb 100644 --- a/drivers/staging/rtl8192e/rtllib_rx.c +++ b/drivers/staging/rtl8192e/rtllib_rx.c @@ -2189,7 +2189,7 @@ static inline int rtllib_network_init( network->RSSI =3D stats->SignalStrength; network->CountryIeLen =3D 0; memset(network->CountryIeBuf, 0, MAX_IE_LEN); - HTInitializeBssDesc(&network->bssht); + ht_initialize_bss_desc(&network->bssht); network->flags |=3D NETWORK_HAS_CCK; =20 network->wpa_ie_len =3D 0; --=20 2.43.0 From nobody Fri Dec 19 14:04:58 2025 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7D2B0433C9 for ; Thu, 21 Dec 2023 03:09:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fastmail.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fastmail.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fastmail.org header.i=@fastmail.org header.b="NzRNQHqx"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="ymjLaGgC" Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 2BBD73200A8A; Wed, 20 Dec 2023 22:09:43 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 20 Dec 2023 22:09:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1703128182; x= 1703214582; bh=9jw6b4ctxOb/8uYJBFa5pYNQkgdRK6UDuv41VJI8kCA=; b=N zRNQHqxEemc2QvdQKbpki0idb1lVg7Le0wKfSPGzVU11q/PzwU+VtcrXdUj9BDOl efc6A85CsKsoA/fooUw6s+mx2hWOVPVquRtl4KvDiTFXe1czECf5B1RbWkG/UKR4 PYSudptalyIcZl9ZOH9Ah7HbqcBVfcg6FMXDK0SPuJwFZzUOM9DdJugG9xtaoTqq rgY9HdisHqsJJ4pvNMKSZHnm9vYRzG62EKEArhjeuuc8RyOOG5mZN2eB9X70hX2g Qkxb37UwPZphxQH4wIGYBRHgEIGsZfbuXXVLSBfMOMpzQi10Ww4gGCFECpwdCSEs cthi+8rNrUor2daWClVOw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1703128182; x= 1703214582; bh=9jw6b4ctxOb/8uYJBFa5pYNQkgdRK6UDuv41VJI8kCA=; b=y mjLaGgCeBcEZht+VOe8sdvap144hlZt4YWjhITxbvw4YMZ/DSs7dYugBb5CiG2kb Jm8DK6Ld86HdgIjpgMRW3xyjtYWOu9Cum3MQ7nHvKbUcon8i4ivXjBRyON7bVygG Ym+RdOj1S+Qj4hSlnwQ7b+q3Ff/1i3Lz2NT4374OycZ7w0KqZ4pAY9lqbyAlGP/P m8/Trb3RJTZJfswc2viH336SaKjxRurRtJukJAbmS7w8N5UFmTYF/KqGN5whfJno KV81hwqyKkMQ4S2A7jlQkzAeGtOHLrFAr11bC3qm+zGirCWzh/fgyzexRlV4XAiY ShBorvZrTAF5gzzBUjr+Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvddufedgheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefirghrhicutfhoohhkrghrugcuoehgrghrhihrohhokhgr rhgusehfrghsthhmrghilhdrohhrgheqnecuggftrfgrthhtvghrnhepvdevtdeigfduvd euhefguddutdeijedtvdejvdevvdfgvdetudehvefhhefgieeknecuffhomhgrihhnpegs shhshhhtrdgsugenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehgrghrhihrohhokhgrrhgusehfrghsthhmrghilhdrohhrgh X-ME-Proxy: Feedback-ID: ifd194980:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 20 Dec 2023 22:09:42 -0500 (EST) From: Gary Rookard To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com Cc: linux-staging@list.linux.dev, linux-kernel@vger.kernel.org, Gary Rookard Subject: [PATCH 2/5] staging: rtl8192e: rename variable HTResetSelfAndSavePeerSetting Date: Wed, 20 Dec 2023 22:10:01 -0500 Message-ID: <20231221031004.14779-3-garyrookard@fastmail.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231221031004.14779-1-garyrookard@fastmail.org> References: <20231221031004.14779-1-garyrookard@fastmail.org> 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" Coding style issue, checkpatch Avoid CamelCase, rename it. HTResetSelfAndSavePeerSetting -> ht_reset_self_and_save_peer_setting Signed-off-by: Gary Rookard --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 2 +- drivers/staging/rtl8192e/rtllib_softmac.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rt= l8192e/rtl819x_HTProc.c index edfc2c7461ee..a32f3553df93 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -558,7 +558,7 @@ void ht_initialize_bss_desc(struct bss_ht *pBssHT) pBssHT->rt2rt_ht_mode =3D (enum rt_ht_capability)0; } =20 -void HTResetSelfAndSavePeerSetting(struct rtllib_device *ieee, +void ht_reset_self_and_save_peer_setting(struct rtllib_device *ieee, struct rtllib_network *pNetwork) { struct rt_hi_throughput *ht_info =3D ieee->ht_info; diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/r= tllib.h index 193b4a5a7c04..78eae7daa351 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1759,7 +1759,7 @@ void ht_construct_rt2rt_agg_element(struct rtllib_dev= ice *ieee, void ht_on_assoc_rsp(struct rtllib_device *ieee); void ht_initialize_ht_info(struct rtllib_device *ieee); void ht_initialize_bss_desc(struct bss_ht *pBssHT); -void HTResetSelfAndSavePeerSetting(struct rtllib_device *ieee, +void ht_reset_self_and_save_peer_setting(struct rtllib_device *ieee, struct rtllib_network *pNetwork); void HT_update_self_and_peer_setting(struct rtllib_device *ieee, struct rtllib_network *pNetwork); diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rt= l8192e/rtllib_softmac.c index 9c94c5ceccd5..14f34e6a591a 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -1219,7 +1219,7 @@ inline void rtllib_softmac_new_net(struct rtllib_devi= ce *ieee, ieee->AsocRetryCount =3D 0; if ((ieee->current_network.qos_data.supported =3D=3D 1) && ieee->current_network.bssht.bd_support_ht) - HTResetSelfAndSavePeerSetting(ieee, + ht_reset_self_and_save_peer_setting(ieee, &(ieee->current_network)); else ieee->ht_info->current_ht_support =3D false; --=20 2.43.0 From nobody Fri Dec 19 14:04:58 2025 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D972EA947 for ; Thu, 21 Dec 2023 03:09:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fastmail.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fastmail.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fastmail.org header.i=@fastmail.org header.b="nsy9PIGX"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="YSFecz5c" Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id A63333200A8D; Wed, 20 Dec 2023 22:09:48 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 20 Dec 2023 22:09:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1703128188; x= 1703214588; bh=NFwX6DpI/WDWMxbg2l+n1YK4Zppa2WdhFie4RInmDDo=; b=n sy9PIGXoJl8MlHl//j7yCZzYQuFBwDmp9H3FWwxoZfDrCaVWwvdVCkEr/MjDm2SE iBXCdce6v93yu+3SUwn8ulHhzfkKbPsY0jANrbr3ktomQV6/fH9cnCUpy0kQyL7+ g9oAPXuqBqKkc3JrXalh3DM1nqjMM4SKc1Y++MI3Yju0ZkFjp/CIX1ioQG4xOr/V fhN04zE6nDhn48mpOJmjHsV4sW1y73etnNg1GsHnaRzuXO2YpPZlzA+spiDWofxf +vwpUWp53xuw/FBfovqvVSwDezYDsLoYta/QWptt7Gwx9bKZq+BPqjKi0m/VcAPM YfOQSqQQ7StRMdsCn6zbA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1703128188; x= 1703214588; bh=NFwX6DpI/WDWMxbg2l+n1YK4Zppa2WdhFie4RInmDDo=; b=Y SFecz5cmZUg9Cl1vPXYbdxMy+Phhzt2k70FZCBfVcGvzpDndLgiKxq9P8K+ZqT/k nkyhH/vy8uHnoeeV7xnQCZMYSKNruvCvg8ivt5gOTqKIpKzsHSWa5a8v10cbOvzl BiW1mntG/cJshuF+p2O5GrLJIUl+06yRiMs8uVEsALCgfVatScweT9s7XFqhrGOT DbIPWah6YL4Uc3MpRA9ajzTP+d6RNa+96hCXDgy6E9QRk3pvKNrX4hu0/+A3RX4v itwRtkyHjd72T3LBawnHcxEQGN2lNSZ2Rbo+OszpFfd1ENBOjo1iiN+osF2IwMEP ep146nRTwroFUei7i3wuw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvddufedgheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefirghrhicutfhoohhkrghrugcuoehgrghrhihrohhokhgr rhgusehfrghsthhmrghilhdrohhrgheqnecuggftrfgrthhtvghrnhepkeeuvdffueduke egieeuffejhefgkeetfeehueelfeduuefgveellefhfefgjedvnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghgrrhihrhhoohhkrghrugesfh grshhtmhgrihhlrdhorhhg X-ME-Proxy: Feedback-ID: ifd194980:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 20 Dec 2023 22:09:47 -0500 (EST) From: Gary Rookard To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com Cc: linux-staging@list.linux.dev, linux-kernel@vger.kernel.org, Gary Rookard Subject: [PATCH 3/5] staging: rtl8192e: rename variable HTCCheck Date: Wed, 20 Dec 2023 22:10:02 -0500 Message-ID: <20231221031004.14779-4-garyrookard@fastmail.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231221031004.14779-1-garyrookard@fastmail.org> References: <20231221031004.14779-1-garyrookard@fastmail.org> 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" Coding style issue, checkpatch Avoid CamelCase, rename it. HTCCheck -> ht_c_check Signed-off-by: Gary Rookard --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 2 +- drivers/staging/rtl8192e/rtllib_rx.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rt= l8192e/rtl819x_HTProc.c index a32f3553df93..5698b48fdcc9 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -622,7 +622,7 @@ void HT_update_self_and_peer_setting(struct rtllib_devi= ce *ieee, } EXPORT_SYMBOL(HT_update_self_and_peer_setting); =20 -u8 HTCCheck(struct rtllib_device *ieee, u8 *pFrame) +u8 ht_c_check(struct rtllib_device *ieee, u8 *pFrame) { if (ieee->ht_info->current_ht_support) { if ((IsQoSDataFrame(pFrame) && Frame_Order(pFrame)) =3D=3D 1) { diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/r= tllib.h index 78eae7daa351..341d9ddc9a1f 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1767,7 +1767,7 @@ u8 ht_get_highest_mcs_rate(struct rtllib_device *ieee= , u8 *pMCSRateSet, u8 *pMCSFilter); extern u8 MCS_FILTER_ALL[]; extern u16 MCS_DATA_RATE[2][2][77]; -u8 HTCCheck(struct rtllib_device *ieee, u8 *pFrame); +u8 ht_c_check(struct rtllib_device *ieee, u8 *pFrame); 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); diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192= e/rtllib_rx.c index 5f219cfb65eb..595ec9af25ea 100644 --- a/drivers/staging/rtl8192e/rtllib_rx.c +++ b/drivers/staging/rtl8192e/rtllib_rx.c @@ -857,7 +857,7 @@ static size_t rtllib_rx_get_hdrlen(struct rtllib_device= *ieee, size_t hdrlen; =20 hdrlen =3D rtllib_get_hdrlen(fc); - if (HTCCheck(ieee, skb->data)) { + if (ht_c_check(ieee, skb->data)) { if (net_ratelimit()) netdev_info(ieee->dev, "%s: find HTCControl!\n", __func__); @@ -1401,7 +1401,7 @@ static int rtllib_rx_Monitor(struct rtllib_device *ie= ee, struct sk_buff *skb, return 0; } =20 - if (HTCCheck(ieee, skb->data)) { + if (ht_c_check(ieee, skb->data)) { if (net_ratelimit()) netdev_info(ieee->dev, "%s: Find HTCControl!\n", __func__); --=20 2.43.0 From nobody Fri Dec 19 14:04:58 2025 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A918D38DD0 for ; Thu, 21 Dec 2023 03:09:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fastmail.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fastmail.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fastmail.org header.i=@fastmail.org header.b="an7Go/Er"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="Cn7/Ke8a" Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 83A633200A30; Wed, 20 Dec 2023 22:09:54 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 20 Dec 2023 22:09:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1703128194; x= 1703214594; bh=0bq2fN9Uza31d9KmzZhN4ub+BZ6fkGAQSHJ72vJy0/s=; b=a n7Go/ErwMbHIwufWkoi0nbK8acgDnkErzr6/zmDEi35n+Md5I5jAew3IHsrSwuKS v8f+O+KUZ/pEsgNUWffz3NkCfb6YgVtp67/9GzbK2ouquEAepPyaGH/lwi+cV82S O2k/c/EUzklMWICo1bjSbafMO/1kODT16vt2nxrhZPuqRgbR/WzKgAbnA7jWUZa1 tczJtkiwJbqOntQUaJv2VnZLTK9XUrYbB4ezpil54pSxttrdgBFDlLeFEpvFBdVq KPErxBu5xix7zQZIbPPUXL9Q8AGIn/1JzyN6y+FY0gnUnpoNBItdkbjcBcHQfXOb sbPEHEjs/RlBU6VIlH+fA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1703128194; x= 1703214594; bh=0bq2fN9Uza31d9KmzZhN4ub+BZ6fkGAQSHJ72vJy0/s=; b=C n7/Ke8aTqE5dv2JoMDDjVB3orPHoSpaa4D52uqe3Z+/O1KfpCT8kURjmY3YbUtMi 4ICINHoldFYjRS+aAIFasDj5QMXVmptkme/phT+kA3B/NnofM5AvDoKo0oADrW9A J7C4x2PosYRRNHLW97LnznBn2Th9OYCEcfgWehKrBueXHv4rBK1P9ZLBkhB2F0MX sm/sgYVNGmltVMElk4IL/sjeDbjA3k3GKtAUlZzwMAmzYyv5Ah5/suaQ7VR+csRM emGjI/78/3tbSAdc5kcyIhHm0pm0Z2YHIX9d5ViP7fM/Z1DjM78SJm0JDqe7nwQy fT6lXVFtosbBETTcq1A/A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvddufedgheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefirghrhicutfhoohhkrghrugcuoehgrghrhihrohhokhgr rhgusehfrghsthhmrghilhdrohhrgheqnecuggftrfgrthhtvghrnhepkeeuvdffueduke egieeuffejhefgkeetfeehueelfeduuefgveellefhfefgjedvnecuvehluhhsthgvrhfu ihiivgepudenucfrrghrrghmpehmrghilhhfrhhomhepghgrrhihrhhoohhkrghrugesfh grshhtmhgrihhlrdhorhhg X-ME-Proxy: Feedback-ID: ifd194980:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 20 Dec 2023 22:09:53 -0500 (EST) From: Gary Rookard To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com Cc: linux-staging@list.linux.dev, linux-kernel@vger.kernel.org, Gary Rookard Subject: [PATCH 4/5] staging: rtl8192e: rename variable HTSetConnectBwModeCallback Date: Wed, 20 Dec 2023 22:10:03 -0500 Message-ID: <20231221031004.14779-5-garyrookard@fastmail.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231221031004.14779-1-garyrookard@fastmail.org> References: <20231221031004.14779-1-garyrookard@fastmail.org> 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" Coding style issue, checkpatch Avoid CamelCase, rename it. HTSetConnectBwModeCallback -> ht_set_connect_bw_mode_callback Signed-off-by: Gary Rookard --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rt= l8192e/rtl819x_HTProc.c index 5698b48fdcc9..ac17d510a2a5 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -633,7 +633,7 @@ u8 ht_c_check(struct rtllib_device *ieee, u8 *pFrame) return false; } =20 -static void HTSetConnectBwModeCallback(struct rtllib_device *ieee) +static void ht_set_connect_bw_mode_callback(struct rtllib_device *ieee) { struct rt_hi_throughput *ht_info =3D ieee->ht_info; =20 @@ -695,5 +695,5 @@ void ht_set_connect_bw_mode(struct rtllib_device *ieee, =20 ht_info->sw_bw_in_progress =3D true; =20 - HTSetConnectBwModeCallback(ieee); + ht_set_connect_bw_mode_callback(ieee); } --=20 2.43.0 From nobody Fri Dec 19 14:04:58 2025 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 54230495CA for ; Thu, 21 Dec 2023 03:10:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fastmail.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fastmail.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fastmail.org header.i=@fastmail.org header.b="EKPkf9Ue"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="9G18p7ek" Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 428353200A30; Wed, 20 Dec 2023 22:10:00 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 20 Dec 2023 22:10:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1703128199; x= 1703214599; bh=XWnAqBfJFUH3eglypfU2Un+KkV5x4RHsq5AWEE/Xgd4=; b=E KPkf9UelKwxbA0vkfJfAP/CBgm9TLSyr0bLcg6G58owbLiMcwgJuM8dwn3Rm3xwB hXAa9f49DGPRtW0CXz21P/JiGJFY9yVwD2+tXnjD6S5mpAtZshDL9TPuupL+G8zT aQtJPsMzAQ/VPDl0NJKg7+5Ug1206wAEs1XjHlSBTMiTunj6v94mODB0vfqMlJO+ UG3nQHttxyZNiQtT/iWfVWR5nt5hT0j91z5w2m1OopLNM94CPwqCp416CLoBtSzB 4CidY2rt2cL7QB2RaFlGn8nV0ajxu9/vsNkHO52liauMFoHbTRgzUEeWzlwheLPS MdiADhCXc190AKmKJZUaQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1703128199; x= 1703214599; bh=XWnAqBfJFUH3eglypfU2Un+KkV5x4RHsq5AWEE/Xgd4=; b=9 G18p7ekNrBlIzkaP8JO5nOBz1ROGnbctUy02XBv0ctwBpY4serq88lxpMUOHSUZD OUb8UrnrMsjZ4KcDWMRSeeLKZU3qFY3F4bbyGV028cvam9soVUeb54gJ4OmAgs28 03QqQW0OdQMmMRRF6soq2iwb+KI+REfpEnnFp5Wz5dryxyNnERNONKY8vZXsaoyV 31RxIYUIT79DsL7739H0K/k0zvAjbEP7PDfjJa5f2B3T8y8+4KNELNmz8bOHO6HO dH81CnqtGmcwTtsB9ytBeaO5eTn9CBaWJlCMwjiyosIZ9Bd7JAsMY39TEr7tO6Hm ZQX9100TGZu6Bh7AIa+Kg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvddufedgheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefirghrhicutfhoohhkrghrugcuoehgrghrhihrohhokhgr rhgusehfrghsthhmrghilhdrohhrgheqnecuggftrfgrthhtvghrnhepkeeuvdffueduke egieeuffejhefgkeetfeehueelfeduuefgveellefhfefgjedvnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghgrrhihrhhoohhkrghrugesfh grshhtmhgrihhlrdhorhhg X-ME-Proxy: Feedback-ID: ifd194980:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 20 Dec 2023 22:09:59 -0500 (EST) From: Gary Rookard To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com Cc: linux-staging@list.linux.dev, linux-kernel@vger.kernel.org, Gary Rookard Subject: [PATCH 5/5] staging: rtl8192e: rename variable ePeerHTSpecVer Date: Wed, 20 Dec 2023 22:10:04 -0500 Message-ID: <20231221031004.14779-6-garyrookard@fastmail.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231221031004.14779-1-garyrookard@fastmail.org> References: <20231221031004.14779-1-garyrookard@fastmail.org> 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" Coding style issue, checkpatch Avoid CamelCase, rename it. ePeerHTSpecVer -> peer_ht_spec_ver Signed-off-by: Gary Rookard --- drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- drivers/staging/rtl8192e/rtl819x_HTProc.c | 6 +++--- drivers/staging/rtl8192e/rtllib_softmac.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl819= 2e/rtl819x_HT.h index 2911ea82dd17..68577bffb936 100644 --- a/drivers/staging/rtl8192e/rtl819x_HT.h +++ b/drivers/staging/rtl8192e/rtl819x_HT.h @@ -97,7 +97,7 @@ struct rt_hi_throughput { u8 cur_bw_40mhz; u8 cur_short_gi_40mhz; u8 cur_short_gi_20mhz; - enum ht_spec_ver ePeerHTSpecVer; + enum ht_spec_ver peer_ht_spec_ver; struct ht_capab_ele SelfHTCap; u8 PeerHTCapBuf[32]; u8 PeerHTInfoBuf[32]; diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rt= l8192e/rtl819x_HTProc.c index ac17d510a2a5..6d0912f90198 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -240,7 +240,7 @@ void ht_construct_capability_element(struct rtllib_devi= ce *ieee, u8 *pos_ht_cap, } memset(pos_ht_cap, 0, *len); =20 - if ((assoc) && (ht->ePeerHTSpecVer =3D=3D HT_SPEC_VER_EWC)) { + if ((assoc) && (ht->peer_ht_spec_ver =3D=3D HT_SPEC_VER_EWC)) { static const u8 EWC11NHTCap[] =3D { 0x00, 0x90, 0x4c, 0x33 }; =20 memcpy(pos_ht_cap, EWC11NHTCap, sizeof(EWC11NHTCap)); @@ -525,7 +525,7 @@ void ht_initialize_ht_info(struct rtllib_device *ieee) =20 ht_info->sw_bw_in_progress =3D false; =20 - ht_info->ePeerHTSpecVer =3D HT_SPEC_VER_IEEE; + ht_info->peer_ht_spec_ver =3D HT_SPEC_VER_IEEE; =20 ht_info->current_rt2rt_aggregation =3D false; ht_info->current_rt2rt_long_slot_time =3D false; @@ -569,7 +569,7 @@ void ht_reset_self_and_save_peer_setting(struct rtllib_= device *ieee, */ if (pNetwork->bssht.bd_support_ht) { ht_info->current_ht_support =3D true; - ht_info->ePeerHTSpecVer =3D pNetwork->bssht.bd_ht_spec_ver; + ht_info->peer_ht_spec_ver =3D pNetwork->bssht.bd_ht_spec_ver; =20 if (pNetwork->bssht.bd_ht_cap_len > 0 && pNetwork->bssht.bd_ht_cap_len <=3D sizeof(ht_info->PeerHTCapBuf)) diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rt= l8192e/rtllib_softmac.c index 14f34e6a591a..953222d57f0e 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -866,7 +866,7 @@ rtllib_association_req(struct rtllib_network *beacon, tag +=3D osCcxVerNum.Length; } if (ieee->ht_info->current_ht_support && ieee->ht_info->enable_ht) { - if (ieee->ht_info->ePeerHTSpecVer !=3D HT_SPEC_VER_EWC) { + if (ieee->ht_info->peer_ht_spec_ver !=3D HT_SPEC_VER_EWC) { tag =3D skb_put(skb, ht_cap_len); *tag++ =3D MFIE_TYPE_HT_CAP; *tag++ =3D ht_cap_len - 2; @@ -900,7 +900,7 @@ rtllib_association_req(struct rtllib_network *beacon, } =20 if (ieee->ht_info->current_ht_support && ieee->ht_info->enable_ht) { - if (ieee->ht_info->ePeerHTSpecVer =3D=3D HT_SPEC_VER_EWC) { + if (ieee->ht_info->peer_ht_spec_ver =3D=3D HT_SPEC_VER_EWC) { tag =3D skb_put(skb, ht_cap_len); *tag++ =3D MFIE_TYPE_GENERIC; *tag++ =3D ht_cap_len - 2; --=20 2.43.0