From patchwork Thu May 9 20:15:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Crispin X-Patchwork-Id: 10937621 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 4163215A6 for ; Thu, 9 May 2019 20:16:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 33B1528A3A for ; Thu, 9 May 2019 20:16:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 284DD28A7E; Thu, 9 May 2019 20:16:09 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 057D828A3A for ; Thu, 9 May 2019 20:16:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=2vsGZqSGSKpsvqlSH4TDT+r31CEP9aQOYlwbnN+yya4=; b=Bjx S0FSXLCe14D9TMmdzkBLuEHV505NyJosFGCoAHp6lcFTzt+BLRBXqjIwvd7ZJXTrPg00uou5ZufD0 TWgDhMJaiEyaVNfdjovpGFdnpbWWi+9jU7Fl7bn+R5tlWzf6qpQSa6UEWuN/h/MBnWhfD4yYDq8Ai nNXN8nZ6NU1jMdMQU24BvzUE9Txr53Ozd/lU8+L30vzux79rfppMp7O2DEO+srQjHlH6/1IpW4FZ4 qPUeHZ5KNNT1iRRTmW4L6V+u+LqR1qlEM8mJ5AFP7nGUlcurGDJKZK3Ym9q7DdaB4wcPAzSa5lRbL bmmRyPMYlyLVVJhMm2SPAvoJpYPVcDw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hOpSY-0003Wk-8k; Thu, 09 May 2019 20:16:06 +0000 Received: from nbd.name ([2a01:4f8:221:3d45::2]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hOpSU-0003UE-Dr for ath11k@lists.infradead.org; Thu, 09 May 2019 20:16:04 +0000 Received: from p548c83e0.dip0.t-ipconnect.de ([84.140.131.224] helo=bertha.fritz.box) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hOpSR-0006sS-6R; Thu, 09 May 2019 22:15:59 +0200 From: John Crispin To: Kalle Valo Subject: [PATCH V4 0/5] ath11k: add HE support Date: Thu, 9 May 2019 22:15:45 +0200 Message-Id: <20190509201550.3977-1-john@phrozen.org> X-Mailer: git-send-email 2.11.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190509_131602_616521_CC61A7EF X-CRM114-Status: UNSURE ( 9.64 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ath11k@lists.infradead.org, John Crispin MIME-Version: 1.0 Sender: "ath11k" Errors-To: ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This series adds initial support for HE mode to the ath11k driver. Things that still need to implemented * ppe_threshold support Changes in V2: * generate sband_iftype data from FW provided capabilities * properly handle rx_status for HE frames * fix regression in basic VHF phymode * various minor cleanups Changes in V3 * make the he_cap generating code future-proof * move phymode lookup to an array Changes in V4 * remove dependency in local patch John Crispin (5): ath11k: move phymode selection from function to array lookup ath11k: add HE handling to the debug code ath11k: extend reading of FW capabilities ath11k: handle rx status for HE frames ath11k: add HE support drivers/net/wireless/ath/ath11k/core.h | 7 +- drivers/net/wireless/ath/ath11k/debugfs_sta.c | 24 ++- drivers/net/wireless/ath/ath11k/dp_rx.c | 16 +- drivers/net/wireless/ath/ath11k/mac.c | 289 +++++++++++++++++++------- drivers/net/wireless/ath/ath11k/wmi.c | 7 +- drivers/net/wireless/ath/ath11k/wmi.h | 5 +- include/uapi/linux/nl80211.h | 4 + 7 files changed, 272 insertions(+), 80 deletions(-)