From patchwork Tue May 28 06:47:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Crispin X-Patchwork-Id: 10963863 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 6B60614C0 for ; Tue, 28 May 2019 06:48:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 56FBE2867F for ; Tue, 28 May 2019 06:48:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 49D7F28691; Tue, 28 May 2019 06:48:21 +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 2FB792867F for ; Tue, 28 May 2019 06:48:20 +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=xbb5gE4YWKvfMVtGjwRGelqios85KIRlU+4DkElZSG4=; b=qJ+GUvrxKJmh4X dfQhLvh9rx4AatBICEM9njC48/eE9gugBKCtjVJcK0l2iFowzxnkwOmklZPH0NvCSAkhya6dnJaKc tpG5/OgumG+emBsTpfk3H2hdmEUvP8ntyb9pKFLnO/8aTAIy544/JvhLP0BO1bUDqewcK5gFiji5j qxPhjXMBKbLkY1qYATloCdbZIINK2+7ym+04LXZMCXMa9ZjN6C6Fgr86t+bpffpzuSDNhfhMLhSwQ h7MOjAL/t6r4to7g2+8CW2QWXl9tIBKyrkroQnCsk1oqqP20Hyv+MfwBjvOZd+UTqEUVSuGn7iuOh aTurK4A5LRnWJyI9iGQA==; 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 1hVVuE-0001u3-O1; Tue, 28 May 2019 06:48:18 +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 1hVVuB-0001rF-4J for ath11k@lists.infradead.org; Tue, 28 May 2019 06:48:16 +0000 Received: from p5dcfb1b7.dip0.t-ipconnect.de ([93.207.177.183] helo=bertha.fritz.box) by ds12 with esmtpa (Exim 4.89) (envelope-from ) id 1hVVu7-0001w3-62; Tue, 28 May 2019 08:48:11 +0200 From: John Crispin To: Kalle Valo Subject: [PATCH V6 00/11] ath11k: add HE support Date: Tue, 28 May 2019 08:47:52 +0200 Message-Id: <20190528064803.24419-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-20190527_234815_412275_E16D62A2 X-CRM114-Status: UNSURE ( 8.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 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 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 John Crispin (11): 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 ath11k: add sta_statistics callback ath11k: properly convert bw ath11k: add HE rate reporting drivers/net/wireless/ath/ath11k/core.h | 11 +- drivers/net/wireless/ath/ath11k/debugfs_sta.c | 24 +- drivers/net/wireless/ath/ath11k/dp.h | 9 + drivers/net/wireless/ath/ath11k/dp_rx.c | 65 ++- drivers/net/wireless/ath/ath11k/mac.c | 386 ++++++++++++++---- 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 + include/uapi/linux/nl80211.h | 4 + net/mac80211/he.c | 14 + net/mac80211/ieee80211_i.h | 4 + net/mac80211/mlme.c | 1 + 13 files changed, 474 insertions(+), 104 deletions(-)