Message ID | 20191215093438.10120-16-ilan.peer@intel.com |
---|---|
State | Changes Requested |
Headers | show
Return-Path: <hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="VQJN2O5S"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47bK823r86z9sPJ for <incoming@patchwork.ozlabs.org>; Sun, 15 Dec 2019 20:37:54 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=xGlaopDfrkIKcLkpeEA5ySlL1/ARG9fnNrGgiVk1e/o=; b=VQJN2O5S37aD/tTPAvyUG+qoM5 MAZomgQ7kGeIUQit+dG37vz83Gcx9RaYIVkiBtHT4WPguYQy8sy2Xd3u/Z+jKXBrD4zqC6zF1Aexb jkMDYc67/xRoDFvtW/LPA5msI1s6w1zMZCGc6hJAobsDqDaCxMpdx8hEPt3ddYlenf/CPI8o6SdTQ K0mnT3CfEuNSaN1FA7xdHRND3nGjtGbmHuRUlnQYZToGagROpzVZAWrRYXJZMfqZkZG1FD8LvER2E ypCtYjz2ahuhZ3tzyZ6Lw1uCN65sIh2lrFGkk7yrAFx43jg8Pk+ENp/Fb7UhUcDx0VH7ZS0Wr0PCi 45LWp1Vg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1igQLU-00008d-Mk; Sun, 15 Dec 2019 09:37:48 +0000 Received: from mga04.intel.com ([192.55.52.120]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1igQIx-0004ms-Jg for hostap@lists.infradead.org; Sun, 15 Dec 2019 09:35:14 +0000 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Dec 2019 01:35:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,317,1571727600"; d="scan'208";a="216889344" Received: from jed01681.jer.intel.com ([10.12.190.127]) by orsmga006.jf.intel.com with ESMTP; 15 Dec 2019 01:35:07 -0800 From: Ilan Peer <ilan.peer@intel.com> To: hostap@lists.infradead.org Subject: [PATCH 15/40] common: Add PASN parsing to ieee802_11_parse_extension() Date: Sun, 15 Dec 2019 11:34:13 +0200 Message-Id: <20191215093438.10120-16-ilan.peer@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191215093438.10120-1-ilan.peer@intel.com> References: <20191215093438.10120-1-ilan.peer@intel.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191215_013511_720976_F5FFE51B X-CRM114-Status: UNSURE ( 8.67 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [192.55.52.120 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <hostap.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/hostap>, <mailto:hostap-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/hostap/> List-Post: <mailto:hostap@lists.infradead.org> List-Help: <mailto:hostap-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/hostap>, <mailto:hostap-request@lists.infradead.org?subject=subscribe> Cc: Ilan Peer <ilan.peer@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Hostap" <hostap-bounces@lists.infradead.org> Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
Support for Pre association Security Negotiation (PASN)
|
expand
|
diff --git a/src/common/ieee802_11_common.c b/src/common/ieee802_11_common.c index e372c0478f..46543a050b 100644 --- a/src/common/ieee802_11_common.c +++ b/src/common/ieee802_11_common.c @@ -284,6 +284,10 @@ static int ieee802_11_parse_extension(const u8 *pos, size_t elen, elems->oci = pos; elems->oci_len = elen; break; + case WLAN_EID_EXT_PASN_PARAMS: + elems->pasn_params = pos; + elems->pasn_params_len = elen; + break; default: if (show_errors) { wpa_printf(MSG_MSGDUMP, diff --git a/src/common/ieee802_11_common.h b/src/common/ieee802_11_common.h index 7b79e8bc48..6f6735b428 100644 --- a/src/common/ieee802_11_common.h +++ b/src/common/ieee802_11_common.h @@ -112,6 +112,7 @@ struct ieee802_11_elems { const u8 *multi_ap; const u8 *he_capabilities; const u8 *he_operation; + const u8 *pasn_params; u8 ssid_len; u8 supp_rates_len; @@ -163,6 +164,7 @@ struct ieee802_11_elems { u8 multi_ap_len; u8 he_capabilities_len; u8 he_operation_len; + u8 pasn_params_len; struct mb_ies_info mb_ies; struct frag_ies_info frag_ies;
Signed-off-by: Ilan Peer <ilan.peer@intel.com> --- src/common/ieee802_11_common.c | 4 ++++ src/common/ieee802_11_common.h | 2 ++ 2 files changed, 6 insertions(+)