From patchwork Tue Aug 15 07:09:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Lin X-Patchwork-Id: 13353625 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 00E70C04A94 for ; Tue, 15 Aug 2023 07:12:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235354AbjHOHKA (ORCPT ); Tue, 15 Aug 2023 03:10:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235225AbjHOHJj (ORCPT ); Tue, 15 Aug 2023 03:09:39 -0400 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2070.outbound.protection.outlook.com [40.107.249.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBE99CE; Tue, 15 Aug 2023 00:09:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MzwRMx90KTtR29FMQR+yW/sRo6E1spahohq0fKAAmpsOldvnCbqHJdoFf9jpONEfQUdJoL+HTP7IaQMFtIS9EbNftE9/T9Omg4vneLGjEcyfcAypZBXj0NqXzCRhxaUcpsZX1/jrprsf/2aMvFPsLY4oDry4Xc8NA7rCvQiX82QU9yTebaUm33e3HthVtmFV7AxgB8qfURBFPIUj1/5zWR54YYjWAk6uh5zK5q8PsFxQn0YZDJrF5b+mtsE+Z1C7hl1IiSN2jtWdCzyXIpJQDMMkn6ZwRTAJfEk2Tiv76SD8prvq1l9Oadzkellqz+oGhiRDAd3Ae1qJgMTC4MHxDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=3wcQrTD4VIYPZjKgvlhDjtJe/4HrMh8YUeyf2V9suCc=; b=EZOBUuK9u2y/Jrhozrgxt8aWoWVQXreNvPywitXN5N93AP1r9npLGN/oWWTF7V4aikmmSXXW3qzv1mM8SsPOM/1aDafCauIZw9a5zgyRmQ5ya+FFEWK1qg1I+pYEXvfBz5N2El3i2ZKvJ6v1807aj4QyTqxRStqFbGHtKp4hfWGrE6BvvvCxQLtdAUzO6W5m1hEteR1W5pRqntbL/CJQlJ1cDushkrwjvPVh1pOeYjNkNyDSIiDjYF2MVl2xvs2kHAJPVTO7Fam1LXGmCk7sjnKBcGbzkqvn4YQVL9rlzD3YfHbMuDzXyR4/ra5pixio5O6VmW/tV1xcwtXrTgEzGw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3wcQrTD4VIYPZjKgvlhDjtJe/4HrMh8YUeyf2V9suCc=; b=BNUbeIUaW2ezeQ2XvGZdhOGJ9PlbE8KUQ6JM690Aw/Gsmy+UE6QPaoOlQLmFZWvhNX76xpSq28l4FLCsl5GRytZLqoFhlhFN7xy7I81N7pBJCGSCrANOFhmnuCzaS0P2piHP0yf1wkr81MjE/mf+0xgs6uW0EXjrF8C7fdwsuW8= Received: from PA4PR04MB9638.eurprd04.prod.outlook.com (2603:10a6:102:273::20) by PAWPR04MB10032.eurprd04.prod.outlook.com (2603:10a6:102:38d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6678.24; Tue, 15 Aug 2023 07:09:28 +0000 Received: from PA4PR04MB9638.eurprd04.prod.outlook.com ([fe80::693d:8782:eae1:2460]) by PA4PR04MB9638.eurprd04.prod.outlook.com ([fe80::693d:8782:eae1:2460%4]) with mapi id 15.20.6678.022; Tue, 15 Aug 2023 07:09:28 +0000 From: David Lin To: "linux-wireless@vger.kernel.org" CC: "linux-kernel@vger.kernel.org" , Sharvari Harisangam , David Lin , Pete Hsieh , "kvalo@kernel.org" , "amitkarwar@gmail.com" , "ganapathi017@gmail.com" , "huxinming820@gmail.com" , "davem@davemloft.net" , "edumazet@google.com" , "kuba@kernelorg" , "pabeni@redhat.com" Subject: [PATCH v4 0/1] Patch History Thread-Topic: [PATCH v4 0/1] Patch History Thread-Index: AdnPR2z5RfEdmhOXQ3+2NbaQx2XQrw== Date: Tue, 15 Aug 2023 07:09:28 +0000 Message-ID: Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PA4PR04MB9638:EE_|PAWPR04MB10032:EE_ x-ms-office365-filtering-correlation-id: c41031e1-2e2a-48bb-c145-08db9d5e90a5 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: EdYQg7sT7qQyGCoH55Y2AAz4YYLs5wSFlNavSbWbZV5yU8iuWs9JZ7QHiQ1CBlre5Y6CmNhEUps6gbnY7jdBqs/QfBO5FiabYQ7kxdRaYhvPMtxyJ597swgpz30EHH2bagWssoIq8VuMDTVhYU0rnW+Ia22rkGcr02JRssBewatchrrhmraX5Vd9OVxbEeSJMdnE6DEhFeGnlXdtGxaBbi6zFiALuhH5oVjoxdYkzmhSwMGns/sTIZr2SGOAKcNZsmLjE3uzVJmB60xpB3rnT4nmLyn57h8dzAKPsSepLKGUzia8EBSYNMdR7vrDpf0bTb0w0QRo5WD5bADt2QVLbyWfuPrndTyYotdU6JA4g7TJsQ487KZa9fqSfgzjnp5ucWwkPLdidhhUZt6lfFKrv3LA4UOsfP4qf30PODyo7D/sQPCMjyk5z4elagvJ3iyhaa5MVFRPtBPNW7curZZFsDfjz0dWH8+6Mq5S3xhCeL5jzabpd6Akz9iQ0Cuj4qFnCHoH34wcrCIBu0dw6Hxp5ieNtZ3UxyqAPDOVy5ghYR/fkVMLGLOr6xo86w4CpWSTSJyPIHSo5rHxfgs0mBumQng4wPB6dkdiuyW0Z3Vn12LnguG6OAPvJzbq79Jo+3An x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9638.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(39860400002)(136003)(346002)(366004)(376002)(396003)(1800799006)(186006)(451199021)(55016003)(478600001)(122000001)(8676002)(71200400001)(8936002)(4326008)(6916009)(64756008)(41300700001)(316002)(66446008)(54906003)(38070700005)(38100700002)(66476007)(66946007)(76116006)(66556008)(83380400001)(9686003)(6506007)(7696005)(26005)(86362001)(2906002)(52536014)(5660300002)(33656002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: Avv6Byv3pxoNUeyuu4qYN9ckrv9ZduncOj2Yt5sSld3Nw4N+AOLm256uE6CKmT2B0EtLbDYoAtvp/6t2eJaJOvCOnVJ5qOKZOV47I4fPxH1FvYFgc/rf6o5Ter3AXjFP9oTc4xnsE7QeyDb8AiAwRtYAVsmM3JJ/3Mt2EyR3QYyC9eH4ijMKj13uAtDEnMPgdm6EA7wLefDL3N0Cd3QoxUzdlfBXtMzF3IyGOSt/IUtBuJEvLrfHuUexZSza141uXH3mfqGmqyji357m/Fs9fMUTyCTXg0PxWzbmYXkO3GQT7/zYpf/RWGN5PRpOv+MGOeGK0Jk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x7325wtfwHZ3zl9OLC3JFtseMMg6ttqwKQ5xcKU7wbIOmUQvT74SkC9UmisVQRDop39wOTLih4/A2vqR6Bd0f3xoJj2zGx72rrnEM7tMP+7SyAOvB+vqCV6e72ua8WY9/JREK3fKT3SuCeQPd6KtT8K35Q7C2sAPooCS9aBZqi277+WhzU9Nj+OmID2YdNo40KoFiwf MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9638.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c41031e1-2e2a-48bb-c145-08db9d5e90a5 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Aug 2023 07:09:28.1724 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: EgEH+qkMS7ZZKG0Cz7bDwBGILHVoqImHr2VQXfPxXwBa5LexA0vvy0KDnygSJSZFzYkgyYeM9RQ0tXkQTckHcg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAWPR04MB10032 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Patch v4: 1. Correct one bad code segment. 2. Add code to check firmware key api version for host_mlme. Patch v3: Clean and clear commit message. Patch v2: 1. Checkpatch error: pwe[1] -> pwe[0]. 2. Remove module parameter 'host_mlme'. 3. Won't advertise NL80211_FEATURE_SAE if host mlme is disabled. David Lin (1): wifi: mwifiex: added code to support host mlme. .../net/wireless/marvell/mwifiex/cfg80211.c | 327 ++++++++++++++++++ drivers/net/wireless/marvell/mwifiex/cmdevt.c | 14 +- drivers/net/wireless/marvell/mwifiex/decl.h | 12 + drivers/net/wireless/marvell/mwifiex/fw.h | 15 + drivers/net/wireless/marvell/mwifiex/init.c | 3 + drivers/net/wireless/marvell/mwifiex/join.c | 64 +++- drivers/net/wireless/marvell/mwifiex/main.h | 10 + drivers/net/wireless/marvell/mwifiex/scan.c | 6 + drivers/net/wireless/marvell/mwifiex/sdio.c | 13 + drivers/net/wireless/marvell/mwifiex/sdio.h | 2 + .../net/wireless/marvell/mwifiex/sta_event.c | 18 +- .../net/wireless/marvell/mwifiex/sta_ioctl.c | 3 +- drivers/net/wireless/marvell/mwifiex/sta_tx.c | 10 +- .../net/wireless/marvell/mwifiex/uap_cmd.c | 26 ++ drivers/net/wireless/marvell/mwifiex/util.c | 73 ++++ 15 files changed, 583 insertions(+), 13 deletions(-)