Message ID | 20221126160129.178697-1-martin@kaiser.cx |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp4707482wrr; Sat, 26 Nov 2022 08:03:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf6zJ06nq4jvxvdY5j/wh8Cg2nvngGMdeK1mTZyigZ3ertzkELat5bXEWPQil9j5FAeEaBy2 X-Received: by 2002:a05:6a00:99b:b0:56d:3de3:c401 with SMTP id u27-20020a056a00099b00b0056d3de3c401mr24056133pfg.6.1669478614426; Sat, 26 Nov 2022 08:03:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669478614; cv=none; d=google.com; s=arc-20160816; b=o/RvK6rwGqtQWXOpGsksdMGr5pzzE3sqfWI7nRZGmIvEWEFlwB7kGGKwFFmrKznNrP PhwSRfokG9mxxBsya0xdl0opEa4Q7AjNghxge8GM8cPHsFYzEVm1ikwq7SrxvMRxHLi5 0MNNgL1CVa93GuUQm0Yc1AIIMZwcjwcF2UaMZZjAzXfwpHI/JRiRJqofQO6NcpUgjI39 B90t17bGagdpUCwvho3T6Y3qo8xrtcyQrDCTPuLsijmdtRdt05XfhD1wiGtNY63At4C4 cQYnrUStWIiy670zj/vqDybovRNnJmt7QzQ1x2Ep9GGtXfBhAiLSVrCyDaqz0pZoNcuc KRkw== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mu18-20020a17090b389200b002190932890asi6130617pjb.57.2022.11.26.08.03.21; Sat, 26 Nov 2022 08:03:34 -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 <rfc822;zxc52fgh@gmail.com> + 99 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <linux-kernel@vger.kernel.org>; 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 <martin@kaiser.cx>) id 1oyxcT-0000Ub-JF; Sat, 26 Nov 2022 17:01:33 +0100 From: Martin Kaiser <martin@kaiser.cx> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Larry Finger <Larry.Finger@lwfinger.net>, Phillip Potter <phil@philpotter.co.uk>, Michael Straube <straube.linux@gmail.com>, Pavel Skripkin <paskripkin@gmail.com>, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Martin Kaiser <martin@kaiser.cx> 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750575207388624927?= X-GMAIL-MSGID: =?utf-8?q?1750575207388624927?= |
Series |
staging: r8188eu: clean up OnBeacon
|
|
Message
Martin Kaiser
Nov. 26, 2022, 4:01 p.m. UTC
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(-)
Comments
On 11/26/22 17:01, Martin Kaiser wrote: > 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(-) > Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150