From patchwork Sat Oct 15 15:24:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 161 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp684160wrs; Sat, 15 Oct 2022 08:27:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM44E0DAy8tRRs7PLJXLvBKzmf1eFbu/QsXPvqV2tPCTA9Oc90Y8L/VidHGNnBOcx/k1FRTG X-Received: by 2002:a17:902:ce84:b0:185:47af:a0f2 with SMTP id f4-20020a170902ce8400b0018547afa0f2mr3416423plg.123.1665847625884; Sat, 15 Oct 2022 08:27:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665847625; cv=none; d=google.com; s=arc-20160816; b=QwZAk95htSDM/RObCsxACwBzSZ4xRXrgQqFJUVG0bU9bzA0LHtRHf9jfNMCPJOivBf np1h4To5AW2Rm5aYc3+7PuMOdXkSGyaK//cGLUgZlguCiNRjYsoGI4opzB3Gwo+r+O61 ZUz6gN+Has7Jh8vWi7sZVUNR0J+LyZ1a2er3wwq2AL1SzGPlk/XM+/5pvWSIsDupcB74 7uoiwMsh1+TdkL7PjzY8LI57LO5kwBTsX9XVL2omllTd0J8Kwecd0qva9RhpvZtuK1E+ Fv4+tW1qBIRokxZOXtPjm1puZbxA0SAZs6tLEWjxogt8swj/QXgUyV45o/drhn7eKjR7 yiFg== 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=LGEkJCucsTCa9J483oRCdVshGziecR3fSsepzHfICGI=; b=rUT9j5rN8MBmtpm1BeizJh+GjMMYakvfLoG3G9J/3b322AAoI8t/9CJWTZdrGuTBAo nEkOGkvd2ZqkQY3AT8PfZuuhWDOUS+pkJaB76VKM80LV65u3Sw2Q1tafTGFKVtW4H7oj vzm7HX0XxZrYS4GGWUBJutSKHQTIdoNoBo3WQTpkUp0X9clcQJm//wYyCIc0Y+Y60yGs 8logL9AKESjJP316f+J9Y2rp4rxVQrQBmyIlI6bwcRkI95W2fuBWTr9SdVzzzD/iVsbS qpa+WerQHpp9Sd+DhXx8BhRnBCD9MvsognTitEShbjRgbNsQm8oJY5zVmpcvKrpXCJvi JMLQ== 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 b13-20020a056a000ccd00b00536fa6bbb11si6506469pfv.344.2022.10.15.08.26.53; Sat, 15 Oct 2022 08:27:05 -0700 (PDT) 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 S229547AbiJOPY4 (ORCPT + 99 others); Sat, 15 Oct 2022 11:24:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229573AbiJOPYy (ORCPT ); Sat, 15 Oct 2022 11:24:54 -0400 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 72D946382 for ; Sat, 15 Oct 2022 08:24:52 -0700 (PDT) Received: from ipservice-092-217-066-135.092.217.pools.vodafone-ip.de ([92.217.66.135] 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 1ojj1q-000722-9k; Sat, 15 Oct 2022 17:24:46 +0200 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 0/9] staging: r8188eu: clean up the OnDeAuth function Date: Sat, 15 Oct 2022 17:24:31 +0200 Message-Id: <20221015152440.232281-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?1746767840230078768?= X-GMAIL-MSGID: =?utf-8?q?1746767840230078768?= This series cleans up the OnDeAuth function and tries to replace driver-specific parsing code with helpers from ieee80211.h. Martin Kaiser (9): staging: r8188eu: replace one GetAddr3Ptr call staging: r8188eu: get reason code from mgmt struct staging: r8188eu: clarify the bBusyTraffic assignment staging: r8188eu: use sa instead of Addr2 staging: r8188eu: get bssid from mgmt struct staging: r8188eu: exit for deauth from unknown station staging: r8188eu: remove unnecessary return staging: r8188eu: summarize two flags checks staging: r8188eu: ignore_received_deauth is a boolean drivers/staging/r8188eu/core/rtw_mlme_ext.c | 45 ++++++++++----------- 1 file changed, 21 insertions(+), 24 deletions(-) Acked-by: Pavel Skripkin Tested-by: Philipp Hortmann # Edimax N150