Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp460282ybi; Sat, 29 Jun 2019 15:22:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqzzM2BuQpXU8ieRcjR8JuY66VipIboDuPTNs3gs1+F9vQXNySOX+0NIkgF0s6EEZDGgDoJQ X-Received: by 2002:a63:dc02:: with SMTP id s2mr16606139pgg.286.1561846925824; Sat, 29 Jun 2019 15:22:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561846925; cv=none; d=google.com; s=arc-20160816; b=gY1QZ8/s4DMM7jLvz0XkFAgFi5rmImBea0Kis0bAWdYNh1fJaYLFMnkNiPfBSItM9Y 8mQX5LuLjDdJ27z7A/NFmA/mVadUNkJwSSP+JVIFGvDpallETBcY6gFDgw11a3E+zgj4 mPAFbm/3LCLcA7JebDlrZ2rd+bSB8YxpGIx2agZBY2jBMefYzOiZ8l+fJHwPtoTaXQ7S tth2lXzMbdArXE1nKMR0WpTuwdz6QH71w0UyOWipBltZ2alQsLq19Chx0Mc0iaLNNY2z rhnNg6grPuT9DaJcJWWY+KjPERj4L9uPTm0722ff4g+Mc40yuJNOd8TqaPGx/TgG4aKr dD+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:dkim-signature:from; bh=N8Xx8nnd7Ar8ec2yri1Gs5LDTZYiVyfK7DIqo1pQmaU=; b=R2REzOmH2Y8tZk4PZ1UKJrkMWfveh66Vpqai9ymzPp2KToji9jjB+s3eib9htEoSqg XGYRFim6RCXmcrLvtFggAq14I6dNT58XirMwBPsaRNajhHG2q02q4VVGJcAcZQ36JBsZ 6J2I90SWkI/bS4j35tG0EJvWcjO2JNu8q4uWY7/In14kyimQPkYk715Q/HWK4jSH2Nn/ 0QqWJqqV7iKC+KKzX/0CrQyZumj1721S0drcjvc7YuIQJsAmjrEu4pakE+UKAXG5giiX fTcq1io+pADb2j3usXNRariVPkdYBBeEGBwd5RIzLiXgAuvIyrEI9RRwdMGRB5ARPXOR S1sQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wetzel-home.de header.s=wetzel-home header.b=E7PQj7FP; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wetzel-home.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d191si5631181pgc.470.2019.06.29.15.21.29; Sat, 29 Jun 2019 15:22:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@wetzel-home.de header.s=wetzel-home header.b=E7PQj7FP; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wetzel-home.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726935AbfF2WSr (ORCPT + 99 others); Sat, 29 Jun 2019 18:18:47 -0400 Received: from 8.mo4.mail-out.ovh.net ([188.165.33.112]:58330 "EHLO 8.mo4.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726923AbfF2WSq (ORCPT ); Sat, 29 Jun 2019 18:18:46 -0400 Received: from player157.ha.ovh.net (unknown [10.109.146.175]) by mo4.mail-out.ovh.net (Postfix) with ESMTP id 93D9D1F92DC for ; Sat, 29 Jun 2019 21:50:38 +0200 (CEST) Received: from awhome.eu (p579AA414.dip0.t-ipconnect.de [87.154.164.20]) (Authenticated sender: postmaster@awhome.eu) by player157.ha.ovh.net (Postfix) with ESMTPSA id 3D8017539FA6; Sat, 29 Jun 2019 19:50:37 +0000 (UTC) From: Alexander Wetzel DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wetzel-home.de; s=wetzel-home; t=1561837836; bh=mT0vpkafSPtm0BZNNzGt353XGzdRLYh8ynihsR4R3R4=; h=From:To:Cc:Subject:Date; b=E7PQj7FPygvJ6sZ62ZjjNbHnvh0O5R9julm8pQTyGvSZVBBLlZSMALQBg3s5T1CAz tYim7u2YyxdZLuVSZHedRmC7gyqcZnX6dh/LvAIHaRD1Acq+v/C63Vmxm/gwQCbtds NkFTlQ8+ujX2eFTNB2oolk3gY19KC4+zgP831ms8= To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Alexander Wetzel Subject: [PATCH 1/4] mac80211_hwsim: Extended Key ID API update Date: Sat, 29 Jun 2019 21:50:12 +0200 Message-Id: <20190629195015.19680-1-alexander@wetzel-home.de> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 13911056303217056967 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrvddvgddugeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenuc Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Prepare hwsim Extended Key ID support for a mac80211 API change. The mac80211 flag IEEE80211_HW_EXT_KEY_ID_NATIVE is being replaced by NL80211_EXT_FEATURE_EXT_KEY_ID which only must be set by drivers when they support HW crypto. This reverts commit cfe7007a9b4cea9c4a0f7d4192c776c62f31869e. Signed-off-by: Alexander Wetzel --- drivers/net/wireless/mac80211_hwsim.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index d396a33bbc9c..26cbb5b5d7cd 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c @@ -2805,12 +2805,6 @@ 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); - - /* We only have SW crypto and only implement the A-MPDU API - * (but don't really build A-MPDUs) so can have extended key - * support - */ - ieee80211_hw_set(hw, EXT_KEY_ID_NATIVE); if (rctbl) ieee80211_hw_set(hw, SUPPORTS_RC_TABLE); ieee80211_hw_set(hw, SUPPORTS_MULTI_BSSID); -- 2.22.0