From patchwork Mon Aug 7 05:47:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tree Davies X-Patchwork-Id: 131675 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp1247190vqr; Sun, 6 Aug 2023 22:56:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHzOw++CI3JxNaWuLdoAcLTrWQgWLfwbKp1SQrBjkLgJ6O/NmC84Wh0RDgUDEwJoGEiAYYq X-Received: by 2002:a17:906:31cd:b0:994:2fa9:7446 with SMTP id f13-20020a17090631cd00b009942fa97446mr6456088ejf.46.1691387805586; Sun, 06 Aug 2023 22:56:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691387805; cv=none; d=google.com; s=arc-20160816; b=psoCeYcRyVsXSisCsxwbww7U2xZJtS4Z0Seyz1UCXulgCmO5A29K4WDWB+Bosd3eyg OkWQThvaLwCCZ6utyiIL/Kad9MAnMRlc8EK9OP6OsoWBN75KgwmaD6yXfRafXG8eIJ45 xUqhABEm3xiHs8h4JxfV01G0ljCIwKvMoutYs5l5HHWc8V+OXJUWkw4Z5Tr9gG25H9z2 /DZeKi5lhU7poeO2y+ORq2bEEjJ+xoHvhUi1oxw0G+UjCgE/0ZEZihGUioGo9g5M5f9m jxQ2iR7wPmMzPX0ZAHASbxI1RPuXXs1Efm6o9yhQxPWfDdkXD78u2IX2Y1QM/eM/NQaL fiFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=m/HDyb1J0y+wN384c1MqEfAvaaNi/Whs4CQKnoIOGSw=; fh=I5RbcQPTSTvrwt0yqig+bV2C3roPED/NlXe1P2BfE7E=; b=WqgbnysF4RVsp9nL60eH6mNt7B5gcq+a3mVEj6grYKKWrKmMFnczMOqzb6960S6m1G DkcbXJ8FYAJqsajbVVGvFLcrEewLow7hks8ld+bCEPAsfFb568GDeAY+ogGhK0GtAn0f IlNdJZltm7cPQ8pCx260arM2aYdVkK03m6EBVUFnsGBuv8yzrJYidxbzG1g3UHfKcIeM 9qmKP2Jz3VbRQLo3Zf2zdIf2qSdnaKtdXRfeOP5tsBmza1rksox4EYIaJ54Fd6X1F14Y RbRmJdsrbrXCcfYg5rXmeLc7IsfbN/8dbJJIt7B5MlVN4PH6APIeXuvmKznFoKcXKdjj 62HQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=dj+3apV8; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=hiWFFn9C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d14-20020a1709067f0e00b00992a0966793si5230213ejr.814.2023.08.06.22.56.21; Sun, 06 Aug 2023 22:56:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=dj+3apV8; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=hiWFFn9C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230340AbjHGFpz (ORCPT + 99 others); Mon, 7 Aug 2023 01:45:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230326AbjHGFpx (ORCPT ); Mon, 7 Aug 2023 01:45:53 -0400 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69C011708 for ; Sun, 6 Aug 2023 22:45:52 -0700 (PDT) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 8CC031A0BD8; Mon, 7 Aug 2023 01:45:51 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=sasl; bh=VMt5lkXuonoG2y3uP9PFjCZO6 91m2Hji0vyUDwwToVI=; b=dj+3apV8MDn6MpF01sRHPAmh29ZEEB0bR7o6N1T9Z YDvENZyQXWYAmityGI39ukMezJjfnrTnzpOjdNwXJaMk2BNfXNI8rDCOev7xWPed /eY7YwmmKz3Y8gO72n5H7of7YKgRn07LcpAGEq0qssfFZnY7H6dC0Zi0X1YkMgBu 3g= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 858BE1A0BD6; Mon, 7 Aug 2023 01:45:51 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=darkphysics.net; h=from:to:cc:subject:date:message-id:in-reply-to:references:mime-version:content-transfer-encoding; s=2019-09.pbsmtp; bh=mB7sH0SJCbApPkpurdRl6F0uzB4zzON+qh7H0G7S1j8=; b=hiWFFn9CfvpSv0uCSKx+0SzKUWh278Qwu9AnmeaKVoRKXN/wmEbefayxhEGrHXXOibUWr54kAHXVtao9HPIOhPhz5ofQHuLbDoFftL7GSZp3mLqR1WZK0fW69e6c2MK6gaM/3zG+KF3Rcjy6XE2B2+Si9a7hxn13Xdzp7WqxaKE= Received: from basil.darkphysics (unknown [76.146.178.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id CE3A21A0BD1; Mon, 7 Aug 2023 01:45:48 -0400 (EDT) (envelope-from tdavies@darkphysics.net) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, anjan@momi.ca, error27@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH 1/5] Staging: rtl8192e: Rename function TsInitAddBA Date: Sun, 6 Aug 2023 22:47:28 -0700 Message-ID: <20230807054732.1864827-2-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230807054732.1864827-1-tdavies@darkphysics.net> References: <20230807054732.1864827-1-tdavies@darkphysics.net> MIME-Version: 1.0 X-Pobox-Relay-ID: AA491ABA-34E5-11EE-A3C3-C65BE52EC81B-45285927!pb-smtp1.pobox.com X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NO_DNS_FOR_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773548659425715493 X-GMAIL-MSGID: 1773548659425715493 Rename function TsInitAddBA to rtllib_ts_init_add_ba in order to Fix checkpatch warning: Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 4 ++-- drivers/staging/rtl8192e/rtl819x_TSProc.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 600802c795b9..9605d21bbf40 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -461,8 +461,8 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb) return 0; } -void TsInitAddBA(struct rtllib_device *ieee, struct tx_ts_record *pTS, - u8 Policy, u8 bOverwritePending) +void rtllib_ts_init_add_ba(struct rtllib_device *ieee, struct tx_ts_record *pTS, + u8 Policy, u8 bOverwritePending) { struct ba_record *pBA = &pTS->TxPendingBARecord; diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c index 14e0c000a31a..a36f175ba230 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -88,7 +88,7 @@ static void TsAddBaProcess(struct timer_list *t) struct rtllib_device *ieee = container_of(pTxTs, struct rtllib_device, TxTsRecord[num]); - TsInitAddBA(ieee, pTxTs, BA_POLICY_IMMEDIATE, false); + rtllib_ts_init_add_ba(ieee, pTxTs, BA_POLICY_IMMEDIATE, false); netdev_dbg(ieee->dev, "%s(): ADDBA Req is started\n", __func__); } diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index c5a692dfcd17..c38dc5ae0b72 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -2002,8 +2002,8 @@ u16 TxCountToDataRate(struct rtllib_device *ieee, u8 nDataRate); int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb); int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb); int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb); -void TsInitAddBA(struct rtllib_device *ieee, struct tx_ts_record *pTS, - u8 Policy, u8 bOverwritePending); +void rtllib_ts_init_add_ba(struct rtllib_device *ieee, struct tx_ts_record *pTS, + u8 Policy, u8 bOverwritePending); void TsInitDelBA(struct rtllib_device *ieee, struct ts_common_info *pTsCommonInfo, enum tr_select TxRxSelect); From patchwork Mon Aug 7 05:47:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tree Davies X-Patchwork-Id: 131711 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp1275608vqr; Mon, 7 Aug 2023 00:17:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHXw5hReqvPUEYkjAvkFAcDKc2UBOsD+M3ro2o0xiUdoQDxjS4O9fzSLegZ9gaWQRdvENmm X-Received: by 2002:a17:907:a078:b0:99c:281:9987 with SMTP id ia24-20020a170907a07800b0099c02819987mr7870585ejc.36.1691392636968; Mon, 07 Aug 2023 00:17:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691392636; cv=none; d=google.com; s=arc-20160816; b=nYmpfQQT714sGb8fNGbvMadyqKYtmDUJ20evq8l1SINwX2DdsWtllp0W3fZMsu85hm eq5yW4UzproQlsJE78Mb5TVxPVotf1BMobVqKG0dUmVsTeMK1xiqSZO664CgbVpAXbAE t4trwBeVCVUYOIHo7TXQvLLtSba6zMf1TZ2cpKUBoR8TJxf5vr+6N2mOZPwWRIznEp1l DSflkof+g00TxqPqfPdnW9teicCb7gF0oODBwJ59afyijZIv86ZEuJtdzWdmOvzpPB6J JNt3DexXzV47wqI4WD2ZaZGglcE/8WIurLjPWxGtIsLVDdmQWb0BilCpF57j8Jur8SRG Sjzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=L2mUKNaqBhqDfkCOUObFaQBOAIs79DnxsO3B+9id4II=; fh=I5RbcQPTSTvrwt0yqig+bV2C3roPED/NlXe1P2BfE7E=; b=FP3TB+x8lYFnl8QJ3BlCprjjs3Zy+VQ6g1SxUKeO8CAKlvNxhRIemr8pl2LUfNDkEI HYfh23bPJ9yv4N2+iSQl8JaHHKR4rbN6NpLOD01eFNJ4S0XSxAI7oHvZ8TvoAZQ3g5e+ /Yv/jABlxkqjX5ZJG8CHJwTVV1qdpOLkhVoe8C/6jkrpk/6Iiy4fW7kZlW7AqTgiDPdi j+FC+ibhAFJT8iDvdB9T5nAGjBOn+Cv40nKTxuSX/o8PqhuMYAEHFFsYb31K8ik/P0xn oKoM6tkw21ZccKJJWXgl3QChAZHCDKFBm8ESDQZWCT18nsyDh8zlGhu+bF7Hq9kqW2DS F/og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=uWyzkXg+; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=vBjwvw9b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i8-20020a170906264800b00992dc9d3b33si5259267ejc.863.2023.08.07.00.16.51; Mon, 07 Aug 2023 00:17:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=uWyzkXg+; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=vBjwvw9b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230356AbjHGFp6 (ORCPT + 99 others); Mon, 7 Aug 2023 01:45:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230339AbjHGFpz (ORCPT ); Mon, 7 Aug 2023 01:45:55 -0400 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8BE5170B for ; Sun, 6 Aug 2023 22:45:54 -0700 (PDT) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 2C78E1A0BDD; Mon, 7 Aug 2023 01:45:54 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=sasl; bh=UZbkO1SU4qK1pWNPMd9kB5tXF apRGywmOww4Osqu2oE=; b=uWyzkXg+nVVyVSowRbAnX2oFtvXhQMgCNyseakM/G gPD3LvdwaFnOKyYY8H0bwFAOOL4g6uQeGtt4dcmXxh71wiIKZaQJhIwYYve0ft1r jCIcDgRng2HD7/ORf/4ERd4LkOW4mJjfZGg6Z8/sbItzTQ4ZddF0wyEgmSdI1lyD iQ= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 2141B1A0BDA; Mon, 7 Aug 2023 01:45:54 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=darkphysics.net; h=from:to:cc:subject:date:message-id:in-reply-to:references:mime-version:content-transfer-encoding; s=2019-09.pbsmtp; bh=Y5vB0QwQ4fhrd6EOGcRc1kIxKkCS3zdjGWu89cF5rkc=; b=vBjwvw9bGweC2prD4vn7fD9TZry/VbTwoYhWsCKZz32FsvuHTm4Z+v66fIEXTdXegi1cYHBVHlYT0w/eQ93BZh06eMxgjcg7EaNhDBmmdqDlUdefmtKiy9F3dqiXXFte4k2X1H8dJiSxe6SluciHSsV/aGkAlolUUju3NwZDgUo= Received: from basil.darkphysics (unknown [76.146.178.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 8B3BD1A0BD7; Mon, 7 Aug 2023 01:45:51 -0400 (EDT) (envelope-from tdavies@darkphysics.net) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, anjan@momi.ca, error27@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH 2/5] Staging: rtl8192e: Rename function TsInitDelBA Date: Sun, 6 Aug 2023 22:47:29 -0700 Message-ID: <20230807054732.1864827-3-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230807054732.1864827-1-tdavies@darkphysics.net> References: <20230807054732.1864827-1-tdavies@darkphysics.net> MIME-Version: 1.0 X-Pobox-Relay-ID: ABE88900-34E5-11EE-A236-C65BE52EC81B-45285927!pb-smtp1.pobox.com X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NO_DNS_FOR_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773553726119453024 X-GMAIL-MSGID: 1773553726119453024 Rename function TsInitDelBA to rtllib_ts_init_del_ba in order to Fix checkpatch warning: Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 6 +++--- drivers/staging/rtl8192e/rtl819x_TSProc.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 9605d21bbf40..19c845ec863c 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -484,9 +484,9 @@ void rtllib_ts_init_add_ba(struct rtllib_device *ieee, struct tx_ts_record *pTS, rtllib_send_ADDBAReq(ieee, pTS->TsCommonInfo.Addr, pBA); } -void TsInitDelBA(struct rtllib_device *ieee, - struct ts_common_info *pTsCommonInfo, - enum tr_select TxRxSelect) +void rtllib_ts_init_del_ba(struct rtllib_device *ieee, + struct ts_common_info *pTsCommonInfo, + enum tr_select TxRxSelect) { if (TxRxSelect == TX_DIR) { struct tx_ts_record *pTxTs = diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c index a36f175ba230..759778787afa 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -361,7 +361,7 @@ bool GetTs(struct rtllib_device *ieee, struct ts_common_info **ppTS, static void RemoveTsEntry(struct rtllib_device *ieee, struct ts_common_info *pTs, enum tr_select TxRxSelect) { - TsInitDelBA(ieee, pTs, TxRxSelect); + rtllib_ts_init_del_ba(ieee, pTs, TxRxSelect); if (TxRxSelect == RX_DIR) { struct rx_reorder_entry *pRxReorderEntry; diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index c38dc5ae0b72..a4238db2fd56 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -2004,9 +2004,9 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb); int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb); void rtllib_ts_init_add_ba(struct rtllib_device *ieee, struct tx_ts_record *pTS, u8 Policy, u8 bOverwritePending); -void TsInitDelBA(struct rtllib_device *ieee, - struct ts_common_info *pTsCommonInfo, - enum tr_select TxRxSelect); +void rtllib_ts_init_del_ba(struct rtllib_device *ieee, + struct ts_common_info *pTsCommonInfo, + enum tr_select TxRxSelect); void BaSetupTimeOut(struct timer_list *t); void TxBaInactTimeout(struct timer_list *t); void RxBaInactTimeout(struct timer_list *t); From patchwork Mon Aug 7 05:47:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tree Davies X-Patchwork-Id: 131679 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp1255849vqr; Sun, 6 Aug 2023 23:20:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFgASaz8a4mVaxkskPJXM+KjcQgM/V8PvHWlIP5KtNm+GJoevyJDUPf7n4L7b4O9XDvPL6Y X-Received: by 2002:aa7:d318:0:b0:522:4dd0:de6e with SMTP id p24-20020aa7d318000000b005224dd0de6emr7457343edq.8.1691389211283; Sun, 06 Aug 2023 23:20:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691389211; cv=none; d=google.com; s=arc-20160816; b=no/ZxhRuZ6I4iwCCZ/8/Ahfqo2qb4B/iyy/2rVoBGHJi6UE+2SNNlDfe9iu2c5XZU+ ekBztFdSvWceUn502c+brOngCQrAkGK2cDmLYc3hXSC/afINqRvJD3q5wv/AnwsOXgke QDdF/r4nF1/oUmvs7KvjSf6NZ8n7JrBdPFYEvaYpBi6p8Vw+3uOYrnWagikhkHc9NiFa puUzkNqo9VMMUOg5RpujBavDonAsA5F8qYeg218qFZOvru6HP2DbleXWHiwWO+Mzb0Br 28G5OjF6v67iwIkb3puTnoGtMoMcDq4uXqj5m4QA7SzzSAMVJO44YCaTNrtVe3iTN9Fd XVtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=YhN8yg40XTKnCe4hEVlcQ4C9MDpSYkn059ZUtF532Ao=; fh=I5RbcQPTSTvrwt0yqig+bV2C3roPED/NlXe1P2BfE7E=; b=Wdevd9zRckc/xbT8CJ5p4IUo1fhwmtITN1z2rNY0tmpBCNrxXNHpDYaRuZ2F4oc1AU 8JBLGM7q5BcO+hjI4fW4Ydk/0yiSZFVckLGTX3/EP1rpFKu09iaWmsrrv9MxL9gyPdYs ihZDeHr9U+UphZiKtFKg6nUMZSjUcc0IHBG+LCFfqT394rgGfmqHnZe0wgMT/2u+FkFM fdILr5AwEo5RJOS71tihPZNCtoogvBM9vmfyTzD8WsyMrEAkEYDcjVIn/meXf8KPyEmG kzb97r6vpAMTibuQs1f/mPtM4hvou4ZnejQMqp84M0ceYgO2TovnxG1qsSTGy6GqQmmQ zkyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=R+ej3G5E; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=POjNNOUH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w10-20020aa7da4a000000b00522b10235f3si5495251eds.163.2023.08.06.23.19.46; Sun, 06 Aug 2023 23:20:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=R+ej3G5E; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=POjNNOUH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230394AbjHGFqE (ORCPT + 99 others); Mon, 7 Aug 2023 01:46:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230355AbjHGFp6 (ORCPT ); Mon, 7 Aug 2023 01:45:58 -0400 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 553DA1703 for ; Sun, 6 Aug 2023 22:45:57 -0700 (PDT) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id A8A0B1A0BE1; Mon, 7 Aug 2023 01:45:56 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=sasl; bh=80mXZW4JwvdQMg75yj/O2W/yN gK0tjvH1+uc4letNw8=; b=R+ej3G5E/dElSm8zXu4RJLmsOA6fVDsBOK5uYJJn2 xX38pKyb4Qm5adrGoJEraHQQUQ0+3jkOi+UqrW4+ZRsFThFXyfvSzts1eaaa/rNI SJDmBTtX7+S5aKKMYRTk2Lv+ffGq1DCQMuWbOWA+AzrltXvyKZ9N3lbyXPjAI87z OE= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id A200C1A0BE0; Mon, 7 Aug 2023 01:45:56 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=darkphysics.net; h=from:to:cc:subject:date:message-id:in-reply-to:references:mime-version:content-transfer-encoding; s=2019-09.pbsmtp; bh=NsrMBOy4Y/gerUo4wn6EsK1Ss22LXhsXc3sGFyEJqrI=; b=POjNNOUHnYKzjji+cTXSKaz42XwVYLFvSfoO0G71KE3hfO58BqmJvuFS0sBqCEvyIC2/n2OVGRAD2UvadM25GiTXpInWhlpTHhzj1F24wr9aJr+rZgeg198K3PvHwCZvx+s3QQcO2gqHD+bhuOYK/QAJ4ZHWl+kV7VaHdcbmYuI= Received: from basil.darkphysics (unknown [76.146.178.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 15EBB1A0BD9; Mon, 7 Aug 2023 01:45:54 -0400 (EDT) (envelope-from tdavies@darkphysics.net) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, anjan@momi.ca, error27@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH 3/5] Staging: rtl8192e: Rename function BaSetupTimeOut Date: Sun, 6 Aug 2023 22:47:30 -0700 Message-ID: <20230807054732.1864827-4-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230807054732.1864827-1-tdavies@darkphysics.net> References: <20230807054732.1864827-1-tdavies@darkphysics.net> MIME-Version: 1.0 X-Pobox-Relay-ID: AD686930-34E5-11EE-A8A3-C65BE52EC81B-45285927!pb-smtp1.pobox.com X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NO_DNS_FOR_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773550133901154225 X-GMAIL-MSGID: 1773550133901154225 Rename function BaSetupTimeOut to rtllib_ba_setup_timeout in order to Fix checkpatch warning: Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 2 +- drivers/staging/rtl8192e/rtl819x_TSProc.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 19c845ec863c..f07c9e7ed893 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -508,7 +508,7 @@ void rtllib_ts_init_del_ba(struct rtllib_device *ieee, } } -void BaSetupTimeOut(struct timer_list *t) +void rtllib_ba_setup_timeout(struct timer_list *t) { struct tx_ts_record *pTxTs = from_timer(pTxTs, t, TxPendingBARecord.timer); diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c index 759778787afa..1784fa676a65 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -136,7 +136,7 @@ void TSInitialize(struct rtllib_device *ieee) pTxTS->num = count; timer_setup(&pTxTS->TsAddBaTimer, TsAddBaProcess, 0); - timer_setup(&pTxTS->TxPendingBARecord.timer, BaSetupTimeOut, + timer_setup(&pTxTS->TxPendingBARecord.timer, rtllib_ba_setup_timeout, 0); timer_setup(&pTxTS->TxAdmittedBARecord.timer, TxBaInactTimeout, 0); diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index a4238db2fd56..53bdf2c429a7 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -2007,7 +2007,7 @@ void rtllib_ts_init_add_ba(struct rtllib_device *ieee, struct tx_ts_record *pTS, void rtllib_ts_init_del_ba(struct rtllib_device *ieee, struct ts_common_info *pTsCommonInfo, enum tr_select TxRxSelect); -void BaSetupTimeOut(struct timer_list *t); +void rtllib_ba_setup_timeout(struct timer_list *t); void TxBaInactTimeout(struct timer_list *t); void RxBaInactTimeout(struct timer_list *t); void rtllib_reset_ba_entry(struct ba_record *pBA); From patchwork Mon Aug 7 05:47:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tree Davies X-Patchwork-Id: 131676 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp1252937vqr; Sun, 6 Aug 2023 23:11:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHZx9ZIdRPbYZH5IL/6DSb28trzp+bftdcUU4kRNY2JbQxUWQfw4feXtVHygQsrBZ98jlfc X-Received: by 2002:a19:9145:0:b0:4fb:7c40:9f97 with SMTP id y5-20020a199145000000b004fb7c409f97mr5048561lfj.27.1691388698382; Sun, 06 Aug 2023 23:11:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691388698; cv=none; d=google.com; s=arc-20160816; b=g3LyA8H9+kOZq3bCEDlaFKsyCNMDzb+zv4llmzWOAJGAOVy7e11VF5ZfDGF32KglTm MpSZVQTcKqro4MLnq0SOM31Ap8Hr3jjXdOBGUBbpKRQmTQ9C2Ma8RK7P47wi/VqwqR61 RqDx9exlk3TOFVkcbdPQLl15Ke63LGjVTc8xtqdPzTGGLoysy8hmzKxZmjLO7erS1+pY CxZi+CJr0LjmLfS6aGvk7IuCK5lCVdpjkjMJC4dxnDikhJC5Ae0JnrYQx8j+WL13/FUv uUxFGmHQ88DhVwJzXXbHYc0DU/5QaYrjkdBX80LKNrRBSDwDCDc+1qh7e58bjxtm2Z+c uRLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=so1+7BKRGS0v5uoiOha0TRIL25j1H/RttnsRqsNAa+Y=; fh=I5RbcQPTSTvrwt0yqig+bV2C3roPED/NlXe1P2BfE7E=; b=VfT8dgnTKsrPlZJjU2Dfos++dBL+cbbjNRAt8Jcm/Ki78vzIYh7AgpKLs2WVdK72ft iZKUzcX7I1Dd2QiIHxNuKEjIdujEZ1DdE2dwdlBIp72e0qs+IUgY7OWfKW0zfx2OfGBn tsjAT9828fu/LGqbBOs6OLlWE5ai+EvCb5p2xL34o/YOmHtoDGBGCrUsHzZqxe7BJAXM 7eXdh1iUXga5C4F1FCiRturpU0de+Zzu8vfk7L5coEBAPsLsZ+6Rvk1LhBkiTmKSIn4Q 384Z7cYfh12EEQFoceQddB0jY448FkODVe9oyxqIJC96GsyCCMnzSS0Jga+x/EQ/Of41 fRuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b="w/XWDiCI"; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=qAe1vxz5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v20-20020aa7d814000000b00522d73afb08si5269033edq.525.2023.08.06.23.11.14; Sun, 06 Aug 2023 23:11:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b="w/XWDiCI"; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=qAe1vxz5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229509AbjHGFqM (ORCPT + 99 others); Mon, 7 Aug 2023 01:46:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230357AbjHGFqD (ORCPT ); Mon, 7 Aug 2023 01:46:03 -0400 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FBFD1980 for ; Sun, 6 Aug 2023 22:45:59 -0700 (PDT) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 3F7221A0BE7; Mon, 7 Aug 2023 01:45:59 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=sasl; bh=Cm0x5EIziGGzMkQUeXZxCP4lP eKNPDxESeOb5WlzBIA=; b=w/XWDiCIzB8utwRp8vIcjQXRdzfx3dO7BVG62rCxD wmVID9SJ61ADaYoYaipTItWW7Zcb2+VV4cPfqWAgd8loO0Tzm/POFHFGE1StJ6ih 9nnrKQ53n4T73xmA/kKpX1wfpZjv93Va1O+qRH0r5W5EOyi8qu0/GS22CP7AZ9QC fk= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 379941A0BE6; Mon, 7 Aug 2023 01:45:59 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=darkphysics.net; h=from:to:cc:subject:date:message-id:in-reply-to:references:mime-version:content-transfer-encoding; s=2019-09.pbsmtp; bh=zeIIoTC2mQDo2YVk57Mv6AaSbXETO612h211yRnN734=; b=qAe1vxz592rWwkIuitanlU8SrnmkFBpFdwcGkLb+4IS3jXGrfabqWQDSjH+2BnXSEDv2Ki69cCEfSszZucyQ6V0GUrBVgaMWLElOW/7GxPlDSsIrvOIYbhYKlhFp8EVtD0StUVjprqhs7w2jVMLpIdeWretA/RGmzvASxf2apj0= Received: from basil.darkphysics (unknown [76.146.178.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 9DE461A0BDF; Mon, 7 Aug 2023 01:45:56 -0400 (EDT) (envelope-from tdavies@darkphysics.net) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, anjan@momi.ca, error27@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH 4/5] Staging: rtl8192e: Rename function TxBaInactTimeout Date: Sun, 6 Aug 2023 22:47:31 -0700 Message-ID: <20230807054732.1864827-5-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230807054732.1864827-1-tdavies@darkphysics.net> References: <20230807054732.1864827-1-tdavies@darkphysics.net> MIME-Version: 1.0 X-Pobox-Relay-ID: AEF183AE-34E5-11EE-981C-C65BE52EC81B-45285927!pb-smtp1.pobox.com X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NO_DNS_FOR_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773549595990649887 X-GMAIL-MSGID: 1773549595990649887 Rename function TxBaInactTimeout to rtllib_tx_ba_inact_timeout in order to Fix checkpatch warning: Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 2 +- drivers/staging/rtl8192e/rtl819x_TSProc.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index f07c9e7ed893..1eac56fa97f9 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -518,7 +518,7 @@ void rtllib_ba_setup_timeout(struct timer_list *t) pTxTs->TxPendingBARecord.b_valid = false; } -void TxBaInactTimeout(struct timer_list *t) +void rtllib_tx_ba_inact_timeout(struct timer_list *t) { struct tx_ts_record *pTxTs = from_timer(pTxTs, t, TxAdmittedBARecord.timer); diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c index 1784fa676a65..c57bc0c8816b 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -139,7 +139,7 @@ void TSInitialize(struct rtllib_device *ieee) timer_setup(&pTxTS->TxPendingBARecord.timer, rtllib_ba_setup_timeout, 0); timer_setup(&pTxTS->TxAdmittedBARecord.timer, - TxBaInactTimeout, 0); + rtllib_tx_ba_inact_timeout, 0); ResetTxTsEntry(pTxTS); list_add_tail(&pTxTS->TsCommonInfo.List, diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 53bdf2c429a7..3383dab0d1ca 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -2008,7 +2008,7 @@ void rtllib_ts_init_del_ba(struct rtllib_device *ieee, struct ts_common_info *pTsCommonInfo, enum tr_select TxRxSelect); void rtllib_ba_setup_timeout(struct timer_list *t); -void TxBaInactTimeout(struct timer_list *t); +void rtllib_tx_ba_inact_timeout(struct timer_list *t); void RxBaInactTimeout(struct timer_list *t); void rtllib_reset_ba_entry(struct ba_record *pBA); bool GetTs(struct rtllib_device *ieee, struct ts_common_info **ppTS, u8 *Addr, From patchwork Mon Aug 7 05:47:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tree Davies X-Patchwork-Id: 131682 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp1259285vqr; Sun, 6 Aug 2023 23:31:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH8Am3tfj7GvrhQ8bEzWl/2ni4aep3FM1/13rwk0HsP2qDPmJ85dq8gndYGLvgYnWpVTVOf X-Received: by 2002:aa7:df06:0:b0:522:b1cb:e6c with SMTP id c6-20020aa7df06000000b00522b1cb0e6cmr6726390edy.38.1691389869412; Sun, 06 Aug 2023 23:31:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691389869; cv=none; d=google.com; s=arc-20160816; b=hsyvtPPJ2/xcZcCOERhxWboX08gki3VV0DRixn3sbHnllJolJJMzwUCbuplEHe6ATQ cnhaJ/coCghsEWRCvGyKe2uKxVSavMOHT5Bnq46Dob1hvjTLCqw/gjhcYJbfknKD6fTz 5LHqP3fcrWmmmtGXtQZbLD7f21tqDeGu9Ivjt4eeA5lC6EkV/rUZyrGov+sqKcIJEFC3 WV7V7ShVJXWuUE0z+agYfKtnz3DxC+H2KhaVEyHwwpjmw3ZJkZ9hkSv/yY3HO5hAhFIS OFu1XuODoveRUKcHpXap0uSsXTyDyIVIE2cKKQpaEn7HY0LZY3vY1cBC9hQAMU8yLS44 oYpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=U5+xK2ltVLItkKKf9JBE/fpq/px9kyc2WUDKpWLJgvU=; fh=I5RbcQPTSTvrwt0yqig+bV2C3roPED/NlXe1P2BfE7E=; b=hAdAexuolXSm3MDUjVlr3EuIGW5fdSj8iSvpc+CXN9TMzS9dH9KCmIW3UQ1MudMIl2 G4RSJU9L2mOrShoW/01QaxUOOUhzoH2e86A0yTgDlYtglMlCawYpv5juA5z0Ljv6psQn 201/n3BvrpjXN0wFurlSWsKVMak6hElbktvlXiQMb3OH/Hnmvhb51uq0xALK2cujdpzW BvdUNNhPLuXa5AbxJhC+/r4hyhHbCenj6hkL4y7uNyM8YI69V2A7nBKX/CAmTahttoV6 UKL7VICGXkCgVszXhi8IbnX5GQz0f8EHG+BvaBhK1fp3akQ2RlwPXHIhz8aMxZ92lJwT 8zXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=oQwGa+dr; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=cdnmELMA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m3-20020a50ef03000000b005232e4b664esi1652033eds.464.2023.08.06.23.30.45; Sun, 06 Aug 2023 23:31:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=oQwGa+dr; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=cdnmELMA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230443AbjHGFqW (ORCPT + 99 others); Mon, 7 Aug 2023 01:46:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230416AbjHGFqL (ORCPT ); Mon, 7 Aug 2023 01:46:11 -0400 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41C3A199E for ; Sun, 6 Aug 2023 22:46:02 -0700 (PDT) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id E2EE31A0BEB; Mon, 7 Aug 2023 01:46:01 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=sasl; bh=5eoqeurc7Us0RGOhn2V/CP1M+ zcVavoyIN8KV85/gWA=; b=oQwGa+drz6TnJ8Af5ni3LgGzhv2HJzrSCcbdbo8qu Wl3QZPix8c8JaE84Bb4gIxI+3s2z7EK2PtLsij0u9ElzC8llbUR5ZltvR9+Ztf/C pzlu93n9z0eb4Ij9I2fMYePeDsrQmLBBXmWraT+JDb+hnHePTC4uVM2TTl5teJ/4 /M= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id CDB551A0BEA; Mon, 7 Aug 2023 01:46:01 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=darkphysics.net; h=from:to:cc:subject:date:message-id:in-reply-to:references:mime-version:content-transfer-encoding; s=2019-09.pbsmtp; bh=r0indpjmfnijE9fv7U/ET5pUCSjmsRLkWxgQVJN/Iic=; b=cdnmELMA1jSG5cZGNfhsnBljPxpdxRyA7oI/mGmhcsMT6PcmEBhC5pYav803MqCyCXZNhJHUCVJSveIl6TAc+BrA7abIuY8GA6KkvyDRo63co9qtBRaW2kkoRJyZ5pjtwNTzRVZBP/Fikfrut2ZD/2MaRBWKDyiEV8wYat4pbp8= Received: from basil.darkphysics (unknown [76.146.178.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 2CE041A0BE4; Mon, 7 Aug 2023 01:45:59 -0400 (EDT) (envelope-from tdavies@darkphysics.net) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, anjan@momi.ca, error27@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH 5/5] Staging: rtl8192e: Rename function RxBaInactTimeout Date: Sun, 6 Aug 2023 22:47:32 -0700 Message-ID: <20230807054732.1864827-6-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230807054732.1864827-1-tdavies@darkphysics.net> References: <20230807054732.1864827-1-tdavies@darkphysics.net> MIME-Version: 1.0 X-Pobox-Relay-ID: B0740292-34E5-11EE-9874-C65BE52EC81B-45285927!pb-smtp1.pobox.com X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NO_DNS_FOR_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773550823581403109 X-GMAIL-MSGID: 1773550823581403109 Rename function RxBaInactTimeout to rtllib_rx_ba_inact_timeout in order to Fix checkpatch warning: Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 2 +- drivers/staging/rtl8192e/rtl819x_TSProc.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 1eac56fa97f9..0e3372868f97 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -530,7 +530,7 @@ void rtllib_tx_ba_inact_timeout(struct timer_list *t) DELBA_REASON_TIMEOUT); } -void RxBaInactTimeout(struct timer_list *t) +void rtllib_rx_ba_inact_timeout(struct timer_list *t) { struct rx_ts_record *pRxTs = from_timer(pRxTs, t, rx_admitted_ba_record.timer); diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c index c57bc0c8816b..24a8b9fc0168 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -154,7 +154,7 @@ void TSInitialize(struct rtllib_device *ieee) pRxTS->num = count; INIT_LIST_HEAD(&pRxTS->rx_pending_pkt_list); timer_setup(&pRxTS->rx_admitted_ba_record.timer, - RxBaInactTimeout, 0); + rtllib_rx_ba_inact_timeout, 0); timer_setup(&pRxTS->rx_pkt_pending_timer, RxPktPendingTimeout, 0); diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 3383dab0d1ca..0c812eb02ba6 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -2009,7 +2009,7 @@ void rtllib_ts_init_del_ba(struct rtllib_device *ieee, enum tr_select TxRxSelect); void rtllib_ba_setup_timeout(struct timer_list *t); void rtllib_tx_ba_inact_timeout(struct timer_list *t); -void RxBaInactTimeout(struct timer_list *t); +void rtllib_rx_ba_inact_timeout(struct timer_list *t); void rtllib_reset_ba_entry(struct ba_record *pBA); bool GetTs(struct rtllib_device *ieee, struct ts_common_info **ppTS, u8 *Addr, u8 TID, enum tr_select TxRxSelect, bool bAddNewTs);