From patchwork Mon Jun 3 19:01:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Crispin X-Patchwork-Id: 10973903 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 3D1B476 for ; Mon, 3 Jun 2019 19:02:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D689286B2 for ; Mon, 3 Jun 2019 19:02:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 22012286B5; Mon, 3 Jun 2019 19:02:13 +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 97574286B2 for ; Mon, 3 Jun 2019 19:02:10 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=l3Gnl/pY/SHwwVTPG4oht+HVFJI74ha3omdqFQJ8jgo=; b=ewFAPQKuhyY/Xi n4umQoU2CxCYVwUaGUkKmtvyk2aJRGP8Ck129dLXLNY5GVNwWoByl+iWf4IgsVwVKSUgErx6XZuwW GWA4M0Xuudwy5zc5ObfWsgkfPNqh+oeRcj08BkeIpD357Go9D9WJ/cuebgZUbcxu1WhmV4Y0t4tbi NHstGWeLR+3QSuFMbJqnkRX9DNxrPR2s7Fxmcsnj0gfkSLy4156VlxMjF45nN8MqugOPdNw90tpow YfvLbsSC7pKQqLB8hKrcqkASfmVuwU0tHq4uHeDIMRe1xl0Um1339bB8ltwiSFY/62XD1rd2Ui5iG nqSTV8ou01TUH01mHFbg==; 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 1hXsDh-0002vH-8w; Mon, 03 Jun 2019 19:02:09 +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 1hXsDd-0002sb-Je for ath11k@lists.infradead.org; Mon, 03 Jun 2019 19:02:07 +0000 Received: from p5dcfb250.dip0.t-ipconnect.de ([93.207.178.80] helo=bertha.fritz.box) by ds12 with esmtpa (Exim 4.89) (envelope-from ) id 1hXsDb-0002zi-0j; Mon, 03 Jun 2019 21:02:03 +0200 From: John Crispin To: Kalle Valo Subject: [PATCH V7 0/8] ath11k: add HE support Date: Mon, 3 Jun 2019 21:01:49 +0200 Message-Id: <20190603190157.25165-1-john@phrozen.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190603_120205_797666_67D6A76C X-CRM114-Status: UNSURE ( 8.35 ) 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 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. Changes in V2: * generate sband_iftype data from FW provided capabilities * properly handle rx_status for HE frames * fix regression in basic VHT 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 Changes in V5 * populate he_oper field when preparing peer assoc * populate ppet field when preparing peer assoc * fix 80p80 phymode when preparing peer assoc * address review comments Changes in V6 * use bss_conf for storing the he_oper field * add rate reporting Changes in V7 * fix Beamforming and Sounding Dimension fields in PHY CAP * use fixed size for phymode array * add ppet cap generation code John Crispin (8): mac80211: propagate HE operation info into bss_conf ath11k: fix some whitespace errors ath11k: move phymode selection from function to array lookup ath11k: add HE handling to the debug code ath11k: extend reading of FW capabilities ath11k: add defines for max MCS rates per phymode ath11k: handle rx status for HE frames ath11k: add HE support drivers/net/wireless/ath/ath11k/core.h | 11 +- drivers/net/wireless/ath/ath11k/debugfs_sta.c | 24 +- drivers/net/wireless/ath/ath11k/dp_rx.c | 18 +- drivers/net/wireless/ath/ath11k/mac.c | 370 ++++++++++++++---- drivers/net/wireless/ath/ath11k/mac.h | 2 + drivers/net/wireless/ath/ath11k/reg.c | 1 + drivers/net/wireless/ath/ath11k/wmi.c | 13 +- drivers/net/wireless/ath/ath11k/wmi.h | 44 ++- include/net/mac80211.h | 2 + net/mac80211/he.c | 14 + net/mac80211/ieee80211_i.h | 4 + net/mac80211/mlme.c | 1 + 12 files changed, 402 insertions(+), 102 deletions(-)