From patchwork Sun Feb 10 21:06:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Wetzel X-Patchwork-Id: 10804913 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0D1B31669 for ; Sun, 10 Feb 2019 21:42:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EDD0129B86 for ; Sun, 10 Feb 2019 21:42:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E063529B98; Sun, 10 Feb 2019 21:42:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 83B7929B79 for ; Sun, 10 Feb 2019 21:42:00 +0000 (UTC) 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 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 X-Virus-Scanned: ClamAV using ClamSMTP 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);