Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp12397111rwb; Sat, 26 Nov 2022 08:24:28 -0800 (PST) X-Google-Smtp-Source: AA0mqf7hf1yGK/KZGmUkM6Fp1jnQkkMzzamK0rI8A+PxSnnP0IR/5b7XdyghpbkPzwhmEyvIawEz X-Received: by 2002:a17:906:12c2:b0:7bd:1606:2da1 with SMTP id l2-20020a17090612c200b007bd16062da1mr6179188ejb.33.1669479868150; Sat, 26 Nov 2022 08:24:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669479868; cv=none; d=google.com; s=arc-20160816; b=ply0V990YyxO+IgmjQxLPGX5LWEZvmWTGypd/z2ndPNsfQz76Y/PG8wybiceCXxSsm PScWkatnjEy9AKmsfzqmz9CCX0YaBLprjKq3RZKt4HiCeB1imVeH/BqH0pnKgkFXoQaj QHcpcAvo6dI0iAd2hYNG4ccSvFMZ6nsIQE5K24ztA/Yo9nA7SQHMjQ1mz3rk/JXsi4Tq BMPovoXoHLKPr1AMLKdkmwjaSndIXFMHUOc3k8W7f3ayi1y+Ru9n9P3zq0Bp/gnNeAKV /K6ttQGhoUiuggg+ULbi2/AAVmPS1q4PGlyoAkeIQtLX6hO1Z74vkrRt+NfIT9Kujrr6 Jt/w== 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=E/szdq2184cosPzfnKOYCa5prbpybwvTSlwNrxhrLI0=; b=y8stuovytATuzUhu856sQ62eUBftkH3Ck3cta9aIDOlRqIGwyD4+eBw1hRTkY6PzTb EY7TJwZFVWK3BcfStmDM7srU40DyiW1TiQJMNrRxWg/VwvkOyi89KOUO1uR7LaS+UsBo cSgv0nD5suS+/EXy1z9Tf+XavnnDMQnmGDHLFRFO9xYGSlY2QLM2WPX+oRi4VCJ2FkCy O/dzXkytaLng+yVTVBApq7IbFDMiAq1El8VRL72V/QnwNkQ0Wl8nHLcbbUFSf63Qv3Kp zqG8lMxU86xynt5PTjEd14080xFqC8r7rrA9AOEMNzOXRtjg2eSjLpwgsNLFx5waRSFB Un7w== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oz20-20020a1709077d9400b0078de44dd61fsi6234298ejc.990.2022.11.26.08.24.07; Sat, 26 Nov 2022 08:24:28 -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 S229634AbiKZQBp (ORCPT + 84 others); Sat, 26 Nov 2022 11:01:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbiKZQBl (ORCPT ); Sat, 26 Nov 2022 11:01:41 -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 2F63E193E0 for ; Sat, 26 Nov 2022 08:01:40 -0800 (PST) Received: from dslb-188-096-151-149.188.096.pools.vodafone-ip.de ([188.96.151.149] 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 1oyxcT-0000Ub-JF; Sat, 26 Nov 2022 17:01:33 +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/10] staging: r8188eu: clean up OnBeacon Date: Sat, 26 Nov 2022 17:01:19 +0100 Message-Id: <20221126160129.178697-1-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 This series cleans up the OnBeacon function. It tries to replace driver-sepcific message parsing with ieee80211 helper functions. Please apply this after the "another round of cleanups" series. Martin Kaiser (10): staging: r8188eu: replace one GetAddr3Ptr call staging: r8188eu: read timestamp from ieee80211_mgmt staging: r8188eu: replace GetAddr2Ptr calls staging: r8188eu: pass only ies to process_p2p_ps_ie staging: r8188eu: use ie buffer in update_beacon_info staging: r8188eu: simplify update_sta_support_rate params staging: r8188eu: exit if beacon is not from our bss staging: r8188eu: stop beacon processing if kmalloc fails staging: r8188eu: simplify error handling for missing station staging: r8188eu: remove a variable drivers/staging/r8188eu/core/rtw_mlme_ext.c | 130 ++++++++---------- drivers/staging/r8188eu/core/rtw_p2p.c | 11 +- drivers/staging/r8188eu/core/rtw_wlan_util.c | 9 +- .../staging/r8188eu/include/rtw_mlme_ext.h | 3 +- 4 files changed, 66 insertions(+), 87 deletions(-) -- 2.30.2