Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp8410017ybi; Thu, 6 Jun 2019 11:50:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqytYfdT+UylWMtTLnNEO0RZ4iwI2e3Jks9uEfAi0jQlDlOn+ZJ+E3cAip2IGmn7fpzhfZE6 X-Received: by 2002:a65:5206:: with SMTP id o6mr20426pgp.248.1559847042095; Thu, 06 Jun 2019 11:50:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559847042; cv=none; d=google.com; s=arc-20160816; b=pdd+LRXdBaPyTpKLTkKwW/8VEqLwx/KaIcsKVz1DK0oYKgVBVQWN0/ULurFGCzHfks agOkLB8FzRa5ZOa5bEz33Q/OgJoxNe1I/0aJipBtcSblqzBti56x60U1E0HAgtvfJFHY vHU6oXPfMIGJMl9KdpRBExCC3hL+eozYo3R2nrdYEk19uXVy7NfZpNIxTD2amhVpzwsg FdvqJCZSkDOmMwm/PjZovKFUAscQjg3l1e1IILO1+Xp1nYeYWrFtpBU440Ncl0D5kgPP bKAlrHOvRk9e9xQE2Eb0+Dm+L7nVVoK+xmW6VoCKYOJMTUbJtkAClQBj9ob+fq2FeyAx 0v1w== 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 :content-language:mime-version:user-agent:date:message-id :organization:subject:from:to:dkim-signature:dkim-filter; bh=hp7GEJ683+8Bt4V65J43N5O3bbog9Wbnea3IFQe19IU=; b=CekwoHJDIfDhntlBmYKXbMU21GnS2wOBzFz296dYz4wuynXd3P6Obx4SwZv1MtLfBG y7LSmUzZK5c1H16fdhK4gtS2dKWOyowMId2X0Pw+VoWPmN9utmOzuj+kfAHkzS9ha9JY QkM6VU8xpcrYJXa1PEGXnx7kK4VUgfZEm1nwWyh0+Zb4oryqQhGG6TCyKnanFVNWxSYi WHN/pq5Ls7wqbrQL08qWyWmjKj7mO+c1HxD7C/VnBDsxxsQnd0d2uUfngjaOpMNghRXu Vrtwjv2s6GluHxHh2HzvJV5dutlPPQwiIv9Y2BhrRr8ziqcZ1O071uj6/FdFZnKpotI5 Fi0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@candelatech.com header.s=default header.b=ZjM3qth2; 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=NONE sp=NONE dis=NONE) header.from=candelatech.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f20si2426756pfn.207.2019.06.06.11.50.15; Thu, 06 Jun 2019 11:50:42 -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=@candelatech.com header.s=default header.b=ZjM3qth2; 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=NONE sp=NONE dis=NONE) header.from=candelatech.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728230AbfFFQy3 (ORCPT + 99 others); Thu, 6 Jun 2019 12:54:29 -0400 Received: from mail2.candelatech.com ([208.74.158.173]:56496 "EHLO mail3.candelatech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727318AbfFFQy3 (ORCPT ); Thu, 6 Jun 2019 12:54:29 -0400 Received: from [192.168.100.195] (50-251-239-81-static.hfc.comcastbusiness.net [50.251.239.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail3.candelatech.com (Postfix) with ESMTPSA id 139D913C283 for ; Thu, 6 Jun 2019 09:54:29 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 mail3.candelatech.com 139D913C283 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=candelatech.com; s=default; t=1559840069; bh=uHj7VBqqMStGMj89t/C8nB4TA5VgJOTVv0TM0riw6cM=; h=To:From:Subject:Date:From; b=ZjM3qth2Xb9OHwAgOkAXStKoTCLxrfFwQ5SYhk9ezv/Hu2VZG+Wkp19iO6XzGJdgF pEvDKlp87YEuyZKGQm6pKd0xrtG402icGeRnGaUcFUNtKL++7dAuAw0dG+UPbH3tq1 eee8RbmwlDeRYR9WcZhC+YWukhHizLUSWSHxCh5s= To: "linux-wireless@vger.kernel.org" From: Ben Greear Subject: Help with encrypting PMF management frames Organization: Candela Technologies Message-ID: Date: Thu, 6 Jun 2019 09:54:28 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hello, My variant of ath10k uses the normal 'native-wifi' tx path for management frames. Internally in the firmware, it seems that the management TID is flagged to expect raw frames, and I think that is why I see Action frames on-air that are not actually encrypted but which have some space added to their packet that should be filled in by the hw-crypt engine. Is there a way to get mac80211 to software-crypt just management-tid PMF frames? So far, I have not been able to find the correct place in the tx logic of mac80211... Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com