From patchwork Fri Dec 30 18:06:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 3423 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3008310wrt; Fri, 30 Dec 2022 10:08:04 -0800 (PST) X-Google-Smtp-Source: AMrXdXvE4Jq0QPzIJLWsADroV0nR5m9uSfm7J5MbBGN8USxzoARBoRkNUrzXmdg/XVXGw+kHeI48 X-Received: by 2002:a17:90b:1241:b0:225:e8b3:c769 with SMTP id gx1-20020a17090b124100b00225e8b3c769mr20305674pjb.11.1672423684071; Fri, 30 Dec 2022 10:08:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672423684; cv=none; d=google.com; s=arc-20160816; b=Dw2w1shreGgv2wrgbIg0kTQB4JIpBdvQdO7JOCKjfj4vqo0pjigc6pBZLkc5l4lpqC on3R7IYbqsHueIn4Farfq9EUYJWPXxoDPt78weZUhXAhDy/UYzvGEjoBS5LgJFF9TZgp aZ+2GPnz2ueM5gKapbS9Ip9hdek+s6HMiBv5tPvRoXFFLO4ulmUzYZ80IqxZT6zLy48V wk0l7WOnjl7AKs9crT3+7OSkXWV8RzQIZXRpfQd5Vkj8ra7YJoZXmAb7XKh8Pmyj5mPa Xt7QRxBhG0MHXLoX5UmRR7PxLBmLOLIF4nUSA205D1y/jPLbkR+i9ToiALMjODqYu6rN pyHg== 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 :message-id:date:subject:cc:to:from; bh=MOIchbl4caKZJEeZ+1Mg0G0qasiXFacTzSgRHnLnNpM=; b=nhpC27sgGCL61O3RN0Z3ZNUoE82ztkkYT0Jq7xOLSlYa1hdL6q4rD9fHiJZ0bFnpFD dwEgMI+Z98G6PcGH3o8xJkC3qavm2fFSxErzfMnPaRqmU9EVozalG5E9UFX4pvj4ykDL AI7898rmGWarMMklO6tnhQ1zCESo67guVPIxrTRxpmI04wqWQb+VoyN5WSEUXLCN4c7M p5uUTtQw40kX/hGvwwiJQzvPMTbjf3W1RonCADEz7RnXN+8HveKqZg/hS7W6/UX2MGCA d1IZq4Na9p4jg1cp2lQDcvaee0A3YHYU3ttmNHi7ExIv9CGOvtlSVlA/WyFL9FC2ns0j fB+w== ARC-Authentication-Results: i=1; mx.google.com; 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 nl9-20020a17090b384900b002182cd7d958si28039965pjb.46.2022.12.30.10.07.52; Fri, 30 Dec 2022 10:08:04 -0800 (PST) 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; 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 S235413AbiL3SHO (ORCPT + 99 others); Fri, 30 Dec 2022 13:07:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235172AbiL3SHM (ORCPT ); Fri, 30 Dec 2022 13:07:12 -0500 Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2158760E2 for ; Fri, 30 Dec 2022 10:07:11 -0800 (PST) Received: from dslb-188-097-208-179.188.097.pools.vodafone-ip.de ([188.97.208.179] helo=martin-debian-2.paytec.ch) by viti.kaiser.cx with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1pBJma-0004rR-KX; Fri, 30 Dec 2022 19:07:04 +0100 From: Martin Kaiser To: Greg Kroah-Hartman Cc: Larry Finger , Phillip Potter , Michael Straube , Pavel Skripkin , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH 00/20] staging: r8188eu: some xmit cleanups Date: Fri, 30 Dec 2022 19:06:26 +0100 Message-Id: <20221230180646.91008-1-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753663336538211361?= X-GMAIL-MSGID: =?utf-8?q?1753663336538211361?= Start cleaning up the code that transmits data frames to the dongle via USB. This should be applied on top of the "merge public action functions" series. Martin Kaiser (20): staging: r8188eu: make xmitframe_swencrypt a void function staging: r8188eu: remove some unused CAM defines staging: r8188eu: cmd_seq is write-only staging: r8188eu: return immediately if we're not meant to encrypt staging: r8188eu: remove unused parameter staging: r8188eu: simplify rtl8188eu_xmit_tasklet staging: r8188eu: remove rtl8188eu_init_xmit_priv staging: r8188eu: remove duplicate psta check staging: r8188eu: simplify frame type check staging: r8188eu: simplify rtw_make_wlanhdr's error handling staging: r8188eu: clean up qos_option setting staging: r8188eu: remove unused bpending array staging: r8188eu: remove unused dma_transfer_addr staging: r8188eu: bm_pending is not used staging: r8188eu: terminate_xmitthread_sema is not used staging: r8188eu: tx_retevt semaphore is not used staging: r8188eu: remove unnecessary rtw_free_xmitframe call staging: r8188eu: phwxmit parameter is unused staging: r8188eu: rtw_init_hwxmits is not needed staging: r8188eu: we use a constant number of hw_xmit entries drivers/staging/r8188eu/core/rtw_cmd.c | 4 - drivers/staging/r8188eu/core/rtw_xmit.c | 239 ++++++++---------- drivers/staging/r8188eu/hal/rtl8188eu_xmit.c | 27 +- drivers/staging/r8188eu/hal/usb_ops_linux.c | 14 +- .../staging/r8188eu/include/rtl8188e_spec.h | 21 -- .../staging/r8188eu/include/rtl8188e_xmit.h | 4 +- drivers/staging/r8188eu/include/rtw_cmd.h | 1 - drivers/staging/r8188eu/include/rtw_xmit.h | 9 +- 8 files changed, 116 insertions(+), 203 deletions(-) Tested-by: Philipp Hortmann # Edimax N150