Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2830386rdb; Tue, 12 Sep 2023 13:31:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEFXvZTM9L7v7lsI5ddOqvogNa1iFpfcQMy3R++GSTRqd4JE1Ix04o99C6Pv8IbAbZA6EIz X-Received: by 2002:a05:6a21:a588:b0:149:2149:9491 with SMTP id gd8-20020a056a21a58800b0014921499491mr644289pzc.43.1694550692814; Tue, 12 Sep 2023 13:31:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694550692; cv=none; d=google.com; s=arc-20160816; b=f19KC16q4gi2mN+ZidEeQCyurazEYSmmO65Us8CDXTXYt8oiG1oehRIdB0cJ2oG7PJ dJXHTSEZANwlMuHXpYaQlM5WdkYIDzL2/QgQmoOAu/LoHhlQV5Z8FTngSPS9eoByIVGY mA8Jt0zyVBTjXNBYmG5bUwLg9Po9igQCEeekNp2hSXHyg0rQhjbnxYirAk4bHHCYD/12 Om17SQDIhPsTgzeQosPFdas8EXCu/4xrGqVBJXjTWwGbfwDmAERelgAuIDU/mzVZERjH HKY3VXcgn96k8znRIZYMeRfx2XDUueUGpNTWxQU0EZ/wvmnEkdh9ex5FV4BO6wcyVkX2 olow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date:dkim-signature; bh=ruTPSjX5I+z1vbTXALsdSF4OmeUSujoWTMjNVvMqPrw=; fh=Sw1rtAM+hKyOoOQVYiiLzcdjc4spg79Z/tN6UmWUAKs=; b=ktJ+UuOZIIH4qNNU/rdIYTO4fw1grqO0N1g7ZLUVVz6wit6NP7UYT0469c/uTz2/Rn gzbNfDG2aj6jtIawrrhRa8dL1Rb2HdLSNUBB+4HXvk1WazPho4mW36ZKSdBa9p8uTk3d bQe/01c2b9YzdJVV/JGgvrYTHtQsTWsQPSOPPdhpW8LXzqkhifbHMaK2rDwafld4nZd0 uQLkThWoNYRi1PmL5R88W6rEsOpqF2vU0H8VJQSIqTW9j0+vQobMKU3HovJZ8LbySOku Ccd7aHNeeaUCFystWBF0Y9MquXiwQ0ctRjG58UVivjRinK5kSaRzyheUyZjv368nZ/l1 635w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=sM2NRhqP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id ay6-20020a1709028b8600b001c20db25108si8491430plb.41.2023.09.12.13.31.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 13:31:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=sM2NRhqP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id B96F88051ABD; Tue, 12 Sep 2023 12:28:07 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232806AbjILT2G (ORCPT + 99 others); Tue, 12 Sep 2023 15:28:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229490AbjILT2F (ORCPT ); Tue, 12 Sep 2023 15:28:05 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79EE718D for ; Tue, 12 Sep 2023 12:28:01 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-401d61e9fecso18433425e9.0 for ; Tue, 12 Sep 2023 12:28:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694546880; x=1695151680; darn=vger.kernel.org; h=content-disposition:mime-version:message-id:subject:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=ruTPSjX5I+z1vbTXALsdSF4OmeUSujoWTMjNVvMqPrw=; b=sM2NRhqPkQIm/j8cBeg46zrvDCzLFSHRuZ/6SMerNrTYvgFvr6j+Zs48uPvTnTfAbA 3TX/op10CtQJ4iHAxmgeh4gzdEerheyrYaXob39sHscpmaLurp0EYHPjRrhTn/aQpDTW FczpE1H767V7/PNc5IiRAMajOZSJ0TBh+bFhJl3RgzRAkd45OF3M3QSK2DUOWPYtaMUR WhhqMO2ie8dOL6NlInvbTCrRSs4nZuWdefjSudEY/3qYzZSGk7YKxCbgt24ucIwt70vP d/ASMl1S6dJwu5CIJGeGgM75oMwgIDZWxwoZjpehYVJ0f5pYDqno4RBB55hpnH0J6KlD qERw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694546880; x=1695151680; h=content-disposition:mime-version:message-id:subject:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ruTPSjX5I+z1vbTXALsdSF4OmeUSujoWTMjNVvMqPrw=; b=Dmk5O/Nax8uK3xmrz4FbQCBory50oEFTF5Re35KFQRwmJd52jMDzqjpiPuiwkhywNG yeuYBPO7o1ES4EYDaDu7RDvwEbk5ubFDv/Ng9jF69M+IvJhPvxxzV7eKpzh9l7TGdJHS OxlR4d2zsgcU2HaIDKR9J0wOovvTH2GlRLXHWR1x4mkan96xglqU+XZg0lAWmIWJOfzA tJVRdPHbpUuEXrsyT5ESaCJ9jFSClqm63KwLJk6Noa5tx5p+b5kp6aGHukBB8r3T61xf nPBe8HrLWhyAS+GyIkoWnPtclucM9rnXNRNvke+K/RIb43WlNbYUu5jc4QpGjh9Xec2Y pZWg== X-Gm-Message-State: AOJu0YxJ0MiyVMdK6oRsksadpBmOMAh8Bs75+6twdNJAA+FmclpbZZBN MKO6dnpeqEbIndPEUTPKoLUlQd+4/FEZaw== X-Received: by 2002:a05:600c:3c8f:b0:401:faf5:85c3 with SMTP id bg15-20020a05600c3c8f00b00401faf585c3mr354591wmb.0.1694546879670; Tue, 12 Sep 2023 12:27:59 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p579356c7.dip0.t-ipconnect.de. [87.147.86.199]) by smtp.gmail.com with ESMTPSA id m24-20020a7bce18000000b003feee8d8011sm16859103wmc.41.2023.09.12.12.27.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 12:27:59 -0700 (PDT) Date: Tue, 12 Sep 2023 21:27:57 +0200 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/8] staging: rtl8192e: Use standard functions like ieee80211_is_beacon() Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 12 Sep 2023 12:28:07 -0700 (PDT) X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Remove useless equation in debug output. Use standard functions like ieee80211_is_beacon(). Optimize code for improved readability. Tested with rtl8192e (WLL6130-D99) in Mode n (12.5 MB/s) Transferred this patch over wlan connection of rtl8192e. --- v1->v2: Only patch 4/8 was changed Take wrongly removed definition of fc back in. Philipp Hortmann (8): staging: rtl8192e: Remove useless equation in debug output staging: rtl8192e: Use standard ieee80211 function in rtllib_rx_mgt() staging: rtl8192e: Use standard function in rtllib_process_probe_response() staging: rtl8192e: Use standard function in rtllib_rx_check_duplicate() staging: rtl8192e: Use standard function in softmac_mgmt_xmit() staging: rtl8192e: Replace rtl92e_disable_irq with rtl92e_irq_disable staging: rtl8192e: Replace rtl92e_enable_irq with rtl92e_irq_enable staging: rtl8192e: Remove rtllib_get_payload() .../staging/rtl8192e/rtl8192e/r8192E_dev.c | 6 +-- .../staging/rtl8192e/rtl8192e/r8192E_dev.h | 2 - drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 18 ------- drivers/staging/rtl8192e/rtllib.h | 24 --------- drivers/staging/rtl8192e/rtllib_rx.c | 53 ++++++------------- drivers/staging/rtl8192e/rtllib_softmac.c | 11 +--- 6 files changed, 22 insertions(+), 92 deletions(-) -- 2.42.0