Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CBAD9C282C2 for ; Sun, 10 Feb 2019 21:42:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9146020823 for ; Sun, 10 Feb 2019 21:42:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=wetzel-home.de header.i=@wetzel-home.de header.b="lNkhl7zB" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726057AbfBJVlx (ORCPT ); Sun, 10 Feb 2019 16:41:53 -0500 Received: from 18.mo1.mail-out.ovh.net ([46.105.35.72]:55289 "EHLO 18.mo1.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726000AbfBJVlx (ORCPT ); Sun, 10 Feb 2019 16:41:53 -0500 X-Greylist: delayed 1200 seconds by postgrey-1.27 at vger.kernel.org; Sun, 10 Feb 2019 16:41:52 EST Received: from player734.ha.ovh.net (unknown [10.109.160.40]) by mo1.mail-out.ovh.net (Postfix) with ESMTP id 27946152C01 for ; Sun, 10 Feb 2019 22:06:49 +0100 (CET) Received: from awhome.eu (p579AAB97.dip0.t-ipconnect.de [87.154.171.151]) (Authenticated sender: postmaster@awhome.eu) by player734.ha.ovh.net (Postfix) with ESMTPSA id A66D1281F84E; Sun, 10 Feb 2019 21:06:47 +0000 (UTC) From: Alexander Wetzel DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wetzel-home.de; s=wetzel-home; t=1549832804; bh=6wKspGX1PLnF88YEuK0zORsV0ZldzZwAqYYmHmTmwrU=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=lNkhl7zBLlmCq8jvRu1aLRNEUNwmFx0ckKgbwAr/V1GLT0zwFvaMNE8DTxFr/MwD2 PpBYdBmcXsr9nP2XtOUYBmeVZqsLOGm61x8Dzuj8zqRL+C1iRcFuObt+MNsLlF7Tkq 6cao/mWnOhPuMuZmhUneGmifVjd9Bzn/Eg4wEyeU= To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Alexander Wetzel Subject: [RFC PATCH v3 06/12] mac80211_hwsim: Ext Key ID support (NATIVE) Date: Sun, 10 Feb 2019 22:06:14 +0100 Message-Id: <20190210210620.31181-7-alexander@wetzel-home.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190210210620.31181-1-alexander@wetzel-home.de> References: <20190210210620.31181-1-alexander@wetzel-home.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 10549682127531023559 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtledrleehgdekhecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecu Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Driver is not supporting hardware encryption and therefore fully compatible with Extended Key ID. Signed-off-by: Alexander Wetzel --- drivers/net/wireless/mac80211_hwsim.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 87be2b18063a..306583316f5d 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c @@ -2799,6 +2799,7 @@ static int mac80211_hwsim_new_radio(struct genl_info *info, ieee80211_hw_set(hw, SIGNAL_DBM); ieee80211_hw_set(hw, SUPPORTS_PS); ieee80211_hw_set(hw, TDLS_WIDER_BW); + ieee80211_hw_set(hw, EXT_KEY_ID_NATIVE); if (rctbl) ieee80211_hw_set(hw, SUPPORTS_RC_TABLE); -- 2.20.1