Received: by 2002:a05:7412:361b:b0:f9:2edb:3e4d with SMTP id ie27csp84621rdb; Sun, 17 Dec 2023 15:56:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQY3FHxI4dfR5/BIaETXpKb6vtBufYUacj/5Vktdp7YZrWOcAPppRhoQvi4CHV5nkwcAbx X-Received: by 2002:a17:906:5349:b0:a23:5b48:f1fa with SMTP id j9-20020a170906534900b00a235b48f1famr128485ejo.39.1702857366148; Sun, 17 Dec 2023 15:56:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702857366; cv=none; d=google.com; s=arc-20160816; b=pGhgzrh7jdemH+OTgZ61K34pSvGs0Omn+2pERlc+skANpxo8gxkKS3DpzN0gofMHPy uAPLtJkGUHONZwT+WtmT9RVLrHTTsMs+cDpjpPBlOXH7jc2SgwHYrY8LiHr3sM8oXzLG T8ks0vXzUWrlDoH89qDFyLdFM9VleWkTwJAqBK2tOoT9kMFfZ5KQAlzJ6qgLljXhfB7E 3AfWHQaLLqZ0x4sXmQoA6odc0qcmjSkzFuFeV2bydWt1t533pWzUjWByJx1vXFnFwXFP CRRmT3un8ql4UQgYo0vMbUY1vpTVCE4Z38beykbJIclSebkiMUKMKvBEg4EocjyY/eG8 G2Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=QcmVbJydKEcWtYX1J4gYneDAG9W0JB3UC1M7ZuIvgfA=; fh=p32Pg0zBdFjDUOpUp1txX3SLnGswM8C/CMMa7TUpsLA=; b=c/yYFA+ghysAyvfPkw1XNrN1eAK6iGRHDk3So1i+L/M1AEka/3UBG9tYH1UW4sckc2 b4S+amMQpqAS47rMDaD9PbPs21eclw/psi+cCvcb63pb7wbx84ZtO/4U+L3CCPNygVU7 b8LsYI5onaPGxCFc37gEi4tG0hluwqS/IegEWDPrAKZheAxQ6e9Vhz04OvcaBlF2bUCH OjBSN8qFdF3uVd5CJEaLDw5mxWN3HYNis9e3KsxnLN2jg8hDauUsrKkx5vPqO7VWLwPf Hn79iToRuzMkyHoGcqlaZvrN6R6Pxr2h5FhbqReGb1YgXfFER92KKvBXNr5z8pWsodjC iFnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b="NxK/XjPv"; spf=pass (google.com: domain of linux-kernel+bounces-2881-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2881-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id n1-20020a170906378100b00a2308ea14b2si3929827ejc.144.2023.12.17.15.56.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 15:56:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2881-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b="NxK/XjPv"; spf=pass (google.com: domain of linux-kernel+bounces-2881-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2881-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E2D7C1F21397 for ; Sun, 17 Dec 2023 23:56:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C1E3A4C61F; Sun, 17 Dec 2023 23:55:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="NxK/XjPv" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DF6624B13E for ; Sun, 17 Dec 2023 23:55:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=darkphysics.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=darkphysics.net Received: by mail-pj1-f51.google.com with SMTP id 98e67ed59e1d1-28b400f08a4so1575795a91.1 for ; Sun, 17 Dec 2023 15:55:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1702857326; x=1703462126; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QcmVbJydKEcWtYX1J4gYneDAG9W0JB3UC1M7ZuIvgfA=; b=NxK/XjPvWKohdqojctlmYy7e0VsuGNvlpy6DKPlTLmKA8VJAoArRbMJQcnqxUon/BP CJN9ikgha0lQAURv9ZF5Vi7r0bPPxwK4JwovUPOGrly/AiGCBqodp7WHoEcAhNfJj7LL Q0d2/jhEx4bsaJR4HBuefvzHVPLA3I8QE1Cur/Tii+LqKYVTheEa60ZUhu9xMwSA21Ct WqCNXetc6+E5objqLiFjZgKtIQtVZ2QugG/h2XL+2eS4eQ51m4tCgWs3sfGftaUWasA2 YiMEt44MKHZZBOV/0yfmFJGN7PaY3uiRrMcnYeuEGFdkUE1Ao9LivHEzJKFttwA5RoSx 8uJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702857326; x=1703462126; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QcmVbJydKEcWtYX1J4gYneDAG9W0JB3UC1M7ZuIvgfA=; b=JDErcqynVjYWLsUuShyM/6hX0FgAoiyM61QjUrEvqlVbRH84LPj8+3T6U24pNAAhrV hb909lRlqlZTtP/o//vbhT3Zxv9MgK+uek9z/0rC7pOaqgcXUfihcXAFnqp5JaPMXUMj mLSSHBIerNb6ONuf85J7B+Ovx7HatGql7JvwUI8hEGkqzAYs39mb8DFkFtats+vkerFw +5BW8GvzyxuJCNVVm7qi8bbnBtrLZ+C0rjK2qNlnsE/h5yXMRIjvCHTjIHcxu0oO6gkg Cqnz1pA3XLbNNm8p0bnLTIkV3/ksxUSfvdcX3T1QjyMV3WOgPyE1RSdvLKH0UHz3aVSW RTGw== X-Gm-Message-State: AOJu0YyDoQkMUEPgcxniguysorO2ZgYMLjVhby3naKIRnpHektsfx0iv 88plFxqKt3IAG/Yg0hGEbVHlUg== X-Received: by 2002:a17:903:2b10:b0:1d3:4d31:6e3a with SMTP id mc16-20020a1709032b1000b001d34d316e3amr11271032plb.47.1702857326256; Sun, 17 Dec 2023 15:55:26 -0800 (PST) Received: from oatmeal.darkphysics (c-76-146-178-2.hsd1.wa.comcast.net. [76.146.178.2]) by smtp.gmail.com with ESMTPSA id f11-20020a17090aec8b00b0028ae8284840sm9036176pjy.10.2023.12.17.15.55.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 15:55:25 -0800 (PST) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, anjan@momi.ca Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH 3/6] Staging: rtl8192e: Rename variable ucTSID Date: Sun, 17 Dec 2023 15:55:17 -0800 Message-Id: <20231217235520.30377-4-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231217235520.30377-1-tdavies@darkphysics.net> References: <20231217235520.30377-1-tdavies@darkphysics.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Rename variable ucTSID to ts_id to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 2 +- drivers/staging/rtl8192e/rtl819x_Qos.h | 2 +- drivers/staging/rtl8192e/rtl819x_TSProc.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index cdbda65b4d50..fd0149d3f717 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -474,7 +474,7 @@ void rtllib_ts_init_add_ba(struct rtllib_device *ieee, struct tx_ts_record *ts, ba->dialog_token++; ba->ba_param_set.field.amsdu_support = 0; ba->ba_param_set.field.ba_policy = policy; - ba->ba_param_set.field.tid = ts->ts_common_info.tspec.ucTSID; + ba->ba_param_set.field.tid = ts->ts_common_info.tspec.ts_id; ba->ba_param_set.field.buffer_size = 32; ba->ba_timeout_value = 0; ba->ba_start_seq_ctrl.field.seq_num = (ts->tx_cur_seq + 3) % 4096; diff --git a/drivers/staging/rtl8192e/rtl819x_Qos.h b/drivers/staging/rtl8192e/rtl819x_Qos.h index 1c00092ea3a5..50e01ca49a4c 100644 --- a/drivers/staging/rtl8192e/rtl819x_Qos.h +++ b/drivers/staging/rtl8192e/rtl819x_Qos.h @@ -8,7 +8,7 @@ #define __INC_QOS_TYPE_H struct qos_tsinfo { - u8 ucTSID:4; + u8 ts_id:4; u8 ucDirection:2; }; diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c index 489261831462..ad4d9e4c9b63 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -198,7 +198,7 @@ static struct ts_common_info *SearchAdmitTRStream(struct rtllib_device *ieee, continue; list_for_each_entry(pRet, psearch_list, List) { if (memcmp(pRet->addr, addr, 6) == 0 && - pRet->tspec.ucTSID == TID && + pRet->tspec.ts_id == TID && pRet->tspec.ucDirection == dir) break; } @@ -305,7 +305,7 @@ bool rtllib_get_ts(struct rtllib_device *ieee, struct ts_common_info **ppTS, netdev_dbg(ieee->dev, "to init current TS, UP:%d, Dir:%d, addr: %pM ppTs=%p\n", UP, Dir, addr, *ppTS); - ts_info->ucTSID = UP; + ts_info->ts_id = UP; ts_info->ucDirection = Dir; MakeTSEntry(*ppTS, addr, &tspec); -- 2.39.2