Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3818002pxu; Mon, 12 Oct 2020 01:48:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzB/HgpGLDeLpT+5Rwf5ACkyvihFWvIc00Q3cIM/8TAuCr5u1q/UGw+l3LXPuZpCMJKgywz X-Received: by 2002:a17:906:6a82:: with SMTP id p2mr26704385ejr.3.1602492512163; Mon, 12 Oct 2020 01:48:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1602492512; cv=pass; d=google.com; s=arc-20160816; b=LIfgALn7oEewcXOf0OOPuQrfEpDwt1VzUM9JOFyjm0x1u51xEMODukRugMKr07f5qQ xn20xZjj+ktFa/+MZ9eah6GhWDueYzE90aQy20anvkNfUlu3o+VGjuhgDjgVHrVq2f95 Xc9ptk9vMnhWxqOMtBj1FmHq5kyRbKkV3N8BKNt74Xy1kBr52Dgy3DvFbAwiZoah5nA4 e3O2GCVu1X2aY+Jy6fvGTBNZglMOEY5ya0uxYaYbW2Mj0DbXJ8sRs41y6u4GhrPzlHHj T680nwR9n4VM88T3WZK/G8jSkXrbtuZC7xMJQ+OMtrrvShnWpIvsQlihX8o1zWjM8Z2J rM1Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=J/8VzsGcyFzrDSaoJaEzhFpbDgVLu/UwLq0ORiHsnCk=; b=G+nR9K1oqtb5Vy8SEX0Hu2Nk8uzJA1ZQyvwnw7LtkGhVVytPJVyswRCLNGgjPW8EmV EmsvmcsQwX47BKTPYo44fIN2vq5MW7uyewIGd/7CjkR89055/gF6R72IHc17QHzYiwvE Esbzh4U3wgPHAge8h9YsSYQZ/gHXid8ddbF3EGYaLz7tJLtZfuuP0qtYLM3NrZM9if0M Zq1Z3HUDBt7Jtv+S6movb7bhWx3hD/6GZGR00VJeOfKS75i5SBZqPuCTH3d/eBO7Mdgq 8SzKYB2uurpz0s6NSVf8tVx4HB7LtL78DeBqWdNFsenHl9S4Z70kK4A2yCruhcY1b15Q IqBg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cypress.com header.s=selector1 header.b=Ernz1b4I; arc=pass (i=1 spf=pass spfdomain=cypress.com dkim=pass dkdomain=cypress.com dmarc=pass fromdomain=cypress.com); spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cypress.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f5si11942467edq.501.2020.10.12.01.48.07; Mon, 12 Oct 2020 01:48:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cypress.com header.s=selector1 header.b=Ernz1b4I; arc=pass (i=1 spf=pass spfdomain=cypress.com dkim=pass dkdomain=cypress.com dmarc=pass fromdomain=cypress.com); spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cypress.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727350AbgJLIpa (ORCPT + 99 others); Mon, 12 Oct 2020 04:45:30 -0400 Received: from mail-eopbgr770139.outbound.protection.outlook.com ([40.107.77.139]:16993 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727340AbgJLIp2 (ORCPT ); Mon, 12 Oct 2020 04:45:28 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gt4ss/OAe1kTp6COikZ3WaBW5ELbAGN+jPo+cAlqepspWjQlQWf88WSenDtGtUP4dyiCyzStTnYXHQajbCPeAMJNxxEpAQiBMHrS+AaJIMlUZOzOxKVEZ904Lq0SaO+E0ioNNj+tVCw+9jvWHkig4lGADe1jPe+F9R9Doay/Hw9scQGZ0NcFyPOdKJvk3T9ihD0SpgUxnxtJO/vcfT/4ryz8Vv3s1ctgem+JUotycOXnZFOtXa74fyemJBIXmBhAxu4Gl8EbSeq1SkrT4AKINpXWwTVp55bIQoUe50A+gohtMiWwRug2m7Grx4NaavwEyo0h8bE2ZGKIsRn5oRQ+Yg== 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-SenderADCheck; bh=J/8VzsGcyFzrDSaoJaEzhFpbDgVLu/UwLq0ORiHsnCk=; b=JTdpIBdEex4e90bEFlYJN6VdmE1Xj3Se2zyFsIWT3blzF715mznVF8tbARtnKE9px+vp63t7P2wvzWJ9+7SgpcC5xvr2mCjCVCVE6W4p2ISvVgm4kEnRMfB4OIR3lkXrbiro8I7h85yQKqCjX4GClASK7aYEjBESacsyMJZdzm2Nq5OBtWEk7u6xYqKA1AM1zfqoVg/L4xMWuirAXOgRegSGPkxj4kEw3tw36h/tD3XnUbI8BpVaHTt3TqYta/1Hy5CwIXYF0TXUpAFbu0eu68my3EP7YZ09NNRIk2x+nmIyLtB/FbMWlK4nHElci7WC2aFdWfXGs5MPgPI6lMAUpw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cypress.com; dmarc=pass action=none header.from=cypress.com; dkim=pass header.d=cypress.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cypress.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=J/8VzsGcyFzrDSaoJaEzhFpbDgVLu/UwLq0ORiHsnCk=; b=Ernz1b4I7lljLDKPUZWUtU3PEASLdGhPuqzAvgPua5YOLOkm4NrtznpInf7RJ0MxeDScM3gB2134IEPEvNehLd/Fip+tn49E50OR8z6FPlGW+n46SjyHy8DsRrgvHjTGAtSFQgLamF3yRBPFqcyhI50AkqhpeiPA9UOCz9IrTxQ= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=cypress.com; Received: from BN8PR06MB5889.namprd06.prod.outlook.com (2603:10b6:408:c2::25) by BN8PR06MB5380.namprd06.prod.outlook.com (2603:10b6:408:63::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.22; Mon, 12 Oct 2020 08:45:16 +0000 Received: from BN8PR06MB5889.namprd06.prod.outlook.com ([fe80::14ee:f61:60a2:1e48]) by BN8PR06MB5889.namprd06.prod.outlook.com ([fe80::14ee:f61:60a2:1e48%5]) with mapi id 15.20.3455.029; Mon, 12 Oct 2020 08:45:16 +0000 From: Wright Feng To: linux-wireless@vger.kernel.org, Arend van Spriel , Kalle Valo , chi-hsien.lin@cypress.com, Johannes Berg Cc: wright.feng@cypress.com, brcm80211-dev-list@broadcom.com, brcm80211-dev-list@cypress.com, Franky Lin , Hante Meuleman , Kurt Lee Subject: [PATCH v2 1/2] ieee80211: Add definition for WFA DPP Date: Mon, 12 Oct 2020 03:43:46 -0500 Message-Id: <20201012084347.121557-2-wright.feng@cypress.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20201012084347.121557-1-wright.feng@cypress.com> References: <20201012084347.121557-1-wright.feng@cypress.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [157.95.12.33] X-ClientProxiedBy: MN2PR04CA0033.namprd04.prod.outlook.com (2603:10b6:208:d4::46) To BN8PR06MB5889.namprd06.prod.outlook.com (2603:10b6:408:c2::25) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from aremote06.aus.cypress.com (157.95.12.33) by MN2PR04CA0033.namprd04.prod.outlook.com (2603:10b6:208:d4::46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.23 via Frontend Transport; Mon, 12 Oct 2020 08:45:15 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 92187c76-06ce-4ad4-53b7-08d86e8b2419 X-MS-TrafficTypeDiagnostic: BN8PR06MB5380: X-LD-Processed: 011addfc-2c09-450d-8938-e0bbc2dd2376,ExtAddr,ExtFwd X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1079; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lxaEtR8m3eiTWbYu0rQoxvdm3gmchkzSa17w3XL+QCm3Qawsf89awImFNc3xfDWSVfh5UEFeo7TNCvEuHjvAwbM5f4W/CvxJkI5Juij18rYMJZCvQvXjus4ArIfXZhY98okcOCUvIN1iHFDyhUNqzpOVade41skjTjMXzEe1vh6Um89y7WL3krSaP8GgD4Vl/IT68Ohsp+0uCiRBQZ44ZP6OYNZ6kGYgkbxlfvKoyEPgkgH7W+y2kKKwtWRgTECh1ofVDpJkSGp+y4VsJH0hlJhVFxahHwTKpTxfn2lzcE0CZpzKxBgO8BFvFF9M7+t3 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN8PR06MB5889.namprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(396003)(39860400002)(136003)(346002)(376002)(2616005)(956004)(4326008)(86362001)(316002)(16526019)(107886003)(52116002)(7696005)(5660300002)(26005)(186003)(8676002)(44832011)(8936002)(6666004)(36756003)(66946007)(66556008)(66476007)(6486002)(2906002)(45080400002)(1076003)(478600001)(110136005)(54906003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData: K84T5vPyZJPh1grkHMP2V7/J5rvfL6nSq1z7Z3Yn8u4vWKwgmDHCnGSCprM9sFAbJOfrlTFPGTR9W+el9Ddqey4jep/bx6Vfi86MkI4IDC4vLof3wasOwxJcdUidbjIqW2DDL+lXxFzlGB8HwUkUVdZ7mjenUKMyRBK+VYD0hxnHXwgoBHeeUugCSgB+SmXr3o+cOV3nWp7I/kCtTj/BhykXIdzI0Ntyt6AzHXTCeDT1xap4tCt9sN1DHPf+4hNvvFq0UksRCAmF7fHgK1LP98i7OrIf3d6cHJaUyBP+LXLMzLlI/EYq057rVXuQVxp0QO2a0wLGWmKOJp91t6HjPIlQlxb6xo9XJ+pqhB92BCOXLCEV0goeRo8kSXJfw44GZCGI2UDTy+fK/pAj41sOB5tkdcfMG84yaWIoex1bTChrvBjJSjX+NpF2CySyx5tcZcux30T/41HeA3s6i7UoX3HlrBVvIrvuwPQ28oLr4BtY503nhR4feYmedHuw5Cq9aQ/tfMIgph2+h3nger8PBB7uVogxg1kHV0DufsCAMZHgZO4H6nlDa3ikpAj6oPSWwYHnkcQx0pNJYr2scG17C3LSdb4RDqHAVhSUs4BW93TmeyuWotYSjpOZnDi60n21IN+pAhdA+jOXHM+UUTzaOg== X-OriginatorOrg: cypress.com X-MS-Exchange-CrossTenant-Network-Message-Id: 92187c76-06ce-4ad4-53b7-08d86e8b2419 X-MS-Exchange-CrossTenant-AuthSource: BN8PR06MB5889.namprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2020 08:45:16.1892 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 011addfc-2c09-450d-8938-e0bbc2dd2376 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 9w2vnw4d5qrjGBMuGVkKjuKnaYky7e3wF/SSDotxKMh6VbLISdHyVXPFHGsju+4UIvCYXb7znE7ZgCYeiBX/fA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR06MB5380 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Kurt Lee Add Wi-Fi Alliance definition for DPP (Device Provisioning Protocol). Signed-off-by: Kurt Lee Signed-off-by: Wright Feng --- include/linux/ieee80211.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 770408b2fdaf..5e8cc9c3d45a 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -3417,6 +3417,8 @@ struct ieee80211_multiple_bssid_configuration { #define WLAN_AKM_SUITE_FT_PSK_SHA384 SUITE(0x000FAC, 19) #define WLAN_AKM_SUITE_PSK_SHA384 SUITE(0x000FAC, 20) +#define WLAN_AKM_SUITE_WFA_DPP SUITE(WLAN_OUI_WFA, 2) + #define WLAN_MAX_KEY_LEN 32 #define WLAN_PMK_NAME_LEN 16 @@ -3427,6 +3429,7 @@ struct ieee80211_multiple_bssid_configuration { #define WLAN_OUI_WFA 0x506f9a #define WLAN_OUI_TYPE_WFA_P2P 9 +#define WLAN_OUI_TYPE_WFA_DPP 0x1A #define WLAN_OUI_MICROSOFT 0x0050f2 #define WLAN_OUI_TYPE_MICROSOFT_WPA 1 #define WLAN_OUI_TYPE_MICROSOFT_WMM 2 -- 2.25.0