Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3104271ybl; Mon, 19 Aug 2019 12:16:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqxCg5gLBc3LQsS3F2K+GBjgXni9dr37NT6Tr381SLw0pEWUa1HvX6KrMWAdUJuJhWRCSRe4 X-Received: by 2002:a17:902:12d:: with SMTP id 42mr23031543plb.187.1566242166941; Mon, 19 Aug 2019 12:16:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566242166; cv=none; d=google.com; s=arc-20160816; b=qC5BZ1C0Dswt4flvzfkrUMK06XCDF2gadlCSQjlE7cuuDC2yoC+Lau/5D8GCWIuMiR PRoPPo56yloUqQ/uN369lDz+D4JHxtfG+So94CwhzFJFMEGgTWT8MRPG5LGeuhDjFtDn yEXtGzMMkhgOc8ZNBF36hM/KHwLqAVkt2ShSX07rz/lW2K2/PElP1uVRS6Yl6gBUnVdA Ngqgg2quQ8p81yOgrKwJvVXxcBYbLhDdGJJaBCbbp1Uzc+LVF2ycQZ9+HdwvHd2x6xmu kA7YR9+o56lNXGwJO++BQjDECbmAYO8YTqzpu7gla/YlGOYcjV/jDTaTvlVJC+oi+4NA PRqA== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=1mEtSsft+adL5CwNPR4UIK0cGSUvmCMttlxdPJRlgrM=; b=YVIY2J34jFNNlEhmIRfSap7H1aKd7uGRtXY1fwtEGUzDR/6cXa6TaOkK2t5PZHh0Wo wZKZjK5wIcyO6qNYOBGEbYwsZvnRSESF0sffUNDFrIRBm7jwQ+ZspazCtEdd5lWRjhK8 M/W+7QD0/k0FPuR2SlBaOk8cF5fEURvaSOCdhV3UwSQxt6Prn6tKZMrOY3VYQvt0+rC7 syMFBP2njQKlQsvCHrWxqbbyy9koHjKDoYYfK6Jn6/eiPIs2mvpjc3DCSdQbZxL4kqTX LgE/LR/0doYfAnE/32wpkz27PoueBPo3v2mLPF/WzTWUmXu1TRsDSszKBTOQ+iofxVvB h7RQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e2si10298184pgf.256.2019.08.19.12.15.43; Mon, 19 Aug 2019 12:16:06 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728255AbfHSTPg (ORCPT + 99 others); Mon, 19 Aug 2019 15:15:36 -0400 Received: from s3.sipsolutions.net ([144.76.43.62]:46526 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728221AbfHSTPg (ORCPT ); Mon, 19 Aug 2019 15:15:36 -0400 Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1hzmkD-000263-Vk; Mon, 19 Aug 2019 20:51:06 +0200 Message-ID: <204c346ab9fc71865e4cb5f5c29ec33ca05050e2.camel@sipsolutions.net> Subject: Re: [PATCH] iwlwifi: Extended Key ID support for mvm and dvm From: Johannes Berg To: Alexander Wetzel , luciano.coelho@intel.com Cc: linux-wireless@vger.kernel.org, linuxwifi@intel.com Date: Mon, 19 Aug 2019 20:51:03 +0200 In-Reply-To: <20190819180540.2855-1-alexander@wetzel-home.de> References: <20190819180540.2855-1-alexander@wetzel-home.de> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Mon, 2019-08-19 at 20:05 +0200, Alexander Wetzel wrote: > All iwlwifi cards below the 22000 series are able to handle multiple > keyids per STA and allow the selection of the encryption key per MPDU. > > These are therefore fully compatible with the Extended Key ID support > implementation in mac80211. > > Enable Extended Key ID support for all dvm cards and the mvm cards not > using the incompatible new Tx API introduced for the 22000 series. > > Signed-off-by: Alexander Wetzel LGTM. > + > + /* The new Tx API does not allow to pass the key or keyid of a MPDU to > + * the hw, preventing us to control which key(id) to use per MPDU. > + * Till that's fixed we can't use Extended Key ID for the newer cards. Technically we still don't need per MPDU, we just need to switch which one to use for TX after installing it for RX already. johannes