From patchwork Sat Mar 16 20:42:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Wetzel X-Patchwork-Id: 10856017 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 1B7C81669 for ; Sat, 16 Mar 2019 20:42:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E3A5C2847A for ; Sat, 16 Mar 2019 20:42:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C124329A77; Sat, 16 Mar 2019 20:42:30 +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 23AA5299F6 for ; Sat, 16 Mar 2019 20:42:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726573AbfCPUm0 (ORCPT ); Sat, 16 Mar 2019 16:42:26 -0400 Received: from 9.mo7.mail-out.ovh.net ([46.105.60.248]:55140 "EHLO 9.mo7.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726418AbfCPUm0 (ORCPT ); Sat, 16 Mar 2019 16:42:26 -0400 Received: from player746.ha.ovh.net (unknown [10.109.146.5]) by mo7.mail-out.ovh.net (Postfix) with ESMTP id DD8B6102E5F for ; Sat, 16 Mar 2019 21:42:24 +0100 (CET) Received: from awhome.eu (p4FF91B93.dip0.t-ipconnect.de [79.249.27.147]) (Authenticated sender: postmaster@awhome.eu) by player746.ha.ovh.net (Postfix) with ESMTPSA id B358F3D706C3; Sat, 16 Mar 2019 20:42:23 +0000 (UTC) From: Alexander Wetzel DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wetzel-home.de; s=wetzel-home; t=1552768941; bh=xVpjDvkfCmB7qct8MkcAccM3kMFfOaVLGK3mwYoZbMM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=kujlx6Sj4w5azp/sevTRXlgCaT2Kt3nPrf7bZHzHq4QObnp5o79FRwJjr3PfYnzgu OJgBmwcN3ohQW9r4m52fM4JjO8zCD9i6qsxtKV/rq200R4UwfPHShxwRaNOsO3eiN0 syQa5snwfSs9YwzQOQamVFjk3/tGPqsmVF/24MAA= To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Alexander Wetzel Subject: [PATCH 5/5] mac80211_hwsim: Ext Key ID support (NATIVE) Date: Sat, 16 Mar 2019 21:42:08 +0100 Message-Id: <20190316204208.16497-6-alexander@wetzel-home.de> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190316204208.16497-1-alexander@wetzel-home.de> References: <20190316204208.16497-1-alexander@wetzel-home.de> MIME-Version: 1.0 X-Ovh-Tracer-Id: 6895011033778822343 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedutddrheejgddugeefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenuc 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 0838af04d681..8cbadf825c76 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); ieee80211_hw_set(hw, SUPPORTS_MULTI_BSSID);