From patchwork Fri Jul 28 05:47:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tree Davies X-Patchwork-Id: 127364 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp251262vqg; Fri, 28 Jul 2023 00:12:49 -0700 (PDT) X-Google-Smtp-Source: APBJJlFn6EJ+wc5tzIg84KVMlCVVUjmTjka+mnpX5qnawdYIvigXaIXDE+T92BNM1u0Ym8qQ+9ow X-Received: by 2002:a17:906:7a0f:b0:99b:d914:d4e5 with SMTP id d15-20020a1709067a0f00b0099bd914d4e5mr1475562ejo.70.1690528369188; Fri, 28 Jul 2023 00:12:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690528369; cv=none; d=google.com; s=arc-20160816; b=DCipmvXsfZtOpjNXYz5IdzFljRt+5x9xmPAvsbZiJpc6W5SQoj4cPmYDkCdsd8Zcls 2WLW8sS/4NI+dx+Fmx5hSzFSj3Tb7Fmqhvf1sco3+VJ+lFGs7/VKNAg2ri4fxPVHdtaF u0194IX9AYQMhibfRSpsR0vijoswYUcsRrssW6cAbtuK8J+oRPnKJoxShP3FfYtrdYnd Gzs7L+r/w9MNiIBkivgyhh5034pHIXnh3HaaqWXXHv9J3ZNe/SuSFwPiB8HY9rItyBiT qMMQM1k3DD6RbkFAQveTRsHY9NpvxMZzxxv1UMhmGnwo8uwpYz9Xo4SEQNWKTfmENXnX aMOA== 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=FLHr7JE7eR2hVCL8qK/7V7hV83YEsYhzkb9UVWZuRVo=; fh=I5RbcQPTSTvrwt0yqig+bV2C3roPED/NlXe1P2BfE7E=; b=uB6+o16P435eB6Mt1Fb0DW49PUVjYfjzaibQ39cNg8vAHnaZ6rxDXcllkYbVgRMoL9 W5q+BqvVe8qcxRLyjhM3AK3zGCeT79I+ReShxyV8G1D4U03GQ9BggVPuJ0goRZAmpOyb NgLmhzSYSALGW+1lpiQcEnQi3JHW3tHJiRV0Q9LUDCgiku/cWNKGmt/6XbbZtLupPx2C s3KUmklsSPjIBYOcJzMqokLqzTmk4ILyRdNYvSd7zyYBn92Npx794Rd2/S6yV12hFvhU na9khT9HyRqLJsd7fpjMM+EDvy9wpRWzE7virBnzU1cFqzGScSOi5ro/guNJflM2Mn3P n/OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=I1qMnGst; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b="ZG/8rpaJ"; 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 e19-20020a170906249300b00992f7fe9c0bsi2151406ejb.328.2023.07.28.00.12.25; Fri, 28 Jul 2023 00:12:49 -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=I1qMnGst; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b="ZG/8rpaJ"; 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 S233462AbjG1Fqu (ORCPT + 99 others); Fri, 28 Jul 2023 01:46:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233426AbjG1Fqi (ORCPT ); Fri, 28 Jul 2023 01:46:38 -0400 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7557C4214 for ; Thu, 27 Jul 2023 22:46:21 -0700 (PDT) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 4DC201A8A11; Fri, 28 Jul 2023 01:46:20 -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=iCwVO6jGOiBIBqDolYR3kWBma U32fg07fliL7o3+4Is=; b=I1qMnGst73Nb7cCb7KewYxIXivipIFBRKIW7CuN0J //7DSy/yfk8A3oKc65s8X22aOHv3TEczxQIZ4pcRVKpiwZmRYIFh6qc4Dr+Gtpbu Aczp2v9rOddIovElc0uVcvlcOcw5HRpZY4FzsvGaEeG3e7MKnubSSjqELJBtxeFs Bw= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 46AE11A8A0F; Fri, 28 Jul 2023 01:46:20 -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=24Xd1pthCGWJK6YnUgs+USJpDGry96/kEyz1494g6To=; b=ZG/8rpaJmK+lkOinsiuOjLh2V2v/q3OhuV/AvcVdestpd3RtAw/05keoGJ/2cYbEL68OoijREHruqT53RnBCmhfH76gBTPnIYtB5Evsy+XvHS6AJ2fIwBdbRequCEyUqA0K62LmxdsWh5PC5pEZIoIwsXHgExNuvxUwiLjJaEEg= 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 E76261A8A0B; Fri, 28 Jul 2023 01:46:17 -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 v3 1/5] Staging: rtl8192e: Rename function ActivateBAEntry Date: Thu, 27 Jul 2023 22:47:38 -0700 Message-ID: <20230728054742.622297-2-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230728054742.622297-1-tdavies@darkphysics.net> References: <20230728054742.622297-1-tdavies@darkphysics.net> MIME-Version: 1.0 X-Pobox-Relay-ID: 13828734-2D0A-11EE-A639-C65BE52EC81B-45285927!pb-smtp1.pobox.com X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NO_DNS_FOR_FROM,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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: 1772647475735644615 X-GMAIL-MSGID: 1772647475735644615 Rename function ActivateBAEntry to activate_ba_entry in order to Fix checkpatch warning: Avoid CamelCase Signed-off-by: Tree Davies --- v3: Changed patch #5, Rename global function ResetBaEntry to rtllib_reset_ba_entry v2: Sent to mailing list via git send-email, patches are the same. drivers/staging/rtl8192e/rtl819x_BAProc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index acc19514bca6..965ffa8b78c2 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -10,7 +10,7 @@ #include "rtllib.h" #include "rtl819x_BA.h" -static void ActivateBAEntry(struct ba_record *pBA, u16 Time) +static void activate_ba_entry(struct ba_record *pBA, u16 Time) { pBA->b_valid = true; if (Time != 0) @@ -282,7 +282,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb) else pBA->ba_param_set.field.buffer_size = 32; - ActivateBAEntry(pBA, 0); + activate_ba_entry(pBA, 0); rtllib_send_ADDBARsp(ieee, dst, pBA, ADDBA_STATUS_SUCCESS); return 0; @@ -379,7 +379,7 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb) pAdmittedBA->ba_start_seq_ctrl = pPendingBA->ba_start_seq_ctrl; pAdmittedBA->ba_param_set = *pBaParamSet; DeActivateBAEntry(ieee, pAdmittedBA); - ActivateBAEntry(pAdmittedBA, *pBaTimeoutVal); + activate_ba_entry(pAdmittedBA, *pBaTimeoutVal); } else { pTS->bAddBaReqDelayed = true; pTS->bDisable_AddBa = true; @@ -479,7 +479,7 @@ void TsInitAddBA(struct rtllib_device *ieee, struct tx_ts_record *pTS, pBA->ba_timeout_value = 0; pBA->ba_start_seq_ctrl.field.seq_num = (pTS->TxCurSeq + 3) % 4096; - ActivateBAEntry(pBA, BA_SETUP_TIMEOUT); + activate_ba_entry(pBA, BA_SETUP_TIMEOUT); rtllib_send_ADDBAReq(ieee, pTS->TsCommonInfo.Addr, pBA); } From patchwork Fri Jul 28 05:47:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tree Davies X-Patchwork-Id: 127341 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp234914vqg; Thu, 27 Jul 2023 23:34:44 -0700 (PDT) X-Google-Smtp-Source: APBJJlFbQdtGhXryYrIMfRseWWeu+zaKSyaltHRy1BZBJGD7Y7cUwZv+UwrJjQ0GqAOoLXweNPKa X-Received: by 2002:a17:902:dad2:b0:1b8:9b1b:ae7a with SMTP id q18-20020a170902dad200b001b89b1bae7amr665891plx.34.1690526084280; Thu, 27 Jul 2023 23:34:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690526084; cv=none; d=google.com; s=arc-20160816; b=pD1OW4QjyyOFCNMzZxrAVAGQg16b7iDKauB+PV2gf8+cIWCRLYpBmTcUuL5GT3+yd+ lGuXBw6jTHAnXrQ+BRPq4QyWVpu54VHrhlQC9DgJjXfvrtP+7gCrGCwLfrmkYjIxsum9 57UyaPnV4Eep6KjdZZtZyI7nflQG2hZ08DpqD3jJnz9va6GhchZnhD4sm7gAur1SnlHf 3tlNd6X2oEgM3b4WseSY83P6R0ishOk0m0YeEetqrAJuHrqXC7u+KTP46Pos+zjniW4g nMu7xDlDf8s2Eu/mI4er2VLlzmKr/OFGGHF5Cc/MkZYxEdslzZNX0OrwjFt4Bu2VcWDy 0kaw== 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=DajOpGOfoCF1WMQauzstbM7HhRbE4RgkoMtPqNaqA3A=; fh=I5RbcQPTSTvrwt0yqig+bV2C3roPED/NlXe1P2BfE7E=; b=McpiOhAAYAA0N+A6ofcQfTyhF3Cf2pOamnIcwhyPfi5ayKSoR5x+Z1B4mPwhu5mOD7 KpZgaPiLkIgH4L0U3qG+tNl01uwArly22TfkHNL83HVQrUHfwb7Zgov8TrC7bOOOLQ+V K8D69lKUs9Z+RGG3rWQGQTXApCVuJNzUmLOHtSpAXmPnfmBTCjDxdC3n8It0nouSDZOh ejtkMQN9KwOh2ITyTDhu42RTpdnYT1mHp85BVkWc4s3uiqob4s3Cn6HjzYzIF0aEP5pM sM+fHROdkzKjFKbIwquW3y9E0XNm9RCRsagCy/tJTogYFT+M9tsLS31Ac6LsFDb0LauH Y8Yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b="f/bsOpeb"; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=hXfqNjm4; 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 k9-20020a170902c40900b001b81e6ce809si2768443plk.5.2023.07.27.23.34.31; Thu, 27 Jul 2023 23:34:44 -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="f/bsOpeb"; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=hXfqNjm4; 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 S229946AbjG1Fq5 (ORCPT + 99 others); Fri, 28 Jul 2023 01:46:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233437AbjG1Fqn (ORCPT ); Fri, 28 Jul 2023 01:46:43 -0400 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F8C735B8 for ; Thu, 27 Jul 2023 22:46:23 -0700 (PDT) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 77F451A8A14; Fri, 28 Jul 2023 01:46:22 -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=uWcpY9tEW15/LWTbqHMjYwFOD e7nP5AzxTp2FXkDfu0=; b=f/bsOpebdABaOyooSi5ZRcvdWbU7Ey9QK6YYz9c2E akOfOVCEI+DjHVPJtsGSHzwdnmQBw6lxCn4pIU/B/h6gZh7cBNsh+sHc9Unnf6/o lleaITj4pD86sf15PIGw+bR3h/9PyxMM7vhGFgf2eZr9pfpPYRdccupMds7+ZXTY Hk= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 6FE891A8A13; Fri, 28 Jul 2023 01:46:22 -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=eK7mYYCfud4wfsG0kxY8/fURuzguYFmTT6xrkDLazyw=; b=hXfqNjm4kNLqPDf0u++NuDz3+BTxRmUU4Sd2eCM/r3n3HY9YW/B1WNPvkbfULVOvM4Gt2DMjoHFMYz9NKiwFy+K8Tws6vt9MlrVfiwTVbw4EH0wdI1f66cZVVBXVuCB2OU0KrPBUvMQw1yxNpU0tJ0nj4QqdLLL5OHlzRnvTxe8= 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 445DB1A8A0D; Fri, 28 Jul 2023 01:46:20 -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 v3 2/5] Staging: rtl8192e: Rename function DeActivateBAEntry Date: Thu, 27 Jul 2023 22:47:39 -0700 Message-ID: <20230728054742.622297-3-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230728054742.622297-1-tdavies@darkphysics.net> References: <20230728054742.622297-1-tdavies@darkphysics.net> MIME-Version: 1.0 X-Pobox-Relay-ID: 14E37A7A-2D0A-11EE-95FF-C65BE52EC81B-45285927!pb-smtp1.pobox.com X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NO_DNS_FOR_FROM,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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: 1772645079292239787 X-GMAIL-MSGID: 1772645079292239787 Rename function DeActivateBAEntry to deactivate_ba_entry in order to Fix checkpatch warning: Avoid CamelCase Signed-off-by: Tree Davies --- v3: Changed patch #5, Rename global function ResetBaEntry to rtllib_reset_ba_entry v2: Sent to mailing list via git send-email, patches are the same. drivers/staging/rtl8192e/rtl819x_BAProc.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 965ffa8b78c2..50362bbbc8dd 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -17,7 +17,7 @@ static void activate_ba_entry(struct ba_record *pBA, u16 Time) mod_timer(&pBA->timer, jiffies + msecs_to_jiffies(Time)); } -static void DeActivateBAEntry(struct rtllib_device *ieee, struct ba_record *pBA) +static void deactivate_ba_entry(struct rtllib_device *ieee, struct ba_record *pBA) { pBA->b_valid = false; del_timer_sync(&pBA->timer); @@ -30,12 +30,12 @@ static u8 TxTsDeleteBA(struct rtllib_device *ieee, struct tx_ts_record *pTxTs) u8 bSendDELBA = false; if (pPendingBa->b_valid) { - DeActivateBAEntry(ieee, pPendingBa); + deactivate_ba_entry(ieee, pPendingBa); bSendDELBA = true; } if (pAdmittedBa->b_valid) { - DeActivateBAEntry(ieee, pAdmittedBa); + deactivate_ba_entry(ieee, pAdmittedBa); bSendDELBA = true; } return bSendDELBA; @@ -47,7 +47,7 @@ static u8 RxTsDeleteBA(struct rtllib_device *ieee, struct rx_ts_record *pRxTs) u8 bSendDELBA = false; if (pBa->b_valid) { - DeActivateBAEntry(ieee, pBa); + deactivate_ba_entry(ieee, pBa); bSendDELBA = true; } @@ -270,7 +270,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb) rtllib_FlushRxTsPendingPkts(ieee, pTS); - DeActivateBAEntry(ieee, pBA); + deactivate_ba_entry(ieee, pBA); pBA->dialog_token = *pDialogToken; pBA->ba_param_set = *pBaParamSet; pBA->ba_timeout_value = *pBaTimeoutVal; @@ -363,13 +363,13 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb) netdev_dbg(ieee->dev, "%s(): Recv ADDBA Rsp. BA is admitted! Status code:%X\n", __func__, *pStatusCode); - DeActivateBAEntry(ieee, pPendingBA); + deactivate_ba_entry(ieee, pPendingBA); } if (*pStatusCode == ADDBA_STATUS_SUCCESS) { if (pBaParamSet->field.ba_policy == BA_POLICY_DELAYED) { pTS->bAddBaReqDelayed = true; - DeActivateBAEntry(ieee, pAdmittedBA); + deactivate_ba_entry(ieee, pAdmittedBA); ReasonCode = DELBA_REASON_END_BA; goto OnADDBARsp_Reject; } @@ -378,7 +378,7 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb) pAdmittedBA->ba_timeout_value = *pBaTimeoutVal; pAdmittedBA->ba_start_seq_ctrl = pPendingBA->ba_start_seq_ctrl; pAdmittedBA->ba_param_set = *pBaParamSet; - DeActivateBAEntry(ieee, pAdmittedBA); + deactivate_ba_entry(ieee, pAdmittedBA); activate_ba_entry(pAdmittedBA, *pBaTimeoutVal); } else { pTS->bAddBaReqDelayed = true; @@ -469,7 +469,7 @@ void TsInitAddBA(struct rtllib_device *ieee, struct tx_ts_record *pTS, if (pBA->b_valid && !bOverwritePending) return; - DeActivateBAEntry(ieee, pBA); + deactivate_ba_entry(ieee, pBA); pBA->dialog_token++; pBA->ba_param_set.field.amsdu_support = 0; From patchwork Fri Jul 28 05:47:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tree Davies X-Patchwork-Id: 127343 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp235143vqg; Thu, 27 Jul 2023 23:35:20 -0700 (PDT) X-Google-Smtp-Source: APBJJlFBJFcLdKeyKe+jll/5Hax/wCU1Dt03HORZyrZtchZo5wcLx2miSUagbMXwZLMdFYQifpYI X-Received: by 2002:a17:903:11d0:b0:1b6:bced:1dd6 with SMTP id q16-20020a17090311d000b001b6bced1dd6mr827603plh.35.1690526120298; Thu, 27 Jul 2023 23:35:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690526120; cv=none; d=google.com; s=arc-20160816; b=DFmmaEvg7L9gbcZ74G4BFB/5RsTM9qY7iJqwf8aXZoOE5mv/PI/Wfh/f6ufaejHtoQ 4eT5PunYVnkL1forZp1pcSeJ1g2dYJOzZfJ9wRtkeYAAldUCGr7TgaXA2klVDvS9jYDH LUfLdRcmZqIKwtORp4AWHeGuCizVj7OhJFa6k6BmxO4JAoZ3NsOD0skKHoMcMdm4jJ/x qCP/V8QMk33NfYWrX5+SGlGlMKFXuAcpZsQVuDMDEiVbGe1QToO7LoDjtuBviF7ZCr26 3f1PGT/rhjss5yA+JQBFJkeo80zA6ntge2HrrXsO6iTmlxjYsTQlZugRP8OSPdUAVbAD sAjw== 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=xv7uRXnr1Q4cFOq6gFdG3W6b4AAynBh9zM2OTfJTS6I=; fh=I5RbcQPTSTvrwt0yqig+bV2C3roPED/NlXe1P2BfE7E=; b=Ykr+35hKWgtm9ubuxiWIoI9AfJ++AQEeiBZyW/OMfrFPwg7dN+zQqndCmetNM9oRMK peryWHjm0PLOm+99ZEOxNS0HGvDMEOQoPQPqeWAz8jFiA15IhVdQD8+z9tYzPPxlc+aU 11aqhMBo6/XlFcOIts6Dx5l5Xr6cucw3Uv783w+qBlnOfHapVDg02cz/eZd6zF8AoQD1 WlWKYT9LDhR1Qlf7AAgkC24f9ZVXfJgQoxJqHFv0gxiQZ1QNid/GhvPW0bL4imLWOeaO wjGiaxO666MWQ1rxRvc0WA5J8FW9bH0jEMVb2F2i4P3JrmT8icy+0DhH9sHaweC4pjG/ jvlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=MROTE7Qa; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=BvVvo8Uh; 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 n6-20020a170902e54600b001ae40e07fb0si2741541plf.216.2023.07.27.23.35.06; Thu, 27 Jul 2023 23:35:20 -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=MROTE7Qa; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=BvVvo8Uh; 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 S233521AbjG1FrJ (ORCPT + 99 others); Fri, 28 Jul 2023 01:47:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233422AbjG1Fqr (ORCPT ); Fri, 28 Jul 2023 01:46:47 -0400 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FE6735BC for ; Thu, 27 Jul 2023 22:46:25 -0700 (PDT) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id C59211A8A18; Fri, 28 Jul 2023 01:46:24 -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=vuC+4twD3q5HakwgwCCXlBp17 7Y5dq6cOm17Ks5zucA=; b=MROTE7Qao+/nAHEubaCmQz4BWVckdD35PWYTyrj1N nis6RJKMDgGite8An9s7DVD58qQ5umvapkh2sAbMfBZ+TMvGukZcHN+P5lqnG+Xs 1AqWqbyGfMzh4oVOWzl+d9sYlam9ceJs5zqW8/okAIKJJ9oOuJ70dPoVCLawjFhE bY= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id BEEAF1A8A17; Fri, 28 Jul 2023 01:46:24 -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=kUiQhzWGu8tDVz0ciDkAb8X23tdlX5LrBDYAXPzU9oQ=; b=BvVvo8Uh+lZLTgMyuLILadE3m+Rs+KXEQIbG+dPGRG7ULLuQvuV6ouM93kZbqvnyJkPJ/6Uc+/+SfsYzh7yXk2P6jmkyOoaksxboiirk2AQAkjGdwcoNA4rKtKRtsuGHVrYjsKuOkpEqtmQGHJgZtEB8/Uj64CzOs38EAon8kYQ= 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 62C931A8A12; Fri, 28 Jul 2023 01:46:22 -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 v3 3/5] Staging: rtl8192e: Rename function TxTsDeleteBA Date: Thu, 27 Jul 2023 22:47:40 -0700 Message-ID: <20230728054742.622297-4-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230728054742.622297-1-tdavies@darkphysics.net> References: <20230728054742.622297-1-tdavies@darkphysics.net> MIME-Version: 1.0 X-Pobox-Relay-ID: 162A1FD8-2D0A-11EE-9DC1-C65BE52EC81B-45285927!pb-smtp1.pobox.com X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NO_DNS_FOR_FROM,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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: 1772645116929212465 X-GMAIL-MSGID: 1772645116929212465 Rename function TxTsDeleteBA to tx_ts_delete_ba in order to Fix checkpatch warning: Avoid CamelCase Signed-off-by: Tree Davies --- v3: Changed patch #5, Rename global function ResetBaEntry to rtllib_reset_ba_entry v2: Sent to mailing list via git send-email, patches are the same. drivers/staging/rtl8192e/rtl819x_BAProc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 50362bbbc8dd..6538343ea44d 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -23,7 +23,7 @@ static void deactivate_ba_entry(struct rtllib_device *ieee, struct ba_record *pB del_timer_sync(&pBA->timer); } -static u8 TxTsDeleteBA(struct rtllib_device *ieee, struct tx_ts_record *pTxTs) +static u8 tx_ts_delete_ba(struct rtllib_device *ieee, struct tx_ts_record *pTxTs) { struct ba_record *pAdmittedBa = &pTxTs->TxAdmittedBARecord; struct ba_record *pPendingBa = &pTxTs->TxPendingBARecord; @@ -456,7 +456,7 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb) pTxTs->bAddBaReqInProgress = false; pTxTs->bAddBaReqDelayed = false; del_timer_sync(&pTxTs->TsAddBaTimer); - TxTsDeleteBA(ieee, pTxTs); + tx_ts_delete_ba(ieee, pTxTs); } return 0; } @@ -492,7 +492,7 @@ void TsInitDelBA(struct rtllib_device *ieee, struct tx_ts_record *pTxTs = (struct tx_ts_record *)pTsCommonInfo; - if (TxTsDeleteBA(ieee, pTxTs)) + if (tx_ts_delete_ba(ieee, pTxTs)) rtllib_send_DELBA(ieee, pTsCommonInfo->Addr, (pTxTs->TxAdmittedBARecord.b_valid) ? (&pTxTs->TxAdmittedBARecord) : @@ -524,7 +524,7 @@ void TxBaInactTimeout(struct timer_list *t) TxAdmittedBARecord.timer); struct rtllib_device *ieee = container_of(pTxTs, struct rtllib_device, TxTsRecord[pTxTs->num]); - TxTsDeleteBA(ieee, pTxTs); + tx_ts_delete_ba(ieee, pTxTs); rtllib_send_DELBA(ieee, pTxTs->TsCommonInfo.Addr, &pTxTs->TxAdmittedBARecord, TX_DIR, DELBA_REASON_TIMEOUT); From patchwork Fri Jul 28 05:47:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tree Davies X-Patchwork-Id: 127342 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp234973vqg; Thu, 27 Jul 2023 23:34:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlGEuBsQQSXD0vmguLMKRoBok4y4c/wjjjZXmMC2nuxnLK02u28MKC0cf+MQsc8FN4yAoBuq X-Received: by 2002:a17:90b:4d89:b0:268:1e77:c6f4 with SMTP id oj9-20020a17090b4d8900b002681e77c6f4mr552846pjb.40.1690526093060; Thu, 27 Jul 2023 23:34:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690526093; cv=none; d=google.com; s=arc-20160816; b=zf8fmb4+4YCUsFK1LnQEcIRAImw+Y83ejgZmkoYfKXpPrasvqXXGFcYBVKZblLyVlu LOw8bP3nVEG1cjmPKCfcaZK9DBSdFiQYPe+fbU4vTHISFGGsdE0OWNU6m7DEGOgLEtk3 BFmYBcseGikF7iJYkaijghVhtc6fQxYPzxwbCHfQvKuUDB3EePSmNoqdpzB0ji/nIif1 R8d2a0SJ3WuBi3Y6dlYTshujLRIzTHYsYPbh1nzpSeM1I4rLqZCdabzmJDKxczG1dRBd Gt3vZZsQrQDkkwzqnkvNRJq+sZolU8Co+u+/NMVFTqGS1p92I5fxMtFo0AISbEUim6hA s/Aw== 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=X+EWFAn88hjr0yyXie8uRUuluAGT0Pv9xljt1HAotOg=; fh=I5RbcQPTSTvrwt0yqig+bV2C3roPED/NlXe1P2BfE7E=; b=yX2BShaJqQgLXMZRzuBozZxiCI1Nk7ySoxiRCi14nb1WTDB4hKMJ+4WvaLW1Th1/Ft Q1uTnFM77lPcy9apFEqYu8ZXho3/qaXBBXpOZ0Q7NIMdczIUk4OMvCH6y6yR0nVvLWFf 19iDjkcfqozdkOXA9gB/ePJql/2SmcOAR0eR/Ab41oyRJwPfbMdgAw+/gAsYNLf04fqL tRkLajv/IdpGp4J6etvF9R/BEDH8m/syMtYzjJJlFypDL+BriYo1Vw6wGNGd1FeDejRn kS+R3lJ3iUT/npzrGL7/YWvaRC7835i15sRpnktPh8w2AAUEIKBEionqT3tFC3lDd9Ck Kkrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=fZGBPBux; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=F25RS3gb; 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 pi10-20020a17090b1e4a00b00263c48abf8asi4387452pjb.31.2023.07.27.23.34.40; Thu, 27 Jul 2023 23:34:53 -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=fZGBPBux; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=F25RS3gb; 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 S232574AbjG1FrL (ORCPT + 99 others); Fri, 28 Jul 2023 01:47:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233456AbjG1Fqs (ORCPT ); Fri, 28 Jul 2023 01:46:48 -0400 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCAA63A96 for ; Thu, 27 Jul 2023 22:46:27 -0700 (PDT) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 1A22E1A8A1B; Fri, 28 Jul 2023 01:46:27 -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=EcRi2wbRNFJnE2zKy6iOeN2R0 2xtFKxUKxuvoQUs84Q=; b=fZGBPBux0n3E95X2KDz4pJ57aFihbFOOsqt+8ziMB V5eLnjyoRKr7NHf1GOsqcl8C6IfnBpxv3yyRcz1iXmvtRxm2ZUhp0IAIBJnkuRAI XAc1P6a2CusAXcCKLlhIuTf/BCRyR7IAKA7bPoSeobjk25/ZnXRS8TQEML0ZEW4d WU= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 11C971A8A1A; Fri, 28 Jul 2023 01:46:27 -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=9T29Lvp0prLCwwsQJisEgoAvnGRNoCbCVIXQxoBStNc=; b=F25RS3gbPD6PKKlHXCVP6KHLVrl4se9hm0ZGrfaBrefYoacKO0crm9LkFvCJurIfPP6+jwMr+dhv64hyw5OtJjr9tiMdj/EKY3DsM+ksxoRhNtVTXsrP9aooNA9V5gYlTCj98fsGn/BpxshlBYi+/hEA6c2fWDXmZdpD2RAofLM= 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 B5D771A8A15; Fri, 28 Jul 2023 01:46:24 -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 v3 4/5] Staging: rtl8192e: Rename function RxTsDeleteBA Date: Thu, 27 Jul 2023 22:47:41 -0700 Message-ID: <20230728054742.622297-5-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230728054742.622297-1-tdavies@darkphysics.net> References: <20230728054742.622297-1-tdavies@darkphysics.net> MIME-Version: 1.0 X-Pobox-Relay-ID: 178F38B8-2D0A-11EE-91A5-C65BE52EC81B-45285927!pb-smtp1.pobox.com X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NO_DNS_FOR_FROM,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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: 1772645088695691013 X-GMAIL-MSGID: 1772645088695691013 Rename function RxTsDeleteBA to rx_ts_delete_ba in order to Fix checkpatch warning: Avoid CamelCase Signed-off-by: Tree Davies --- v3: Changed patch #5, Rename global function ResetBaEntry to rtllib_reset_ba_entry v2: Sent to mailing list via git send-email, patches are the same. drivers/staging/rtl8192e/rtl819x_BAProc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 6538343ea44d..9662d75257ce 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -41,7 +41,7 @@ static u8 tx_ts_delete_ba(struct rtllib_device *ieee, struct tx_ts_record *pTxTs return bSendDELBA; } -static u8 RxTsDeleteBA(struct rtllib_device *ieee, struct rx_ts_record *pRxTs) +static u8 rx_ts_delete_ba(struct rtllib_device *ieee, struct rx_ts_record *pRxTs) { struct ba_record *pBa = &pRxTs->rx_admitted_ba_record; u8 bSendDELBA = false; @@ -441,7 +441,7 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb) return -1; } - RxTsDeleteBA(ieee, pRxTs); + rx_ts_delete_ba(ieee, pRxTs); } else { struct tx_ts_record *pTxTs; @@ -501,7 +501,7 @@ void TsInitDelBA(struct rtllib_device *ieee, } else if (TxRxSelect == RX_DIR) { struct rx_ts_record *pRxTs = (struct rx_ts_record *)pTsCommonInfo; - if (RxTsDeleteBA(ieee, pRxTs)) + if (rx_ts_delete_ba(ieee, pRxTs)) rtllib_send_DELBA(ieee, pTsCommonInfo->Addr, &pRxTs->rx_admitted_ba_record, TxRxSelect, DELBA_REASON_END_BA); @@ -537,7 +537,7 @@ void RxBaInactTimeout(struct timer_list *t) struct rtllib_device *ieee = container_of(pRxTs, struct rtllib_device, RxTsRecord[pRxTs->num]); - RxTsDeleteBA(ieee, pRxTs); + rx_ts_delete_ba(ieee, pRxTs); rtllib_send_DELBA(ieee, pRxTs->ts_common_info.Addr, &pRxTs->rx_admitted_ba_record, RX_DIR, DELBA_REASON_TIMEOUT);